{"version":3,"sources":["bootstrap4-toggle.js"],"names":["$","Toggle","element","options","this","$element","extend","defaults","render","VERSION","DEFAULTS","on","off","onstyle","offstyle","size","style","width","height","prototype","attr","_onstyle","_offstyle","$toggleOn","prop","html","addClass","$toggleOff","$toggleHandle","$toggleGroup","append","$toggle","wrap","parent","Math","max","outerWidth","outerHeight","css","update","trigger","toggle","silent","removeClass","enable","removeAttr","disable","change","proxy","destroy","remove","removeData","unwrap","old","fn","bootstrapToggle","option","optArg","Array","slice","call","arguments","each","$this","data","Constructor","noConflict","document","e","find","preventDefault","jQuery"],"mappings":"CAUC,SAAUA,GACT,aAKY,SAATC,EAAmBC,EAASC,GAC/BC,KAAKC,SAAYL,EAAEE,GACnBE,KAAKD,QAAYH,EAAEM,OAAO,GAAIF,KAAKG,WAAYJ,GAC/CC,KAAKI,SAGNP,EAAOQ,QAAW,QAElBR,EAAOS,SAAW,CACjBC,GAAI,KACJC,IAAK,MACLC,QAAS,UACTC,SAAU,QACVC,KAAM,SACNC,MAAO,GACPC,MAAO,KACPC,OAAQ,MAGTjB,EAAOkB,UAAUZ,SAAW,WAC3B,MAAO,CACNI,GAAIP,KAAKC,SAASe,KAAK,YAAcnB,EAAOS,SAASC,GACrDC,IAAKR,KAAKC,SAASe,KAAK,aAAenB,EAAOS,SAASE,IACvDC,QAAST,KAAKC,SAASe,KAAK,iBAAmBnB,EAAOS,SAASG,QAC/DC,SAAUV,KAAKC,SAASe,KAAK,kBAAoBnB,EAAOS,SAASI,SACjEC,KAAMX,KAAKC,SAASe,KAAK,cAAgBnB,EAAOS,SAASK,KACzDC,MAAOZ,KAAKC,SAASe,KAAK,eAAiBnB,EAAOS,SAASM,MAC3DC,MAAOb,KAAKC,SAASe,KAAK,eAAiBnB,EAAOS,SAASO,MAC3DC,OAAQd,KAAKC,SAASe,KAAK,gBAAkBnB,EAAOS,SAASQ,SAI/DjB,EAAOkB,UAAUX,OAAS,WACzBJ,KAAKiB,SAAW,OAASjB,KAAKD,QAAQU,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