Current Path : /var/www/www-root/data/www.catalog.monolith-realty.ru/bitrix/js/ui/switcher/ |
Current File : /var/www/www-root/data/www.catalog.monolith-realty.ru/bitrix/js/ui/switcher/ui.switcher.map.js |
{"version":3,"sources":["ui.switcher.js"],"names":["namespace","BX","Switcher","list","options","this","init","push","getById","id","filter","item","getList","className","initByClassName","nodes","document","getElementsByClassName","convert","nodeListToArray","forEach","node","getAttribute","prototype","events","toggled","checked","unchecked","handlers","attributeName","attributeInitName","classNameOff","classNameSize","small","classNameColor","green","popup","content","popupParameters","loading","type","isDomNode","Error","data","JSON","parse","e","inputName","color","size","createElement","Math","random","classList","add","initNode","check","renderTo","targetNode","appendChild","getNode","setAttribute","addClass","innerHTML","message","inputNode","name","bind","toggle","isChecked","fireEvent","eventName","onCustomEvent","call","fireEvents","value","removeClass","setLoading","mode","cursor","querySelector","isLoading","ready"],"mappings":"CAAC,WAEA,aAEA,IAAIA,EAAYC,GAAGD,UAAU,SAC7B,GAAIA,EAAUE,SACd,CACC,OAGD,IAAIC,KAaJ,SAASD,EAAUE,GAElBC,KAAKC,KAAKF,GACVD,EAAKI,KAAKF,MAEXH,EAASM,QAAU,SAAUC,GAE5B,OAAON,EAAKO,OAAO,SAAUC,GAC5B,OAAOA,EAAKF,KAAOA,IACjB,IAAM,MAEVP,EAASU,QAAU,WAElB,OAAOT,GAERD,EAASW,UAAY,cACrBX,EAASY,gBAAkB,WAE1B,IAAIC,EAAQC,SAASC,uBAAuBf,EAASW,WACrDE,EAAQd,GAAGiB,QAAQC,gBAAgBJ,GACnCA,EAAMK,QAAQ,SAAUC,GACvB,GAAIA,EAAKC,aAAa,sBACtB,CACC,OAED,IAAIpB,GAAUmB,KAAMA,OAGtBnB,EAASqB,WACRC,QACCC,QAAS,UACTC,QAAS,UACTC,UAAW,aAEZC,YACAC,cAAe,gBACfC,kBAAmB,qBACnBC,aAAc,kBACdC,eACCC,MAAO,uBAERC,gBACCC,MAAO,2BAERC,MAAO,KACPC,QAAS,KACTC,g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