marketplacepos 5.41.6 → 5.43.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Marketplace/3rdpartylicenses.txt +123 -123
- package/Marketplace/chunk-222IBZU6.js +1 -0
- package/Marketplace/chunk-235G2DSM.js +1 -0
- package/Marketplace/{chunk-5MRT2EFE.js → chunk-25OT4I3W.js} +1 -1
- package/Marketplace/chunk-2BUABOHG.js +1 -0
- package/Marketplace/{chunk-7GQIIDFF.js → chunk-2DJWDXTZ.js} +1 -1
- package/Marketplace/chunk-2SXRC4IG.js +1 -0
- package/Marketplace/chunk-2TL43SUD.js +1 -0
- package/Marketplace/{chunk-KXZCGKQW.js → chunk-2TZBEYNY.js} +1 -1
- package/Marketplace/chunk-2ZTDLZVZ.js +1 -0
- package/Marketplace/chunk-33IXC6UG.js +1 -0
- package/Marketplace/chunk-3D323DES.js +1 -0
- package/Marketplace/chunk-3K33MNZY.js +1 -0
- package/Marketplace/{chunk-7477X7LJ.js → chunk-4CTORK4F.js} +1 -1
- package/Marketplace/{chunk-BUFEIJAI.js → chunk-4M63ID5T.js} +1 -1
- package/Marketplace/chunk-4PZ5Q3HI.js +1 -0
- package/Marketplace/chunk-4VFVMBPQ.js +1 -0
- package/Marketplace/{chunk-RVYGL22E.js → chunk-55OI2SUF.js} +1 -1
- package/Marketplace/chunk-5DIRXS7I.js +1 -0
- package/Marketplace/chunk-5EQNOCXP.js +1 -0
- package/Marketplace/chunk-5PVFITW6.js +252 -0
- package/Marketplace/chunk-5QAURMZF.js +222 -0
- package/Marketplace/{chunk-V2OJQHE3.js → chunk-5XI7HWS5.js} +2 -2
- package/Marketplace/chunk-66YHNWRR.js +1 -0
- package/Marketplace/chunk-6IFZ2TO6.js +1 -0
- package/Marketplace/chunk-6J745ID2.js +4 -0
- package/Marketplace/{chunk-Q72ZXPDP.js → chunk-6LH7FSOW.js} +1 -1
- package/Marketplace/{chunk-OLSC6KHB.js → chunk-6MPSYC77.js} +1 -1
- package/Marketplace/{chunk-ITTRZMEX.js → chunk-6X2OBNJQ.js} +4 -4
- package/Marketplace/chunk-74L5LOR4.js +1 -0
- package/Marketplace/chunk-7HYMSL6P.js +1 -0
- package/Marketplace/{chunk-IYYVZ6B6.js → chunk-A2YNWIX6.js} +1 -1
- package/Marketplace/chunk-A4F37V57.js +1 -0
- package/Marketplace/{chunk-77IUCPIQ.js → chunk-ACIMXBIC.js} +1 -1
- package/Marketplace/chunk-AGRVVEIR.js +397 -0
- package/Marketplace/chunk-ALKC77XL.js +78 -0
- package/Marketplace/chunk-ALSWTSZR.js +1 -0
- package/Marketplace/chunk-AUO2UUO7.js +1 -0
- package/Marketplace/chunk-AVEGIEYT.js +193 -0
- package/Marketplace/chunk-B37XDXUI.js +1 -0
- package/Marketplace/chunk-BJWQKM5G.js +1 -0
- package/Marketplace/chunk-BQTUAYGY.js +1 -0
- package/Marketplace/{chunk-IINERY5O.js → chunk-CGJ37FLZ.js} +11 -11
- package/Marketplace/chunk-CINZW7MA.js +1 -0
- package/Marketplace/chunk-CPJFWVUP.js +1 -0
- package/Marketplace/chunk-CQ6GTQW6.js +1 -0
- package/Marketplace/chunk-CSSG7NAJ.js +1 -0
- package/Marketplace/chunk-CVFPPKTF.js +1 -0
- package/Marketplace/chunk-DJILLV4M.js +1 -0
- package/Marketplace/{chunk-ZD5LURJS.js → chunk-E2CS7ZMC.js} +1 -1
- package/Marketplace/chunk-E7X3E2GE.js +2 -0
- package/Marketplace/chunk-EL2TGTHA.js +1 -0
- package/Marketplace/chunk-EU2KAMEK.js +1 -0
- package/Marketplace/chunk-F4GMWHYJ.js +33 -0
- package/Marketplace/{chunk-RGR34QZ3.js → chunk-FBZW4Y3J.js} +1 -1
- package/Marketplace/chunk-FN6AYDMI.js +1 -0
- package/Marketplace/{chunk-6NNAICJE.js → chunk-FWG4H3QG.js} +1 -1
- package/Marketplace/chunk-G4OF4YLE.js +2 -0
- package/Marketplace/chunk-GCECFUOP.js +1 -0
- package/Marketplace/{chunk-UBMI3NQH.js → chunk-GHBGGQNM.js} +1 -1
- package/Marketplace/chunk-GOS4RIF2.js +1 -0
- package/Marketplace/{chunk-ICSMRW7O.js → chunk-GPC4DECX.js} +1 -1
- package/Marketplace/chunk-GZXQUJKX.js +1 -0
- package/Marketplace/{chunk-TMFFA26Y.js → chunk-HFKKITEW.js} +1 -1
- package/Marketplace/{chunk-KHWTOD6H.js → chunk-HPYTL6TX.js} +1 -1
- package/Marketplace/chunk-HTQJCQ32.js +1 -0
- package/Marketplace/{chunk-LQZTRBOB.js → chunk-HV6V6JHY.js} +1 -1
- package/Marketplace/{chunk-GBABJLPQ.js → chunk-IKPRRD5D.js} +1 -1
- package/Marketplace/chunk-ILQQ6R7K.js +15 -0
- package/Marketplace/chunk-IMO7KDT2.js +1 -0
- package/Marketplace/chunk-IYHPRFB5.js +1 -0
- package/Marketplace/{chunk-EGTYAIU5.js → chunk-JOBWFOGC.js} +1 -1
- package/Marketplace/{chunk-PPDHTO44.js → chunk-JRWFZQ5K.js} +1 -1
- package/Marketplace/chunk-JS55A2RS.js +7 -0
- package/Marketplace/chunk-JSA73LJT.js +1 -0
- package/Marketplace/chunk-JT4Y2ID4.js +1 -0
- package/Marketplace/chunk-JTOYNS32.js +1 -0
- package/Marketplace/chunk-JV4MMNGD.js +79 -0
- package/Marketplace/chunk-JX5NLHUQ.js +2 -0
- package/Marketplace/{chunk-E6HA2AGS.js → chunk-KQQCKHF3.js} +1 -1
- package/Marketplace/chunk-KWQS4KX7.js +1 -0
- package/Marketplace/{chunk-COBHWPGI.js → chunk-KX5AWR75.js} +1 -1
- package/Marketplace/chunk-KXS76PRS.js +70 -0
- package/Marketplace/chunk-KYIY3VQ6.js +141 -0
- package/Marketplace/{chunk-Z2PI4IS6.js → chunk-L53DCJFT.js} +1 -1
- package/Marketplace/{chunk-J7AGLBPL.js → chunk-LHD7CYML.js} +1 -1
- package/Marketplace/chunk-LPK5TPBQ.js +1 -0
- package/Marketplace/chunk-LR4UZ2OS.js +30 -0
- package/Marketplace/{chunk-M3SJUKTG.js → chunk-LSXUXG54.js} +1 -1
- package/Marketplace/chunk-LWSRD5LF.js +1 -0
- package/Marketplace/{chunk-Q2OEJFVT.js → chunk-M5IQRAHV.js} +1 -1
- package/Marketplace/chunk-MC3GSUIF.js +1 -0
- package/Marketplace/{chunk-RIHLYYZU.js → chunk-MQXPOHBV.js} +1 -1
- package/Marketplace/chunk-MTUIRWOB.js +2 -0
- package/Marketplace/chunk-MZI5AYCE.js +1 -0
- package/Marketplace/chunk-NB4T45CV.js +1 -0
- package/Marketplace/chunk-NOO3VUTK.js +1 -0
- package/Marketplace/chunk-NPG45B2D.js +1 -0
- package/Marketplace/{chunk-JBKHY4HH.js → chunk-NRCXYGO3.js} +5 -5
- package/Marketplace/chunk-NTW6FBP5.js +1 -0
- package/Marketplace/chunk-NXC2W6VA.js +1 -0
- package/Marketplace/chunk-NZA4BEER.js +102 -0
- package/Marketplace/chunk-O55KM5KY.js +1 -0
- package/Marketplace/chunk-O6U5QCHJ.js +1 -0
- package/Marketplace/chunk-OJWFYXZX.js +1 -0
- package/Marketplace/{chunk-G6EG5QJS.js → chunk-OKAPL3YZ.js} +1 -1
- package/Marketplace/chunk-OL5RQ7K4.js +1 -0
- package/Marketplace/chunk-OMDX33L2.js +266 -0
- package/Marketplace/chunk-OUEMCONQ.js +5 -0
- package/Marketplace/{chunk-WAW37FIG.js → chunk-OZ77CAJD.js} +1 -1
- package/Marketplace/chunk-OZ7LWNOK.js +15 -0
- package/Marketplace/chunk-PE5AFID4.js +1 -0
- package/Marketplace/{chunk-7TWBIV3T.js → chunk-PO7JVKK3.js} +1 -1
- package/Marketplace/chunk-PW42BQIY.js +1 -0
- package/Marketplace/chunk-QQ3TCYLJ.js +1 -0
- package/Marketplace/chunk-R4IYKVKK.js +1 -0
- package/Marketplace/chunk-R62F5NWC.js +1 -0
- package/Marketplace/{chunk-75BDXSG3.js → chunk-R76V3PTN.js} +10 -10
- package/Marketplace/chunk-RBRIJGT2.js +3 -0
- package/Marketplace/chunk-RFGNZCTV.js +1 -0
- package/Marketplace/{chunk-VGXQU74M.js → chunk-SH7KN2AS.js} +1 -1
- package/Marketplace/{chunk-CH2MLZU7.js → chunk-SIYMMMKQ.js} +1 -1
- package/Marketplace/chunk-SLQA5QBT.js +1 -0
- package/Marketplace/chunk-SMCI6XBO.js +1 -0
- package/Marketplace/{chunk-QCZIDOKW.js → chunk-SXLKJLAE.js} +1 -1
- package/Marketplace/{chunk-6IAGGRZN.js → chunk-SYENQYR7.js} +1 -1
- package/Marketplace/chunk-SZECT5VQ.js +1 -0
- package/Marketplace/{chunk-V5WYSCVT.js → chunk-TGMCGROM.js} +1 -1
- package/Marketplace/{chunk-OE2JYQHN.js → chunk-TNKPTRB3.js} +1 -1
- package/Marketplace/{chunk-PQ6Z7K5L.js → chunk-UEWZXE4O.js} +1 -1
- package/Marketplace/chunk-UF4FKEE7.js +93 -0
- package/Marketplace/chunk-UJYSVGLV.js +1 -0
- package/Marketplace/chunk-UJZ3KSBV.js +1 -0
- package/Marketplace/{chunk-5GX2GLRY.js → chunk-UMY6NG57.js} +1 -1
- package/Marketplace/{chunk-YXFTLQ5M.js → chunk-UPYS4A4M.js} +1 -1
- package/Marketplace/{chunk-CTUXL543.js → chunk-USRA2YIW.js} +1 -1
- package/Marketplace/chunk-V3NCYRCF.js +1 -0
- package/Marketplace/chunk-VRI3CYGG.js +1 -0
- package/Marketplace/chunk-WCU6IR2R.js +1 -0
- package/Marketplace/{chunk-6XFYITUD.js → chunk-WGXUKTYP.js} +1 -1
- package/Marketplace/chunk-WHRDK5NL.js +1 -0
- package/Marketplace/{chunk-ZZVNB72Q.js → chunk-WHZ44BAL.js} +1 -1
- package/Marketplace/{chunk-MNFHFW3E.js → chunk-XEMNZHW6.js} +1 -1
- package/Marketplace/chunk-XND52RIU.js +1 -0
- package/Marketplace/{chunk-J3P46Z53.js → chunk-XQGRC7V2.js} +1 -1
- package/Marketplace/chunk-XXKHKD6T.js +1 -0
- package/Marketplace/chunk-Y5IPCXWN.js +1 -0
- package/Marketplace/chunk-YA7OZNAF.js +1 -0
- package/Marketplace/{chunk-OAS72QB2.js → chunk-YPVYJUXS.js} +1 -1
- package/Marketplace/chunk-Z3ITXK3D.js +1 -0
- package/Marketplace/chunk-ZAVDOMSW.js +1 -0
- package/Marketplace/chunk-ZBVPUFFS.js +5 -0
- package/Marketplace/{chunk-GHQH62TZ.js → chunk-ZIOAOUAM.js} +1 -1
- package/Marketplace/chunk-ZN47D2EO.js +1 -0
- package/Marketplace/chunk-ZNDU44GH.js +51 -0
- package/Marketplace/{chunk-7FUVW73P.js → chunk-ZR5IXNXB.js} +1 -1
- package/Marketplace/index.html +3 -3
- package/Marketplace/main-HEFRSFSR.js +1 -0
- package/Marketplace/{styles-NJFTKO3E.css → styles-X3FXEB7T.css} +1 -1
- package/package.json +1 -1
- package/Marketplace/chunk-25HVJVYO.js +0 -1
- package/Marketplace/chunk-2BBMPSAE.js +0 -93
- package/Marketplace/chunk-34CTATL6.js +0 -1
- package/Marketplace/chunk-3OD47PUU.js +0 -15
- package/Marketplace/chunk-4ASUM4N5.js +0 -1
- package/Marketplace/chunk-4G3QN54S.js +0 -193
- package/Marketplace/chunk-5KHDEW35.js +0 -1
- package/Marketplace/chunk-62PFQNHJ.js +0 -1
- package/Marketplace/chunk-6ALHX2I4.js +0 -1
- package/Marketplace/chunk-73OLUI2Z.js +0 -1
- package/Marketplace/chunk-743EWFUY.js +0 -1
- package/Marketplace/chunk-AB3DHTC7.js +0 -1
- package/Marketplace/chunk-ACV6YALZ.js +0 -1
- package/Marketplace/chunk-BB5SMGW7.js +0 -5
- package/Marketplace/chunk-D54NUPYF.js +0 -153
- package/Marketplace/chunk-DFRA5ORA.js +0 -1
- package/Marketplace/chunk-DPLEMBB4.js +0 -1
- package/Marketplace/chunk-E3HMIPER.js +0 -2
- package/Marketplace/chunk-F2X5N2W5.js +0 -2
- package/Marketplace/chunk-FJVZ33X4.js +0 -1
- package/Marketplace/chunk-GPEVUTDI.js +0 -2
- package/Marketplace/chunk-HUEPKUQW.js +0 -1
- package/Marketplace/chunk-HW3FX455.js +0 -1
- package/Marketplace/chunk-I4QWUPXR.js +0 -1
- package/Marketplace/chunk-IHYEQWAY.js +0 -3
- package/Marketplace/chunk-IIBM2V3E.js +0 -1
- package/Marketplace/chunk-IIJMZKPL.js +0 -1
- package/Marketplace/chunk-JB6W72VA.js +0 -1
- package/Marketplace/chunk-JTZJTXCN.js +0 -1
- package/Marketplace/chunk-K2H6WANG.js +0 -1
- package/Marketplace/chunk-KVP6OL4J.js +0 -2
- package/Marketplace/chunk-LNXJNBJQ.js +0 -1
- package/Marketplace/chunk-LPXBSHUI.js +0 -180
- package/Marketplace/chunk-MATSRG2L.js +0 -447
- package/Marketplace/chunk-NTGWFIOH.js +0 -1
- package/Marketplace/chunk-OHN3VXQV.js +0 -1
- package/Marketplace/chunk-OIZORVCZ.js +0 -1
- package/Marketplace/chunk-OOKURHR4.js +0 -1
- package/Marketplace/chunk-OQNYXG6U.js +0 -1
- package/Marketplace/chunk-PV6JAW7E.js +0 -5
- package/Marketplace/chunk-PWJ2Z5EH.js +0 -4
- package/Marketplace/chunk-PXB4YEY3.js +0 -1
- package/Marketplace/chunk-PZTMYAA7.js +0 -1
- package/Marketplace/chunk-SUC77PQU.js +0 -1
- package/Marketplace/chunk-T5ONJF63.js +0 -7
- package/Marketplace/chunk-T6Q5SGJG.js +0 -2
- package/Marketplace/chunk-T6QOFDEE.js +0 -1
- package/Marketplace/chunk-TZXF4K2V.js +0 -1
- package/Marketplace/chunk-UQVGVHST.js +0 -1
- package/Marketplace/chunk-VETHPEVU.js +0 -1
- package/Marketplace/chunk-VSEWXNVC.js +0 -291
- package/Marketplace/chunk-XFCMKJV6.js +0 -1
- package/Marketplace/chunk-XM6GN4VF.js +0 -1
- package/Marketplace/chunk-YIUQQGOQ.js +0 -1
- package/Marketplace/chunk-YJ6KE7ER.js +0 -1
- package/Marketplace/chunk-Z46DDENN.js +0 -1
- package/Marketplace/chunk-ZOVPSET6.js +0 -1
- package/Marketplace/chunk-ZSHPWPPL.js +0 -1
- package/Marketplace/chunk-ZTQGQXIT.js +0 -1
- package/Marketplace/main-36VYJM2O.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as Ar,b as Sr,f as Io,h as ue,i as a
|
|
1
|
+
import{a as wt}from"./chunk-EU2KAMEK.js";import{a as Ar,b as Sr,f as Io,h as ue,i as a}from"./chunk-66YHNWRR.js";var Pr=()=>{};var kr=function(n){let e=[],t=0;for(let i=0;i<n.length;i++){let r=n.charCodeAt(i);r<128?e[t++]=r:r<2048?(e[t++]=r>>6|192,e[t++]=r&63|128):(r&64512)===55296&&i+1<n.length&&(n.charCodeAt(i+1)&64512)===56320?(r=65536+((r&1023)<<10)+(n.charCodeAt(++i)&1023),e[t++]=r>>18|240,e[t++]=r>>12&63|128,e[t++]=r>>6&63|128,e[t++]=r&63|128):(e[t++]=r>>12|224,e[t++]=r>>6&63|128,e[t++]=r&63|128)}return e},Eo=function(n){let e=[],t=0,i=0;for(;t<n.length;){let r=n[t++];if(r<128)e[i++]=String.fromCharCode(r);else if(r>191&&r<224){let s=n[t++];e[i++]=String.fromCharCode((r&31)<<6|s&63)}else if(r>239&&r<365){let s=n[t++],o=n[t++],c=n[t++],l=((r&7)<<18|(s&63)<<12|(o&63)<<6|c&63)-65536;e[i++]=String.fromCharCode(55296+(l>>10)),e[i++]=String.fromCharCode(56320+(l&1023))}else{let s=n[t++],o=n[t++];e[i++]=String.fromCharCode((r&15)<<12|(s&63)<<6|o&63)}}return e.join("")},Or={byteToCharMap_:null,charToByteMap_:null,byteToCharMapWebSafe_:null,charToByteMapWebSafe_:null,ENCODED_VALS_BASE:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",get ENCODED_VALS(){return this.ENCODED_VALS_BASE+"+/="},get ENCODED_VALS_WEBSAFE(){return this.ENCODED_VALS_BASE+"-_."},HAS_NATIVE_SUPPORT:typeof atob=="function",encodeByteArray(n,e){if(!Array.isArray(n))throw Error("encodeByteArray takes an array as a parameter");this.init_();let t=e?this.byteToCharMapWebSafe_:this.byteToCharMap_,i=[];for(let r=0;r<n.length;r+=3){let s=n[r],o=r+1<n.length,c=o?n[r+1]:0,l=r+2<n.length,d=l?n[r+2]:0,h=s>>2,f=(s&3)<<4|c>>4,p=(c&15)<<2|d>>6,_=d&63;l||(_=64,o||(p=64)),i.push(t[h],t[f],t[p],t[_])}return i.join("")},encodeString(n,e){return this.HAS_NATIVE_SUPPORT&&!e?btoa(n):this.encodeByteArray(kr(n),e)},decodeString(n,e){return this.HAS_NATIVE_SUPPORT&&!e?atob(n):Eo(this.decodeStringToByteArray(n,e))},decodeStringToByteArray(n,e){this.init_();let t=e?this.charToByteMapWebSafe_:this.charToByteMap_,i=[];for(let r=0;r<n.length;){let s=t[n.charAt(r++)],c=r<n.length?t[n.charAt(r)]:0;++r;let d=r<n.length?t[n.charAt(r)]:64;++r;let f=r<n.length?t[n.charAt(r)]:64;if(++r,s==null||c==null||d==null||f==null)throw new pn;let p=s<<2|c>>4;if(i.push(p),d!==64){let _=c<<4&240|d>>2;if(i.push(_),f!==64){let N=d<<6&192|f;i.push(N)}}}return i},init_(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(let n=0;n<this.ENCODED_VALS.length;n++)this.byteToCharMap_[n]=this.ENCODED_VALS.charAt(n),this.charToByteMap_[this.byteToCharMap_[n]]=n,this.byteToCharMapWebSafe_[n]=this.ENCODED_VALS_WEBSAFE.charAt(n),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[n]]=n,n>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(n)]=n,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(n)]=n)}}},pn=class extends Error{constructor(){super(...arguments),this.name="DecodeBase64StringError"}},yo=function(n){let e=kr(n);return Or.encodeByteArray(e,!0)},gn=function(n){return yo(n).replace(/\./g,"")},ze=function(n){try{return Or.decodeString(n,!0)}catch(e){console.error("base64Decode failed: ",e)}return null};function $e(n,e){if(!(e instanceof Object))return e;switch(e.constructor){case Date:let t=e;return new Date(t.getTime());case Object:n===void 0&&(n={});break;case Array:n=[];break;default:return e}for(let t in e)!e.hasOwnProperty(t)||!wo(t)||(n[t]=$e(n[t],e[t]));return n}function wo(n){return n!=="__proto__"}function _n(){if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("Unable to locate global object.")}var To=()=>_n().__FIREBASE_DEFAULTS__,bo=()=>{if(typeof process>"u"||typeof process.env>"u")return;let n=process.env.__FIREBASE_DEFAULTS__;if(n)return JSON.parse(n)},Ao=()=>{if(typeof document>"u")return;let n;try{n=document.cookie.match(/__FIREBASE_DEFAULTS__=([^;]+)/)}catch{return}let e=n&&ze(n[1]);return e&&JSON.parse(e)},vn=()=>{try{return Pr()||To()||bo()||Ao()}catch(n){console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${n}`);return}};var In=()=>{var n;return(n=vn())===null||n===void 0?void 0:n.config},Nr=n=>{var e;return(e=vn())===null||e===void 0?void 0:e[`_${n}`]};var Tt=class{constructor(){this.reject=()=>{},this.resolve=()=>{},this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}wrapCallback(e){return(t,i)=>{t?this.reject(t):this.resolve(i),typeof e=="function"&&(this.promise.catch(()=>{}),e.length===1?e(t):e(t,i))}}};function Ge(n){try{return(n.startsWith("http://")||n.startsWith("https://")?new URL(n).hostname:n).endsWith(".cloudworkstations.dev")}catch{return!1}}function Dr(n){return a(this,null,function*(){return(yield fetch(n,{credentials:"include"})).ok})}var je={};function So(){let n={prod:[],emulator:[]};for(let e of Object.keys(je))je[e]?n.emulator.push(e):n.prod.push(e);return n}function Po(n){let e=document.getElementById(n),t=!1;return e||(e=document.createElement("div"),e.setAttribute("id",n),t=!0),{created:t,element:e}}var Rr=!1;function Lr(n,e){if(typeof window>"u"||typeof document>"u"||!Ge(window.location.host)||je[n]===e||je[n]||Rr)return;je[n]=e;function t(p){return`__firebase__banner__${p}`}let i="__firebase__banner",s=So().prod.length>0;function o(){let p=document.getElementById(i);p&&p.remove()}function c(p){p.style.display="flex",p.style.background="#7faaf0",p.style.position="fixed",p.style.bottom="5px",p.style.left="5px",p.style.padding=".5em",p.style.borderRadius="5px",p.style.alignItems="center"}function l(p,_){p.setAttribute("width","24"),p.setAttribute("id",_),p.setAttribute("height","24"),p.setAttribute("viewBox","0 0 24 24"),p.setAttribute("fill","none"),p.style.marginLeft="-6px"}function d(){let p=document.createElement("span");return p.style.cursor="pointer",p.style.marginLeft="16px",p.style.fontSize="24px",p.innerHTML=" ×",p.onclick=()=>{Rr=!0,o()},p}function h(p,_){p.setAttribute("id",_),p.innerText="Learn more",p.href="https://firebase.google.com/docs/studio/preview-apps#preview-backend",p.setAttribute("target","__blank"),p.style.paddingLeft="5px",p.style.textDecoration="underline"}function f(){let p=Po(i),_=t("text"),N=document.getElementById(_)||document.createElement("span"),He=t("learnmore"),Se=document.getElementById(He)||document.createElement("a"),Be=t("preprendIcon"),le=document.getElementById(Be)||document.createElementNS("http://www.w3.org/2000/svg","svg");if(p.created){let de=p.element;c(de),h(Se,He);let yt=d();l(le,Be),de.append(le,N,Se,yt),document.body.appendChild(de)}s?(N.innerText="Preview backend disconnected.",le.innerHTML=`<g clip-path="url(#clip0_6013_33858)">
|
|
2
2
|
<path d="M4.8 17.6L12 5.6L19.2 17.6H4.8ZM6.91667 16.4H17.0833L12 7.93333L6.91667 16.4ZM12 15.6C12.1667 15.6 12.3056 15.5444 12.4167 15.4333C12.5389 15.3111 12.6 15.1667 12.6 15C12.6 14.8333 12.5389 14.6944 12.4167 14.5833C12.3056 14.4611 12.1667 14.4 12 14.4C11.8333 14.4 11.6889 14.4611 11.5667 14.5833C11.4556 14.6944 11.4 14.8333 11.4 15C11.4 15.1667 11.4556 15.3111 11.5667 15.4333C11.6889 15.5444 11.8333 15.6 12 15.6ZM11.4 13.6H12.6V10.4H11.4V13.6Z" fill="#212121"/>
|
|
3
3
|
</g>
|
|
4
4
|
<defs>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{b as y,c as E}from"./chunk-UJYSVGLV.js";import{s as I}from"./chunk-HFKKITEW.js";import{H as N,I as M,J as S,f as x,g as b,n as C}from"./chunk-MTUIRWOB.js";import{Fc as g,Gb as v,Gc as f,Hb as d,Ic as u,Mb as r,Yb as n,cd as T,ic as s,jc as l,ka as _,lc as c,mc as p,rb as i,uc as m}from"./chunk-JS55A2RS.js";function k(e,o){if(e&1&&(c(0),s(1,"a",6),f(2),l(),p()),e&2){let t=m().$implicit;i(),n("routerLink",t.Url)("title",t.Description?t.Description:""),i(),u(" ",t.Title," ")}}function h(e,o){if(e&1&&(s(0,"li",4),r(1,k,3,3,"ng-container",5),l()),e&2){let t=o.$implicit;i(),n("ngxPermissionsOnly",t.Permissions)}}function D(e,o){if(e&1&&(c(0),r(1,h,2,1,"li",3),p()),e&2){let t=m();i(),n("ngForOf",t.Tabs)}}function F(e,o){if(e&1&&(s(0,"li",4)(1,"a",6),f(2),l()()),e&2){let t=o.$implicit;i(),n("routerLink",t.Url)("title",t.Description?t.Description:""),i(),u(" ",t.Title," ")}}function L(e,o){if(e&1&&r(0,F,3,3,"li",3),e&2){let t=m();n("ngForOf",t.Tabs)}}var B=(()=>{class e{constructor(){this.usePermissions=!1}static{this.\u0275fac=function(a){return new(a||e)}}static{this.\u0275cmp=v({type:e,selectors:[["nav-tab"]],inputs:{Tabs:"Tabs",usePermissions:"usePermissions"},standalone:!1,decls:4,vars:2,consts:[["NOT_USE_PERMISSIONS",""],[1,"nav","navbar-nav","navbar-left","nav-tab-arrow"],[4,"ngIf","ngIfElse"],["routerLinkActive","active","class","nav-item me-6",4,"ngFor","ngForOf"],["routerLinkActive","active",1,"nav-item","me-6"],[4,"ngxPermissionsOnly"],[1,"nav-link","nav-link-arrow","mb-0",3,"routerLink","title"]],template:function(a,P){if(a&1&&(s(0,"ul",1),r(1,D,2,1,"ng-container",2)(2,L,1,1,"ng-template",null,0,T),l()),a&2){let O=g(3);i(),n("ngIf",P.usePermissions)("ngIfElse",O)}},dependencies:[x,b,N,M,y],encapsulation:2})}}return e})(),G=(()=>{class e{static{this.\u0275fac=function(a){return new(a||e)}}static{this.\u0275mod=d({type:e})}static{this.\u0275inj=_({imports:[C,S,I,E.forChild()]})}}return e})();export{B as a,G as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as E,c as I,j as K,k as T}from"./chunk-
|
|
1
|
+
import{c as f}from"./chunk-PW42BQIY.js";import{b as E,c as I,j as K,k as T}from"./chunk-6X2OBNJQ.js";import{r as x}from"./chunk-HFKKITEW.js";import{d as V}from"./chunk-MTUIRWOB.js";import{Gb as b,Gc as m,Hc as h,Ra as _,Sc as S,Yb as p,ec as O,gc as v,hc as P,ic as o,jc as l,rb as d,tc as y,xb as g}from"./chunk-JS55A2RS.js";var N=i=>({"bg-gradient-warning":i});function D(i,U){if(i&1&&(o(0,"tr",5)(1,"td"),m(2),l(),o(3,"td",6),m(4),l()()),i&2){let t=U.$implicit;p("matTooltip",t.duplicateMessage),d(2),h(t==null?null:t.Name),d(),p("ngClass",S(4,N,t.isDuplicate)),d(),h(t!=null&&t.ChannelVariationSKU?t==null?null:t.ChannelVariationSKU:"Not Assigned")}}var z=(()=>{class i{constructor(t,e){this.data=t,this.dialogRef=e,this.variants=_([])}ngOnInit(){this.initModalConfig(),this.initVariants()}initVariants(){let t=this.data?.variants,e={},a=[],C=t.filter(n=>f.IsEmpty(n.ChannelVariationSKU));t.filter(n=>f.IsNotEmpty(n.ChannelVariationSKU)).forEach((n,r,M)=>{e[n.ChannelVariationSKU]=M.filter(s=>s.ChannelVariationSKU===n.ChannelVariationSKU)}),Object.keys(e).forEach(n=>{e[n].length>1&&(e[n]=e[n].map((r,M,s)=>{let u=`SKU ${r.ChannelVariationSKU} is duplicated with variant`;return s.forEach((c,k)=>{c.Name!==r.Name&&(u+=` ${s.length>2?c.Name+(k!==s.length-1?",":""):c.Name}`)}),r.duplicateMessage=u,r.isDuplicate=!0,r})),a.push(...e[n])}),a.push(...C),this.variants.set(a)}initModalConfig(){this.modalConfig=new K,this.modalConfig.title=this.data?.title,this.modalConfig.hideOk=!0,this.modalConfig.hideCancel=!0,this.modalConfig.bodyScrollable=!0}static{this.\u0275fac=function(e){return new(e||i)(g(I),g(E))}}static{this.\u0275cmp=b({type:i,selectors:[["app-modal-variants"]],standalone:!1,decls:12,vars:1,consts:[[3,"onCancel","config"],["content",""],[1,"table"],[1,"sticky-top-thead","variant-modal"],[1,"sticky-top"],["matTooltipPosition","above",3,"matTooltip"],[3,"ngClass"]],template:function(e,a){e&1&&(o(0,"modal-material",0),y("onCancel",function(){return a.dialogRef.close()}),o(1,"div",1)(2,"table",2)(3,"thead",3)(4,"tr")(5,"th",4),m(6,"Variant"),l(),o(7,"th",4),m(8,"SKU"),l()()(),o(9,"tbody"),v(10,D,5,6,"tr",5,O),l()()()()),e&2&&(p("config",a.modalConfig),d(10),P(a.variants()))},dependencies:[V,x,T],styles:[".mat-dialog-title[_ngcontent-%COMP%]{margin-bottom:0%;margin-left:24px}.sticky-top-thead[_ngcontent-%COMP%] th.sticky-top[_ngcontent-%COMP%]{top:0}.table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr.sticky-top[_ngcontent-%COMP%]{border:none!important;border-bottom:1px solid!important}table[_ngcontent-%COMP%] > thead[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%]{border-top:none!important;border-left:none!important;border-right:none!important}.table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#f6f6f6!important}.sticky-top-thead.variant-modal[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:last-child:after{border-right:0px!important}.sticky-top-thead.variant-modal[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:first-child:before{border-left:0px!important}.sticky-top-thead.variant-modal[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:before{border-top:0px}"]})}}return i})();export{z as a};
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import{a as y}from"./chunk-VRI3CYGG.js";import{ba as g,ja as o}from"./chunk-AVEGIEYT.js";import{n as m}from"./chunk-MTUIRWOB.js";import{Ca as i,Gb as s,Hb as b,Kb as c,Qc as v,_b as u,ja as p,ka as r,pa as f,vc as d,wc as h}from"./chunk-JS55A2RS.js";var $=["*"],x=({dt:l})=>`
|
|
2
|
+
.p-floatlabel {
|
|
3
|
+
display: block;
|
|
4
|
+
position: relative;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.p-floatlabel label {
|
|
8
|
+
position: absolute;
|
|
9
|
+
pointer-events: none;
|
|
10
|
+
top: 50%;
|
|
11
|
+
transform: translateY(-50%);
|
|
12
|
+
transition-property: all;
|
|
13
|
+
transition-timing-function: ease;
|
|
14
|
+
line-height: 1;
|
|
15
|
+
font-weight: ${l("floatlabel.font.weight")};
|
|
16
|
+
inset-inline-start: ${l("floatlabel.position.x")};
|
|
17
|
+
color: ${l("floatlabel.color")};
|
|
18
|
+
transition-duration: ${l("floatlabel.transition.duration")};
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.p-floatlabel:has(.p-textarea) label {
|
|
22
|
+
top: ${l("floatlabel.position.y")};
|
|
23
|
+
transform: translateY(0);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.p-floatlabel:has(.p-inputicon:first-child) label {
|
|
27
|
+
inset-inline-start: calc((${l("form.field.padding.x")} * 2) + ${l("icon.size")});
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.p-floatlabel:has(.ng-invalid.ng-dirty) label {
|
|
31
|
+
color: ${l("floatlabel.invalid.color")};
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.p-floatlabel:has(input:focus) label,
|
|
35
|
+
.p-floatlabel:has(input.p-filled) label,
|
|
36
|
+
.p-floatlabel:has(input:-webkit-autofill) label,
|
|
37
|
+
.p-floatlabel:has(textarea:focus) label,
|
|
38
|
+
.p-floatlabel:has(textarea.p-filled) label,
|
|
39
|
+
.p-floatlabel:has(.p-inputwrapper-focus) label,
|
|
40
|
+
.p-floatlabel:has(.p-inputwrapper-filled) label {
|
|
41
|
+
top: ${l("floatlabel.over.active.top")};
|
|
42
|
+
transform: translateY(0);
|
|
43
|
+
font-size: ${l("floatlabel.active.font.size")};
|
|
44
|
+
font-weight: ${l("floatlabel.label.active.font.weight")};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.p-floatlabel:has(input.p-filled) label,
|
|
48
|
+
.p-floatlabel:has(textarea.p-filled) label,
|
|
49
|
+
.p-floatlabel:has(.p-inputwrapper-filled) label {
|
|
50
|
+
color: ${l("floatlabel.active.color")};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.p-floatlabel:has(input:focus) label,
|
|
54
|
+
.p-floatlabel:has(input:-webkit-autofill) label,
|
|
55
|
+
.p-floatlabel:has(textarea:focus) label,
|
|
56
|
+
.p-floatlabel:has(.p-inputwrapper-focus) label {
|
|
57
|
+
color: ${l("floatlabel.focus.color")};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.p-floatlabel-in .p-inputtext,
|
|
61
|
+
.p-floatlabel-in .p-textarea,
|
|
62
|
+
.p-floatlabel-in .p-select-label,
|
|
63
|
+
.p-floatlabel-in .p-multiselect-label-container,
|
|
64
|
+
.p-floatlabel-in .p-autocomplete-input-multiple,
|
|
65
|
+
.p-floatlabel-in .p-cascadeselect-label,
|
|
66
|
+
.p-floatlabel-in .p-treeselect-label {
|
|
67
|
+
padding-top: ${l("floatlabel.in.input.padding.top")};
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.p-floatlabel-in:has(input:focus) label,
|
|
71
|
+
.p-floatlabel-in:has(input.p-filled) label,
|
|
72
|
+
.p-floatlabel-in:has(input:-webkit-autofill) label,
|
|
73
|
+
.p-floatlabel-in:has(textarea:focus) label,
|
|
74
|
+
.p-floatlabel-in:has(textarea.p-filled) label,
|
|
75
|
+
.p-floatlabel-in:has(.p-inputwrapper-focus) label,
|
|
76
|
+
.p-floatlabel-in:has(.p-inputwrapper-filled) label {
|
|
77
|
+
top: ${l("floatlabel.in.active.top")};
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.p-floatlabel-on:has(input:focus) label,
|
|
81
|
+
.p-floatlabel-on:has(input.p-filled) label,
|
|
82
|
+
.p-floatlabel-on:has(input:-webkit-autofill) label,
|
|
83
|
+
.p-floatlabel-on:has(textarea:focus) label,
|
|
84
|
+
.p-floatlabel-on:has(textarea.p-filled) label,
|
|
85
|
+
.p-floatlabel-on:has(.p-inputwrapper-focus) label,
|
|
86
|
+
.p-floatlabel-on:has(.p-inputwrapper-filled) label {
|
|
87
|
+
top: 0;
|
|
88
|
+
transform: translateY(-50%);
|
|
89
|
+
border-radius: ${l("floatlabel.on.border.radius")};
|
|
90
|
+
background: ${l("floatlabel.on.active.background")};
|
|
91
|
+
padding: ${l("floatlabel.on.active.padding")};
|
|
92
|
+
}
|
|
93
|
+
`,F={root:({instance:l,props:n})=>["p-floatlabel",{"p-floatlabel-over":n.variant==="over","p-floatlabel-on":n.variant==="on","p-floatlabel-in":n.variant==="in"}]},w=(()=>{class l extends g{name="floatlabel";theme=x;classes=F;static \u0275fac=(()=>{let a;return function(e){return(a||(a=i(l)))(e||l)}})();static \u0275prov=p({token:l,factory:l.\u0275fac})}return l})();var M=(()=>{class l extends y{_componentStyle=f(w);variant="over";static \u0275fac=(()=>{let a;return function(e){return(a||(a=i(l)))(e||l)}})();static \u0275cmp=s({type:l,selectors:[["p-floatlabel"],["p-floatLabel"],["p-float-label"]],hostVars:8,hostBindings:function(t,e){t&2&&u("p-floatlabel",!0)("p-floatlabel-over",e.variant==="over")("p-floatlabel-on",e.variant==="on")("p-floatlabel-in",e.variant==="in")},inputs:{variant:"variant"},features:[v([w]),c],ngContentSelectors:$,decls:1,vars:0,template:function(t,e){t&1&&(d(),h(0))},dependencies:[m,o],encapsulation:2,changeDetection:0})}return l})(),V=(()=>{class l{static \u0275fac=function(t){return new(t||l)};static \u0275mod=b({type:l});static \u0275inj=r({imports:[M,o,o]})}return l})();export{M as a,V as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{G as Z}from"./chunk-MTUIRWOB.js";import{B as b,F as I,Hb as q,Ib as Q,J as M,Ka as C,O as H,R as G,T as P,_ as z,aa as F,ea as j,g as l,ja as m,jd as X,ka as L,ma as v,oa as u,p as d,pa as f,q as a,tb as J,v as y,x as g,xa as K,y as w,zb as Y}from"./chunk-JS55A2RS.js";import{a as c,b as x}from"./chunk-66YHNWRR.js";var O={REMOVE:"remove",SHOW:"show"},ee=(()=>{class t{constructor(){this.strategiesSource=new l({}),this.strategies$=this.strategiesSource.asObservable()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=m({token:t,factory:t.\u0275fac})}}return t})(),N=new v("USE_CONFIGURATION_STORE"),k=(()=>{class t{constructor(e=!1,i){this.isolate=e,this.configurationStore=i,this.strategiesSource=this.isolate?new l({}):this.configurationStore.strategiesSource,this.strategies$=this.strategiesSource.asObservable(),this.onAuthorisedDefaultStrategy=this.isolate?void 0:this.configurationStore.onAuthorisedDefaultStrategy,this.onUnAuthorisedDefaultStrategy=this.isolate?void 0:this.configurationStore.onUnAuthorisedDefaultStrategy}setDefaultOnAuthorizedStrategy(e){this.isolate?this.onAuthorisedDefaultStrategy=this.getDefinedStrategy(e):(this.configurationStore.onAuthorisedDefaultStrategy=this.getDefinedStrategy(e),this.onAuthorisedDefaultStrategy=this.configurationStore.onAuthorisedDefaultStrategy)}setDefaultOnUnauthorizedStrategy(e){this.isolate?this.onUnAuthorisedDefaultStrategy=this.getDefinedStrategy(e):(this.configurationStore.onUnAuthorisedDefaultStrategy=this.getDefinedStrategy(e),this.onUnAuthorisedDefaultStrategy=this.configurationStore.onUnAuthorisedDefaultStrategy)}addPermissionStrategy(e,i){this.strategiesSource.value[e]=i}getStrategy(e){return this.strategiesSource.value[e]}getAllStrategies(){return this.strategiesSource.value}getDefinedStrategy(e){if(this.strategiesSource.value[e]||this.isPredefinedStrategy(e))return e;throw new Error(`No ' ${e} ' strategy is found please define one`)}isPredefinedStrategy(e){return e===O.SHOW||e===O.REMOVE}static{this.\u0275fac=function(i){return new(i||t)(u(N),u(ee))}}static{this.\u0275prov=m({token:t,factory:t.\u0275fac})}}return t})();function h(t){return typeof t=="function"}function V(t){if(Object.prototype.toString.call(t)!=="[object Object]")return!1;{let W=Object.getPrototypeOf(t);return W===null||W===Object.prototype}}function ie(t){return!!t&&typeof t=="string"}function A(t){return typeof t=="boolean"}function te(t){return Object.prototype.toString.call(t)==="[object Promise]"}function E(t){return Array.isArray(t)?t.length>0:!!t}function T(t){return ie(t)?[t]:t}var se=(()=>{class t{constructor(){this.permissionsSource=new l({}),this.permissions$=this.permissionsSource.asObservable()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=m({token:t,factory:t.\u0275fac})}}return t})(),B=new v("USE_PERMISSIONS_STORE"),S=(()=>{class t{constructor(e=!1,i){this.isolate=e,this.permissionsStore=i,this.permissionsSource=this.isolate?new l({}):this.permissionsStore.permissionsSource,this.permissions$=this.permissionsSource.asObservable()}flushPermissions(){this.permissionsSource.next({})}hasPermission(e){return!e||Array.isArray(e)&&e.length===0?Promise.resolve(!0):(e=T(e),this.hasArrayPermission(e))}loadPermissions(e,i){let s=e.reduce((n,r)=>this.reducePermission(n,r,i),{});this.permissionsSource.next(s)}addPermission(e,i){if(Array.isArray(e)){let s=e.reduce((n,r)=>this.reducePermission(n,r,i),this.permissionsSource.value);this.permissionsSource.next(s)}else{let s=this.reducePermission(this.permissionsSource.value,e,i);this.permissionsSource.next(s)}}removePermission(e){let i=c({},this.permissionsSource.value);delete i[e],this.permissionsSource.next(i)}getPermission(e){return this.permissionsSource.value[e]}getPermissions(){return this.permissionsSource.value}reducePermission(e,i,s){return s&&h(s)?x(c({},e),{[i]:{name:i,validationFunction:s}}):x(c({},e),{[i]:{name:i}})}hasArrayPermission(e){let i=e.map(s=>{if(this.hasPermissionValidationFunction(s)){let n=this.permissionsSource.value[s].validationFunction,r=c({},this.permissionsSource.value);return a(null).pipe(y(()=>n(s,r)),F(o=>A(o)?a(o):o),M(()=>a(!1)))}return a(!!this.permissionsSource.value[s])});return d(i).pipe(w(),P(s=>s!==!1,!1),y(s=>s!==!1)).toPromise().then(s=>s)}hasPermissionValidationFunction(e){return!!this.permissionsSource.value[e]&&!!this.permissionsSource.value[e].validationFunction&&h(this.permissionsSource.value[e].validationFunction)}static{this.\u0275fac=function(i){return new(i||t)(u(B),u(se))}}static{this.\u0275prov=m({token:t,factory:t.\u0275fac})}}return t})(),R=class{constructor(){this.rolesSource=new l({}),this.roles$=this.rolesSource.asObservable()}},$=new v("USE_ROLES_STORE"),D=(()=>{class t{constructor(e=!1,i,s){this.isolate=e,this.rolesStore=i,this.permissionsService=s,this.rolesSource=this.isolate?new l({}):this.rolesStore.rolesSource,this.roles$=this.rolesSource.asObservable()}addRole(e,i){let s=x(c({},this.rolesSource.value),{[e]:{name:e,validationFunction:i}});this.rolesSource.next(s)}addRoleWithPermissions(e,i){this.permissionsService.addPermission(i),this.addRole(e,i)}addRoles(e){Object.keys(e).forEach((i,s)=>{this.addRole(i,e[i])})}addRolesWithPermissions(e){Object.keys(e).forEach((i,s)=>{this.addRoleWithPermissions(i,e[i])})}flushRoles(){this.rolesSource.next({})}flushRolesAndPermissions(){this.flushRoles(),this.permissionsService.flushPermissions()}removeRole(e){let i=c({},this.rolesSource.value);delete i[e],this.rolesSource.next(i)}getRoles(){return this.rolesSource.value}getRole(e){return this.rolesSource.value[e]}hasOnlyRoles(e){return!e||Array.isArray(e)&&e.length===0?Promise.resolve(!0):(e=T(e),Promise.all([this.hasRoleKey(e),this.hasRolePermission(this.rolesSource.value,e)]).then(([s,n])=>s||n))}hasRoleKey(e){let i=e.map(s=>{if(!!this.rolesSource.value[s]&&!!this.rolesSource.value[s].validationFunction&&h(this.rolesSource.value[s].validationFunction)&&!te(this.rolesSource.value[s].validationFunction)){let r=this.rolesSource.value[s].validationFunction,o=c({},this.rolesSource.value);return a(null).pipe(y(()=>r(s,o)),F(p=>A(p)?a(p):p),M(()=>a(!1)))}return a(!1)});return d(i).pipe(w(),P(s=>s!==!1,!1),y(s=>s!==!1)).toPromise().then(s=>s)}hasRolePermission(e,i){return d(i).pipe(g(s=>e[s]&&Array.isArray(e[s].validationFunction)?d(e[s].validationFunction).pipe(g(n=>this.permissionsService.hasPermission(n)),G(n=>n===!0)):a(!1)),P(s=>s===!0,!1)).toPromise()}static{this.\u0275fac=function(i){return new(i||t)(u($),u(R),u(S))}}static{this.\u0275prov=m({token:t,factory:t.\u0275fac})}}return t})(),Pe=(()=>{class t{constructor(){this.permissionsAuthorized=new C,this.permissionsUnauthorized=new C,this.firstMergeUnusedRun=1,this.permissionsService=f(S),this.configurationService=f(k),this.rolesService=f(D),this.viewContainer=f(Y),this.changeDetector=f(X),this.templateRef=f(J)}ngOnInit(){this.viewContainer.clear(),this.initPermissionSubscription=this.validateExceptOnlyPermissions()}ngOnChanges(e){let i=e.ngxPermissionsOnly,s=e.ngxPermissionsExcept;if(i||s){if(i&&i.firstChange||s&&s.firstChange)return;I(this.permissionsService.permissions$,this.rolesService.roles$).pipe(z(this.firstMergeUnusedRun),H(1)).subscribe(()=>{if(E(this.ngxPermissionsExcept)){this.validateExceptAndOnlyPermissions();return}if(E(this.ngxPermissionsOnly)){this.validateOnlyPermissions();return}this.handleAuthorisedPermission(this.getAuthorisedTemplates())})}}ngOnDestroy(){this.initPermissionSubscription&&this.initPermissionSubscription.unsubscribe()}validateExceptOnlyPermissions(){return I(this.permissionsService.permissions$,this.rolesService.roles$).pipe(z(this.firstMergeUnusedRun)).subscribe(()=>{if(E(this.ngxPermissionsExcept)){this.validateExceptAndOnlyPermissions();return}if(E(this.ngxPermissionsOnly)){this.validateOnlyPermissions();return}this.handleAuthorisedPermission(this.getAuthorisedTemplates())})}validateExceptAndOnlyPermissions(){Promise.all([this.permissionsService.hasPermission(this.ngxPermissionsExcept),this.rolesService.hasOnlyRoles(this.ngxPermissionsExcept)]).then(([e,i])=>{if(e||i){this.handleUnauthorisedPermission(this.ngxPermissionsExceptElse||this.ngxPermissionsElse);return}if(this.ngxPermissionsOnly)throw!1;this.handleAuthorisedPermission(this.ngxPermissionsExceptThen||this.ngxPermissionsThen||this.templateRef)}).catch(()=>{this.ngxPermissionsOnly?this.validateOnlyPermissions():this.handleAuthorisedPermission(this.ngxPermissionsExceptThen||this.ngxPermissionsThen||this.templateRef)})}validateOnlyPermissions(){Promise.all([this.permissionsService.hasPermission(this.ngxPermissionsOnly),this.rolesService.hasOnlyRoles(this.ngxPermissionsOnly)]).then(([e,i])=>{e||i?this.handleAuthorisedPermission(this.ngxPermissionsOnlyThen||this.ngxPermissionsThen||this.templateRef):this.handleUnauthorisedPermission(this.ngxPermissionsOnlyElse||this.ngxPermissionsElse)}).catch(()=>{this.handleUnauthorisedPermission(this.ngxPermissionsOnlyElse||this.ngxPermissionsElse)})}handleUnauthorisedPermission(e){if(!(A(this.currentAuthorizedState)&&!this.currentAuthorizedState)){if(this.currentAuthorizedState=!1,this.permissionsUnauthorized.emit(),this.getUnAuthorizedStrategyInput()){this.applyStrategyAccordingToStrategyType(this.getUnAuthorizedStrategyInput());return}this.configurationService.onUnAuthorisedDefaultStrategy&&!this.elseBlockDefined()?this.applyStrategy(this.configurationService.onUnAuthorisedDefaultStrategy):this.showTemplateBlockInView(e)}}handleAuthorisedPermission(e){if(!(A(this.currentAuthorizedState)&&this.currentAuthorizedState)){if(this.currentAuthorizedState=!0,this.permissionsAuthorized.emit(),this.getAuthorizedStrategyInput()){this.applyStrategyAccordingToStrategyType(this.getAuthorizedStrategyInput());return}this.configurationService.onAuthorisedDefaultStrategy&&!this.thenBlockDefined()?this.applyStrategy(this.configurationService.onAuthorisedDefaultStrategy):this.showTemplateBlockInView(e)}}applyStrategyAccordingToStrategyType(e){if(ie(e)){this.applyStrategy(e);return}if(h(e)){this.showTemplateBlockInView(this.templateRef),e(this.templateRef);return}}showTemplateBlockInView(e){this.viewContainer.clear(),e&&(this.viewContainer.createEmbeddedView(e),this.changeDetector.markForCheck())}getAuthorisedTemplates(){return this.ngxPermissionsOnlyThen||this.ngxPermissionsExceptThen||this.ngxPermissionsThen||this.templateRef}elseBlockDefined(){return!!this.ngxPermissionsExceptElse||!!this.ngxPermissionsElse}thenBlockDefined(){return!!this.ngxPermissionsExceptThen||!!this.ngxPermissionsThen}getAuthorizedStrategyInput(){return this.ngxPermissionsOnlyAuthorisedStrategy||this.ngxPermissionsExceptAuthorisedStrategy||this.ngxPermissionsAuthorisedStrategy}getUnAuthorizedStrategyInput(){return this.ngxPermissionsOnlyUnauthorisedStrategy||this.ngxPermissionsExceptUnauthorisedStrategy||this.ngxPermissionsUnauthorisedStrategy}applyStrategy(e){if(e===O.SHOW){this.showTemplateBlockInView(this.templateRef);return}if(e===O.REMOVE){this.viewContainer.clear();return}let i=this.configurationService.getStrategy(e);this.showTemplateBlockInView(this.templateRef),i(this.templateRef)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=Q({type:t,selectors:[["","ngxPermissionsOnly",""],["","ngxPermissionsExcept",""]],inputs:{ngxPermissionsOnly:"ngxPermissionsOnly",ngxPermissionsOnlyThen:"ngxPermissionsOnlyThen",ngxPermissionsOnlyElse:"ngxPermissionsOnlyElse",ngxPermissionsExcept:"ngxPermissionsExcept",ngxPermissionsExceptElse:"ngxPermissionsExceptElse",ngxPermissionsExceptThen:"ngxPermissionsExceptThen",ngxPermissionsThen:"ngxPermissionsThen",ngxPermissionsElse:"ngxPermissionsElse",ngxPermissionsOnlyAuthorisedStrategy:"ngxPermissionsOnlyAuthorisedStrategy",ngxPermissionsOnlyUnauthorisedStrategy:"ngxPermissionsOnlyUnauthorisedStrategy",ngxPermissionsExceptUnauthorisedStrategy:"ngxPermissionsExceptUnauthorisedStrategy",ngxPermissionsExceptAuthorisedStrategy:"ngxPermissionsExceptAuthorisedStrategy",ngxPermissionsUnauthorisedStrategy:"ngxPermissionsUnauthorisedStrategy",ngxPermissionsAuthorisedStrategy:"ngxPermissionsAuthorisedStrategy"},outputs:{permissionsAuthorized:"permissionsAuthorized",permissionsUnauthorized:"permissionsUnauthorized"},standalone:!1,features:[K]})}}return t})(),re="default";var _=(()=>{class t{constructor(e,i,s){this.permissionsService=e,this.rolesService=i,this.router=s}canActivate(e,i){return this.hasPermissions(e,i)}canActivateChild(e,i){return this.hasPermissions(e,i)}canLoad(e){return this.hasPermissions(e)}canMatch(e){return this.hasPermissions(e)}hasPermissions(e,i){let s=e&&e.data?e.data.permissions:{},n=this.transformPermission(s,e,i);return this.isParameterAvailable(n.except)?this.passingExceptPermissionsValidation(n,e,i):this.isParameterAvailable(n.only)?this.passingOnlyPermissionsValidation(n,e,i):!0}transformPermission(e,i,s){let n=h(e.only)?e.only(i,s):T(e.only),r=h(e.except)?e.except(i,s):T(e.except),o=e.redirectTo;return{only:n,except:r,redirectTo:o}}isParameterAvailable(e){return!!e&&e.length>0}passingExceptPermissionsValidation(e,i,s){if(e.redirectTo&&(h(e.redirectTo)||V(e.redirectTo)&&!this.isRedirectionWithParameters(e.redirectTo))){let n="";return d(e.except).pipe(g(r=>b([this.permissionsService.hasPermission(r),this.rolesService.hasOnlyRoles(r)]).pipe(j(o=>{o.every(U=>U===!1)||(n=r)}))),P(r=>r.some(o=>o===!0),!1),g(r=>n?(this.handleRedirectOfFailedPermission(e,n,i,s),a(!1)):!r&&e.only?this.onlyRedirectCheck(e,i,s):a(!r))).toPromise()}return Promise.all([this.permissionsService.hasPermission(e.except),this.rolesService.hasOnlyRoles(e.except)]).then(([n,r])=>n||r?(e.redirectTo&&this.redirectToAnotherRoute(e.redirectTo,i,s),!1):e.only?this.checkOnlyPermissions(e,i,s):!0)}redirectToAnotherRoute(e,i,s,n){let r=h(e)?e(n,i,s):e;if(this.isRedirectionWithParameters(r)){r.navigationCommands=this.transformNavigationCommands(r.navigationCommands,i,s),r.navigationExtras=this.transformNavigationExtras(r.navigationExtras,i,s),this.router.navigate(r.navigationCommands,r.navigationExtras);return}Array.isArray(r)?this.router.navigate(r):this.router.navigate([r])}isRedirectionWithParameters(e){return V(e)&&(!!e.navigationCommands||!!e.navigationExtras)}transformNavigationCommands(e,i,s){return h(e)?e(i,s):e}transformNavigationExtras(e,i,s){return h(e)?e(i,s):e}onlyRedirectCheck(e,i,s){let n="";return d(e.only).pipe(g(r=>b([this.permissionsService.hasPermission(r),this.rolesService.hasOnlyRoles(r)]).pipe(j(o=>{o.every(U=>U===!1)&&(n=r)}))),P(r=>h(e.redirectTo)?r.some(o=>o===!0):r.every(o=>o===!1),!1),g(r=>h(e.redirectTo)?r?a(!0):(this.handleRedirectOfFailedPermission(e,n,i,s),a(!1)):(n&&this.handleRedirectOfFailedPermission(e,n,i,s),a(!r)))).toPromise()}handleRedirectOfFailedPermission(e,i,s,n){this.isFailedPermissionPropertyOfRedirectTo(e,i)?this.redirectToAnotherRoute(e.redirectTo[i],s,n,i):h(e.redirectTo)?this.redirectToAnotherRoute(e.redirectTo,s,n,i):this.redirectToAnotherRoute(e.redirectTo[re],s,n,i)}isFailedPermissionPropertyOfRedirectTo(e,i){return!!e.redirectTo&&e.redirectTo[i]}checkOnlyPermissions(e,i,s){let n=c({},e);return Promise.all([this.permissionsService.hasPermission(n.only),this.rolesService.hasOnlyRoles(n.only)]).then(([r,o])=>r||o?!0:(n.redirectTo&&this.redirectToAnotherRoute(n.redirectTo,i,s),!1))}passingOnlyPermissionsValidation(e,i,s){return h(e.redirectTo)||V(e.redirectTo)&&!this.isRedirectionWithParameters(e.redirectTo)?this.onlyRedirectCheck(e,i,s):this.checkOnlyPermissions(e,i,s)}static{this.\u0275fac=function(i){return new(i||t)(u(S),u(D),u(Z))}}static{this.\u0275prov=m({token:t,factory:t.\u0275fac})}}return t})();var pe=(()=>{class t{static forRoot(e={}){return{ngModule:t,providers:[se,R,ee,S,_,D,k,{provide:B,useValue:e.permissionsIsolate},{provide:$,useValue:e.rolesIsolate},{provide:N,useValue:e.configurationIsolate}]}}static forChild(e={}){return{ngModule:t,providers:[{provide:B,useValue:e.permissionsIsolate},{provide:$,useValue:e.rolesIsolate},{provide:N,useValue:e.configurationIsolate},k,S,D,_]}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=q({type:t})}static{this.\u0275inj=L({})}}return t})();export{S as a,Pe as b,pe as c};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as u,b as l}from"./chunk-TNKPTRB3.js";import"./chunk-UJYSVGLV.js";import"./chunk-HFKKITEW.js";import"./chunk-OZ77CAJD.js";import{F as i,J as m}from"./chunk-MTUIRWOB.js";import{Gb as r,Yb as s,ic as p,jc as a,kc as o,rb as n}from"./chunk-JS55A2RS.js";import"./chunk-EU2KAMEK.js";import"./chunk-66YHNWRR.js";var f=(()=>{class e{constructor(){this.tabs=[{Title:"Users",Url:"/menu/users/users",Description:""},{Title:"Groups",Url:"/menu/users/groups",Description:""}]}static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275cmp=r({type:e,selectors:[["app-user-menu"]],decls:5,vars:2,consts:[[1,"navbar","page-nav","navbar-default","py-0","navbar-expand-lg"],[1,"container-fluid"],[3,"Tabs","usePermissions"]],template:function(t,c){t&1&&(p(0,"nav",0)(1,"div",1)(2,"div"),o(3,"nav-tab",2),a()()(),o(4,"router-outlet")),t&2&&(n(3),s("Tabs",c.tabs)("usePermissions",!0))},dependencies:[l,u,m,i],encapsulation:2})}}return e})(),g=[{path:"",component:f,children:[{path:"users",loadComponent(){return import("./chunk-WCU6IR2R.js").then(e=>e.UsersComponent)},data:{title:"Users"}},{path:"users/form",loadComponent(){return import("./chunk-OMDX33L2.js").then(e=>e.UserFormComponent)},data:{title:"Users Form"}},{path:"users/info",loadComponent(){return import("./chunk-CPJFWVUP.js").then(e=>e.UserInfoComponent)},data:{title:"Users Info"}},{path:"groups",loadComponent(){return import("./chunk-5PVFITW6.js").then(e=>e.GroupsComponent)},data:{title:"Groups"}},{path:"groups/form",loadComponent(){return import("./chunk-CINZW7MA.js").then(e=>e.GroupsFormComponent)},data:{title:"Groups Form"}},{path:"groups/info",loadComponent(){return import("./chunk-WHRDK5NL.js").then(e=>e.GroupInfoComponent)},data:{title:"Groups Info"}},{path:"",pathMatch:"full",redirectTo:"users"}]}];export{f as UserMenuComponent,g as userRoutes};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as P,b as W,c as B}from"./chunk-
|
|
1
|
+
import{a as P,b as W,c as B}from"./chunk-NRCXYGO3.js";import{ha as N}from"./chunk-AVEGIEYT.js";import{e as x}from"./chunk-4M63ID5T.js";import{h as E,m as D,z as j}from"./chunk-CSSG7NAJ.js";import{d as V,k as I,n as F}from"./chunk-MTUIRWOB.js";import{Fc as y,Gb as S,Ka as C,Kc as v,Lc as T,Mc as b,Rc as O,Sc as M,Yb as u,ea as g,ic as h,ja as c,jc as _,oa as d,oc as k,tc as f,v as m,xb as w,ya as p,za as l}from"./chunk-JS55A2RS.js";var G=(()=>{class o{constructor(){}convertToCSV(e,t){let i;if(typeof e=="string")i=e;else{var n=typeof e=="object"?e:JSON.parse(e);i=this.transformToCSVStringFormat(n)}this.downloadCSV(i,t)}transformToCSVStringFormat(e){if(!e||!e.length)return;let t=",",i=Object.keys(e[0]);return e.map(a=>i.map(r=>{let s=a[r]===null||a[r]===void 0?"":a[r];return s=s instanceof Date?s.toLocaleString():s.toString().replace(/"/g,'""'),s.search(/("|,|\n)/g)>=0&&(s=`"${s}"`),s}).join(t)).join(`
|
|
2
2
|
`)}downloadCSV(e,t){var i=new Blob([e],{type:"text/csv;charset=utf8;"}),n=document.createElement("a");n.setAttribute("href",window.URL.createObjectURL(i)),n.setAttribute("download",t),document.body.appendChild(n),n.click(),document.body.removeChild(n)}static{this.\u0275fac=function(t){return new(t||o)}}static{this.\u0275prov=c({token:o,factory:o.\u0275fac,providedIn:"root"})}}return o})();var J=(()=>{class o{constructor(e,t){this.http=e,this.exportService=t}loadInitialPage(){return this.http.post("/api/ordersLoader/GetOrder",{})}getNewOrders(e){return this.http.post("/api/orders/GetNewOrder",e).pipe(m(t=>t.Data))}getTotalNewOrders(e,t,i){let n={ListChannelID:e,From:t,To:i};return this.http.post("/api/orders/GetCountNewOrder",n).pipe(m(a=>a.Count))}exportOrders(e,t){return this.http.post("api/Orders/ExportOrder",e).pipe(g(i=>{this.exportService.convertToCSV(i,t)}))}static{this.\u0275fac=function(t){return new(t||o)(d(x),d(G))}}static{this.\u0275prov=c({token:o,factory:o.\u0275fac})}}return o})();var R=o=>({"full-width":o}),U=()=>({standalone:!0}),ae=(()=>{class o{constructor(e){this.datePipe=e,this.fullWidth=!1,this.timeChange=new C}ngOnInit(){}onTimeChange(e){let t=null;e&&(t=this.datePipe.transform(e,"HH:mm")),this.timeChange.emit(t),this.onTimePickerChange()}onShowCalendar(){let e=document.getElementById("dropdown-filter");if(e){var t=new bootstrap.Dropdown(e);t&&(t._config.autoClose="inside")}}onTimePickerChange(){let e=document.getElementById("dropdown-filter");if(e){var t=new bootstrap.Dropdown(e);t&&(t._config.autoClose="outside")}}static{this.\u0275fac=function(t){return new(t||o)(w(I))}}static{this.\u0275cmp=S({type:o,selectors:[["app-timepicker"]],inputs:{time:"time",fullWidth:"fullWidth"},outputs:{timeChange:"timeChange"},decls:4,vars:8,consts:[["myCalendar",""],["styleClass","custom-height","id","shippingTime","appendTo","body",3,"ngModelChange","onSelect","ngClass","baseZIndex","ngModel","timeOnly","ngModelOptions"],["size","small","label","Close",3,"click"]],template:function(t,i){if(t&1){let n=k();h(0,"p-datepicker",1,0),b("ngModelChange",function(r){return p(n),T(i.time,r)||(i.time=r),l(r)}),f("ngModelChange",function(r){return p(n),l(i.onTimeChange(r))})("onSelect",function(){return p(n),l(i.onShowCalendar())}),h(2,"p-footer")(3,"p-button",2),f("click",function(){return p(n),y(1).hideOverlay(),l(i.onShowCalendar())}),_()()()}t&2&&(u("ngClass",M(5,R,i.fullWidth))("baseZIndex",1100),v("ngModel",i.time),u("timeOnly",!0)("ngModelOptions",O(7,U)))},dependencies:[F,V,j,E,D,B,W,P,N],styles:["p-datepicker span.p-datepicker.custom-height{height:44px;width:70px} p-datepicker.full-width span.p-datepicker.custom-height{height:44px;width:100%!important}"]})}}return o})();export{J as a,ae as b};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as K}from"./chunk-G6EG5QJS.js";import{d as J}from"./chunk-QCZIDOKW.js";import{a as $}from"./chunk-KHWTOD6H.js";import{M as v,k as H,m as Y,v as Z}from"./chunk-WAW37FIG.js";import{a as Q,d as U}from"./chunk-DPLEMBB4.js";import{Aa as M,Ac as N,Dc as G,Eb as E,Fa as z,Fb as T,Ka as _,Kb as R,Oa as x,Oc as X,Vb as h,Wa as D,Wb as m,Yb as g,_b as S,bc as L,gc as d,hc as r,hd as j,ia as y,ic as l,ka as k,ma as I,mc as A,md as o,nc as q,nd as B,pa as a,qb as n,rc as p,tc as V,uc as O,xa as C,ya as b,yc as F,za as u,zc as P}from"./chunk-T5ONJF63.js";var ie=["switch"],ce=["*"];function ae(c,f){c&1&&(d(0,"span",10),M(),d(1,"svg",12),l(2,"path",13),r(),d(3,"svg",14),l(4,"path",15),r()())}var de=new I("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,hideIcon:!1,disabledInteractive:!1})}),se={provide:Q,useExisting:y(()=>W),multi:!0},w=class{source;checked;constructor(f,t){this.source=f,this.checked=t}},W=(()=>{class c{_elementRef=a(x);_focusMonitor=a(H);_changeDetectorRef=a(j);defaults=a(de);_onChange=t=>{};_onTouched=()=>{};_validatorOnChange=()=>{};_uniqueId;_checked=!1;_createChangeEvent(t){return new w(this,t)}_labelId;get buttonId(){return`${this.id||this._uniqueId}-button`}_switchElement;focus(){this._switchElement.nativeElement.focus()}_noopAnimations;_focused;name=null;id;labelPosition="after";ariaLabel=null;ariaLabelledby=null;ariaDescribedby;required;color;disabled=!1;disableRipple=!1;tabIndex=0;get checked(){return this._checked}set checked(t){this._checked=t,this._changeDetectorRef.markForCheck()}hideIcon;disabledInteractive;change=new _;toggleChange=new _;get inputId(){return`${this.id||this._uniqueId}-input`}constructor(){a(Y).load($);let t=a(new z("tabindex"),{optional:!0}),i=this.defaults,e=a(D,{optional:!0});this.tabIndex=t==null?0:parseInt(t)||0,this.color=i.color||"accent",this._noopAnimations=e==="NoopAnimations",this.id=this._uniqueId=a(Z).getId("mat-mdc-slide-toggle-"),this.hideIcon=i.hideIcon??!1,this.disabledInteractive=i.disabledInteractive??!1,this._labelId=this._uniqueId+"-label"}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{t==="keyboard"||t==="program"?(this._focused=!0,this._changeDetectorRef.markForCheck()):t||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnChanges(t){t.required&&this._validatorOnChange()}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(t){this.checked=!!t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}validate(t){return this.required&&t.value!==!0?{required:!0}:null}registerOnValidatorChange(t){this._validatorOnChange=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}_handleClick(){this.disabled||(this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new w(this,this.checked))))}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}static \u0275fac=function(i){return new(i||c)};static \u0275cmp=E({type:c,selectors:[["mat-slide-toggle"]],viewQuery:function(i,e){if(i&1&&F(ie,5),i&2){let s;P(s=N())&&(e._switchElement=s.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:13,hostBindings:function(i,e){i&2&&(q("id",e.id),h("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),S(e.color?"mat-"+e.color:""),g("mat-mdc-slide-toggle-focused",e._focused)("mat-mdc-slide-toggle-checked",e.checked)("_mat-animation-noopable",e._noopAnimations))},inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],required:[2,"required","required",o],color:"color",disabled:[2,"disabled","disabled",o],disableRipple:[2,"disableRipple","disableRipple",o],tabIndex:[2,"tabIndex","tabIndex",t=>t==null?0:B(t)],checked:[2,"checked","checked",o],hideIcon:[2,"hideIcon","hideIcon",o],disabledInteractive:[2,"disabledInteractive","disabledInteractive",o]},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[X([se,{provide:U,useExisting:c,multi:!0}]),C],ngContentSelectors:ce,decls:13,vars:27,consts:[["switch",""],["mat-internal-form-field","",3,"labelPosition"],["role","switch","type","button",1,"mdc-switch",3,"click","tabIndex","disabled"],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-switch__icons"],[1,"mdc-label",3,"click","for"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"]],template:function(i,e){if(i&1){let s=A();V(),d(0,"div",1)(1,"button",2,0),p("click",function(){return b(s),u(e._handleClick())}),l(3,"span",3),d(4,"span",4)(5,"span",5)(6,"span",6),l(7,"span",7),r(),d(8,"span",8),l(9,"span",9),r(),R(10,ae,5,0,"span",10),r()()(),d(11,"label",11),p("click",function(te){return b(s),u(te.stopPropagation())}),O(12),r()()}if(i&2){let s=G(2);m("labelPosition",e.labelPosition),n(),g("mdc-switch--selected",e.checked)("mdc-switch--unselected",!e.checked)("mdc-switch--checked",e.checked)("mdc-switch--disabled",e.disabled)("mat-mdc-slide-toggle-disabled-interactive",e.disabledInteractive),m("tabIndex",e.disabled&&!e.disabledInteractive?-1:e.tabIndex)("disabled",e.disabled&&!e.disabledInteractive),h("id",e.buttonId)("name",e.name)("aria-label",e.ariaLabel)("aria-labelledby",e._getAriaLabelledBy())("aria-describedby",e.ariaDescribedby)("aria-required",e.required||null)("aria-checked",e.checked)("aria-disabled",e.disabled&&e.disabledInteractive?"true":null),n(8),m("matRippleTrigger",s)("matRippleDisabled",e.disableRipple||e.disabled)("matRippleCentered",!0),n(),L(e.hideIcon?-1:10),n(),m("for",e.buttonId),h("id",e._labelId)}},dependencies:[J,K],styles:[`.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative;width:var(--mdc-switch-track-width, 52px)}.mdc-switch.mdc-switch--disabled{cursor:default;pointer-events:none}.mdc-switch.mat-mdc-slide-toggle-disabled-interactive{pointer-events:auto}.mdc-switch__track{overflow:hidden;position:relative;width:100%;height:var(--mdc-switch-track-height, 32px);border-radius:var(--mdc-switch-track-shape, var(--mat-sys-corner-full))}.mdc-switch--disabled.mdc-switch .mdc-switch__track{opacity:var(--mdc-switch-disabled-track-opacity, 0.12)}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%;border-width:var(--mat-switch-track-outline-width, 2px);border-color:var(--mat-switch-track-outline-color, var(--mat-sys-outline))}.mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track::after{border-width:var(--mat-switch-selected-track-outline-width, 2px);border-color:var(--mat-switch-selected-track-outline-color, transparent)}.mdc-switch--disabled .mdc-switch__track::before,.mdc-switch--disabled .mdc-switch__track::after{border-width:var(--mat-switch-disabled-unselected-track-outline-width, 2px);border-color:var(--mat-switch-disabled-unselected-track-outline-color, var(--mat-sys-on-surface))}@media(forced-colors: active){.mdc-switch__track{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0);background:var(--mdc-switch-unselected-track-color, var(--mat-sys-surface-variant))}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch--selected .mdc-switch__track::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::before{opacity:var(--mat-switch-hidden-track-opacity, 0);transition:var(--mat-switch-hidden-track-transition, opacity 75ms)}.mdc-switch--unselected .mdc-switch__track::before{opacity:var(--mat-switch-visible-track-opacity, 1);transition:var(--mat-switch-visible-track-transition, opacity 75ms)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-hover-track-color, var(--mat-sys-surface-variant))}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-focus-track-color, var(--mat-sys-surface-variant))}.mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mdc-switch-unselected-pressed-track-color, var(--mat-sys-surface-variant))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__track::before,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__track::before,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__track::before,.mdc-switch.mdc-switch--disabled .mdc-switch__track::before{background:var(--mdc-switch-disabled-unselected-track-color, var(--mat-sys-surface-variant))}.mdc-switch__track::after{transform:translateX(-100%);background:var(--mdc-switch-selected-track-color, var(--mat-sys-primary))}[dir=rtl] .mdc-switch__track::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::after{transform:translateX(0)}.mdc-switch--selected .mdc-switch__track::after{opacity:var(--mat-switch-visible-track-opacity, 1);transition:var(--mat-switch-visible-track-transition, opacity 75ms)}.mdc-switch--unselected .mdc-switch__track::after{opacity:var(--mat-switch-hidden-track-opacity, 0);transition:var(--mat-switch-hidden-track-transition, opacity 75ms)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-hover-track-color, var(--mat-sys-primary))}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-focus-track-color, var(--mat-sys-primary))}.mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mdc-switch-selected-pressed-track-color, var(--mat-sys-primary))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__track::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__track::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__track::after,.mdc-switch.mdc-switch--disabled .mdc-switch__track::after{background:var(--mdc-switch-disabled-selected-track-color, var(--mat-sys-on-surface))}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0);width:calc(100% - var(--mdc-switch-handle-width))}[dir=rtl] .mdc-switch__handle-track{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto;transition:width 75ms cubic-bezier(0.4, 0, 0.2, 1),height 75ms cubic-bezier(0.4, 0, 0.2, 1),margin 75ms cubic-bezier(0.4, 0, 0.2, 1);width:var(--mdc-switch-handle-width);height:var(--mdc-switch-handle-height);border-radius:var(--mdc-switch-handle-shape, var(--mat-sys-corner-full))}[dir=rtl] .mdc-switch__handle{left:auto;right:0}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{width:var(--mat-switch-unselected-handle-size, 16px);height:var(--mat-switch-unselected-handle-size, 16px);margin:var(--mat-switch-unselected-handle-horizontal-margin, 0 8px)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-unselected-with-icon-handle-horizontal-margin, 0 4px)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{width:var(--mat-switch-selected-handle-size, 24px);height:var(--mat-switch-selected-handle-size, 24px);margin:var(--mat-switch-selected-handle-horizontal-margin, 0 24px)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-selected-with-icon-handle-horizontal-margin, 0 24px)}.mat-mdc-slide-toggle .mdc-switch__handle:has(.mdc-switch__icons){width:var(--mat-switch-with-icon-handle-size, 24px);height:var(--mat-switch-with-icon-handle-size, 24px)}.mat-mdc-slide-toggle .mdc-switch:active:not(.mdc-switch--disabled) .mdc-switch__handle{width:var(--mat-switch-pressed-handle-size, 28px);height:var(--mat-switch-pressed-handle-size, 28px)}.mat-mdc-slide-toggle .mdc-switch--selected:active:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-selected-pressed-handle-horizontal-margin, 0 22px)}.mat-mdc-slide-toggle .mdc-switch--unselected:active:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-unselected-pressed-handle-horizontal-margin, 0 2px)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-selected-handle-opacity, 1)}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-unselected-handle-opacity, 0.38)}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media(forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-selected-handle-color, var(--mat-sys-on-primary))}.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-hover-handle-color, var(--mat-sys-primary-container))}.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-focus-handle-color, var(--mat-sys-primary-container))}.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-selected-pressed-handle-color, var(--mat-sys-primary-container))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:hover:not(:focus):not(:active) .mdc-switch__handle::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:focus:not(:active) .mdc-switch__handle::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:active .mdc-switch__handle::after,.mdc-switch--selected.mdc-switch--disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-selected-handle-color, var(--mat-sys-surface))}.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-unselected-handle-color, var(--mat-sys-outline))}.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-hover-handle-color, var(--mat-sys-on-surface-variant))}.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-focus-handle-color, var(--mat-sys-on-surface-variant))}.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-unselected-pressed-handle-color, var(--mat-sys-on-surface-variant))}.mdc-switch--unselected.mdc-switch--disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-unselected-handle-color, var(--mat-sys-on-surface))}.mdc-switch__handle::before{background:var(--mdc-switch-handle-surface-color)}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation-shadow)}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__shadow,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__shadow,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__shadow,.mdc-switch.mdc-switch--disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation-shadow)}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1;width:var(--mdc-switch-state-layer-size, 40px);height:var(--mdc-switch-state-layer-size, 40px)}.mdc-switch__ripple::after{content:"";opacity:0}.mdc-switch--disabled .mdc-switch__ripple::after{display:none}.mat-mdc-slide-toggle-disabled-interactive .mdc-switch__ripple::after{display:block}.mdc-switch:hover .mdc-switch__ripple::after{opacity:.04;transition:75ms opacity cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mdc-switch .mdc-switch__ripple::after{opacity:.12}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:focus .mdc-switch__ripple::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:active .mdc-switch__ripple::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:hover:not(:focus) .mdc-switch__ripple::after,.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background:var(--mdc-switch-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background:var(--mdc-switch-unselected-focus-state-layer-color, var(--mat-sys-on-surface))}.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background:var(--mdc-switch-unselected-pressed-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));transition:opacity 75ms linear}.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background:var(--mdc-switch-selected-hover-state-layer-color, var(--mat-sys-primary))}.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background:var(--mdc-switch-selected-focus-state-layer-color, var(--mat-sys-primary))}.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background:var(--mdc-switch-selected-pressed-state-layer-color, var(--mat-sys-primary));opacity:var(--mdc-switch-selected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));transition:opacity 75ms linear}.mdc-switch__icons{position:relative;height:100%;width:100%;z-index:1;transform:translateZ(0)}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__icons{opacity:var(--mdc-switch-disabled-unselected-icon-opacity, 0.38)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__icons{opacity:var(--mdc-switch-disabled-selected-icon-opacity, 0.38)}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--unselected .mdc-switch__icon{width:var(--mdc-switch-unselected-icon-size, 16px);height:var(--mdc-switch-unselected-icon-size, 16px);fill:var(--mdc-switch-unselected-icon-color, var(--mat-sys-surface-variant))}.mdc-switch--unselected.mdc-switch--disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-unselected-icon-color, var(--mat-sys-surface-variant))}.mdc-switch--selected .mdc-switch__icon{width:var(--mdc-switch-selected-icon-size, 16px);height:var(--mdc-switch-selected-icon-size, 16px);fill:var(--mdc-switch-selected-icon-color, var(--mat-sys-on-primary-container))}.mdc-switch--selected.mdc-switch--disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-selected-icon-color, var(--mat-sys-on-surface))}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle{-webkit-user-select:none;user-select:none;display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-internal-form-field{color:var(--mat-switch-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-switch-label-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-switch-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-switch-label-text-size, var(--mat-sys-body-medium-size));letter-spacing:var(--mat-switch-label-text-tracking, var(--mat-sys-body-medium-tracking));font-weight:var(--mat-switch-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}.mat-mdc-slide-toggle .mdc-switch:enabled+.mdc-label{cursor:pointer}.mat-mdc-slide-toggle .mdc-switch--disabled+label{color:var(--mdc-switch-disabled-label-text-color)}
|
|
1
|
+
import{a as K}from"./chunk-OKAPL3YZ.js";import{d as J}from"./chunk-SXLKJLAE.js";import{a as $}from"./chunk-HPYTL6TX.js";import{a as Q,d as U}from"./chunk-CSSG7NAJ.js";import{M as v,k as H,m as Y,v as Z}from"./chunk-OZ77CAJD.js";import{Aa as M,Ac as F,Bc as P,Cc as N,Fa as z,Fc as G,Gb as E,Hb as T,Ka as _,Mb as R,Pa as x,Qc as X,Xa as D,Xb as h,Yb as m,_b as g,ac as S,dc as L,ia as y,ic as d,jc as r,jd as j,ka as k,kc as l,ma as I,oc as A,od as o,pa as a,pc as q,pd as B,rb as n,tc as p,vc as V,wc as O,xa as C,ya as b,za as u}from"./chunk-JS55A2RS.js";var ie=["switch"],ce=["*"];function ae(c,f){c&1&&(d(0,"span",10),M(),d(1,"svg",12),l(2,"path",13),r(),d(3,"svg",14),l(4,"path",15),r()())}var de=new I("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,hideIcon:!1,disabledInteractive:!1})}),se={provide:Q,useExisting:y(()=>W),multi:!0},w=class{source;checked;constructor(f,t){this.source=f,this.checked=t}},W=(()=>{class c{_elementRef=a(x);_focusMonitor=a(H);_changeDetectorRef=a(j);defaults=a(de);_onChange=t=>{};_onTouched=()=>{};_validatorOnChange=()=>{};_uniqueId;_checked=!1;_createChangeEvent(t){return new w(this,t)}_labelId;get buttonId(){return`${this.id||this._uniqueId}-button`}_switchElement;focus(){this._switchElement.nativeElement.focus()}_noopAnimations;_focused;name=null;id;labelPosition="after";ariaLabel=null;ariaLabelledby=null;ariaDescribedby;required;color;disabled=!1;disableRipple=!1;tabIndex=0;get checked(){return this._checked}set checked(t){this._checked=t,this._changeDetectorRef.markForCheck()}hideIcon;disabledInteractive;change=new _;toggleChange=new _;get inputId(){return`${this.id||this._uniqueId}-input`}constructor(){a(Y).load($);let t=a(new z("tabindex"),{optional:!0}),i=this.defaults,e=a(D,{optional:!0});this.tabIndex=t==null?0:parseInt(t)||0,this.color=i.color||"accent",this._noopAnimations=e==="NoopAnimations",this.id=this._uniqueId=a(Z).getId("mat-mdc-slide-toggle-"),this.hideIcon=i.hideIcon??!1,this.disabledInteractive=i.disabledInteractive??!1,this._labelId=this._uniqueId+"-label"}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{t==="keyboard"||t==="program"?(this._focused=!0,this._changeDetectorRef.markForCheck()):t||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnChanges(t){t.required&&this._validatorOnChange()}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(t){this.checked=!!t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}validate(t){return this.required&&t.value!==!0?{required:!0}:null}registerOnValidatorChange(t){this._validatorOnChange=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}_handleClick(){this.disabled||(this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new w(this,this.checked))))}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}static \u0275fac=function(i){return new(i||c)};static \u0275cmp=E({type:c,selectors:[["mat-slide-toggle"]],viewQuery:function(i,e){if(i&1&&F(ie,5),i&2){let s;P(s=N())&&(e._switchElement=s.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:13,hostBindings:function(i,e){i&2&&(q("id",e.id),h("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),S(e.color?"mat-"+e.color:""),g("mat-mdc-slide-toggle-focused",e._focused)("mat-mdc-slide-toggle-checked",e.checked)("_mat-animation-noopable",e._noopAnimations))},inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],required:[2,"required","required",o],color:"color",disabled:[2,"disabled","disabled",o],disableRipple:[2,"disableRipple","disableRipple",o],tabIndex:[2,"tabIndex","tabIndex",t=>t==null?0:B(t)],checked:[2,"checked","checked",o],hideIcon:[2,"hideIcon","hideIcon",o],disabledInteractive:[2,"disabledInteractive","disabledInteractive",o]},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[X([se,{provide:U,useExisting:c,multi:!0}]),C],ngContentSelectors:ce,decls:13,vars:27,consts:[["switch",""],["mat-internal-form-field","",3,"labelPosition"],["role","switch","type","button",1,"mdc-switch",3,"click","tabIndex","disabled"],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-switch__icons"],[1,"mdc-label",3,"click","for"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"]],template:function(i,e){if(i&1){let s=A();V(),d(0,"div",1)(1,"button",2,0),p("click",function(){return b(s),u(e._handleClick())}),l(3,"span",3),d(4,"span",4)(5,"span",5)(6,"span",6),l(7,"span",7),r(),d(8,"span",8),l(9,"span",9),r(),R(10,ae,5,0,"span",10),r()()(),d(11,"label",11),p("click",function(te){return b(s),u(te.stopPropagation())}),O(12),r()()}if(i&2){let s=G(2);m("labelPosition",e.labelPosition),n(),g("mdc-switch--selected",e.checked)("mdc-switch--unselected",!e.checked)("mdc-switch--checked",e.checked)("mdc-switch--disabled",e.disabled)("mat-mdc-slide-toggle-disabled-interactive",e.disabledInteractive),m("tabIndex",e.disabled&&!e.disabledInteractive?-1:e.tabIndex)("disabled",e.disabled&&!e.disabledInteractive),h("id",e.buttonId)("name",e.name)("aria-label",e.ariaLabel)("aria-labelledby",e._getAriaLabelledBy())("aria-describedby",e.ariaDescribedby)("aria-required",e.required||null)("aria-checked",e.checked)("aria-disabled",e.disabled&&e.disabledInteractive?"true":null),n(8),m("matRippleTrigger",s)("matRippleDisabled",e.disableRipple||e.disabled)("matRippleCentered",!0),n(),L(e.hideIcon?-1:10),n(),m("for",e.buttonId),h("id",e._labelId)}},dependencies:[J,K],styles:[`.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative;width:var(--mdc-switch-track-width, 52px)}.mdc-switch.mdc-switch--disabled{cursor:default;pointer-events:none}.mdc-switch.mat-mdc-slide-toggle-disabled-interactive{pointer-events:auto}.mdc-switch__track{overflow:hidden;position:relative;width:100%;height:var(--mdc-switch-track-height, 32px);border-radius:var(--mdc-switch-track-shape, var(--mat-sys-corner-full))}.mdc-switch--disabled.mdc-switch .mdc-switch__track{opacity:var(--mdc-switch-disabled-track-opacity, 0.12)}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%;border-width:var(--mat-switch-track-outline-width, 2px);border-color:var(--mat-switch-track-outline-color, var(--mat-sys-outline))}.mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track::after{border-width:var(--mat-switch-selected-track-outline-width, 2px);border-color:var(--mat-switch-selected-track-outline-color, transparent)}.mdc-switch--disabled .mdc-switch__track::before,.mdc-switch--disabled .mdc-switch__track::after{border-width:var(--mat-switch-disabled-unselected-track-outline-width, 2px);border-color:var(--mat-switch-disabled-unselected-track-outline-color, var(--mat-sys-on-surface))}@media(forced-colors: active){.mdc-switch__track{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0);background:var(--mdc-switch-unselected-track-color, var(--mat-sys-surface-variant))}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch--selected .mdc-switch__track::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::before{opacity:var(--mat-switch-hidden-track-opacity, 0);transition:var(--mat-switch-hidden-track-transition, opacity 75ms)}.mdc-switch--unselected .mdc-switch__track::before{opacity:var(--mat-switch-visible-track-opacity, 1);transition:var(--mat-switch-visible-track-transition, opacity 75ms)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-hover-track-color, var(--mat-sys-surface-variant))}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-focus-track-color, var(--mat-sys-surface-variant))}.mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mdc-switch-unselected-pressed-track-color, var(--mat-sys-surface-variant))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__track::before,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__track::before,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__track::before,.mdc-switch.mdc-switch--disabled .mdc-switch__track::before{background:var(--mdc-switch-disabled-unselected-track-color, var(--mat-sys-surface-variant))}.mdc-switch__track::after{transform:translateX(-100%);background:var(--mdc-switch-selected-track-color, var(--mat-sys-primary))}[dir=rtl] .mdc-switch__track::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::after{transform:translateX(0)}.mdc-switch--selected .mdc-switch__track::after{opacity:var(--mat-switch-visible-track-opacity, 1);transition:var(--mat-switch-visible-track-transition, opacity 75ms)}.mdc-switch--unselected .mdc-switch__track::after{opacity:var(--mat-switch-hidden-track-opacity, 0);transition:var(--mat-switch-hidden-track-transition, opacity 75ms)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-hover-track-color, var(--mat-sys-primary))}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-focus-track-color, var(--mat-sys-primary))}.mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mdc-switch-selected-pressed-track-color, var(--mat-sys-primary))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__track::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__track::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__track::after,.mdc-switch.mdc-switch--disabled .mdc-switch__track::after{background:var(--mdc-switch-disabled-selected-track-color, var(--mat-sys-on-surface))}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0);width:calc(100% - var(--mdc-switch-handle-width))}[dir=rtl] .mdc-switch__handle-track{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto;transition:width 75ms cubic-bezier(0.4, 0, 0.2, 1),height 75ms cubic-bezier(0.4, 0, 0.2, 1),margin 75ms cubic-bezier(0.4, 0, 0.2, 1);width:var(--mdc-switch-handle-width);height:var(--mdc-switch-handle-height);border-radius:var(--mdc-switch-handle-shape, var(--mat-sys-corner-full))}[dir=rtl] .mdc-switch__handle{left:auto;right:0}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{width:var(--mat-switch-unselected-handle-size, 16px);height:var(--mat-switch-unselected-handle-size, 16px);margin:var(--mat-switch-unselected-handle-horizontal-margin, 0 8px)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-unselected-with-icon-handle-horizontal-margin, 0 4px)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{width:var(--mat-switch-selected-handle-size, 24px);height:var(--mat-switch-selected-handle-size, 24px);margin:var(--mat-switch-selected-handle-horizontal-margin, 0 24px)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-selected-with-icon-handle-horizontal-margin, 0 24px)}.mat-mdc-slide-toggle .mdc-switch__handle:has(.mdc-switch__icons){width:var(--mat-switch-with-icon-handle-size, 24px);height:var(--mat-switch-with-icon-handle-size, 24px)}.mat-mdc-slide-toggle .mdc-switch:active:not(.mdc-switch--disabled) .mdc-switch__handle{width:var(--mat-switch-pressed-handle-size, 28px);height:var(--mat-switch-pressed-handle-size, 28px)}.mat-mdc-slide-toggle .mdc-switch--selected:active:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-selected-pressed-handle-horizontal-margin, 0 22px)}.mat-mdc-slide-toggle .mdc-switch--unselected:active:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-unselected-pressed-handle-horizontal-margin, 0 2px)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-selected-handle-opacity, 1)}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-unselected-handle-opacity, 0.38)}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media(forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-selected-handle-color, var(--mat-sys-on-primary))}.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-hover-handle-color, var(--mat-sys-primary-container))}.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-focus-handle-color, var(--mat-sys-primary-container))}.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-selected-pressed-handle-color, var(--mat-sys-primary-container))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:hover:not(:focus):not(:active) .mdc-switch__handle::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:focus:not(:active) .mdc-switch__handle::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:active .mdc-switch__handle::after,.mdc-switch--selected.mdc-switch--disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-selected-handle-color, var(--mat-sys-surface))}.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-unselected-handle-color, var(--mat-sys-outline))}.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-hover-handle-color, var(--mat-sys-on-surface-variant))}.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-focus-handle-color, var(--mat-sys-on-surface-variant))}.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-unselected-pressed-handle-color, var(--mat-sys-on-surface-variant))}.mdc-switch--unselected.mdc-switch--disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-unselected-handle-color, var(--mat-sys-on-surface))}.mdc-switch__handle::before{background:var(--mdc-switch-handle-surface-color)}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation-shadow)}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__shadow,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__shadow,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__shadow,.mdc-switch.mdc-switch--disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation-shadow)}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1;width:var(--mdc-switch-state-layer-size, 40px);height:var(--mdc-switch-state-layer-size, 40px)}.mdc-switch__ripple::after{content:"";opacity:0}.mdc-switch--disabled .mdc-switch__ripple::after{display:none}.mat-mdc-slide-toggle-disabled-interactive .mdc-switch__ripple::after{display:block}.mdc-switch:hover .mdc-switch__ripple::after{opacity:.04;transition:75ms opacity cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mdc-switch .mdc-switch__ripple::after{opacity:.12}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:focus .mdc-switch__ripple::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:active .mdc-switch__ripple::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:hover:not(:focus) .mdc-switch__ripple::after,.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background:var(--mdc-switch-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background:var(--mdc-switch-unselected-focus-state-layer-color, var(--mat-sys-on-surface))}.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background:var(--mdc-switch-unselected-pressed-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));transition:opacity 75ms linear}.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background:var(--mdc-switch-selected-hover-state-layer-color, var(--mat-sys-primary))}.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background:var(--mdc-switch-selected-focus-state-layer-color, var(--mat-sys-primary))}.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background:var(--mdc-switch-selected-pressed-state-layer-color, var(--mat-sys-primary));opacity:var(--mdc-switch-selected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));transition:opacity 75ms linear}.mdc-switch__icons{position:relative;height:100%;width:100%;z-index:1;transform:translateZ(0)}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__icons{opacity:var(--mdc-switch-disabled-unselected-icon-opacity, 0.38)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__icons{opacity:var(--mdc-switch-disabled-selected-icon-opacity, 0.38)}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--unselected .mdc-switch__icon{width:var(--mdc-switch-unselected-icon-size, 16px);height:var(--mdc-switch-unselected-icon-size, 16px);fill:var(--mdc-switch-unselected-icon-color, var(--mat-sys-surface-variant))}.mdc-switch--unselected.mdc-switch--disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-unselected-icon-color, var(--mat-sys-surface-variant))}.mdc-switch--selected .mdc-switch__icon{width:var(--mdc-switch-selected-icon-size, 16px);height:var(--mdc-switch-selected-icon-size, 16px);fill:var(--mdc-switch-selected-icon-color, var(--mat-sys-on-primary-container))}.mdc-switch--selected.mdc-switch--disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-selected-icon-color, var(--mat-sys-on-surface))}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle{-webkit-user-select:none;user-select:none;display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-internal-form-field{color:var(--mat-switch-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-switch-label-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-switch-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-switch-label-text-size, var(--mat-sys-body-medium-size));letter-spacing:var(--mat-switch-label-text-tracking, var(--mat-sys-body-medium-tracking));font-weight:var(--mat-switch-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}.mat-mdc-slide-toggle .mdc-switch:enabled+.mdc-label{cursor:pointer}.mat-mdc-slide-toggle .mdc-switch--disabled+label{color:var(--mdc-switch-disabled-label-text-color)}
|
|
2
2
|
`],encapsulation:2,changeDetection:0})}return c})();var De=(()=>{class c{static \u0275fac=function(i){return new(i||c)};static \u0275mod=T({type:c});static \u0275inj=k({imports:[W,v,v]})}return c})();export{W as a,De as b};
|