(self.webpackChunkapp=self.webpackChunkapp||[]).push([[8792],{5083:(l,h,_)=>{"use strict";_.d(h,{E_:()=>de,F3:()=>U});var y=_(467);typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"&&global;var ne=function(Ie){return Ie.Unimplemented="UNIMPLEMENTED",Ie.Unavailable="UNAVAILABLE",Ie}(ne||{});class F extends Error{constructor(he,Ue,Ye){super(he),this.message=he,this.code=Ue,this.data=Ye}}const V=Ie=>{var he,Ue,Ye,bt,Ae;const ue=Ie.CapacitorCustomPlatform||null,ie=Ie.Capacitor||{},ae=ie.Plugins=ie.Plugins||{},pe=Ie.CapacitorPlatforms,Ot=(null===(he=pe?.currentPlatform)||void 0===he?void 0:he.getPlatform)||(()=>null!==ue?ue.name:(Ie=>{var he,Ue;return Ie?.androidBridge?"android":null!==(Ue=null===(he=Ie?.webkit)||void 0===he?void 0:he.messageHandlers)&&void 0!==Ue&&Ue.bridge?"ios":"web"})(Ie)),zt=(null===(Ue=pe?.currentPlatform)||void 0===Ue?void 0:Ue.isNativePlatform)||(()=>"web"!==Ot()),dn=(null===(Ye=pe?.currentPlatform)||void 0===Ye?void 0:Ye.isPluginAvailable)||(Tn=>{const Wt=sn.get(Tn);return!(!Wt?.platforms.has(Ot())&&!Un(Tn))}),Un=(null===(bt=pe?.currentPlatform)||void 0===bt?void 0:bt.getPluginHeader)||(Tn=>{var Wt;return null===(Wt=ie.PluginHeaders)||void 0===Wt?void 0:Wt.find(ft=>ft.name===Tn)}),sn=new Map,Xn=(null===(Ae=pe?.currentPlatform)||void 0===Ae?void 0:Ae.registerPlugin)||((Tn,Wt={})=>{const ft=sn.get(Tn);if(ft)return console.warn(`Capacitor plugin "${Tn}" already registered. Cannot register plugins twice.`),ft.proxy;const Je=Ot(),at=Un(Tn);let Mt;const an=function(){var kn=(0,y.A)(function*(){return!Mt&&Je in Wt?Mt=Mt="function"==typeof Wt[Je]?yield Wt[Je]():Wt[Je]:null!==ue&&!Mt&&"web"in Wt&&(Mt=Mt="function"==typeof Wt.web?yield Wt.web():Wt.web),Mt});return function(){return kn.apply(this,arguments)}}(),Fn=kn=>{let yo;const Mr=(...tr)=>{const Fr=an().then(nr=>{const oi=((kn,yo)=>{var Mr,tr;if(!at){if(kn)return null===(tr=kn[yo])||void 0===tr?void 0:tr.bind(kn);throw new F(`"${Tn}" plugin is not implemented on ${Je}`,ne.Unimplemented)}{const Fr=at?.methods.find(nr=>yo===nr.name);if(Fr)return"promise"===Fr.rtype?nr=>ie.nativePromise(Tn,yo.toString(),nr):(nr,oi)=>ie.nativeCallback(Tn,yo.toString(),nr,oi);if(kn)return null===(Mr=kn[yo])||void 0===Mr?void 0:Mr.bind(kn)}})(nr,kn);if(oi){const qr=oi(...tr);return yo=qr?.remove,qr}throw new F(`"${Tn}.${kn}()" is not implemented on ${Je}`,ne.Unimplemented)});return"addListener"===kn&&(Fr.remove=(0,y.A)(function*(){return yo()})),Fr};return Mr.toString=()=>`${kn.toString()}() { [capacitor code] }`,Object.defineProperty(Mr,"name",{value:kn,writable:!1,configurable:!1}),Mr},xn=Fn("addListener"),Zn=Fn("removeListener"),Vo=(kn,yo)=>{const Mr=xn({eventName:kn},yo),tr=function(){var nr=(0,y.A)(function*(){const oi=yield Mr;Zn({eventName:kn,callbackId:oi},yo)});return function(){return nr.apply(this,arguments)}}(),Fr=new Promise(nr=>Mr.then(()=>nr({remove:tr})));return Fr.remove=(0,y.A)(function*(){console.warn("Using addListener() without 'await' is deprecated."),yield tr()}),Fr},mr=new Proxy({},{get(kn,yo){switch(yo){case"$$typeof":return;case"toJSON":return()=>({});case"addListener":return at?Vo:xn;case"removeListener":return Zn;default:return Fn(yo)}}});return ae[Tn]=mr,sn.set(Tn,{name:Tn,proxy:mr,platforms:new Set([...Object.keys(Wt),...at?[Je]:[]])}),mr});return ie.convertFileSrc||(ie.convertFileSrc=Tn=>Tn),ie.getPlatform=Ot,ie.handleError=Tn=>Ie.console.error(Tn),ie.isNativePlatform=zt,ie.isPluginAvailable=dn,ie.pluginMethodNoop=(Tn,Wt,ft)=>Promise.reject(`${ft} does not have an implementation of "${Wt}".`),ie.registerPlugin=Xn,ie.Exception=F,ie.DEBUG=!!ie.DEBUG,ie.isLoggingEnabled=!!ie.isLoggingEnabled,ie.platform=ie.getPlatform(),ie.isNative=ie.isNativePlatform(),ie},Y=(Ie=>Ie.Capacitor=V(Ie))(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),U=Y.registerPlugin;class de{constructor(he){this.listeners={},this.retainedEventArguments={},this.windowListeners={},he&&(console.warn(`Capacitor WebPlugin "${he.name}" config object was deprecated in v3 and will be removed in v4.`),this.config=he)}addListener(he,Ue){var Ye=this;let bt=!1;this.listeners[he]||(this.listeners[he]=[],bt=!0),this.listeners[he].push(Ue);const ue=this.windowListeners[he];ue&&!ue.registered&&this.addWindowListener(ue),bt&&this.sendRetainedArgumentsForEvent(he);const ie=function(){var pe=(0,y.A)(function*(){return Ye.removeListener(he,Ue)});return function(){return pe.apply(this,arguments)}}();return Promise.resolve({remove:ie})}removeAllListeners(){var he=this;return(0,y.A)(function*(){he.listeners={};for(const Ue in he.windowListeners)he.removeWindowListener(he.windowListeners[Ue]);he.windowListeners={}})()}notifyListeners(he,Ue,Ye){const bt=this.listeners[he];if(bt)bt.forEach(Ae=>Ae(Ue));else if(Ye){let Ae=this.retainedEventArguments[he];Ae||(Ae=[]),Ae.push(Ue),this.retainedEventArguments[he]=Ae}}hasListeners(he){return!!this.listeners[he].length}registerWindowListener(he,Ue){this.windowListeners[Ue]={registered:!1,windowEventName:he,pluginEventName:Ue,handler:Ye=>{this.notifyListeners(Ue,Ye)}}}unimplemented(he="not implemented"){return new Y.Exception(he,ne.Unimplemented)}unavailable(he="not available"){return new Y.Exception(he,ne.Unavailable)}removeListener(he,Ue){var Ye=this;return(0,y.A)(function*(){const bt=Ye.listeners[he];if(!bt)return;const Ae=bt.indexOf(Ue);Ye.listeners[he].splice(Ae,1),Ye.listeners[he].length||Ye.removeWindowListener(Ye.windowListeners[he])})()}addWindowListener(he){window.addEventListener(he.windowEventName,he.handler),he.registered=!0}removeWindowListener(he){he&&(window.removeEventListener(he.windowEventName,he.handler),he.registered=!1)}sendRetainedArgumentsForEvent(he){const Ue=this.retainedEventArguments[he];Ue&&(delete this.retainedEventArguments[he],Ue.forEach(Ye=>{this.notifyListeners(he,Ye)}))}}const Oe=Ie=>encodeURIComponent(Ie).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape),Ce=Ie=>Ie.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent);class Be extends de{getCookies(){return(0,y.A)(function*(){const he=document.cookie,Ue={};return he.split(";").forEach(Ye=>{if(Ye.length<=0)return;let[bt,Ae]=Ye.replace(/=/,"CAP_COOKIE").split("CAP_COOKIE");bt=Ce(bt).trim(),Ae=Ce(Ae).trim(),Ue[bt]=Ae}),Ue})()}setCookie(he){return(0,y.A)(function*(){try{const Ue=Oe(he.key),Ye=Oe(he.value),bt=`; expires=${(he.expires||"").replace("expires=","")}`,Ae=(he.path||"/").replace("path=",""),ue=null!=he.url&&he.url.length>0?`domain=${he.url}`:"";document.cookie=`${Ue}=${Ye||""}${bt}; path=${Ae}; ${ue};`}catch(Ue){return Promise.reject(Ue)}})()}deleteCookie(he){return(0,y.A)(function*(){try{document.cookie=`${he.key}=; Max-Age=0`}catch(Ue){return Promise.reject(Ue)}})()}clearCookies(){return(0,y.A)(function*(){try{const he=document.cookie.split(";")||[];for(const Ue of he)document.cookie=Ue.replace(/^ +/,"").replace(/=.*/,`=;expires=${(new Date).toUTCString()};path=/`)}catch(he){return Promise.reject(he)}})()}clearAllCookies(){var he=this;return(0,y.A)(function*(){try{yield he.clearCookies()}catch(Ue){return Promise.reject(Ue)}})()}}U("CapacitorCookies",{web:()=>new Be});const ye=function(){var Ie=(0,y.A)(function*(he){return new Promise((Ue,Ye)=>{const bt=new FileReader;bt.onload=()=>{const Ae=bt.result;Ue(Ae.indexOf(",")>=0?Ae.split(",")[1]:Ae)},bt.onerror=Ae=>Ye(Ae),bt.readAsDataURL(he)})});return function(Ue){return Ie.apply(this,arguments)}}();class st extends de{request(he){return(0,y.A)(function*(){const Ue=((Ie,he={})=>{const Ue=Object.assign({method:Ie.method||"GET",headers:Ie.headers},he),bt=((Ie={})=>{const he=Object.keys(Ie);return Object.keys(Ie).map(bt=>bt.toLocaleLowerCase()).reduce((bt,Ae,ue)=>(bt[Ae]=Ie[he[ue]],bt),{})})(Ie.headers)["content-type"]||"";if("string"==typeof Ie.data)Ue.body=Ie.data;else if(bt.includes("application/x-www-form-urlencoded")){const Ae=new URLSearchParams;for(const[ue,ie]of Object.entries(Ie.data||{}))Ae.set(ue,ie);Ue.body=Ae.toString()}else if(bt.includes("multipart/form-data")||Ie.data instanceof FormData){const Ae=new FormData;if(Ie.data instanceof FormData)Ie.data.forEach((ie,ae)=>{Ae.append(ae,ie)});else for(const ie of Object.keys(Ie.data))Ae.append(ie,Ie.data[ie]);Ue.body=Ae;const ue=new Headers(Ue.headers);ue.delete("content-type"),Ue.headers=ue}else(bt.includes("application/json")||"object"==typeof Ie.data)&&(Ue.body=JSON.stringify(Ie.data));return Ue})(he,he.webFetchExtra),Ye=((Ie,he=!0)=>Ie?Object.entries(Ie).reduce((Ye,bt)=>{const[Ae,ue]=bt;let ie,ae;return Array.isArray(ue)?(ae="",ue.forEach(pe=>{ie=he?encodeURIComponent(pe):pe,ae+=`${Ae}=${ie}&`}),ae.slice(0,-1)):(ie=he?encodeURIComponent(ue):ue,ae=`${Ae}=${ie}`),`${Ye}&${ae}`},"").substr(1):null)(he.params,he.shouldEncodeUrlParams),bt=Ye?`${he.url}?${Ye}`:he.url,Ae=yield fetch(bt,Ue),ue=Ae.headers.get("content-type")||"";let ae,pe,{responseType:ie="text"}=Ae.ok?he:{};switch(ue.includes("application/json")&&(ie="json"),ie){case"arraybuffer":case"blob":pe=yield Ae.blob(),ae=yield ye(pe);break;case"json":ae=yield Ae.json();break;default:ae=yield Ae.text()}const Xe={};return Ae.headers.forEach((Ot,Bt)=>{Xe[Bt]=Ot}),{data:ae,headers:Xe,status:Ae.status,url:Ae.url}})()}get(he){var Ue=this;return(0,y.A)(function*(){return Ue.request(Object.assign(Object.assign({},he),{method:"GET"}))})()}post(he){var Ue=this;return(0,y.A)(function*(){return Ue.request(Object.assign(Object.assign({},he),{method:"POST"}))})()}put(he){var Ue=this;return(0,y.A)(function*(){return Ue.request(Object.assign(Object.assign({},he),{method:"PUT"}))})()}patch(he){var Ue=this;return(0,y.A)(function*(){return Ue.request(Object.assign(Object.assign({},he),{method:"PATCH"}))})()}delete(he){var Ue=this;return(0,y.A)(function*(){return Ue.request(Object.assign(Object.assign({},he),{method:"DELETE"}))})()}}U("CapacitorHttp",{web:()=>new st})},4442:(l,h,_)=>{"use strict";_.d(h,{L:()=>j,a:()=>Z,b:()=>K,c:()=>ne,d:()=>F,g:()=>Ae}),_(5531);const j="ionViewWillEnter",Z="ionViewDidEnter",K="ionViewWillLeave",ne="ionViewDidLeave",F="ionViewWillUnload",Ae=ue=>ue.classList.contains("ion-page")?ue:ue.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||ue},5531:(l,h,_)=>{"use strict";_.d(h,{a:()=>Q,c:()=>w,g:()=>F});class y{constructor(){this.m=new Map}reset(ue){this.m=new Map(Object.entries(ue))}get(ue,ie){const ae=this.m.get(ue);return void 0!==ae?ae:ie}getBoolean(ue,ie=!1){const ae=this.m.get(ue);return void 0===ae?ie:"string"==typeof ae?"true"===ae:!!ae}getNumber(ue,ie){const ae=parseFloat(this.m.get(ue));return isNaN(ae)?void 0!==ie?ie:NaN:ae}set(ue,ie){this.m.set(ue,ie)}}const w=new y,F=Ae=>V(Ae),Q=(Ae,ue)=>("string"==typeof Ae&&(ue=Ae,Ae=void 0),F(Ae).includes(ue)),V=(Ae=window)=>{if(typeof Ae>"u")return[];Ae.Ionic=Ae.Ionic||{};let ue=Ae.Ionic.platforms;return null==ue&&(ue=Ae.Ionic.platforms=q(Ae),ue.forEach(ie=>Ae.document.documentElement.classList.add(`plt-${ie}`))),ue},q=Ae=>{const ue=w.get("platform");return Object.keys(he).filter(ie=>{const ae=ue?.[ie];return"function"==typeof ae?ae(Ae):he[ie](Ae)})},U=Ae=>!!(xe(Ae,/iPad/i)||xe(Ae,/Macintosh/i)&&Be(Ae)),de=Ae=>xe(Ae,/android|sink/i),Be=Ae=>Ie(Ae,"(any-pointer:coarse)"),ye=Ae=>$e(Ae)||qe(Ae),$e=Ae=>!!(Ae.cordova||Ae.phonegap||Ae.PhoneGap),qe=Ae=>{const ue=Ae.Capacitor;return!!ue?.isNative},xe=(Ae,ue)=>ue.test(Ae.navigator.userAgent),Ie=(Ae,ue)=>{var ie;return null===(ie=Ae.matchMedia)||void 0===ie?void 0:ie.call(Ae,ue).matches},he={ipad:U,iphone:Ae=>xe(Ae,/iPhone/i),ios:Ae=>xe(Ae,/iPhone|iPod/i)||U(Ae),android:de,phablet:Ae=>{const ue=Ae.innerWidth,ie=Ae.innerHeight,ae=Math.min(ue,ie),pe=Math.max(ue,ie);return ae>390&&ae<520&&pe>620&&pe<800},tablet:Ae=>{const ue=Ae.innerWidth,ie=Ae.innerHeight,ae=Math.min(ue,ie),pe=Math.max(ue,ie);return U(Ae)||(Ae=>de(Ae)&&!xe(Ae,/mobile/i))(Ae)||ae>460&&ae<820&&pe>780&&pe<1400},cordova:$e,capacitor:qe,electron:Ae=>xe(Ae,/electron/i),pwa:Ae=>{var ue;return!!(null!==(ue=Ae.matchMedia)&&void 0!==ue&&ue.call(Ae,"(display-mode: standalone)").matches||Ae.navigator.standalone)},mobile:Be,mobileweb:Ae=>Be(Ae)&&!ye(Ae),desktop:Ae=>!Be(Ae),hybrid:ye}},9986:(l,h,_)=>{"use strict";_.d(h,{c:()=>Z});var y=_(8476);let w;const O=(K,ne,F)=>{const Q=ne.startsWith("animation")?(K=>(void 0===w&&(w=void 0===K.style.animationName&&void 0!==K.style.webkitAnimationName?"-webkit-":""),w))(K):"";K.style.setProperty(Q+ne,F)},j=(K=[],ne)=>{if(void 0!==ne){const F=Array.isArray(ne)?ne:[ne];return[...K,...F]}return K},Z=K=>{let ne,F,Q,V,q,Y,ve,et,st,xe,Ye,U=[],X=[],te=[],de=!1,Oe={},Ce=[],Be=[],Ee={},ye=0,$e=!1,qe=!1,Ie=!0,he=!1,Ue=!0,bt=!1;const Ae=K,ue=[],ie=[],ae=[],pe=[],Xe=[],Ot=[],Bt=[],zt=[],Vt=[],dn=[],vn=[],Un="function"==typeof AnimationEffect||void 0!==y.w&&"function"==typeof y.w.AnimationEffect,Cn="function"==typeof Element&&"function"==typeof Element.prototype.animate&&Un,hr=()=>vn,Wt=(nt,yt)=>{const _n=yt.findIndex(Eo=>Eo.c===nt);_n>-1&&yt.splice(_n,1)},Je=(nt,yt)=>((yt?.oneTimeCallback?ie:ue).push({c:nt,o:yt}),Ye),Mt=()=>{Cn&&(vn.forEach(nt=>{nt.cancel()}),vn.length=0)},an=()=>{Ot.forEach(nt=>{nt?.parentNode&&nt.parentNode.removeChild(nt)}),Ot.length=0},oi=()=>void 0!==q?q:ve?ve.getFill():"both",qr=()=>void 0!==et?et:void 0!==Y?Y:ve?ve.getDirection():"normal",Li=()=>$e?"linear":void 0!==Q?Q:ve?ve.getEasing():"linear",Fi=()=>qe?0:void 0!==st?st:void 0!==F?F:ve?ve.getDuration():0,Ms=()=>void 0!==V?V:ve?ve.getIterations():1,ri=()=>void 0!==xe?xe:void 0!==ne?ne:ve?ve.getDelay():0,jn=()=>{0!==ye&&(ye--,0===ye&&((()=>{Vt.forEach(gn=>gn()),dn.forEach(gn=>gn());const nt=Ie?1:0,yt=Ce,_n=Be,Eo=Ee;pe.forEach(gn=>{const Br=gn.classList;yt.forEach(Qn=>Br.add(Qn)),_n.forEach(Qn=>Br.remove(Qn));for(const Qn in Eo)Eo.hasOwnProperty(Qn)&&O(gn,Qn,Eo[Qn])}),st=void 0,et=void 0,xe=void 0,ue.forEach(gn=>gn.c(nt,Ye)),ie.forEach(gn=>gn.c(nt,Ye)),ie.length=0,Ue=!0,Ie&&(he=!0),Ie=!0})(),ve&&ve.animationFinish()))},rn=()=>{(()=>{Bt.forEach(Eo=>Eo()),zt.forEach(Eo=>Eo());const nt=X,yt=te,_n=Oe;pe.forEach(Eo=>{const gn=Eo.classList;nt.forEach(Br=>gn.add(Br)),yt.forEach(Br=>gn.remove(Br));for(const Br in _n)_n.hasOwnProperty(Br)&&O(Eo,Br,_n[Br])})})(),U.length>0&&Cn&&(pe.forEach(nt=>{const yt=nt.animate(U,{id:Ae,delay:ri(),duration:Fi(),easing:Li(),iterations:Ms(),fill:oi(),direction:qr()});yt.pause(),vn.push(yt)}),vn.length>0&&(vn[0].onfinish=()=>{jn()})),de=!0},Xi=nt=>{nt=Math.min(Math.max(nt,0),.9999),Cn&&vn.forEach(yt=>{yt.currentTime=yt.effect.getComputedTiming().delay+Fi()*nt,yt.pause()})},_r=nt=>{vn.forEach(yt=>{yt.effect.updateTiming({delay:ri(),duration:Fi(),easing:Li(),iterations:Ms(),fill:oi(),direction:qr()})}),void 0!==nt&&Xi(nt)},Ve=(nt=!1,yt=!0,_n)=>(nt&&Xe.forEach(Eo=>{Eo.update(nt,yt,_n)}),Cn&&_r(_n),Ye),il=()=>{de&&(Cn?vn.forEach(nt=>{nt.pause()}):pe.forEach(nt=>{O(nt,"animation-play-state","paused")}),bt=!0)},Yr=nt=>new Promise(yt=>{nt?.sync&&(qe=!0,Je(()=>qe=!1,{oneTimeCallback:!0})),de||rn(),he&&(Cn&&(Xi(0),_r()),he=!1),Ue&&(ye=Xe.length+1,Ue=!1);const _n=()=>{Wt(Eo,ie),yt()},Eo=()=>{Wt(_n,ae),yt()};Je(Eo,{oneTimeCallback:!0}),(nt=>{ae.push({c:nt,o:{oneTimeCallback:!0}})})(_n),Xe.forEach(gn=>{gn.play()}),Cn?(vn.forEach(nt=>{nt.play()}),(0===U.length||0===pe.length)&&jn()):jn(),bt=!1}),vr=(nt,yt)=>{const _n=U[0];return void 0===_n||void 0!==_n.offset&&0!==_n.offset?U=[{offset:0,[nt]:yt},...U]:_n[nt]=yt,Ye};return Ye={parentAnimation:ve,elements:pe,childAnimations:Xe,id:Ae,animationFinish:jn,from:vr,to:(nt,yt)=>{const _n=U[U.length-1];return void 0===_n||void 0!==_n.offset&&1!==_n.offset?U=[...U,{offset:1,[nt]:yt}]:_n[nt]=yt,Ye},fromTo:(nt,yt,_n)=>vr(nt,yt).to(nt,_n),parent:nt=>(ve=nt,Ye),play:Yr,pause:()=>(Xe.forEach(nt=>{nt.pause()}),il(),Ye),stop:()=>{Xe.forEach(nt=>{nt.stop()}),de&&(Mt(),de=!1),$e=!1,qe=!1,Ue=!0,et=void 0,st=void 0,xe=void 0,ye=0,he=!1,Ie=!0,bt=!1,ae.forEach(nt=>nt.c(0,Ye)),ae.length=0},destroy:nt=>(Xe.forEach(yt=>{yt.destroy(nt)}),(nt=>{Mt(),nt&&an()})(nt),pe.length=0,Xe.length=0,U.length=0,ue.length=0,ie.length=0,de=!1,Ue=!0,Ye),keyframes:nt=>{const yt=U!==nt;return U=nt,yt&&(nt=>{Cn&&hr().forEach(yt=>{const _n=yt.effect;if(_n.setKeyframes)_n.setKeyframes(nt);else{const Eo=new KeyframeEffect(_n.target,nt,_n.getTiming());yt.effect=Eo}})})(U),Ye},addAnimation:nt=>{if(null!=nt)if(Array.isArray(nt))for(const yt of nt)yt.parent(Ye),Xe.push(yt);else nt.parent(Ye),Xe.push(nt);return Ye},addElement:nt=>{if(null!=nt)if(1===nt.nodeType)pe.push(nt);else if(nt.length>=0)for(let yt=0;yt<nt.length;yt++)pe.push(nt[yt]);else console.error("Invalid addElement value");return Ye},update:Ve,fill:nt=>(q=nt,Ve(!0),Ye),direction:nt=>(Y=nt,Ve(!0),Ye),iterations:nt=>(V=nt,Ve(!0),Ye),duration:nt=>(!Cn&&0===nt&&(nt=1),F=nt,Ve(!0),Ye),easing:nt=>(Q=nt,Ve(!0),Ye),delay:nt=>(ne=nt,Ve(!0),Ye),getWebAnimations:hr,getKeyframes:()=>U,getFill:oi,getDirection:qr,getDelay:ri,getIterations:Ms,getEasing:Li,getDuration:Fi,afterAddRead:nt=>(Vt.push(nt),Ye),afterAddWrite:nt=>(dn.push(nt),Ye),afterClearStyles:(nt=[])=>{for(const yt of nt)Ee[yt]="";return Ye},afterStyles:(nt={})=>(Ee=nt,Ye),afterRemoveClass:nt=>(Be=j(Be,nt),Ye),afterAddClass:nt=>(Ce=j(Ce,nt),Ye),beforeAddRead:nt=>(Bt.push(nt),Ye),beforeAddWrite:nt=>(zt.push(nt),Ye),beforeClearStyles:(nt=[])=>{for(const yt of nt)Oe[yt]="";return Ye},beforeStyles:(nt={})=>(Oe=nt,Ye),beforeRemoveClass:nt=>(te=j(te,nt),Ye),beforeAddClass:nt=>(X=j(X,nt),Ye),onFinish:Je,isRunning:()=>0!==ye&&!bt,progressStart:(nt=!1,yt)=>(Xe.forEach(_n=>{_n.progressStart(nt,yt)}),il(),$e=nt,de||rn(),Ve(!1,!0,yt),Ye),progressStep:nt=>(Xe.forEach(yt=>{yt.progressStep(nt)}),Xi(nt),Ye),progressEnd:(nt,yt,_n)=>($e=!1,Xe.forEach(Eo=>{Eo.progressEnd(nt,yt,_n)}),void 0!==_n&&(st=_n),he=!1,Ie=!0,0===nt?(et="reverse"===qr()?"normal":"reverse","reverse"===et&&(Ie=!1),Cn?(Ve(),Xi(1-yt)):(xe=(1-yt)*Fi()*-1,Ve(!1,!1))):1===nt&&(Cn?(Ve(),Xi(yt)):(xe=yt*Fi()*-1,Ve(!1,!1))),void 0!==nt&&!ve&&Yr(),Ye)}}},464:(l,h,_)=>{"use strict";_.d(h,{E:()=>Q,a:()=>y,s:()=>ne});const y=V=>{try{if(V instanceof K)return V.value;if(!O()||"string"!=typeof V||""===V)return V;if(V.includes("onload="))return"";const q=document.createDocumentFragment(),Y=document.createElement("div");q.appendChild(Y),Y.innerHTML=V,Z.forEach(de=>{const ve=q.querySelectorAll(de);for(let Oe=ve.length-1;Oe>=0;Oe--){const Ce=ve[Oe];Ce.parentNode?Ce.parentNode.removeChild(Ce):q.removeChild(Ce);const Be=A(Ce);for(let Ee=0;Ee<Be.length;Ee++)w(Be[Ee])}});const U=A(q);for(let de=0;de<U.length;de++)w(U[de]);const X=document.createElement("div");X.appendChild(q);const te=X.querySelector("div");return null!==te?te.innerHTML:X.innerHTML}catch(q){return console.error(q),""}},w=V=>{if(V.nodeType&&1!==V.nodeType)return;if(typeof NamedNodeMap<"u"&&!(V.attributes instanceof NamedNodeMap))return void V.remove();for(let Y=V.attributes.length-1;Y>=0;Y--){const U=V.attributes.item(Y),X=U.name;if(!j.includes(X.toLowerCase())){V.removeAttribute(X);continue}const te=U.value,de=V[X];(null!=te&&te.toLowerCase().includes("javascript:")||null!=de&&de.toLowerCase().includes("javascript:"))&&V.removeAttribute(X)}const q=A(V);for(let Y=0;Y<q.length;Y++)w(q[Y])},A=V=>null!=V.children?V.children:V.childNodes,O=()=>{var V;const q=window,Y=null===(V=q?.Ionic)||void 0===V?void 0:V.config;return!Y||(Y.get?Y.get("sanitizerEnabled",!0):!0===Y.sanitizerEnabled||void 0===Y.sanitizerEnabled)},j=["class","id","href","src","name","slot"],Z=["script","style","iframe","meta","link","object","embed"];class K{constructor(q){this.value=q}}const ne=V=>{const q=window,Y=q.Ionic;if(!Y||!Y.config||"Object"===Y.config.constructor.name)return q.Ionic=q.Ionic||{},q.Ionic.config=Object.assign(Object.assign({},q.Ionic.config),V),q.Ionic.config},Q=!1},8621:(l,h,_)=>{"use strict";_.d(h,{C:()=>j,a:()=>A,d:()=>O});var y=_(467),w=_(4920);const A=function(){var Z=(0,y.A)(function*(K,ne,F,Q,V,q){var Y;if(K)return K.attachViewToDom(ne,F,V,Q);if(!(q||"string"==typeof F||F instanceof HTMLElement))throw new Error("framework delegate is missing");const U="string"==typeof F?null===(Y=ne.ownerDocument)||void 0===Y?void 0:Y.createElement(F):F;return Q&&Q.forEach(X=>U.classList.add(X)),V&&Object.assign(U,V),ne.appendChild(U),yield new Promise(X=>(0,w.c)(U,X)),U});return function(ne,F,Q,V,q,Y){return Z.apply(this,arguments)}}(),O=(Z,K)=>{if(K){if(Z)return Z.removeViewFromDom(K.parentElement,K);K.remove()}return Promise.resolve()},j=()=>{let Z,K;return{attachViewToDom:function(){var Q=(0,y.A)(function*(V,q,Y={},U=[]){var X,te;let de;if(Z=V,q){const Oe="string"==typeof q?null===(X=Z.ownerDocument)||void 0===X?void 0:X.createElement(q):q;U.forEach(Ce=>Oe.classList.add(Ce)),Object.assign(Oe,Y),Z.appendChild(Oe),de=Oe,yield new Promise(Ce=>(0,w.c)(Oe,Ce))}else if(Z.children.length>0&&("ION-MODAL"===Z.tagName||"ION-POPOVER"===Z.tagName)&&!(de=Z.children[0]).classList.contains("ion-delegate-host")){const Ce=null===(te=Z.ownerDocument)||void 0===te?void 0:te.createElement("div");Ce.classList.add("ion-delegate-host"),U.forEach(Be=>Ce.classList.add(Be)),Ce.append(...Z.children),Z.appendChild(Ce),de=Ce}const ve=document.querySelector("ion-app")||document.body;return K=document.createComment("ionic teleport"),Z.parentNode.insertBefore(K,Z),ve.appendChild(Z),de??Z});return function(q,Y){return Q.apply(this,arguments)}}(),removeViewFromDom:()=>(Z&&K&&(K.parentNode.insertBefore(Z,K),K.remove()),Promise.resolve())}}},1970:(l,h,_)=>{"use strict";_.d(h,{B:()=>O,G:()=>j});class w{constructor(K,ne,F,Q,V){this.id=ne,this.name=F,this.disableScroll=V,this.priority=1e6*Q+ne,this.ctrl=K}canStart(){return!!this.ctrl&&this.ctrl.canStart(this.name)}start(){return!!this.ctrl&&this.ctrl.start(this.name,this.id,this.priority)}capture(){if(!this.ctrl)return!1;const K=this.ctrl.capture(this.name,this.id,this.priority);return K&&this.disableScroll&&this.ctrl.disableScroll(this.id),K}release(){this.ctrl&&(this.ctrl.release(this.id),this.disableScroll&&this.ctrl.enableScroll(this.id))}destroy(){this.release(),this.ctrl=void 0}}class A{constructor(K,ne,F,Q){this.id=ne,this.disable=F,this.disableScroll=Q,this.ctrl=K}block(){if(this.ctrl){if(this.disable)for(const K of this.disable)this.ctrl.disableGesture(K,this.id);this.disableScroll&&this.ctrl.disableScroll(this.id)}}unblock(){if(this.ctrl){if(this.disable)for(const K of this.disable)this.ctrl.enableGesture(K,this.id);this.disableScroll&&this.ctrl.enableScroll(this.id)}}destroy(){this.unblock(),this.ctrl=void 0}}const O="backdrop-no-scroll",j=new class y{constructor(){this.gestureId=0,this.requestedStart=new Map,this.disabledGestures=new Map,this.disabledScroll=new Set}createGesture(K){var ne;return new w(this,this.newID(),K.name,null!==(ne=K.priority)&&void 0!==ne?ne:0,!!K.disableScroll)}createBlocker(K={}){return new A(this,this.newID(),K.disable,!!K.disableScroll)}start(K,ne,F){return this.canStart(K)?(this.requestedStart.set(ne,F),!0):(this.requestedStart.delete(ne),!1)}capture(K,ne,F){if(!this.start(K,ne,F))return!1;const Q=this.requestedStart;let V=-1e4;if(Q.forEach(q=>{V=Math.max(V,q)}),V===F){this.capturedId=ne,Q.clear();const q=new CustomEvent("ionGestureCaptured",{detail:{gestureName:K}});return document.dispatchEvent(q),!0}return Q.delete(ne),!1}release(K){this.requestedStart.delete(K),this.capturedId===K&&(this.capturedId=void 0)}disableGesture(K,ne){let F=this.disabledGestures.get(K);void 0===F&&(F=new Set,this.disabledGestures.set(K,F)),F.add(ne)}enableGesture(K,ne){const F=this.disabledGestures.get(K);void 0!==F&&F.delete(ne)}disableScroll(K){this.disabledScroll.add(K),1===this.disabledScroll.size&&document.body.classList.add(O)}enableScroll(K){this.disabledScroll.delete(K),0===this.disabledScroll.size&&document.body.classList.remove(O)}canStart(K){return!(void 0!==this.capturedId||this.isDisabled(K))}isCaptured(){return void 0!==this.capturedId}isScrollDisabled(){return this.disabledScroll.size>0}isDisabled(K){const ne=this.disabledGestures.get(K);return!!(ne&&ne.size>0)}newID(){return this.gestureId++,this.gestureId}}},7192:(l,h,_)=>{"use strict";_.r(h),_.d(h,{MENU_BACK_BUTTON_PRIORITY:()=>F,OVERLAY_BACK_BUTTON_PRIORITY:()=>ne,blockHardwareBackButton:()=>Z,shouldUseCloseWatcher:()=>j,startHardwareBackButton:()=>K});var y=_(467),w=_(8476),A=_(9483);_(4261);const j=()=>A.c.get("experimentalCloseWatcher",!1)&&void 0!==w.w&&"CloseWatcher"in w.w,Z=()=>{document.addEventListener("backbutton",()=>{})},K=()=>{const Q=document;let V=!1;const q=()=>{if(V)return;let Y=0,U=[];const X=new CustomEvent("ionBackButton",{bubbles:!1,detail:{register(ve,Oe){U.push({priority:ve,handler:Oe,id:Y++})}}});Q.dispatchEvent(X);const te=function(){var ve=(0,y.A)(function*(Oe){try{if(Oe?.handler){const Ce=Oe.handler(de);null!=Ce&&(yield Ce)}}catch(Ce){console.error(Ce)}});return function(Ce){return ve.apply(this,arguments)}}(),de=()=>{if(U.length>0){let ve={priority:Number.MIN_SAFE_INTEGER,handler:()=>{},id:-1};U.forEach(Oe=>{Oe.priority>=ve.priority&&(ve=Oe)}),V=!0,U=U.filter(Oe=>Oe.id!==ve.id),te(ve).then(()=>V=!1)}};de()};if(j()){let Y;const U=()=>{Y?.destroy(),Y=new w.w.CloseWatcher,Y.onclose=()=>{q(),U()}};U()}else Q.addEventListener("backbutton",q)},ne=100,F=99},4920:(l,h,_)=>{"use strict";_.d(h,{a:()=>ne,b:()=>F,c:()=>A,d:()=>U,e:()=>Oe,f:()=>Y,g:()=>Q,h:()=>j,i:()=>K,j:()=>X,k:()=>O,l:()=>q,m:()=>te,n:()=>ve,o:()=>Ce,p:()=>de,r:()=>V,s:()=>Be,t:()=>y});const y=(Ee,ye=0)=>new Promise($e=>{w(Ee,ye,$e)}),w=(Ee,ye=0,$e)=>{let qe,et;const st={passive:!0},Ie=()=>{qe&&qe()},he=Ue=>{(void 0===Ue||Ee===Ue.target)&&(Ie(),$e(Ue))};return Ee&&(Ee.addEventListener("webkitTransitionEnd",he,st),Ee.addEventListener("transitionend",he,st),et=setTimeout(he,ye+500),qe=()=>{void 0!==et&&(clearTimeout(et),et=void 0),Ee.removeEventListener("webkitTransitionEnd",he,st),Ee.removeEventListener("transitionend",he,st)}),Ie},A=(Ee,ye)=>{Ee.componentOnReady?Ee.componentOnReady().then($e=>ye($e)):V(()=>ye(Ee))},O=Ee=>void 0!==Ee.componentOnReady,j=(Ee,ye=[])=>{const $e={};return ye.forEach(qe=>{Ee.hasAttribute(qe)&&(null!==Ee.getAttribute(qe)&&($e[qe]=Ee.getAttribute(qe)),Ee.removeAttribute(qe))}),$e},Z=["role","aria-activedescendant","aria-atomic","aria-autocomplete","aria-braillelabel","aria-brailleroledescription","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colindextext","aria-colspan","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowindextext","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],K=(Ee,ye)=>{let $e=Z;return ye&&ye.length>0&&($e=$e.filter(qe=>!ye.includes(qe))),j(Ee,$e)},ne=(Ee,ye,$e,qe)=>{var et;if(typeof window<"u"){const st=window,xe=null===(et=st?.Ionic)||void 0===et?void 0:et.config;if(xe){const Ie=xe.get("_ael");if(Ie)return Ie(Ee,ye,$e,qe);if(xe._ael)return xe._ael(Ee,ye,$e,qe)}}return Ee.addEventListener(ye,$e,qe)},F=(Ee,ye,$e,qe)=>{var et;if(typeof window<"u"){const st=window,xe=null===(et=st?.Ionic)||void 0===et?void 0:et.config;if(xe){const Ie=xe.get("_rel");if(Ie)return Ie(Ee,ye,$e,qe);if(xe._rel)return xe._rel(Ee,ye,$e,qe)}}return Ee.removeEventListener(ye,$e,qe)},Q=(Ee,ye=Ee)=>Ee.shadowRoot||ye,V=Ee=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(Ee):"function"==typeof requestAnimationFrame?requestAnimationFrame(Ee):setTimeout(Ee),q=Ee=>!!Ee.shadowRoot&&!!Ee.attachShadow,Y=Ee=>{if(Ee.focus(),Ee.classList.contains("ion-focusable")){const ye=Ee.closest("ion-app");ye&&ye.setFocus([Ee])}},U=(Ee,ye,$e,qe,et)=>{if(Ee||q(ye)){let st=ye.querySelector("input.aux-input");st||(st=ye.ownerDocument.createElement("input"),st.type="hidden",st.classList.add("aux-input"),ye.appendChild(st)),st.disabled=et,st.name=$e,st.value=qe||""}},X=(Ee,ye,$e)=>Math.max(Ee,Math.min(ye,$e)),te=(Ee,ye)=>{if(!Ee){const $e="ASSERT: "+ye;throw console.error($e),new Error($e)}},de=Ee=>{if(Ee){const ye=Ee.changedTouches;if(ye&&ye.length>0){const $e=ye[0];return{x:$e.clientX,y:$e.clientY}}if(void 0!==Ee.pageX)return{x:Ee.pageX,y:Ee.pageY}}return{x:0,y:0}},ve=Ee=>{const ye="rtl"===document.dir;switch(Ee){case"start":return ye;case"end":return!ye;default:throw new Error(`"${Ee}" is not a valid value for [side]. Use "start" or "end" instead.`)}},Oe=(Ee,ye)=>{const $e=Ee._original||Ee;return{_original:Ee,emit:Ce($e.emit.bind($e),ye)}},Ce=(Ee,ye=0)=>{let $e;return(...qe)=>{clearTimeout($e),$e=setTimeout(Ee,ye,...qe)}},Be=(Ee,ye)=>{if(Ee??(Ee={}),ye??(ye={}),Ee===ye)return!0;const $e=Object.keys(Ee);if($e.length!==Object.keys(ye).length)return!1;for(const qe of $e)if(!(qe in ye)||Ee[qe]!==ye[qe])return!1;return!0}},4261:(l,h,_)=>{"use strict";_.d(h,{B:()=>Z,a:()=>Ue,b:()=>Uc,c:()=>oi,d:()=>Ms,e:()=>Vt,f:()=>Zn,g:()=>qr,h:()=>Fn,i:()=>Fi,j:()=>we,k:()=>vn,r:()=>F,w:()=>dn});var y=_(467);var O=Object.defineProperty,Z={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1},K=new WeakMap,ne=R=>K.get(R),F=(R,W)=>K.set(W.$lazyInstance$=R,W),V=(R,W)=>W in R,q=(R,W)=>(0,console.error)(R,W),Y=new Map,X=new Map,te=[],Be="s-id",qe="slot-fb{display:contents}slot-fb[hidden]{display:none}",et="http://www.w3.org/1999/xlink",st=typeof window<"u"?window:{},xe=st.document||{head:{}},he={$flags$:0,$resourcesUrl$:"",jmp:R=>R(),raf:R=>requestAnimationFrame(R),ael:(R,W,fe,me)=>R.addEventListener(W,fe,me),rel:(R,W,fe,me)=>R.removeEventListener(W,fe,me),ce:(R,W)=>new CustomEvent(R,W)},Ue=R=>{Object.assign(he,R)},bt=(()=>{let R=!1;try{xe.addEventListener("e",null,Object.defineProperty({},"passive",{get(){R=!0}}))}catch{}return R})(),ue=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch{}return!1})(),ie=!1,ae=[],pe=[],Xe=(R,W)=>fe=>{R.push(fe),ie||(ie=!0,W&&4&he.$flags$?zt(Bt):he.raf(Bt))},Ot=R=>{for(let W=0;W<R.length;W++)try{R[W](performance.now())}catch(fe){q(fe)}R.length=0},Bt=()=>{Ot(ae),Ot(pe),(ie=ae.length>0)&&he.raf(Bt)},zt=R=>Promise.resolve(void 0).then(R),Vt=Xe(ae,!1),dn=Xe(pe,!0),vn=R=>{const W=new URL(R,he.$resourcesUrl$);return W.origin!==st.location.origin?W.href:W.pathname},Un={},ho=R=>"object"==(R=typeof R)||"function"===R;function Xn(R){var W,fe,me;return null!=(me=null==(fe=null==(W=R.head)?void 0:W.querySelector('meta[name="csp-nonce"]'))?void 0:fe.getAttribute("content"))?me:void 0}((R,W)=>{for(var fe in W)O(R,fe,{get:W[fe],enumerable:!0})})({},{err:()=>ft,map:()=>Je,ok:()=>Wt,unwrap:()=>at,unwrapErr:()=>Mt});var Wt=R=>({isOk:!0,isErr:!1,value:R}),ft=R=>({isOk:!1,isErr:!0,value:R});function Je(R,W){if(R.isOk){const fe=W(R.value);return fe instanceof Promise?fe.then(me=>Wt(me)):Wt(fe)}if(R.isErr)return ft(R.value);throw"should never get here"}var at=R=>{if(R.isOk)return R.value;throw R.value},Mt=R=>{if(R.isErr)return R.value;throw R.value},Fn=(R,W,...fe)=>{let me=null,Pe=null,De=null,ut=!1,ht=!1;const pt=[],mt=Ut=>{for(let Xt=0;Xt<Ut.length;Xt++)me=Ut[Xt],Array.isArray(me)?mt(me):null!=me&&"boolean"!=typeof me&&((ut="function"!=typeof R&&!ho(me))&&(me=String(me)),ut&&ht?pt[pt.length-1].$text$+=me:pt.push(ut?xn(null,me):me),ht=ut)};if(mt(fe),W){W.key&&(Pe=W.key),W.name&&(De=W.name);{const Ut=W.className||W.class;Ut&&(W.class="object"!=typeof Ut?Ut:Object.keys(Ut).filter(Xt=>Ut[Xt]).join(" "))}}if("function"==typeof R)return R(null===W?{}:W,pt,mr);const Rt=xn(R,null);return Rt.$attrs$=W,pt.length>0&&(Rt.$children$=pt),Rt.$key$=Pe,Rt.$name$=De,Rt},xn=(R,W)=>({$flags$:0,$tag$:R,$text$:W,$elm$:null,$children$:null,$attrs$:null,$key$:null,$name$:null}),Zn={},mr={forEach:(R,W)=>R.map(kn).forEach(W),map:(R,W)=>R.map(kn).map(W).map(yo)},kn=R=>({vattrs:R.$attrs$,vchildren:R.$children$,vkey:R.$key$,vname:R.$name$,vtag:R.$tag$,vtext:R.$text$}),yo=R=>{if("function"==typeof R.vtag){const fe={...R.vattrs};return R.vkey&&(fe.key=R.vkey),R.vname&&(fe.name=R.vname),Fn(R.vtag,fe,...R.vchildren||[])}const W=xn(R.vtag,R.vtext);return W.$attrs$=R.vattrs,W.$children$=R.vchildren,W.$key$=R.vkey,W.$name$=R.vname,W},tr=(R,W,fe,me,Pe,De,ut)=>{let ht,pt,mt,Rt;if(1===De.nodeType){if(ht=De.getAttribute("c-id"),ht&&(pt=ht.split("."),(pt[0]===ut||"0"===pt[0])&&(mt={$flags$:0,$hostId$:pt[0],$nodeId$:pt[1],$depth$:pt[2],$index$:pt[3],$tag$:De.tagName.toLowerCase(),$elm$:De,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null},W.push(mt),De.removeAttribute("c-id"),R.$children$||(R.$children$=[]),R.$children$[mt.$index$]=mt,R=mt,me&&"0"===mt.$depth$&&(me[mt.$index$]=mt.$elm$))),De.shadowRoot)for(Rt=De.shadowRoot.childNodes.length-1;Rt>=0;Rt--)tr(R,W,fe,me,Pe,De.shadowRoot.childNodes[Rt],ut);for(Rt=De.childNodes.length-1;Rt>=0;Rt--)tr(R,W,fe,me,Pe,De.childNodes[Rt],ut)}else if(8===De.nodeType)pt=De.nodeValue.split("."),(pt[1]===ut||"0"===pt[1])&&(ht=pt[0],mt={$flags$:0,$hostId$:pt[1],$nodeId$:pt[2],$depth$:pt[3],$index$:pt[4],$elm$:De,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},"t"===ht?(mt.$elm$=De.nextSibling,mt.$elm$&&3===mt.$elm$.nodeType&&(mt.$text$=mt.$elm$.textContent,W.push(mt),De.remove(),R.$children$||(R.$children$=[]),R.$children$[mt.$index$]=mt,me&&"0"===mt.$depth$&&(me[mt.$index$]=mt.$elm$))):mt.$hostId$===ut&&("s"===ht?(mt.$tag$="slot",De["s-sn"]=pt[5]?mt.$name$=pt[5]:"",De["s-sr"]=!0,me&&(mt.$elm$=xe.createElement(mt.$tag$),mt.$name$&&mt.$elm$.setAttribute("name",mt.$name$),De.parentNode.insertBefore(mt.$elm$,De),De.remove(),"0"===mt.$depth$&&(me[mt.$index$]=mt.$elm$)),fe.push(mt),R.$children$||(R.$children$=[]),R.$children$[mt.$index$]=mt):"r"===ht&&(me?De.remove():(Pe["s-cr"]=De,De["s-cn"]=!0))));else if(R&&"style"===R.$tag$){const Ut=xn(null,De.textContent);Ut.$elm$=De,Ut.$index$="0",R.$children$=[Ut]}},Fr=(R,W)=>{if(1===R.nodeType){let fe=0;if(R.shadowRoot)for(;fe<R.shadowRoot.childNodes.length;fe++)Fr(R.shadowRoot.childNodes[fe],W);for(fe=0;fe<R.childNodes.length;fe++)Fr(R.childNodes[fe],W)}else if(8===R.nodeType){const fe=R.nodeValue.split(".");"o"===fe[0]&&(W.set(fe[1]+"."+fe[2],R),R.nodeValue="",R["s-en"]=fe[3])}},oi=R=>te.push(R),qr=R=>ne(R).$modeName$,Fi=R=>ne(R).$hostElement$,Ms=(R,W,fe)=>{const me=Fi(R);return{emit:Pe=>ri(me,W,{bubbles:!!(4&fe),composed:!!(2&fe),cancelable:!!(1&fe),detail:Pe})}},ri=(R,W,fe)=>{const me=he.ce(W,fe);return R.dispatchEvent(me),me},oa=new WeakMap,Na=(R,W,fe)=>{var me;const Pe=bo(W,fe),De=X.get(Pe);if(R=11===R.nodeType?R:xe,De)if("string"==typeof De){let ht,ut=oa.get(R=R.head||R);if(ut||oa.set(R,ut=new Set),!ut.has(Pe)){if(R.host&&(ht=R.querySelector(`[sty-id="${Pe}"]`)))ht.innerHTML=De;else{ht=xe.createElement("style"),ht.innerHTML=De;const pt=null!=(me=he.$nonce$)?me:Xn(xe);null!=pt&&ht.setAttribute("nonce",pt),(!(1&W.$flags$)||1&W.$flags$&&"HEAD"!==R.nodeName)&&R.insertBefore(ht,R.querySelector("link"))}4&W.$flags$&&(ht.innerHTML+=qe),ut&&ut.add(Pe)}}else R.adoptedStyleSheets.includes(De)||(R.adoptedStyleSheets=[...R.adoptedStyleSheets,De]);return Pe},bo=(R,W)=>"sc-"+(W&&32&R.$flags$?R.$tagName$+"-"+W:R.$tagName$),xa=(R,W,fe,me,Pe,De)=>{if(fe!==me){let ut=V(R,W),ht=W.toLowerCase();if("class"===W){const pt=R.classList,mt=ol(fe),Rt=ol(me);pt.remove(...mt.filter(Ut=>Ut&&!Rt.includes(Ut))),pt.add(...Rt.filter(Ut=>Ut&&!mt.includes(Ut)))}else if("style"===W){for(const pt in fe)(!me||null==me[pt])&&(pt.includes("-")?R.style.removeProperty(pt):R.style[pt]="");for(const pt in me)(!fe||me[pt]!==fe[pt])&&(pt.includes("-")?R.style.setProperty(pt,me[pt]):R.style[pt]=me[pt])}else if("key"!==W)if("ref"===W)me&&me(R);else if(ut||"o"!==W[0]||"n"!==W[1]){const pt=ho(me);if((ut||pt&&null!==me)&&!Pe)try{if(R.tagName.includes("-"))R[W]=me;else{const Rt=me??"";"list"===W?ut=!1:(null==fe||R[W]!=Rt)&&(R[W]=Rt)}}catch{}let mt=!1;ht!==(ht=ht.replace(/^xlink\:?/,""))&&(W=ht,mt=!0),null==me||!1===me?(!1!==me||""===R.getAttribute(W))&&(mt?R.removeAttributeNS(et,W):R.removeAttribute(W)):(!ut||4&De||Pe)&&!pt&&(me=!0===me?"":me,mt?R.setAttributeNS(et,W,me):R.setAttribute(W,me))}else if(W="-"===W[2]?W.slice(3):V(st,ht)?ht.slice(2):ht[2]+W.slice(3),fe||me){const pt=W.endsWith(rl);W=W.replace(Ho,""),fe&&he.rel(R,W,fe,pt),me&&he.ael(R,W,me,pt)}}},Ul=/\s/,ol=R=>R?R.split(Ul):[],rl="Capture",Ho=new RegExp(rl+"$"),Oa=(R,W,fe)=>{const me=11===W.$elm$.nodeType&&W.$elm$.host?W.$elm$.host:W.$elm$,Pe=R&&R.$attrs$||Un,De=W.$attrs$||Un;for(const ut of or(Object.keys(Pe)))ut in De||xa(me,ut,Pe[ut],void 0,fe,W.$flags$);for(const ut of or(Object.keys(De)))xa(me,ut,Pe[ut],De[ut],fe,W.$flags$)};function or(R){return R.includes("ref")?[...R.filter(W=>"ref"!==W),"ref"]:R}var Ki,wo,jn,ra=!1,rn=!1,Xi=!1,_r=!1,Ve=(R,W,fe,me)=>{var Pe;const De=W.$children$[fe];let ht,pt,mt,ut=0;if(ra||(Xi=!0,"slot"===De.$tag$&&(Ki&&me.classList.add(Ki+"-s"),De.$flags$|=De.$children$?2:1)),null!==De.$text$)ht=De.$elm$=xe.createTextNode(De.$text$);else if(1&De.$flags$)ht=De.$elm$=xe.createTextNode("");else{if(_r||(_r="svg"===De.$tag$),ht=De.$elm$=xe.createElementNS(_r?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!ra&&2&De.$flags$?"slot-fb":De.$tag$),_r&&"foreignObject"===De.$tag$&&(_r=!1),Oa(null,De,_r),!!ht.getRootNode().querySelector("body")&&(R=>null!=R)(Ki)&&ht["s-si"]!==Ki&&ht.classList.add(ht["s-si"]=Ki),Eo(ht,me),De.$children$)for(ut=0;ut<De.$children$.length;++ut)pt=Ve(R,De,ut,ht),pt&&ht.appendChild(pt);"svg"===De.$tag$?_r=!1:"foreignObject"===ht.tagName&&(_r=!0)}return ht["s-hn"]=jn,3&De.$flags$&&(ht["s-sr"]=!0,ht["s-cr"]=wo,ht["s-sn"]=De.$name$||"",ht["s-rf"]=null==(Pe=De.$attrs$)?void 0:Pe.ref,mt=R&&R.$children$&&R.$children$[fe],mt&&mt.$tag$===De.$tag$&&R.$elm$&&Zi(R.$elm$)),ht},Zi=R=>{he.$flags$|=1;const W=R.closest(jn.toLowerCase());if(null!=W){const fe=Array.from(W.childNodes).find(Pe=>Pe["s-cr"]),me=Array.from(R.childNodes);for(const Pe of fe?me.reverse():me)null!=Pe["s-sh"]&&(yt(W,Pe,fe??null),Pe["s-sh"]=void 0,Xi=!0)}he.$flags$&=-2},Qi=(R,W)=>{he.$flags$|=1;const fe=Array.from(R.childNodes);if(R["s-sr"]){let me=R;for(;me=me.nextSibling;)me&&me["s-sn"]===R["s-sn"]&&me["s-sh"]===jn&&fe.push(me)}for(let me=fe.length-1;me>=0;me--){const Pe=fe[me];Pe["s-hn"]!==jn&&Pe["s-ol"]&&(yt(Ji(Pe),Pe,ii(Pe)),Pe["s-ol"].remove(),Pe["s-ol"]=void 0,Pe["s-sh"]=void 0,Xi=!0),W&&Qi(Pe,W)}he.$flags$&=-2},ka=(R,W,fe,me,Pe,De)=>{let ht,ut=R["s-cr"]&&R["s-cr"].parentNode||R;for(ut.shadowRoot&&ut.tagName===jn&&(ut=ut.shadowRoot);Pe<=De;++Pe)me[Pe]&&(ht=Ve(null,fe,Pe,R),ht&&(me[Pe].$elm$=ht,yt(ut,ht,ii(W))))},il=(R,W,fe)=>{for(let me=W;me<=fe;++me){const Pe=R[me];if(Pe){const De=Pe.$elm$;nt(Pe),De&&(rn=!0,De["s-ol"]?De["s-ol"].remove():Qi(De,!0),De.remove())}}},$s=(R,W,fe=!1)=>!(R.$tag$!==W.$tag$||("slot"===R.$tag$?"$nodeId$"in R&&fe&&8!==R.$elm$.nodeType||R.$name$!==W.$name$:!fe&&R.$key$!==W.$key$)),ii=R=>R&&R["s-ol"]||R,Ji=R=>(R["s-ol"]?R["s-ol"]:R).parentNode,Yr=(R,W,fe=!1)=>{const me=W.$elm$=R.$elm$,Pe=R.$children$,De=W.$children$,ut=W.$tag$,ht=W.$text$;let pt;null===ht?(_r="svg"===ut||"foreignObject"!==ut&&_r,"slot"!==ut||ra?Oa(R,W,_r):R.$name$!==W.$name$&&(W.$elm$["s-sn"]=W.$name$||"",Zi(W.$elm$.parentElement)),null!==Pe&&null!==De?((R,W,fe,me,Pe=!1)=>{let Mo,br,De=0,ut=0,ht=0,pt=0,mt=W.length-1,Rt=W[0],Ut=W[mt],Xt=me.length-1,tn=me[0],Mn=me[Xt];for(;De<=mt&&ut<=Xt;)if(null==Rt)Rt=W[++De];else if(null==Ut)Ut=W[--mt];else if(null==tn)tn=me[++ut];else if(null==Mn)Mn=me[--Xt];else if($s(Rt,tn,Pe))Yr(Rt,tn,Pe),Rt=W[++De],tn=me[++ut];else if($s(Ut,Mn,Pe))Yr(Ut,Mn,Pe),Ut=W[--mt],Mn=me[--Xt];else if($s(Rt,Mn,Pe))("slot"===Rt.$tag$||"slot"===Mn.$tag$)&&Qi(Rt.$elm$.parentNode,!1),Yr(Rt,Mn,Pe),yt(R,Rt.$elm$,Ut.$elm$.nextSibling),Rt=W[++De],Mn=me[--Xt];else if($s(Ut,tn,Pe))("slot"===Rt.$tag$||"slot"===Mn.$tag$)&&Qi(Ut.$elm$.parentNode,!1),Yr(Ut,tn,Pe),yt(R,Ut.$elm$,Rt.$elm$),Ut=W[--mt],tn=me[++ut];else{for(ht=-1,pt=De;pt<=mt;++pt)if(W[pt]&&null!==W[pt].$key$&&W[pt].$key$===tn.$key$){ht=pt;break}ht>=0?(br=W[ht],br.$tag$!==tn.$tag$?Mo=Ve(W&&W[ut],fe,ht,R):(Yr(br,tn,Pe),W[ht]=void 0,Mo=br.$elm$),tn=me[++ut]):(Mo=Ve(W&&W[ut],fe,ut,R),tn=me[++ut]),Mo&&yt(Ji(Rt.$elm$),Mo,ii(Rt.$elm$))}De>mt?ka(R,null==me[Xt+1]?null:me[Xt+1].$elm$,fe,me,ut,Xt):ut>Xt&&il(W,De,mt)})(me,Pe,W,De,fe):null!==De?(null!==R.$text$&&(me.textContent=""),ka(me,null,W,De,0,De.length-1)):!fe&&null!==Pe&&il(Pe,0,Pe.length-1),_r&&"svg"===ut&&(_r=!1)):(pt=me["s-cr"])?pt.parentNode.textContent=ht:R.$text$!==ht&&(me.data=ht)},hi=R=>{const W=R.childNodes;for(const fe of W)if(1===fe.nodeType){if(fe["s-sr"]){const me=fe["s-sn"];fe.hidden=!1;for(const Pe of W)if(Pe!==fe)if(Pe["s-hn"]!==fe["s-hn"]||""!==me){if(1===Pe.nodeType&&(me===Pe.getAttribute("slot")||me===Pe["s-sn"])||3===Pe.nodeType&&me===Pe["s-sn"]){fe.hidden=!0;break}}else if(1===Pe.nodeType||3===Pe.nodeType&&""!==Pe.textContent.trim()){fe.hidden=!0;break}}hi(fe)}},vr=[],ia=R=>{let W,fe,me;for(const Pe of R.childNodes){if(Pe["s-sr"]&&(W=Pe["s-cr"])&&W.parentNode){fe=W.parentNode.childNodes;const De=Pe["s-sn"];for(me=fe.length-1;me>=0;me--)if(W=fe[me],!(W["s-cn"]||W["s-nr"]||W["s-hn"]===Pe["s-hn"]||W["s-sh"]&&W["s-sh"]===Pe["s-hn"]))if(si(W,De)){let ut=vr.find(ht=>ht.$nodeToRelocate$===W);rn=!0,W["s-sn"]=W["s-sn"]||De,ut?(ut.$nodeToRelocate$["s-sh"]=Pe["s-hn"],ut.$slotRefNode$=Pe):(W["s-sh"]=Pe["s-hn"],vr.push({$slotRefNode$:Pe,$nodeToRelocate$:W})),W["s-sr"]&&vr.map(ht=>{si(ht.$nodeToRelocate$,W["s-sn"])&&(ut=vr.find(pt=>pt.$nodeToRelocate$===W),ut&&!ht.$slotRefNode$&&(ht.$slotRefNode$=ut.$slotRefNode$))})}else vr.some(ut=>ut.$nodeToRelocate$===W)||vr.push({$nodeToRelocate$:W})}1===Pe.nodeType&&ia(Pe)}},si=(R,W)=>1===R.nodeType?null===R.getAttribute("slot")&&""===W||R.getAttribute("slot")===W:R["s-sn"]===W||""===W,nt=R=>{R.$attrs$&&R.$attrs$.ref&&R.$attrs$.ref(null),R.$children$&&R.$children$.map(nt)},yt=(R,W,fe)=>{const me=R?.insertBefore(W,fe);return Eo(W,R),me},_n=R=>{const W=[];return R&&W.push(...R["s-scs"]||[],R["s-si"],R["s-sc"],..._n(R.parentElement)),W},Eo=(R,W,fe=!1)=>{var me;if(R&&W&&1===R.nodeType){const Pe=new Set(_n(W).filter(Boolean));if(Pe.size&&(null==(me=R.classList)||me.add(...R["s-scs"]=[...Pe]),R["s-ol"]||fe))for(const De of Array.from(R.childNodes))Eo(De,R,!0)}},Br=(R,W)=>{W&&!R.$onRenderResolve$&&W["s-p"]&&W["s-p"].push(new Promise(fe=>R.$onRenderResolve$=fe))},Qn=(R,W)=>{if(R.$flags$|=16,!(4&R.$flags$))return Br(R,R.$ancestorComponent$),dn(()=>zl(R,W));R.$flags$|=512},zl=(R,W)=>{const Pe=R.$lazyInstance$;if(!Pe)throw new Error(`Can't render component <${R.$hostElement$.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let De;return W&&(R.$flags$|=256,R.$queuedListeners$&&(R.$queuedListeners$.map(([ut,ht])=>vt(Pe,ut,ht)),R.$queuedListeners$=void 0),De=vt(Pe,"componentWillLoad")),De=J(De,()=>vt(Pe,"componentWillRender")),J(De,()=>ee(R,Pe,W))},J=(R,W)=>Se(R)?R.then(W).catch(fe=>{console.error(fe),W()}):W(),Se=R=>R instanceof Promise||R&&R.then&&"function"==typeof R.then,ee=function(){var R=(0,y.A)(function*(W,fe,me){var Pe;const De=W.$hostElement$,ht=De["s-rc"];me&&(R=>{const W=R.$cmpMeta$,fe=R.$hostElement$,me=W.$flags$,De=Na(fe.shadowRoot?fe.shadowRoot:fe.getRootNode(),W,R.$modeName$);10&me&&2&me&&(fe["s-sc"]=De,fe.classList.add(De+"-h"),2&me&&fe.classList.add(De+"-s"))})(W);_e(W,fe,De,me),ht&&(ht.map(mt=>mt()),De["s-rc"]=void 0);{const mt=null!=(Pe=De["s-p"])?Pe:[],Rt=()=>ke(W);0===mt.length?Rt():(Promise.all(mt).then(Rt),W.$flags$|=4,mt.length=0)}});return function(fe,me,Pe){return R.apply(this,arguments)}}(),_e=(R,W,fe,me)=>{try{W=W.render&&W.render(),R.$flags$&=-17,R.$flags$|=2,((R,W,fe=!1)=>{var me,Pe,De,ut,ht;const pt=R.$hostElement$,mt=R.$cmpMeta$,Rt=R.$vnode$||xn(null,null),Ut=(R=>R&&R.$tag$===Zn)(W)?W:Fn(null,null,W);if(jn=pt.tagName,mt.$attrsToReflect$&&(Ut.$attrs$=Ut.$attrs$||{},mt.$attrsToReflect$.map(([Xt,tn])=>Ut.$attrs$[tn]=pt[Xt])),fe&&Ut.$attrs$)for(const Xt of Object.keys(Ut.$attrs$))pt.hasAttribute(Xt)&&!["key","ref","style","class"].includes(Xt)&&(Ut.$attrs$[Xt]=pt[Xt]);if(Ut.$tag$=null,Ut.$flags$|=4,R.$vnode$=Ut,Ut.$elm$=Rt.$elm$=pt.shadowRoot||pt,Ki=pt["s-sc"],ra=!!(1&mt.$flags$),wo=pt["s-cr"],rn=!1,Yr(Rt,Ut,fe),he.$flags$|=1,Xi){ia(Ut.$elm$);for(const Xt of vr){const tn=Xt.$nodeToRelocate$;if(!tn["s-ol"]){const Mn=xe.createTextNode("");Mn["s-nr"]=tn,yt(tn.parentNode,tn["s-ol"]=Mn,tn)}}for(const Xt of vr){const tn=Xt.$nodeToRelocate$,Mn=Xt.$slotRefNode$;if(Mn){const Mo=Mn.parentNode;let br=Mn.nextSibling;if(br&&1===br.nodeType){let qt=null==(me=tn["s-ol"])?void 0:me.previousSibling;for(;qt;){let ln=null!=(Pe=qt["s-nr"])?Pe:null;if(ln&&ln["s-sn"]===tn["s-sn"]&&Mo===ln.parentNode){for(ln=ln.nextSibling;ln===tn||ln?.["s-sr"];)ln=ln?.nextSibling;if(!ln||!ln["s-nr"]){br=ln;break}}qt=qt.previousSibling}}(!br&&Mo!==tn.parentNode||tn.nextSibling!==br)&&tn!==br&&(yt(Mo,tn,br),1===tn.nodeType&&(tn.hidden=null!=(De=tn["s-ih"])&&De)),tn&&"function"==typeof Mn["s-rf"]&&Mn["s-rf"](tn)}else 1===tn.nodeType&&(fe&&(tn["s-ih"]=null!=(ut=tn.hidden)&&ut),tn.hidden=!0)}}if(rn&&hi(Ut.$elm$),he.$flags$&=-2,vr.length=0,2&mt.$flags$)for(const Xt of Ut.$elm$.childNodes)Xt["s-hn"]!==jn&&!Xt["s-sh"]&&(fe&&null==Xt["s-ih"]&&(Xt["s-ih"]=null!=(ht=Xt.hidden)&&ht),Xt.hidden=!0);wo=void 0})(R,W,me)}catch(Pe){q(Pe,R.$hostElement$)}return null},ke=R=>{const fe=R.$hostElement$,Pe=R.$lazyInstance$,De=R.$ancestorComponent$;vt(Pe,"componentDidRender"),64&R.$flags$?vt(Pe,"componentDidUpdate"):(R.$flags$|=64,wt(fe),vt(Pe,"componentDidLoad"),R.$onReadyResolve$(fe),De||gt()),R.$onInstanceResolve$(fe),R.$onRenderResolve$&&(R.$onRenderResolve$(),R.$onRenderResolve$=void 0),512&R.$flags$&&zt(()=>Qn(R,!1)),R.$flags$&=-517},we=R=>{{const W=ne(R),fe=W.$hostElement$.isConnected;return fe&&2==(18&W.$flags$)&&Qn(W,!1),fe}},gt=R=>{wt(xe.documentElement),zt(()=>ri(st,"appload",{detail:{namespace:"ionic"}}))},vt=(R,W,fe)=>{if(R&&R[W])try{return R[W](fe)}catch(me){q(me)}},wt=R=>R.classList.add("hydrated"),Kt=(R,W,fe)=>{var me,Pe;const De=R.prototype;if(W.$members$||W.$watchers$||R.watchers){R.watchers&&!W.$watchers$&&(W.$watchers$=R.watchers);const ut=Object.entries(null!=(me=W.$members$)?me:{});if(ut.map(([ht,[pt]])=>{31&pt||2&fe&&32&pt?Object.defineProperty(De,ht,{get(){return((R,W)=>ne(this).$instanceValues$.get(W))(0,ht)},set(mt){((R,W,fe,me)=>{const Pe=ne(R);if(!Pe)throw new Error(`Couldn't find host element for "${me.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const De=Pe.$hostElement$,ut=Pe.$instanceValues$.get(W),ht=Pe.$flags$,pt=Pe.$lazyInstance$;fe=((R,W)=>null==R||ho(R)?R:4&W?"false"!==R&&(""===R||!!R):2&W?parseFloat(R):1&W?String(R):R)(fe,me.$members$[W][0]);const mt=Number.isNaN(ut)&&Number.isNaN(fe);if((!(8&ht)||void 0===ut)&&fe!==ut&&!mt&&(Pe.$instanceValues$.set(W,fe),pt)){if(me.$watchers$&&128&ht){const Ut=me.$watchers$[W];Ut&&Ut.map(Xt=>{try{pt[Xt](fe,ut,W)}catch(tn){q(tn,De)}})}2==(18&ht)&&Qn(Pe,!1)}})(this,ht,mt,W)},configurable:!0,enumerable:!0}):1&fe&&64&pt&&Object.defineProperty(De,ht,{value(...mt){var Rt;const Ut=ne(this);return null==(Rt=Ut?.$onInstancePromise$)?void 0:Rt.then(()=>{var Xt;return null==(Xt=Ut.$lazyInstance$)?void 0:Xt[ht](...mt)})}})}),1&fe){const ht=new Map;De.attributeChangedCallback=function(pt,mt,Rt){he.jmp(()=>{var Ut;const Xt=ht.get(pt);if(this.hasOwnProperty(Xt))Rt=this[Xt],delete this[Xt];else{if(De.hasOwnProperty(Xt)&&"number"==typeof this[Xt]&&this[Xt]==Rt)return;if(null==Xt){const tn=ne(this),Mn=tn?.$flags$;if(Mn&&!(8&Mn)&&128&Mn&&Rt!==mt){const Mo=tn.$lazyInstance$,br=null==(Ut=W.$watchers$)?void 0:Ut[pt];br?.forEach(qt=>{null!=Mo[qt]&&Mo[qt].call(Mo,Rt,mt,pt)})}return}}this[Xt]=(null!==Rt||"boolean"!=typeof this[Xt])&&Rt})},R.observedAttributes=Array.from(new Set([...Object.keys(null!=(Pe=W.$watchers$)?Pe:{}),...ut.filter(([pt,mt])=>15&mt[0]).map(([pt,mt])=>{var Rt;const Ut=mt[1]||pt;return ht.set(Ut,pt),512&mt[0]&&(null==(Rt=W.$attrsToReflect$)||Rt.push([pt,Ut])),Ut})]))}}return R},Pn=function(){var R=(0,y.A)(function*(W,fe,me,Pe){let De;if(!(32&fe.$flags$)){if(fe.$flags$|=32,me.$lazyBundleId$){const mt=(R=>{const me=R.$tagName$.replace(/-/g,"_"),Pe=R.$lazyBundleId$;if(!Pe)return;const De=Y.get(Pe);return De?De[me]:_(8996)(`./${Pe}.entry.js`).then(ut=>(Y.set(Pe,ut),ut[me]),q)})(me);if(mt&&"then"in mt){const Ut=()=>{};De=yield mt,Ut()}else De=mt;if(!De)throw new Error(`Constructor for "${me.$tagName$}#${fe.$modeName$}" was not found`);De.isProxied||(me.$watchers$=De.watchers,Kt(De,me,2),De.isProxied=!0);const Rt=()=>{};fe.$flags$|=8;try{new De(fe)}catch(Ut){q(Ut)}fe.$flags$&=-9,fe.$flags$|=128,Rt(),Yn(fe.$lazyInstance$)}else De=W.constructor,customElements.whenDefined(W.localName).then(()=>fe.$flags$|=128);if(De&&De.style){let mt;"string"==typeof De.style?mt=De.style:"string"!=typeof De.style&&(fe.$modeName$=(R=>te.map(W=>W(R)).find(W=>!!W))(W),fe.$modeName$&&(mt=De.style[fe.$modeName$]));const Rt=bo(me,fe.$modeName$);if(!X.has(Rt)){const Ut=()=>{};((R,W,fe)=>{let me=X.get(R);ue&&fe?(me=me||new CSSStyleSheet,"string"==typeof me?me=W:me.replaceSync(W)):me=W,X.set(R,me)})(Rt,mt,!!(1&me.$flags$)),Ut()}}}const ut=fe.$ancestorComponent$,ht=()=>Qn(fe,!0);ut&&ut["s-rc"]?ut["s-rc"].push(ht):ht()});return function(fe,me,Pe,De){return R.apply(this,arguments)}}(),Yn=R=>{vt(R,"connectedCallback")},rr=R=>{const W=R["s-cr"]=xe.createComment("");W["s-cn"]=!0,yt(R,W,R.firstChild)},xo=R=>{vt(R,"disconnectedCallback")},Ci=function(){var R=(0,y.A)(function*(W){if(!(1&he.$flags$)){const fe=ne(W);fe.$rmListeners$&&(fe.$rmListeners$.map(me=>me()),fe.$rmListeners$=void 0),fe?.$lazyInstance$?xo(fe.$lazyInstance$):fe?.$onReadyPromise$&&fe.$onReadyPromise$.then(()=>xo(fe.$lazyInstance$))}});return function(fe){return R.apply(this,arguments)}}(),Jt=R=>{const W=R.cloneNode;R.cloneNode=function(fe){const me=this,Pe=me.shadowRoot&&true,De=W.call(me,!!Pe&&fe);if(!Pe&&fe){let ht,pt,ut=0;const mt=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si","s-rf","s-scs"];for(;ut<me.childNodes.length;ut++)ht=me.childNodes[ut]["s-nr"],pt=mt.every(Rt=>!me.childNodes[ut][Rt]),ht&&(De.__appendChild?De.__appendChild(ht.cloneNode(!0)):De.appendChild(ht.cloneNode(!0))),pt&&De.appendChild(me.childNodes[ut].cloneNode(!0))}return De}},Uf=R=>{R.__appendChild=R.appendChild,R.appendChild=function(W){const fe=W["s-sn"]=Su(W),me=Bc(this.childNodes,fe,this.tagName);if(me){const Pe=sl(me,fe),De=Pe[Pe.length-1],ut=yt(De.parentNode,W,De.nextSibling);return hi(this),ut}return this.__appendChild(W)}},Lc=R=>{R.__removeChild=R.removeChild,R.removeChild=function(W){if(W&&typeof W["s-sn"]<"u"){const fe=Bc(this.childNodes,W["s-sn"],this.tagName);if(fe){const Pe=sl(fe,W["s-sn"]).find(De=>De===W);if(Pe)return Pe.remove(),void hi(this)}}return this.__removeChild(W)}},B1=R=>{const W=R.prepend;R.prepend=function(...fe){fe.forEach(me=>{"string"==typeof me&&(me=this.ownerDocument.createTextNode(me));const Pe=me["s-sn"]=Su(me),De=Bc(this.childNodes,Pe,this.tagName);if(De){const ut=document.createTextNode("");ut["s-nr"]=me,De["s-cr"].parentNode.__appendChild(ut),me["s-ol"]=ut;const pt=sl(De,Pe)[0];return yt(pt.parentNode,me,pt.nextSibling)}return 1===me.nodeType&&me.getAttribute("slot")&&(me.hidden=!0),W.call(this,me)})}},zf=R=>{R.append=function(...W){W.forEach(fe=>{"string"==typeof fe&&(fe=this.ownerDocument.createTextNode(fe)),this.appendChild(fe)})}},Vf=R=>{const W=R.insertAdjacentHTML;R.insertAdjacentHTML=function(fe,me){if("afterbegin"!==fe&&"beforeend"!==fe)return W.call(this,fe,me);const Pe=this.ownerDocument.createElement("_");let De;if(Pe.innerHTML=me,"afterbegin"===fe)for(;De=Pe.firstChild;)this.prepend(De);else if("beforeend"===fe)for(;De=Pe.firstChild;)this.append(De)}},St=R=>{R.insertAdjacentText=function(W,fe){this.insertAdjacentHTML(W,fe)}},LS=R=>{const W=R.insertAdjacentElement;R.insertAdjacentElement=function(fe,me){return"afterbegin"!==fe&&"beforeend"!==fe?W.call(this,fe,me):"afterbegin"===fe?(this.prepend(me),me):("beforeend"===fe&&this.append(me),me)}},mn=R=>{const W=Object.getOwnPropertyDescriptor(Node.prototype,"textContent");Object.defineProperty(R,"__textContent",W),Object.defineProperty(R,"textContent",{get(){return" "+bu(this.childNodes).map(Pe=>{var De,ut;const ht=[];let pt=Pe.nextSibling;for(;pt&&pt["s-sn"]===Pe["s-sn"];)(3===pt.nodeType||1===pt.nodeType)&&ht.push(null!=(ut=null==(De=pt.textContent)?void 0:De.trim())?ut:""),pt=pt.nextSibling;return ht.filter(mt=>""!==mt).join(" ")}).filter(Pe=>""!==Pe).join(" ")+" "},set(fe){bu(this.childNodes).forEach(Pe=>{let De=Pe.nextSibling;for(;De&&De["s-sn"]===Pe["s-sn"];){const ut=De;De=De.nextSibling,ut.remove()}if(""===Pe["s-sn"]){const ut=this.ownerDocument.createTextNode(fe);ut["s-sn"]="",yt(Pe.parentElement,ut,Pe.nextSibling)}else Pe.remove()})}})},Fc=(R,W)=>{class fe extends Array{item(Pe){return this[Pe]}}if(8&W.$flags$){const me=R.__lookupGetter__("childNodes");Object.defineProperty(R,"children",{get(){return this.childNodes.map(Pe=>1===Pe.nodeType)}}),Object.defineProperty(R,"childElementCount",{get:()=>R.children.length}),Object.defineProperty(R,"childNodes",{get(){const Pe=me.call(this);if(!(1&he.$flags$)&&2&ne(this).$flags$){const De=new fe;for(let ut=0;ut<Pe.length;ut++){const ht=Pe[ut]["s-nr"];ht&&De.push(ht)}return De}return fe.from(Pe)}})}},bu=R=>{const W=[];for(const fe of Array.from(R))fe["s-sr"]&&W.push(fe),W.push(...bu(fe.childNodes));return W},Su=R=>R["s-sn"]||1===R.nodeType&&R.getAttribute("slot")||"",Bc=(R,W,fe)=>{let Pe,me=0;for(;me<R.length;me++)if(Pe=R[me],Pe["s-sr"]&&Pe["s-sn"]===W&&Pe["s-hn"]===fe||(Pe=Bc(Pe.childNodes,W,fe),Pe))return Pe;return null},sl=(R,W)=>{const fe=[R];for(;(R=R.nextSibling)&&R["s-sn"]===W;)fe.push(R);return fe},Uc=(R,W={})=>{var fe;const Pe=[],De=W.exclude||[],ut=st.customElements,ht=xe.head,pt=ht.querySelector("meta[charset]"),mt=xe.createElement("style"),Rt=[];let Ut,Xt=!0;Object.assign(he,W),he.$resourcesUrl$=new URL(W.resourcesUrl||"./",xe.baseURI).href,he.$flags$|=2;let tn=!1;if(R.map(Mn=>{Mn[1].map(Mo=>{var br;const qt={$flags$:Mo[0],$tagName$:Mo[1],$members$:Mo[2],$listeners$:Mo[3]};4&qt.$flags$&&(tn=!0),qt.$members$=Mo[2],qt.$listeners$=Mo[3],qt.$attrsToReflect$=[],qt.$watchers$=null!=(br=Mo[4])?br:{};const ln=qt.$tagName$,z1=class extends HTMLElement{constructor(As){if(super(As),this.hasRegisteredEventListeners=!1,((R,W)=>{const fe={$flags$:0,$hostElement$:R,$cmpMeta$:W,$instanceValues$:new Map};fe.$onInstancePromise$=new Promise(me=>fe.$onInstanceResolve$=me),fe.$onReadyPromise$=new Promise(me=>fe.$onReadyResolve$=me),R["s-p"]=[],R["s-rc"]=[],K.set(R,fe)})(As=this,qt),1&qt.$flags$)if(As.shadowRoot){if("open"!==As.shadowRoot.mode)throw new Error(`Unable to re-use existing shadow root for ${qt.$tagName$}! Mode is set to ${As.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else As.attachShadow({mode:"open",delegatesFocus:!!(16&qt.$flags$)})}connectedCallback(){const As=ne(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,zc(this,As,qt.$listeners$)),Ut&&(clearTimeout(Ut),Ut=null),Xt?Rt.push(this):he.jmp(()=>(R=>{if(!(1&he.$flags$)){const W=ne(R),fe=W.$cmpMeta$,me=()=>{};if(1&W.$flags$)zc(R,W,fe.$listeners$),W?.$lazyInstance$?Yn(W.$lazyInstance$):W?.$onReadyPromise$&&W.$onReadyPromise$.then(()=>Yn(W.$lazyInstance$));else{let Pe;if(W.$flags$|=1,Pe=R.getAttribute(Be),Pe){if(1&fe.$flags$){const De=Na(R.shadowRoot,fe,R.getAttribute("s-mode"));R.classList.remove(De+"-h",De+"-s")}((R,W,fe,me)=>{const De=R.shadowRoot,ut=[],pt=De?[]:null,mt=me.$vnode$=xn(W,null);he.$orgLocNodes$||Fr(xe.body,he.$orgLocNodes$=new Map),R[Be]=fe,R.removeAttribute(Be),tr(mt,ut,[],pt,R,R,fe),ut.map(Rt=>{const Ut=Rt.$hostId$+"."+Rt.$nodeId$,Xt=he.$orgLocNodes$.get(Ut),tn=Rt.$elm$;Xt&&""===Xt["s-en"]&&Xt.parentNode.insertBefore(tn,Xt.nextSibling),De||(tn["s-hn"]=W,Xt&&(tn["s-ol"]=Xt,tn["s-ol"]["s-nr"]=tn)),he.$orgLocNodes$.delete(Ut)}),De&&pt.map(Rt=>{Rt&&De.appendChild(Rt)})})(R,fe.$tagName$,Pe,W)}Pe||12&fe.$flags$&&rr(R);{let De=R;for(;De=De.parentNode||De.host;)if(1===De.nodeType&&De.hasAttribute("s-id")&&De["s-p"]||De["s-p"]){Br(W,W.$ancestorComponent$=De);break}}fe.$members$&&Object.entries(fe.$members$).map(([De,[ut]])=>{if(31&ut&&R.hasOwnProperty(De)){const ht=R[De];delete R[De],R[De]=ht}}),Pn(R,W,fe)}me()}})(this))}disconnectedCallback(){he.jmp(()=>Ci(this))}componentOnReady(){return ne(this).$onReadyPromise$}};2&qt.$flags$&&((R,W)=>{Jt(R),Uf(R),zf(R),B1(R),LS(R),Vf(R),St(R),mn(R),Fc(R,W),Lc(R)})(z1.prototype,qt),qt.$lazyBundleId$=Mn[0],!De.includes(ln)&&!ut.get(ln)&&(Pe.push(ln),ut.define(ln,Kt(z1,qt,1)))})}),Pe.length>0&&(tn&&(mt.textContent+=qe),mt.textContent+=Pe.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",mt.innerHTML.length)){mt.setAttribute("data-styles","");const Mn=null!=(fe=he.$nonce$)?fe:Xn(xe);null!=Mn&&mt.setAttribute("nonce",Mn),ht.insertBefore(mt,pt?pt.nextSibling:ht.firstChild)}Xt=!1,Rt.length?Rt.map(Mn=>Mn.connectedCallback()):he.jmp(()=>Ut=setTimeout(gt,30))},zc=(R,W,fe,me)=>{fe&&fe.map(([Pe,De,ut])=>{const ht=U1(R,Pe),pt=Hf(W,ut),mt=Pt(Pe);he.ael(ht,De,pt,mt),(W.$rmListeners$=W.$rmListeners$||[]).push(()=>he.rel(ht,De,pt,mt))})},Hf=(R,W)=>fe=>{var me;try{256&R.$flags$?null==(me=R.$lazyInstance$)||me[W](fe):(R.$queuedListeners$=R.$queuedListeners$||[]).push([W,fe])}catch(Pe){q(Pe)}},U1=(R,W)=>4&W?xe:8&W?st:16&W?xe.body:R,Pt=R=>bt?{passive:!!(1&R),capture:!!(2&R)}:!!(2&R)},8607:(l,h,_)=>{"use strict";_.r(h),_.d(h,{GESTURE_CONTROLLER:()=>y.G,createGesture:()=>F});var y=_(1970);const w=(Y,U,X,te)=>{const de=A(Y)?{capture:!!te.capture,passive:!!te.passive}:!!te.capture;let ve,Oe;return Y.__zone_symbol__addEventListener?(ve="__zone_symbol__addEventListener",Oe="__zone_symbol__removeEventListener"):(ve="addEventListener",Oe="removeEventListener"),Y[ve](U,X,de),()=>{Y[Oe](U,X,de)}},A=Y=>{if(void 0===O)try{const U=Object.defineProperty({},"passive",{get:()=>{O=!0}});Y.addEventListener("optsTest",()=>{},U)}catch{O=!1}return!!O};let O;const K=Y=>Y instanceof Document?Y:Y.ownerDocument,F=Y=>{let U=!1,X=!1,te=!0,de=!1;const ve=Object.assign({disableScroll:!1,direction:"x",gesturePriority:0,passive:!0,maxAngle:40,threshold:10},Y),Oe=ve.canStart,Ce=ve.onWillStart,Be=ve.onStart,Ee=ve.onEnd,ye=ve.notCaptured,$e=ve.onMove,qe=ve.threshold,et=ve.passive,st=ve.blurOnStart,xe={type:"pan",startX:0,startY:0,startTime:0,currentX:0,currentY:0,velocityX:0,velocityY:0,deltaX:0,deltaY:0,currentTime:0,event:void 0,data:void 0},Ie=((Y,U,X)=>{const te=X*(Math.PI/180),de="x"===Y,ve=Math.cos(te),Oe=U*U;let Ce=0,Be=0,Ee=!1,ye=0;return{start($e,qe){Ce=$e,Be=qe,ye=0,Ee=!0},detect($e,qe){if(!Ee)return!1;const et=$e-Ce,st=qe-Be,xe=et*et+st*st;if(xe<Oe)return!1;const Ie=Math.sqrt(xe),he=(de?et:st)/Ie;return ye=he>ve?1:he<-ve?-1:0,Ee=!1,!0},isGesture:()=>0!==ye,getDirection:()=>ye}})(ve.direction,ve.threshold,ve.maxAngle),he=y.G.createGesture({name:Y.gestureName,priority:Y.gesturePriority,disableScroll:Y.disableScroll}),bt=()=>{U&&(de=!1,$e&&$e(xe))},Ae=()=>!!he.capture()&&(U=!0,te=!1,xe.startX=xe.currentX,xe.startY=xe.currentY,xe.startTime=xe.currentTime,Ce?Ce(xe).then(ie):ie(),!0),ie=()=>{st&&(()=>{if(typeof document<"u"){const Bt=document.activeElement;Bt?.blur&&Bt.blur()}})(),Be&&Be(xe),te=!0},ae=()=>{U=!1,X=!1,de=!1,te=!0,he.release()},pe=Bt=>{const zt=U,Vt=te;if(ae(),Vt){if(Q(xe,Bt),zt)return void(Ee&&Ee(xe));ye&&ye(xe)}},Xe=((Y,U,X,te,de)=>{let ve,Oe,Ce,Be,Ee,ye,$e,qe=0;const et=ue=>{qe=Date.now()+2e3,U(ue)&&(!Oe&&X&&(Oe=w(Y,"touchmove",X,de)),Ce||(Ce=w(ue.target,"touchend",xe,de)),Be||(Be=w(ue.target,"touchcancel",xe,de)))},st=ue=>{qe>Date.now()||U(ue)&&(!ye&&X&&(ye=w(K(Y),"mousemove",X,de)),$e||($e=w(K(Y),"mouseup",Ie,de)))},xe=ue=>{he(),te&&te(ue)},Ie=ue=>{Ue(),te&&te(ue)},he=()=>{Oe&&Oe(),Ce&&Ce(),Be&&Be(),Oe=Ce=Be=void 0},Ue=()=>{ye&&ye(),$e&&$e(),ye=$e=void 0},Ye=()=>{he(),Ue()},bt=(ue=!0)=>{ue?(ve||(ve=w(Y,"touchstart",et,de)),Ee||(Ee=w(Y,"mousedown",st,de))):(ve&&ve(),Ee&&Ee(),ve=Ee=void 0,Ye())};return{enable:bt,stop:Ye,destroy:()=>{bt(!1),te=X=U=void 0}}})(ve.el,Bt=>{const zt=q(Bt);return!(X||!te||(V(Bt,xe),xe.startX=xe.currentX,xe.startY=xe.currentY,xe.startTime=xe.currentTime=zt,xe.velocityX=xe.velocityY=xe.deltaX=xe.deltaY=0,xe.event=Bt,Oe&&!1===Oe(xe))||(he.release(),!he.start()))&&(X=!0,0===qe?Ae():(Ie.start(xe.startX,xe.startY),!0))},Bt=>{U?!de&&te&&(de=!0,Q(xe,Bt),requestAnimationFrame(bt)):(Q(xe,Bt),Ie.detect(xe.currentX,xe.currentY)&&(!Ie.isGesture()||!Ae())&&Ot())},pe,{capture:!1,passive:et}),Ot=()=>{ae(),Xe.stop(),ye&&ye(xe)};return{enable(Bt=!0){Bt||(U&&pe(void 0),ae()),Xe.enable(Bt)},destroy(){he.destroy(),Xe.destroy()}}},Q=(Y,U)=>{if(!U)return;const X=Y.currentX,te=Y.currentY,de=Y.currentTime;V(U,Y);const ve=Y.currentX,Oe=Y.currentY,Be=(Y.currentTime=q(U))-de;if(Be>0&&Be<100){const ye=(Oe-te)/Be;Y.velocityX=(ve-X)/Be*.7+.3*Y.velocityX,Y.velocityY=.7*ye+.3*Y.velocityY}Y.deltaX=ve-Y.startX,Y.deltaY=Oe-Y.startY,Y.event=U},V=(Y,U)=>{let X=0,te=0;if(Y){const de=Y.changedTouches;if(de&&de.length>0){const ve=de[0];X=ve.clientX,te=ve.clientY}else void 0!==Y.pageX&&(X=Y.pageX,te=Y.pageY)}U.currentX=X,U.currentY=te},q=Y=>Y.timeStamp||Date.now()},3604:(l,h,_)=>{"use strict";_.d(h,{b:()=>ne,c:()=>F,d:()=>Q,e:()=>Ye,g:()=>ue,l:()=>he,s:()=>bt,t:()=>ve,w:()=>Ue});var y=_(467),w=_(9483),A=_(4261),O=_(4929),j=_(4920);const ne="ionViewWillLeave",F="ionViewDidLeave",Q="ionViewWillUnload",V=ie=>{ie.tabIndex=-1,ie.focus()},q=ie=>null!==ie.offsetParent,U="ion-last-focus",de_saveViewFocus=pe=>{if(w.c.get("focusManagerPriority",!1)){const Ot=document.activeElement;null!==Ot&&pe?.contains(Ot)&&Ot.setAttribute(U,"true")}},de_setViewFocus=pe=>{const Xe=w.c.get("focusManagerPriority",!1);if(Array.isArray(Xe)&&!pe.contains(document.activeElement)){const Ot=pe.querySelector(`[${U}]`);if(Ot&&q(Ot))return void V(Ot);for(const Bt of Xe)switch(Bt){case"content":const zt=pe.querySelector('main, [role="main"]');if(zt&&q(zt))return void V(zt);break;case"heading":const Vt=pe.querySelector('h1, [role="heading"][aria-level="1"]');if(Vt&&q(Vt))return void V(Vt);break;case"banner":const dn=pe.querySelector('header, [role="banner"]');if(dn&&q(dn))return void V(dn);break;default:(0,O.p)(`Unrecognized focus manager priority value ${Bt}`)}V(pe)}},ve=ie=>new Promise((ae,pe)=>{(0,A.w)(()=>{Oe(ie),Ce(ie).then(Xe=>{Xe.animation&&Xe.animation.destroy(),Be(ie),ae(Xe)},Xe=>{Be(ie),pe(Xe)})})}),Oe=ie=>{const ae=ie.enteringEl,pe=ie.leavingEl;de_saveViewFocus(pe),Ae(ae,pe,ie.direction),ie.showGoBack?ae.classList.add("can-go-back"):ae.classList.remove("can-go-back"),bt(ae,!1),ae.style.setProperty("pointer-events","none"),pe&&(bt(pe,!1),pe.style.setProperty("pointer-events","none"))},Ce=function(){var ie=(0,y.A)(function*(ae){const pe=yield Ee(ae);return pe&&A.B.isBrowser?ye(pe,ae):$e(ae)});return function(pe){return ie.apply(this,arguments)}}(),Be=ie=>{const ae=ie.enteringEl,pe=ie.leavingEl;ae.classList.remove("ion-page-invisible"),ae.style.removeProperty("pointer-events"),void 0!==pe&&(pe.classList.remove("ion-page-invisible"),pe.style.removeProperty("pointer-events")),de_setViewFocus(ae)},Ee=function(){var ie=(0,y.A)(function*(ae){return ae.leavingEl&&ae.animated&&0!==ae.duration?ae.animationBuilder?ae.animationBuilder:"ios"===ae.mode?(yield Promise.resolve().then(_.bind(_,5022))).iosTransitionAnimation:(yield Promise.resolve().then(_.bind(_,3615))).mdTransitionAnimation:void 0});return function(pe){return ie.apply(this,arguments)}}(),ye=function(){var ie=(0,y.A)(function*(ae,pe){yield qe(pe,!0);const Xe=ae(pe.baseEl,pe);xe(pe.enteringEl,pe.leavingEl);const Ot=yield st(Xe,pe);return pe.progressCallback&&pe.progressCallback(void 0),Ot&&Ie(pe.enteringEl,pe.leavingEl),{hasCompleted:Ot,animation:Xe}});return function(pe,Xe){return ie.apply(this,arguments)}}(),$e=function(){var ie=(0,y.A)(function*(ae){const pe=ae.enteringEl,Xe=ae.leavingEl,Ot=w.c.get("focusManagerPriority",!1);return yield qe(ae,Ot),xe(pe,Xe),Ie(pe,Xe),{hasCompleted:!0}});return function(pe){return ie.apply(this,arguments)}}(),qe=function(){var ie=(0,y.A)(function*(ae,pe){(void 0!==ae.deepWait?ae.deepWait:pe)&&(yield Promise.all([Ye(ae.enteringEl),Ye(ae.leavingEl)])),yield et(ae.viewIsReady,ae.enteringEl)});return function(pe,Xe){return ie.apply(this,arguments)}}(),et=function(){var ie=(0,y.A)(function*(ae,pe){ae&&(yield ae(pe))});return function(pe,Xe){return ie.apply(this,arguments)}}(),st=(ie,ae)=>{const pe=ae.progressCallback,Xe=new Promise(Ot=>{ie.onFinish(Bt=>Ot(1===Bt))});return pe?(ie.progressStart(!0),pe(ie)):ie.play(),Xe},xe=(ie,ae)=>{he(ae,ne),he(ie,"ionViewWillEnter")},Ie=(ie,ae)=>{he(ie,"ionViewDidEnter"),he(ae,F)},he=(ie,ae)=>{if(ie){const pe=new CustomEvent(ae,{bubbles:!1,cancelable:!1});ie.dispatchEvent(pe)}},Ue=()=>new Promise(ie=>(0,j.r)(()=>(0,j.r)(()=>ie()))),Ye=function(){var ie=(0,y.A)(function*(ae){const pe=ae;if(pe){if(null!=pe.componentOnReady){if(null!=(yield pe.componentOnReady()))return}else if(null!=pe.__registerHost)return void(yield new Promise(Ot=>(0,j.r)(Ot)));yield Promise.all(Array.from(pe.children).map(Ye))}});return function(pe){return ie.apply(this,arguments)}}(),bt=(ie,ae)=>{ae?(ie.setAttribute("aria-hidden","true"),ie.classList.add("ion-page-hidden")):(ie.hidden=!1,ie.removeAttribute("aria-hidden"),ie.classList.remove("ion-page-hidden"))},Ae=(ie,ae,pe)=>{void 0!==ie&&(ie.style.zIndex="back"===pe?"99":"101"),void 0!==ae&&(ae.style.zIndex="100")},ue=ie=>ie.classList.contains("ion-page")?ie:ie.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||ie},4929:(l,h,_)=>{"use strict";_.d(h,{a:()=>w,b:()=>A,p:()=>y});const y=(O,...j)=>console.warn(`[Ionic Warning]: ${O}`,...j),w=(O,...j)=>console.error(`[Ionic Error]: ${O}`,...j),A=(O,...j)=>console.error(`<${O.tagName.toLowerCase()}> must be used inside ${j.join(" or ")}.`)},8476:(l,h,_)=>{"use strict";_.d(h,{d:()=>w,w:()=>y});const y=typeof window<"u"?window:void 0,w=typeof document<"u"?document:void 0},9568:(l,h,_)=>{"use strict";_.d(h,{m:()=>Y});var y=_(467),w=_(8476),A=_(7192),O=_(4929),j=_(4920),Z=_(9483),K=_(9986);const ne=U=>(0,K.c)().duration(U?400:300),F=U=>{let X,te;const de=U.width+8,ve=(0,K.c)(),Oe=(0,K.c)();U.isEndSide?(X=de+"px",te="0px"):(X=-de+"px",te="0px"),ve.addElement(U.menuInnerEl).fromTo("transform",`translateX(${X})`,`translateX(${te})`);const Be="ios"===(0,Z.b)(U),Ee=Be?.2:.25;return Oe.addElement(U.backdropEl).fromTo("opacity",.01,Ee),ne(Be).addAnimation([ve,Oe])},Q=U=>{let X,te;const de=(0,Z.b)(U),ve=U.width;U.isEndSide?(X=-ve+"px",te=ve+"px"):(X=ve+"px",te=-ve+"px");const Oe=(0,K.c)().addElement(U.menuInnerEl).fromTo("transform",`translateX(${te})`,"translateX(0px)"),Ce=(0,K.c)().addElement(U.contentEl).fromTo("transform","translateX(0px)",`translateX(${X})`),Be=(0,K.c)().addElement(U.backdropEl).fromTo("opacity",.01,.32);return ne("ios"===de).addAnimation([Oe,Ce,Be])},V=U=>{const X=(0,Z.b)(U),te=U.width*(U.isEndSide?-1:1)+"px",de=(0,K.c)().addElement(U.contentEl).fromTo("transform","translateX(0px)",`translateX(${te})`);return ne("ios"===X).addAnimation(de)},Y=(()=>{const U=new Map,X=[],te=function(){var ae=(0,y.A)(function*(pe){const Xe=yield ye(pe,!0);return!!Xe&&Xe.open()});return function(Xe){return ae.apply(this,arguments)}}(),de=function(){var ae=(0,y.A)(function*(pe){const Xe=yield void 0!==pe?ye(pe,!0):$e();return void 0!==Xe&&Xe.close()});return function(Xe){return ae.apply(this,arguments)}}(),ve=function(){var ae=(0,y.A)(function*(pe){const Xe=yield ye(pe,!0);return!!Xe&&Xe.toggle()});return function(Xe){return ae.apply(this,arguments)}}(),Oe=function(){var ae=(0,y.A)(function*(pe,Xe){const Ot=yield ye(Xe);return Ot&&(Ot.disabled=!pe),Ot});return function(Xe,Ot){return ae.apply(this,arguments)}}(),Ce=function(){var ae=(0,y.A)(function*(pe,Xe){const Ot=yield ye(Xe);return Ot&&(Ot.swipeGesture=pe),Ot});return function(Xe,Ot){return ae.apply(this,arguments)}}(),Be=function(){var ae=(0,y.A)(function*(pe){if(null!=pe){const Xe=yield ye(pe);return void 0!==Xe&&Xe.isOpen()}return void 0!==(yield $e())});return function(Xe){return ae.apply(this,arguments)}}(),Ee=function(){var ae=(0,y.A)(function*(pe){const Xe=yield ye(pe);return!!Xe&&!Xe.disabled});return function(Xe){return ae.apply(this,arguments)}}(),ye=function(){var ae=(0,y.A)(function*(pe,Xe=!1){if(yield ie(),"start"===pe||"end"===pe){const Bt=X.filter(Vt=>Vt.side===pe&&!Vt.disabled);if(Bt.length>=1)return Bt.length>1&&Xe&&(0,O.p)(`menuController queried for a menu on the "${pe}" side, but ${Bt.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`,Bt.map(Vt=>Vt.el)),Bt[0].el;const zt=X.filter(Vt=>Vt.side===pe);if(zt.length>=1)return zt.length>1&&Xe&&(0,O.p)(`menuController queried for a menu on the "${pe}" side, but ${zt.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`,zt.map(Vt=>Vt.el)),zt[0].el}else if(null!=pe)return ue(Bt=>Bt.menuId===pe);return ue(Bt=>!Bt.disabled)||(X.length>0?X[0].el:void 0)});return function(Xe){return ae.apply(this,arguments)}}(),$e=function(){var ae=(0,y.A)(function*(){return yield ie(),Ye()});return function(){return ae.apply(this,arguments)}}(),qe=function(){var ae=(0,y.A)(function*(){return yield ie(),bt()});return function(){return ae.apply(this,arguments)}}(),et=function(){var ae=(0,y.A)(function*(){return yield ie(),Ae()});return function(){return ae.apply(this,arguments)}}(),st=(ae,pe)=>{U.set(ae,pe)},he=function(){var ae=(0,y.A)(function*(pe,Xe,Ot){if(Ae())return!1;if(Xe){const Bt=yield $e();Bt&&pe.el!==Bt&&(yield Bt.setOpen(!1,!1))}return pe._setOpen(Xe,Ot)});return function(Xe,Ot,Bt){return ae.apply(this,arguments)}}(),Ye=()=>ue(ae=>ae._isOpen),bt=()=>X.map(ae=>ae.el),Ae=()=>X.some(ae=>ae.isAnimating),ue=ae=>{const pe=X.find(ae);if(void 0!==pe)return pe.el},ie=()=>Promise.all(Array.from(document.querySelectorAll("ion-menu")).map(ae=>new Promise(pe=>(0,j.c)(ae,pe))));return st("reveal",V),st("push",Q),st("overlay",F),null==w.d||w.d.addEventListener("ionBackButton",ae=>{const pe=Ye();pe&&ae.detail.register(A.MENU_BACK_BUTTON_PRIORITY,()=>pe.close())}),{registerAnimation:st,get:ye,getMenus:qe,getOpen:$e,isEnabled:Ee,swipeGesture:Ce,isAnimating:et,isOpen:Be,enable:Oe,toggle:ve,close:de,open:te,_getOpenSync:Ye,_createAnimation:(ae,pe)=>{const Xe=U.get(ae);if(!Xe)throw new Error("animation not registered");return Xe(pe)},_register:ae=>{X.indexOf(ae)<0&&X.push(ae)},_unregister:ae=>{const pe=X.indexOf(ae);pe>-1&&X.splice(pe,1)},_setOpen:he}})()},9483:(l,h,_)=>{"use strict";_.d(h,{a:()=>V,b:()=>bt,c:()=>A,i:()=>Ae});var y=_(4261);class w{constructor(){this.m=new Map}reset(ie){this.m=new Map(Object.entries(ie))}get(ie,ae){const pe=this.m.get(ie);return void 0!==pe?pe:ae}getBoolean(ie,ae=!1){const pe=this.m.get(ie);return void 0===pe?ae:"string"==typeof pe?"true"===pe:!!pe}getNumber(ie,ae){const pe=parseFloat(this.m.get(ie));return isNaN(pe)?void 0!==ae?ae:NaN:pe}set(ie,ae){this.m.set(ie,ae)}}const A=new w,F="ionic-persist-config",V=(ue,ie)=>("string"==typeof ue&&(ie=ue,ue=void 0),(ue=>q(ue))(ue).includes(ie)),q=(ue=window)=>{if(typeof ue>"u")return[];ue.Ionic=ue.Ionic||{};let ie=ue.Ionic.platforms;return null==ie&&(ie=ue.Ionic.platforms=Y(ue),ie.forEach(ae=>ue.document.documentElement.classList.add(`plt-${ae}`))),ie},Y=ue=>{const ie=A.get("platform");return Object.keys(Ue).filter(ae=>{const pe=ie?.[ae];return"function"==typeof pe?pe(ue):Ue[ae](ue)})},X=ue=>!!(Ie(ue,/iPad/i)||Ie(ue,/Macintosh/i)&&Ee(ue)),ve=ue=>Ie(ue,/android|sink/i),Ee=ue=>he(ue,"(any-pointer:coarse)"),$e=ue=>qe(ue)||et(ue),qe=ue=>!!(ue.cordova||ue.phonegap||ue.PhoneGap),et=ue=>{const ie=ue.Capacitor;return!!ie?.isNative},Ie=(ue,ie)=>ie.test(ue.navigator.userAgent),he=(ue,ie)=>{var ae;return null===(ae=ue.matchMedia)||void 0===ae?void 0:ae.call(ue,ie).matches},Ue={ipad:X,iphone:ue=>Ie(ue,/iPhone/i),ios:ue=>Ie(ue,/iPhone|iPod/i)||X(ue),android:ve,phablet:ue=>{const ie=ue.innerWidth,ae=ue.innerHeight,pe=Math.min(ie,ae),Xe=Math.max(ie,ae);return pe>390&&pe<520&&Xe>620&&Xe<800},tablet:ue=>{const ie=ue.innerWidth,ae=ue.innerHeight,pe=Math.min(ie,ae),Xe=Math.max(ie,ae);return X(ue)||(ue=>ve(ue)&&!Ie(ue,/mobile/i))(ue)||pe>460&&pe<820&&Xe>780&&Xe<1400},cordova:qe,capacitor:et,electron:ue=>Ie(ue,/electron/i),pwa:ue=>{var ie;return!!(null!==(ie=ue.matchMedia)&&void 0!==ie&&ie.call(ue,"(display-mode: standalone)").matches||ue.navigator.standalone)},mobile:Ee,mobileweb:ue=>Ee(ue)&&!$e(ue),desktop:ue=>!Ee(ue),hybrid:$e};let Ye;const bt=ue=>ue&&(0,y.g)(ue)||Ye,Ae=(ue={})=>{if(typeof window>"u")return;const ie=window.document,ae=window,pe=ae.Ionic=ae.Ionic||{},Xe={};ue._ael&&(Xe.ael=ue._ael),ue._rel&&(Xe.rel=ue._rel),ue._ce&&(Xe.ce=ue._ce),(0,y.a)(Xe);const Ot=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(ue=>{try{const ie=ue.sessionStorage.getItem(F);return null!==ie?JSON.parse(ie):{}}catch{return{}}})(ae)),{persistConfig:!1}),pe.config),(ue=>{const ie={};return ue.location.search.slice(1).split("&").map(ae=>ae.split("=")).map(([ae,pe])=>{try{return[decodeURIComponent(ae),decodeURIComponent(pe)]}catch{return["",""]}}).filter(([ae])=>((ue,ie)=>ue.substr(0,ie.length)===ie)(ae,"ionic:")).map(([ae,pe])=>[ae.slice(6),pe]).forEach(([ae,pe])=>{ie[ae]=pe}),ie})(ae)),ue);A.reset(Ot),A.getBoolean("persistConfig")&&((ue,ie)=>{try{ue.sessionStorage.setItem(F,JSON.stringify(ie))}catch{return}})(ae,Ot),q(ae),pe.config=A,pe.mode=Ye=A.get("mode",ie.documentElement.getAttribute("mode")||(V(ae,"ios")?"ios":"md")),A.set("mode",Ye),ie.documentElement.setAttribute("mode",Ye),ie.documentElement.classList.add(Ye),A.getBoolean("_testing")&&A.set("animated",!1);const Bt=Vt=>{var dn;return null===(dn=Vt.tagName)||void 0===dn?void 0:dn.startsWith("ION-")},zt=Vt=>["ios","md"].includes(Vt);(0,y.c)(Vt=>{for(;Vt;){const dn=Vt.mode||Vt.getAttribute("mode");if(dn){if(zt(dn))return dn;Bt(Vt)&&console.warn('Invalid ionic mode: "'+dn+'", expected: "ios" or "md"')}Vt=Vt.parentElement}return Ye})}},5022:(l,h,_)=>{"use strict";_.r(h),_.d(h,{iosTransitionAnimation:()=>U,shadow:()=>ne});var y=_(9986),w=_(3604);_(8476),_(9483),_(4261);const K=te=>document.querySelector(`${te}.ion-cloned-element`),ne=te=>te.shadowRoot||te,F=te=>{const de="ION-TABS"===te.tagName?te:te.querySelector("ion-tabs"),ve="ion-content ion-header:not(.header-collapse-condense-inactive) ion-title.title-large";if(null!=de){const Oe=de.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");return null!=Oe?Oe.querySelector(ve):null}return te.querySelector(ve)},Q=(te,de)=>{const ve="ION-TABS"===te.tagName?te:te.querySelector("ion-tabs");let Oe=[];if(null!=ve){const Ce=ve.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");null!=Ce&&(Oe=Ce.querySelectorAll("ion-buttons"))}else Oe=te.querySelectorAll("ion-buttons");for(const Ce of Oe){const Be=Ce.closest("ion-header"),Ee=Be&&!Be.classList.contains("header-collapse-condense-inactive"),ye=Ce.querySelector("ion-back-button"),$e=Ce.classList.contains("buttons-collapse");if(null!==ye&&("start"===Ce.slot||""===Ce.slot)&&($e&&Ee&&de||!$e))return ye}return null},q=(te,de,ve,Oe,Ce,Be,Ee,ye,$e)=>{var qe,et;const st=de?`calc(100% - ${Ce.right+4}px)`:Ce.left-4+"px",xe=de?"right":"left",Ie=de?"left":"right",he=de?"right":"left";let Ue=1,Ye=1,bt=`scale(${Ye})`;const Ae="scale(1)";if(Be&&Ee){const at=(null===(qe=Be.textContent)||void 0===qe?void 0:qe.trim())===(null===(et=ye.textContent)||void 0===et?void 0:et.trim());Ue=$e.width/Ee.width,Ye=($e.height-X)/Ee.height,bt=at?`scale(${Ue}, ${Ye})`:`scale(${Ye})`}const ie=ne(Oe).querySelector("ion-icon").getBoundingClientRect(),ae=de?ie.width/2-(ie.right-Ce.right)+"px":Ce.left-ie.width/2+"px",pe=de?`-${window.innerWidth-Ce.right}px`:`${Ce.left}px`,Xe=`${$e.top}px`,Ot=`${Ce.top}px`,Vt=ve?[{offset:0,transform:`translate3d(${pe}, ${Ot}, 0)`},{offset:1,transform:`translate3d(${ae}, ${Xe}, 0)`}]:[{offset:0,transform:`translate3d(${ae}, ${Xe}, 0)`},{offset:1,transform:`translate3d(${pe}, ${Ot}, 0)`}],Un=ve?[{offset:0,opacity:1,transform:Ae},{offset:1,opacity:0,transform:bt}]:[{offset:0,opacity:0,transform:bt},{offset:1,opacity:1,transform:Ae}],sn=ve?[{offset:0,opacity:1,transform:"scale(1)"},{offset:.2,opacity:0,transform:"scale(0.6)"},{offset:1,opacity:0,transform:"scale(0.6)"}]:[{offset:0,opacity:0,transform:"scale(0.6)"},{offset:.6,opacity:0,transform:"scale(0.6)"},{offset:1,opacity:1,transform:"scale(1)"}],ho=(0,y.c)(),Xn=(0,y.c)(),Tn=(0,y.c)(),Wt=K("ion-back-button"),ft=ne(Wt).querySelector(".button-text"),Je=ne(Wt).querySelector("ion-icon");Wt.text=Oe.text,Wt.mode=Oe.mode,Wt.icon=Oe.icon,Wt.color=Oe.color,Wt.disabled=Oe.disabled,Wt.style.setProperty("display","block"),Wt.style.setProperty("position","fixed"),Xn.addElement(Je),ho.addElement(ft),Tn.addElement(Wt),Tn.beforeStyles({position:"absolute",top:"0px",[he]:"0px"}).beforeAddWrite(()=>{Oe.style.setProperty("display","none"),Wt.style.setProperty(xe,st)}).afterAddWrite(()=>{Oe.style.setProperty("display",""),Wt.style.setProperty("display","none"),Wt.style.removeProperty(xe)}).keyframes(Vt),ho.beforeStyles({"transform-origin":`${xe} top`}).keyframes(Un),Xn.beforeStyles({"transform-origin":`${Ie} center`}).keyframes(sn),te.addAnimation([ho,Xn,Tn])},Y=(te,de,ve,Oe,Ce,Be,Ee,ye,$e)=>{var qe,et;const st=de?"right":"left",xe=de?`calc(100% - ${Ce.right}px)`:`${Ce.left}px`,he=`${Ce.top}px`;let Ye=de?`-${window.innerWidth-Ee.right-8}px`:`${Ee.x+8}px`,bt=.5;const Ae="scale(1)";let ue=`scale(${bt})`;if(ye&&$e){Ye=de?`-${window.innerWidth-$e.right-8}px`:$e.x-8+"px";const dn=(null===(qe=ye.textContent)||void 0===qe?void 0:qe.trim())===(null===(et=Oe.textContent)||void 0===et?void 0:et.trim());bt=$e.height/(Be.height-X),ue=dn?`scale(${$e.width/Be.width}, ${bt})`:`scale(${bt})`}const pe=Ee.top+Ee.height/2-Ce.height*bt/2+"px",Bt=ve?[{offset:0,opacity:0,transform:`translate3d(${Ye}, ${pe}, 0) ${ue}`},{offset:.1,opacity:0},{offset:1,opacity:1,transform:`translate3d(0px, ${he}, 0) ${Ae}`}]:[{offset:0,opacity:.99,transform:`translate3d(0px, ${he}, 0) ${Ae}`},{offset:.6,opacity:0},{offset:1,opacity:0,transform:`translate3d(${Ye}, ${pe}, 0) ${ue}`}],zt=K("ion-title"),Vt=(0,y.c)();zt.innerText=Oe.innerText,zt.size=Oe.size,zt.color=Oe.color,Vt.addElement(zt),Vt.beforeStyles({"transform-origin":`${st} top`,height:`${Ce.height}px`,display:"",position:"relative",[st]:xe}).beforeAddWrite(()=>{Oe.style.setProperty("opacity","0")}).afterAddWrite(()=>{Oe.style.setProperty("opacity",""),zt.style.setProperty("display","none")}).keyframes(Bt),te.addAnimation(Vt)},U=(te,de)=>{var ve;try{const Oe="cubic-bezier(0.32,0.72,0,1)",Ce="opacity",Be="transform",Ee="0%",$e="rtl"===te.ownerDocument.dir,qe=$e?"-99.5%":"99.5%",et=$e?"33%":"-33%",st=de.enteringEl,xe=de.leavingEl,Ie="back"===de.direction,he=st.querySelector(":scope > ion-content"),Ue=st.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *"),Ye=st.querySelectorAll(":scope > ion-header > ion-toolbar"),bt=(0,y.c)(),Ae=(0,y.c)();if(bt.addElement(st).duration((null!==(ve=de.duration)&&void 0!==ve?ve:0)||540).easing(de.easing||Oe).fill("both").beforeRemoveClass("ion-page-invisible"),xe&&null!=te){const pe=(0,y.c)();pe.addElement(te),bt.addAnimation(pe)}if(he||0!==Ye.length||0!==Ue.length?(Ae.addElement(he),Ae.addElement(Ue)):Ae.addElement(st.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),bt.addAnimation(Ae),Ie?Ae.beforeClearStyles([Ce]).fromTo("transform",`translateX(${et})`,`translateX(${Ee})`).fromTo(Ce,.8,1):Ae.beforeClearStyles([Ce]).fromTo("transform",`translateX(${qe})`,`translateX(${Ee})`),he){const pe=ne(he).querySelector(".transition-effect");if(pe){const Xe=pe.querySelector(".transition-cover"),Ot=pe.querySelector(".transition-shadow"),Bt=(0,y.c)(),zt=(0,y.c)(),Vt=(0,y.c)();Bt.addElement(pe).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),zt.addElement(Xe).beforeClearStyles([Ce]).fromTo(Ce,0,.1),Vt.addElement(Ot).beforeClearStyles([Ce]).fromTo(Ce,.03,.7),Bt.addAnimation([zt,Vt]),Ae.addAnimation([Bt])}}const ue=st.querySelector("ion-header.header-collapse-condense"),{forward:ie,backward:ae}=((te,de,ve,Oe,Ce)=>{const Be=Q(Oe,ve),Ee=F(Ce),ye=F(Oe),$e=Q(Ce,ve),qe=null!==Be&&null!==Ee&&!ve,et=null!==ye&&null!==$e&&ve;if(qe){const st=Ee.getBoundingClientRect(),xe=Be.getBoundingClientRect(),Ie=ne(Be).querySelector(".button-text"),he=Ie?.getBoundingClientRect(),Ye=ne(Ee).querySelector(".toolbar-title").getBoundingClientRect();Y(te,de,ve,Ee,st,Ye,xe,Ie,he),q(te,de,ve,Be,xe,Ie,he,Ee,Ye)}else if(et){const st=ye.getBoundingClientRect(),xe=$e.getBoundingClientRect(),Ie=ne($e).querySelector(".button-text"),he=Ie?.getBoundingClientRect(),Ye=ne(ye).querySelector(".toolbar-title").getBoundingClientRect();Y(te,de,ve,ye,st,Ye,xe,Ie,he),q(te,de,ve,$e,xe,Ie,he,ye,Ye)}return{forward:qe,backward:et}})(bt,$e,Ie,st,xe);if(Ye.forEach(pe=>{const Xe=(0,y.c)();Xe.addElement(pe),bt.addAnimation(Xe);const Ot=(0,y.c)();Ot.addElement(pe.querySelector("ion-title"));const Bt=(0,y.c)(),zt=Array.from(pe.querySelectorAll("ion-buttons,[menuToggle]")),Vt=pe.closest("ion-header"),dn=Vt?.classList.contains("header-collapse-condense-inactive");let vn;vn=zt.filter(Ie?ho=>{const Xn=ho.classList.contains("buttons-collapse");return Xn&&!dn||!Xn}:ho=>!ho.classList.contains("buttons-collapse")),Bt.addElement(vn);const Un=(0,y.c)();Un.addElement(pe.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])"));const Cn=(0,y.c)();Cn.addElement(ne(pe).querySelector(".toolbar-background"));const hr=(0,y.c)(),sn=pe.querySelector("ion-back-button");if(sn&&hr.addElement(sn),Xe.addAnimation([Ot,Bt,Un,Cn,hr]),Bt.fromTo(Ce,.01,1),Un.fromTo(Ce,.01,1),Ie)dn||Ot.fromTo("transform",`translateX(${et})`,`translateX(${Ee})`).fromTo(Ce,.01,1),Un.fromTo("transform",`translateX(${et})`,`translateX(${Ee})`),hr.fromTo(Ce,.01,1);else if(ue||Ot.fromTo("transform",`translateX(${qe})`,`translateX(${Ee})`).fromTo(Ce,.01,1),Un.fromTo("transform",`translateX(${qe})`,`translateX(${Ee})`),Cn.beforeClearStyles([Ce,"transform"]),Vt?.translucent?Cn.fromTo("transform",$e?"translateX(-100%)":"translateX(100%)","translateX(0px)"):Cn.fromTo(Ce,.01,"var(--opacity)"),ie||hr.fromTo(Ce,.01,1),sn&&!ie){const Xn=(0,y.c)();Xn.addElement(ne(sn).querySelector(".button-text")).fromTo("transform",$e?"translateX(-100px)":"translateX(100px)","translateX(0px)"),Xe.addAnimation(Xn)}}),xe){const pe=(0,y.c)(),Xe=xe.querySelector(":scope > ion-content"),Ot=xe.querySelectorAll(":scope > ion-header > ion-toolbar"),Bt=xe.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *");if(Xe||0!==Ot.length||0!==Bt.length?(pe.addElement(Xe),pe.addElement(Bt)):pe.addElement(xe.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),bt.addAnimation(pe),Ie){pe.beforeClearStyles([Ce]).fromTo("transform",`translateX(${Ee})`,$e?"translateX(-100%)":"translateX(100%)");const zt=(0,w.g)(xe);bt.afterAddWrite(()=>{"normal"===bt.getDirection()&&zt.style.setProperty("display","none")})}else pe.fromTo("transform",`translateX(${Ee})`,`translateX(${et})`).fromTo(Ce,1,.8);if(Xe){const zt=ne(Xe).querySelector(".transition-effect");if(zt){const Vt=zt.querySelector(".transition-cover"),dn=zt.querySelector(".transition-shadow"),vn=(0,y.c)(),Un=(0,y.c)(),Cn=(0,y.c)();vn.addElement(zt).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),Un.addElement(Vt).beforeClearStyles([Ce]).fromTo(Ce,.1,0),Cn.addElement(dn).beforeClearStyles([Ce]).fromTo(Ce,.7,.03),vn.addAnimation([Un,Cn]),pe.addAnimation([vn])}}Ot.forEach(zt=>{const Vt=(0,y.c)();Vt.addElement(zt);const dn=(0,y.c)();dn.addElement(zt.querySelector("ion-title"));const vn=(0,y.c)(),Un=zt.querySelectorAll("ion-buttons,[menuToggle]"),Cn=zt.closest("ion-header"),hr=Cn?.classList.contains("header-collapse-condense-inactive"),sn=Array.from(Un).filter(Je=>{const at=Je.classList.contains("buttons-collapse");return at&&!hr||!at});vn.addElement(sn);const ho=(0,y.c)(),Xn=zt.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])");Xn.length>0&&ho.addElement(Xn);const Tn=(0,y.c)();Tn.addElement(ne(zt).querySelector(".toolbar-background"));const Wt=(0,y.c)(),ft=zt.querySelector("ion-back-button");if(ft&&Wt.addElement(ft),Vt.addAnimation([dn,vn,ho,Wt,Tn]),bt.addAnimation(Vt),Wt.fromTo(Ce,.99,0),vn.fromTo(Ce,.99,0),ho.fromTo(Ce,.99,0),Ie){if(hr||dn.fromTo("transform",`translateX(${Ee})`,$e?"translateX(-100%)":"translateX(100%)").fromTo(Ce,.99,0),ho.fromTo("transform",`translateX(${Ee})`,$e?"translateX(-100%)":"translateX(100%)"),Tn.beforeClearStyles([Ce,"transform"]),Cn?.translucent?Tn.fromTo("transform","translateX(0px)",$e?"translateX(-100%)":"translateX(100%)"):Tn.fromTo(Ce,"var(--opacity)",0),ft&&!ae){const at=(0,y.c)();at.addElement(ne(ft).querySelector(".button-text")).fromTo("transform",`translateX(${Ee})`,`translateX(${($e?-124:124)+"px"})`),Vt.addAnimation(at)}}else hr||dn.fromTo("transform",`translateX(${Ee})`,`translateX(${et})`).fromTo(Ce,.99,0).afterClearStyles([Be,Ce]),ho.fromTo("transform",`translateX(${Ee})`,`translateX(${et})`).afterClearStyles([Be,Ce]),Wt.afterClearStyles([Ce]),dn.afterClearStyles([Ce]),vn.afterClearStyles([Ce])})}return bt}catch(Oe){throw Oe}},X=10},3615:(l,h,_)=>{"use strict";_.r(h),_.d(h,{mdTransitionAnimation:()=>Z});var y=_(9986),w=_(3604);_(8476),_(9483),_(4261);const Z=(K,ne)=>{var F,Q,V;const q="40px",U="back"===ne.direction,te=ne.leavingEl,de=(0,w.g)(ne.enteringEl),ve=de.querySelector("ion-toolbar"),Oe=(0,y.c)();if(Oe.addElement(de).fill("both").beforeRemoveClass("ion-page-invisible"),U?Oe.duration((null!==(F=ne.duration)&&void 0!==F?F:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)"):Oe.duration((null!==(Q=ne.duration)&&void 0!==Q?Q:0)||280).easing("cubic-bezier(0.36,0.66,0.04,1)").fromTo("transform",`translateY(${q})`,"translateY(0px)").fromTo("opacity",.01,1),ve){const Ce=(0,y.c)();Ce.addElement(ve),Oe.addAnimation(Ce)}if(te&&U){Oe.duration((null!==(V=ne.duration)&&void 0!==V?V:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)");const Ce=(0,y.c)();Ce.addElement((0,w.g)(te)).onFinish(Be=>{1===Be&&Ce.elements.length>0&&Ce.elements[0].style.setProperty("display","none")}).fromTo("transform","translateY(0px)",`translateY(${q})`).fromTo("opacity",1,0),Oe.addAnimation(Ce)}return Oe}},9440:(l,h,_)=>{"use strict";_.d(h,{B:()=>Un,F:()=>Wt,G:()=>Cn,O:()=>hr,a:()=>de,b:()=>ve,c:()=>Ee,d:()=>sn,e:()=>ho,f:()=>ie,g:()=>pe,h:()=>Bt,i:()=>Vt,j:()=>$e,k:()=>qe,l:()=>Oe,m:()=>Ce,n:()=>Q,o:()=>Ae,q:()=>V,s:()=>vn});var y=_(467),w=_(8476),A=_(4920),O=_(7192),j=_(9483),Z=_(8621),K=_(1970),ne=_(4929);const F='[tabindex]:not([tabindex^="-"]):not([hidden]):not([disabled]), input:not([type=hidden]):not([tabindex^="-"]):not([hidden]):not([disabled]), textarea:not([tabindex^="-"]):not([hidden]):not([disabled]), button:not([tabindex^="-"]):not([hidden]):not([disabled]), select:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable[disabled="false"]:not([tabindex^="-"]):not([hidden])',Q=(ft,Je)=>{const at=ft.querySelector(F);q(at,Je??ft)},V=(ft,Je)=>{const at=Array.from(ft.querySelectorAll(F));q(at.length>0?at[at.length-1]:null,Je??ft)},q=(ft,Je)=>{let at=ft;const Mt=ft?.shadowRoot;Mt&&(at=Mt.querySelector(F)||ft),at?(0,A.f)(at):Je.focus()};let Y=0,U=0;const X=new WeakMap,te=ft=>({create:Je=>et(ft,Je),dismiss:(Je,at,Mt)=>Ue(document,Je,at,ft,Mt),getTop:()=>(0,y.A)(function*(){return Ae(document,ft)})()}),de=te("ion-alert"),ve=te("ion-action-sheet"),Oe=te("ion-loading"),Ce=te("ion-modal"),Ee=te("ion-popover"),$e=ft=>{typeof document<"u"&&he(document);const Je=Y++;ft.overlayIndex=Je},qe=ft=>(ft.hasAttribute("id")||(ft.id="ion-overlay-"+ ++U),ft.id),et=(ft,Je)=>typeof window<"u"&&typeof window.customElements<"u"?window.customElements.whenDefined(ft).then(()=>{const at=document.createElement(ft);return at.classList.add("overlay-hidden"),Object.assign(at,Object.assign(Object.assign({},Je),{hasController:!0})),Xe(document).appendChild(at),new Promise(Mt=>(0,A.c)(at,Mt))}):Promise.resolve(),xe=(ft,Je)=>{let at=ft;const Mt=ft?.shadowRoot;Mt&&(at=Mt.querySelector(F)||ft),at?(0,A.f)(at):Je.focus()},he=ft=>{0===Y&&(Y=1,ft.addEventListener("focus",Je=>{((ft,Je)=>{const at=Ae(Je,"ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker-legacy,ion-popover"),Mt=ft.target;at&&Mt&&!at.classList.contains(Wt)&&(at.shadowRoot?(()=>{if(at.contains(Mt))at.lastFocus=Mt;else if("ION-TOAST"===Mt.tagName)xe(at.lastFocus,at);else{const Fn=at.lastFocus;Q(at),Fn===Je.activeElement&&V(at),at.lastFocus=Je.activeElement}})():(()=>{if(at===Mt)at.lastFocus=void 0;else if("ION-TOAST"===Mt.tagName)xe(at.lastFocus,at);else{const Fn=(0,A.g)(at);if(!Fn.contains(Mt))return;const xn=Fn.querySelector(".ion-overlay-wrapper");if(!xn)return;if(xn.contains(Mt)||Mt===Fn.querySelector("ion-backdrop"))at.lastFocus=Mt;else{const Zn=at.lastFocus;Q(xn,at),Zn===Je.activeElement&&V(xn,at),at.lastFocus=Je.activeElement}}})())})(Je,ft)},!0),ft.addEventListener("ionBackButton",Je=>{const at=Ae(ft);at?.backdropDismiss&&Je.detail.register(O.OVERLAY_BACK_BUTTON_PRIORITY,()=>{at.dismiss(void 0,Un)})}),(0,O.shouldUseCloseWatcher)()||ft.addEventListener("keydown",Je=>{if("Escape"===Je.key){const at=Ae(ft);at?.backdropDismiss&&at.dismiss(void 0,Un)}}))},Ue=(ft,Je,at,Mt,an)=>{const ro=Ae(ft,Mt,an);return ro?ro.dismiss(Je,at):Promise.reject("overlay does not exist")},bt=(ft,Je)=>((ft,Je)=>(void 0===Je&&(Je="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker-legacy,ion-popover,ion-toast"),Array.from(ft.querySelectorAll(Je)).filter(at=>at.overlayIndex>0)))(ft,Je).filter(at=>!(ft=>ft.classList.contains("overlay-hidden"))(at)),Ae=(ft,Je,at)=>{const Mt=bt(ft,Je);return void 0===at?Mt[Mt.length-1]:Mt.find(an=>an.id===at)},ue=(ft=!1)=>{const at=Xe(document).querySelector("ion-router-outlet, ion-nav, #ion-view-container-root");at&&(ft?at.setAttribute("aria-hidden","true"):at.removeAttribute("aria-hidden"))},ie=function(){var ft=(0,y.A)(function*(Je,at,Mt,an,ro){var Fn,xn;if(Je.presented)return;ue(!0),document.body.classList.add(K.B),Xn(Je.el),Je.presented=!0,Je.willPresent.emit(),null===(Fn=Je.willPresentShorthand)||void 0===Fn||Fn.emit();const Zn=(0,j.b)(Je),Vo=Je.enterAnimation?Je.enterAnimation:j.c.get(at,"ios"===Zn?Mt:an);(yield Ot(Je,Vo,Je.el,ro))&&(Je.didPresent.emit(),null===(xn=Je.didPresentShorthand)||void 0===xn||xn.emit()),"ION-TOAST"!==Je.el.tagName&&ae(Je.el),Je.keyboardClose&&(null===document.activeElement||!Je.el.contains(document.activeElement))&&Je.el.focus(),Je.el.removeAttribute("aria-hidden")});return function(at,Mt,an,ro,Fn){return ft.apply(this,arguments)}}(),ae=function(){var ft=(0,y.A)(function*(Je){let at=document.activeElement;if(!at)return;const Mt=at?.shadowRoot;Mt&&(at=Mt.querySelector(F)||at),yield Je.onDidDismiss(),(null===document.activeElement||document.activeElement===document.body)&&at.focus()});return function(at){return ft.apply(this,arguments)}}(),pe=function(){var ft=(0,y.A)(function*(Je,at,Mt,an,ro,Fn,xn){var Zn,Vo;if(!Je.presented)return!1;void 0!==w.d&&1===bt(w.d).length&&(ue(!1),document.body.classList.remove(K.B)),Je.presented=!1;try{Je.el.style.setProperty("pointer-events","none"),Je.willDismiss.emit({data:at,role:Mt}),null===(Zn=Je.willDismissShorthand)||void 0===Zn||Zn.emit({data:at,role:Mt});const kn=(0,j.b)(Je),yo=Je.leaveAnimation?Je.leaveAnimation:j.c.get(an,"ios"===kn?ro:Fn);Mt!==Cn&&(yield Ot(Je,yo,Je.el,xn)),Je.didDismiss.emit({data:at,role:Mt}),null===(Vo=Je.didDismissShorthand)||void 0===Vo||Vo.emit({data:at,role:Mt}),(X.get(Je)||[]).forEach(tr=>tr.destroy()),X.delete(Je),Je.el.classList.add("overlay-hidden"),Je.el.style.removeProperty("pointer-events"),void 0!==Je.el.lastFocus&&(Je.el.lastFocus=void 0)}catch(kn){console.error(kn)}return Je.el.remove(),Tn(),!0});return function(at,Mt,an,ro,Fn,xn,Zn){return ft.apply(this,arguments)}}(),Xe=ft=>ft.querySelector("ion-app")||ft.body,Ot=function(){var ft=(0,y.A)(function*(Je,at,Mt,an){Mt.classList.remove("overlay-hidden");const Fn=at(Je.el,an);(!Je.animated||!j.c.getBoolean("animated",!0))&&Fn.duration(0),Je.keyboardClose&&Fn.beforeAddWrite(()=>{const Zn=Mt.ownerDocument.activeElement;Zn?.matches("input,ion-input, ion-textarea")&&Zn.blur()});const xn=X.get(Je)||[];return X.set(Je,[...xn,Fn]),yield Fn.play(),!0});return function(at,Mt,an,ro){return ft.apply(this,arguments)}}(),Bt=(ft,Je)=>{let at;const Mt=new Promise(an=>at=an);return zt(ft,Je,an=>{at(an.detail)}),Mt},zt=(ft,Je,at)=>{const Mt=an=>{(0,A.b)(ft,Je,Mt),at(an)};(0,A.a)(ft,Je,Mt)},Vt=ft=>"cancel"===ft||ft===Un,dn=ft=>ft(),vn=(ft,Je)=>{if("function"==typeof ft)return j.c.get("_zoneGate",dn)(()=>{try{return ft(Je)}catch(Mt){throw Mt}})},Un="backdrop",Cn="gesture",hr=39,sn=ft=>{let at,Je=!1;const Mt=(0,Z.C)(),an=(xn=!1)=>{if(at&&!xn)return{delegate:at,inline:Je};const{el:Zn,hasController:Vo,delegate:mr}=ft;return Je=null!==Zn.parentNode&&!Vo,at=Je?mr||Mt:mr,{inline:Je,delegate:at}};return{attachViewToDom:function(){var xn=(0,y.A)(function*(Zn){const{delegate:Vo}=an(!0);if(Vo)return yield Vo.attachViewToDom(ft.el,Zn);const{hasController:mr}=ft;if(mr&&void 0!==Zn)throw new Error("framework delegate is missing");return null});return function(Vo){return xn.apply(this,arguments)}}(),removeViewFromDom:()=>{const{delegate:xn}=an();xn&&void 0!==ft.el&&xn.removeViewFromDom(ft.el.parentElement,ft.el)}}},ho=()=>{let ft;const Je=()=>{ft&&(ft(),ft=void 0)};return{addClickListener:(Mt,an)=>{Je();const ro=void 0!==an?document.getElementById(an):null;ro?ft=((xn,Zn)=>{const Vo=()=>{Zn.present()};return xn.addEventListener("click",Vo),()=>{xn.removeEventListener("click",Vo)}})(ro,Mt):(0,ne.p)(`A trigger element with the ID "${an}" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on an overlay component.`,Mt)},removeClickListener:Je}},Xn=ft=>{var Je;if(void 0===w.d)return;const at=bt(w.d);for(let Mt=at.length-1;Mt>=0;Mt--){const an=at[Mt],ro=null!==(Je=at[Mt+1])&&void 0!==Je?Je:ft;(ro.hasAttribute("aria-hidden")||"ION-TOAST"!==ro.tagName)&&an.setAttribute("aria-hidden","true")}},Tn=()=>{if(void 0===w.d)return;const ft=bt(w.d);for(let Je=ft.length-1;Je>=0;Je--){const at=ft[Je];if(at.removeAttribute("aria-hidden"),"ION-TOAST"!==at.tagName)break}},Wt="ion-disable-focus-trap"},1358:(l,h,_)=>{"use strict";function y(n,o){return Object.is(n,o)}let w=null,A=!1,O=1;const j=Symbol("SIGNAL");function Z(n){const o=w;return w=n,o}const Q={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function V(n){if(A)throw new Error("");if(null===w)return;w.consumerOnSignalRead(n);const o=w.nextProducerIndex++;$e(w),o<w.producerNode.length&&w.producerNode[o]!==n&&ye(w)&&Ee(w.producerNode[o],w.producerIndexOfThis[o]),w.producerNode[o]!==n&&(w.producerNode[o]=n,w.producerIndexOfThis[o]=ye(w)?Be(n,w,o):0),w.producerLastReadVersion[o]=n.version}function Y(n){if((!ye(n)||n.dirty)&&(n.dirty||n.lastCleanEpoch!==O)){if(!n.producerMustRecompute(n)&&!Oe(n))return n.dirty=!1,void(n.lastCleanEpoch=O);n.producerRecomputeValue(n),n.dirty=!1,n.lastCleanEpoch=O}}function U(n){if(void 0===n.liveConsumerNode)return;const o=A;A=!0;try{for(const t of n.liveConsumerNode)t.dirty||te(t)}finally{A=o}}function X(){return!1!==w?.consumerAllowSignalWrites}function te(n){n.dirty=!0,U(n),n.consumerMarkedDirty?.(n)}function de(n){return n&&(n.nextProducerIndex=0),Z(n)}function ve(n,o){if(Z(o),n&&void 0!==n.producerNode&&void 0!==n.producerIndexOfThis&&void 0!==n.producerLastReadVersion){if(ye(n))for(let t=n.nextProducerIndex;t<n.producerNode.length;t++)Ee(n.producerNode[t],n.producerIndexOfThis[t]);for(;n.producerNode.length>n.nextProducerIndex;)n.producerNode.pop(),n.producerLastReadVersion.pop(),n.producerIndexOfThis.pop()}}function Oe(n){$e(n);for(let o=0;o<n.producerNode.length;o++){const t=n.producerNode[o],r=n.producerLastReadVersion[o];if(r!==t.version||(Y(t),r!==t.version))return!0}return!1}function Ce(n){if($e(n),ye(n))for(let o=0;o<n.producerNode.length;o++)Ee(n.producerNode[o],n.producerIndexOfThis[o]);n.producerNode.length=n.producerLastReadVersion.length=n.producerIndexOfThis.length=0,n.liveConsumerNode&&(n.liveConsumerNode.length=n.liveConsumerIndexOfThis.length=0)}function Be(n,o,t){if(qe(n),0===n.liveConsumerNode.length&&et(n))for(let r=0;r<n.producerNode.length;r++)n.producerIndexOfThis[r]=Be(n.producerNode[r],n,r);return n.liveConsumerIndexOfThis.push(t),n.liveConsumerNode.push(o)-1}function Ee(n,o){if(qe(n),1===n.liveConsumerNode.length&&et(n))for(let r=0;r<n.producerNode.length;r++)Ee(n.producerNode[r],n.producerIndexOfThis[r]);const t=n.liveConsumerNode.length-1;if(n.liveConsumerNode[o]=n.liveConsumerNode[t],n.liveConsumerIndexOfThis[o]=n.liveConsumerIndexOfThis[t],n.liveConsumerNode.length--,n.liveConsumerIndexOfThis.length--,o<n.liveConsumerNode.length){const r=n.liveConsumerIndexOfThis[o],i=n.liveConsumerNode[o];$e(i),i.producerIndexOfThis[r]=o}}function ye(n){return n.consumerIsAlwaysLive||(n?.liveConsumerNode?.length??0)>0}function $e(n){n.producerNode??=[],n.producerIndexOfThis??=[],n.producerLastReadVersion??=[]}function qe(n){n.liveConsumerNode??=[],n.liveConsumerIndexOfThis??=[]}function et(n){return void 0!==n.producerNode}const xe=Symbol("UNSET"),Ie=Symbol("COMPUTING"),he=Symbol("ERRORED"),Ue={...Q,value:xe,dirty:!0,error:null,equal:y,producerMustRecompute:n=>n.value===xe||n.value===Ie,producerRecomputeValue(n){if(n.value===Ie)throw new Error("Detected cycle in computations.");const o=n.value;n.value=Ie;const t=de(n);let r;try{r=n.computation()}catch(i){r=he,n.error=i}finally{ve(n,t)}o!==xe&&o!==he&&r!==he&&n.equal(o,r)?n.value=o:(n.value=r,n.version++)}};let bt=function Ye(){throw new Error};function Ae(){bt()}let ie=null;function Ot(n,o){X()||Ae(),n.equal(n.value,o)||(n.value=o,function dn(n){n.version++,function q(){O++}(),U(n),ie?.()}(n))}const Vt={...Q,equal:y,value:void 0};function sn(n){return"function"==typeof n}function ho(n){const t=n(r=>{Error.call(r),r.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}const Xn=ho(n=>function(t){n(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((r,i)=>`${i+1}) ${r.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=t});function Tn(n,o){if(n){const t=n.indexOf(o);0<=t&&n.splice(t,1)}}class Wt{constructor(o){this.initialTeardown=o,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let o;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const s of t)s.remove(this);else t.remove(this);const{initialTeardown:r}=this;if(sn(r))try{r()}catch(s){o=s instanceof Xn?s.errors:[s]}const{_finalizers:i}=this;if(i){this._finalizers=null;for(const s of i)try{at(s)}catch(u){o=o??[],u instanceof Xn?o=[...o,...u.errors]:o.push(u)}}if(o)throw new Xn(o)}}add(o){var t;if(o&&o!==this)if(this.closed)at(o);else{if(o instanceof Wt){if(o.closed||o._hasParent(this))return;o._addParent(this)}(this._finalizers=null!==(t=this._finalizers)&&void 0!==t?t:[]).push(o)}}_hasParent(o){const{_parentage:t}=this;return t===o||Array.isArray(t)&&t.includes(o)}_addParent(o){const{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(o),t):t?[t,o]:o}_removeParent(o){const{_parentage:t}=this;t===o?this._parentage=null:Array.isArray(t)&&Tn(t,o)}remove(o){const{_finalizers:t}=this;t&&Tn(t,o),o instanceof Wt&&o._removeParent(this)}}Wt.EMPTY=(()=>{const n=new Wt;return n.closed=!0,n})();const ft=Wt.EMPTY;function Je(n){return n instanceof Wt||n&&"closed"in n&&sn(n.remove)&&sn(n.add)&&sn(n.unsubscribe)}function at(n){sn(n)?n():n.unsubscribe()}const Mt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},an={setTimeout(n,o,...t){const{delegate:r}=an;return r?.setTimeout?r.setTimeout(n,o,...t):setTimeout(n,o,...t)},clearTimeout(n){const{delegate:o}=an;return(o?.clearTimeout||clearTimeout)(n)},delegate:void 0};function ro(n){an.setTimeout(()=>{const{onUnhandledError:o}=Mt;if(!o)throw n;o(n)})}function Fn(){}const xn=mr("C",void 0,void 0);function mr(n,o,t){return{kind:n,value:o,error:t}}let kn=null;function yo(n){if(Mt.useDeprecatedSynchronousErrorHandling){const o=!kn;if(o&&(kn={errorThrown:!1,error:null}),n(),o){const{errorThrown:t,error:r}=kn;if(kn=null,t)throw r}}else n()}class tr extends Wt{constructor(o){super(),this.isStopped=!1,o?(this.destination=o,Je(o)&&o.add(this)):this.destination=ri}static create(o,t,r){return new qr(o,t,r)}next(o){this.isStopped?Ms(function Vo(n){return mr("N",n,void 0)}(o),this):this._next(o)}error(o){this.isStopped?Ms(function Zn(n){return mr("E",void 0,n)}(o),this):(this.isStopped=!0,this._error(o))}complete(){this.isStopped?Ms(xn,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(o){this.destination.next(o)}_error(o){try{this.destination.error(o)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Fr=Function.prototype.bind;function nr(n,o){return Fr.call(n,o)}class oi{constructor(o){this.partialObserver=o}next(o){const{partialObserver:t}=this;if(t.next)try{t.next(o)}catch(r){Li(r)}}error(o){const{partialObserver:t}=this;if(t.error)try{t.error(o)}catch(r){Li(r)}else Li(o)}complete(){const{partialObserver:o}=this;if(o.complete)try{o.complete()}catch(t){Li(t)}}}class qr extends tr{constructor(o,t,r){let i;if(super(),sn(o)||!o)i={next:o??void 0,error:t??void 0,complete:r??void 0};else{let s;this&&Mt.useDeprecatedNextContext?(s=Object.create(o),s.unsubscribe=()=>this.unsubscribe(),i={next:o.next&&nr(o.next,s),error:o.error&&nr(o.error,s),complete:o.complete&&nr(o.complete,s)}):i=o}this.destination=new oi(i)}}function Li(n){Mt.useDeprecatedSynchronousErrorHandling?function Mr(n){Mt.useDeprecatedSynchronousErrorHandling&&kn&&(kn.errorThrown=!0,kn.error=n)}(n):ro(n)}function Ms(n,o){const{onStoppedNotification:t}=Mt;t&&an.setTimeout(()=>t(n,o))}const ri={closed:!0,next:Fn,error:function Fi(n){throw n},complete:Fn},oa="function"==typeof Symbol&&Symbol.observable||"@@observable";function Bi(n){return n}function nl(n){return 0===n.length?Bi:1===n.length?n[0]:function(t){return n.reduce((r,i)=>i(r),t)}}let bo=(()=>{class n{constructor(t){t&&(this._subscribe=t)}lift(t){const r=new n;return r.source=this,r.operator=t,r}subscribe(t,r,i){const s=function ol(n){return n&&n instanceof tr||function Ul(n){return n&&sn(n.next)&&sn(n.error)&&sn(n.complete)}(n)&&Je(n)}(t)?t:new qr(t,r,i);return yo(()=>{const{operator:u,source:p}=this;s.add(u?u.call(s,p):p?this._subscribe(s):this._trySubscribe(s))}),s}_trySubscribe(t){try{return this._subscribe(t)}catch(r){t.error(r)}}forEach(t,r){return new(r=xa(r))((i,s)=>{const u=new qr({next:p=>{try{t(p)}catch(m){s(m),u.unsubscribe()}},error:s,complete:i});this.subscribe(u)})}_subscribe(t){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(t)}[oa](){return this}pipe(...t){return nl(t)(this)}toPromise(t){return new(t=xa(t))((r,i)=>{let s;this.subscribe(u=>s=u,u=>i(u),()=>r(s))})}}return n.create=o=>new n(o),n})();function xa(n){var o;return null!==(o=n??Mt.Promise)&&void 0!==o?o:Promise}const rl=ho(n=>function(){n(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Ho=(()=>{class n extends bo{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const r=new Oa(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new rl}next(t){yo(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(t)}})}error(t){yo(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:r}=this;for(;r.length;)r.shift().error(t)}})}complete(){yo(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){const{hasError:r,isStopped:i,observers:s}=this;return r||i?ft:(this.currentObservers=null,s.push(t),new Wt(()=>{this.currentObservers=null,Tn(s,t)}))}_checkFinalizedStatuses(t){const{hasError:r,thrownError:i,isStopped:s}=this;r?t.error(i):s&&t.complete()}asObservable(){const t=new bo;return t.source=this,t}}return n.create=(o,t)=>new Oa(o,t),n})();class Oa extends Ho{constructor(o,t){super(),this.destination=o,this.source=t}next(o){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===r||r.call(t,o)}error(o){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===r||r.call(t,o)}complete(){var o,t;null===(t=null===(o=this.destination)||void 0===o?void 0:o.complete)||void 0===t||t.call(o)}_subscribe(o){var t,r;return null!==(r=null===(t=this.source)||void 0===t?void 0:t.subscribe(o))&&void 0!==r?r:ft}}class or extends Ho{constructor(o){super(),this._value=o}get value(){return this.getValue()}_subscribe(o){const t=super._subscribe(o);return!t.closed&&o.next(this._value),t}getValue(){const{hasError:o,thrownError:t,_value:r}=this;if(o)throw t;return this._throwIfClosed(),r}next(o){super.next(this._value=o)}}function Ki(n){return sn(n?.lift)}function wo(n){return o=>{if(Ki(o))return o.lift(function(t){try{return n(t,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function jn(n,o,t,r,i){return new ra(n,o,t,r,i)}class ra extends tr{constructor(o,t,r,i,s,u){super(o),this.onFinalize=s,this.shouldUnsubscribe=u,this._next=t?function(p){try{t(p)}catch(m){o.error(m)}}:super._next,this._error=i?function(p){try{i(p)}catch(m){o.error(m)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(p){o.error(p)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var o;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:t}=this;super.unsubscribe(),!t&&(null===(o=this.onFinalize)||void 0===o||o.call(this))}}}function rn(n,o){return wo((t,r)=>{let i=0;t.subscribe(jn(r,s=>{r.next(n.call(o,s,i++))}))})}const _r="https://g.co/ng/security#xss";class Ve extends Error{constructor(o,t){super(function Zi(n,o){return`NG0${Math.abs(n)}${o?": "+o:""}`}(o,t)),this.code=o}}function ii(n){return{toString:n}.toString()}const Yr="__parameters__";function si(n,o,t){return ii(()=>{const r=function ia(n){return function(...t){if(n){const r=n(...t);for(const i in r)this[i]=r[i]}}}(o);function i(...s){if(this instanceof i)return r.apply(this,s),this;const u=new i(...s);return p.annotation=u,p;function p(m,v,S){const T=m.hasOwnProperty(Yr)?m[Yr]:Object.defineProperty(m,Yr,{value:[]})[Yr];for(;T.length<=S;)T.push(null);return(T[S]=T[S]||[]).push(u),m}}return t&&(i.prototype=Object.create(t.prototype)),i.prototype.ngMetadataName=n,i.annotationCls=i,i})}const yt=globalThis;function gn(n){for(let o in n)if(n[o]===gn)return o;throw Error("Could not find renamed property on target object.")}function Br(n,o){for(const t in o)o.hasOwnProperty(t)&&!n.hasOwnProperty(t)&&(n[t]=o[t])}function Qn(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(Qn).join(", ")+"]";if(null==n)return""+n;if(n.overriddenName)return`${n.overriddenName}`;if(n.name)return`${n.name}`;const o=n.toString();if(null==o)return""+o;const t=o.indexOf("\n");return-1===t?o:o.substring(0,t)}function zl(n,o){return null==n||""===n?null===o?"":o:null==o||""===o?n:n+" "+o}const Se=gn({__forward_ref__:gn});function ee(n){return n.__forward_ref__=ee,n.toString=function(){return Qn(this())},n}function _e(n){return ke(n)?n():n}function ke(n){return"function"==typeof n&&n.hasOwnProperty(Se)&&n.__forward_ref__===ee}function St(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function mn(n){return{providers:n.providers||[],imports:n.imports||[]}}function Fc(n){return Su(n,Uc)||Su(n,Hf)}function Su(n,o){return n.hasOwnProperty(o)?n[o]:null}function sl(n){return n&&(n.hasOwnProperty(zc)||n.hasOwnProperty(U1))?n[zc]:null}const Uc=gn({\u0275prov:gn}),zc=gn({\u0275inj:gn}),Hf=gn({ngInjectableDef:gn}),U1=gn({ngInjectorDef:gn});class Pt{constructor(o,t){this._desc=o,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=St({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function mt(n){return n&&!!n.\u0275providers}const Rt=gn({\u0275cmp:gn}),Ut=gn({\u0275dir:gn}),Xt=gn({\u0275pipe:gn}),tn=gn({\u0275mod:gn}),Mn=gn({\u0275fac:gn}),Mo=gn({__NG_ELEMENT_ID__:gn}),br=gn({__NG_ENV_ID__:gn});function qt(n){return"string"==typeof n?n:null==n?"":String(n)}function V1(n,o){throw new Ve(-201,!1)}var Bn=function(n){return n[n.Default=0]="Default",n[n.Host=1]="Host",n[n.Self=2]="Self",n[n.SkipSelf=4]="SkipSelf",n[n.Optional=8]="Optional",n}(Bn||{});let H1;function FS(){return H1}function Ui(n){const o=H1;return H1=n,o}function BS(n,o,t){const r=Fc(n);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:t&Bn.Optional?null:void 0!==o?o:void V1()}const Cu={},j1="__NG_DI_FLAG__",Gf="ngTempTokenPath",OM=/\n/gm,US="__source";let Vc;function al(n){const o=Vc;return Vc=n,o}function LM(n,o=Bn.Default){if(void 0===Vc)throw new Ve(-203,!1);return null===Vc?BS(n,void 0,o):Vc.get(n,o&Bn.Optional?null:void 0,o)}function Tt(n,o=Bn.Default){return(FS()||LM)(_e(n),o)}function rt(n,o=Bn.Default){return Tt(n,Wf(o))}function Wf(n){return typeof n>"u"||"number"==typeof n?n:(n.optional&&8)|(n.host&&1)|(n.self&&2)|(n.skipSelf&&4)}function G1(n){const o=[];for(let t=0;t<n.length;t++){const r=_e(n[t]);if(Array.isArray(r)){if(0===r.length)throw new Ve(900,!1);let i,s=Bn.Default;for(let u=0;u<r.length;u++){const p=r[u],m=FM(p);"number"==typeof m?-1===m?i=p.token:s|=m:i=p}o.push(Tt(i,s))}else o.push(Tt(r))}return o}function Tu(n,o){return n[j1]=o,n.prototype[j1]=o,n}function FM(n){return n[j1]}const qf=Tu(si("Optional"),8),Yf=Tu(si("SkipSelf"),4);function Vl(n,o){return n.hasOwnProperty(Mn)?n[Mn]:null}function Hc(n,o){n.forEach(t=>Array.isArray(t)?Hc(t,o):o(t))}function VS(n,o,t){o>=n.length?n.push(t):n.splice(o,0,t)}function Kf(n,o){return o>=n.length-1?n.pop():n.splice(o,1)[0]}function es(n,o,t){let r=jc(n,o);return r>=0?n[1|r]=t:(r=~r,function HS(n,o,t,r){let i=n.length;if(i==o)n.push(t,r);else if(1===i)n.push(r,n[0]),n[0]=t;else{for(i--,n.push(n[i-1],n[i]);i>o;)n[i]=n[i-2],i--;n[o]=t,n[o+1]=r}}(n,r,o,t)),r}function q1(n,o){const t=jc(n,o);if(t>=0)return n[1|t]}function jc(n,o){return function jS(n,o,t){let r=0,i=n.length>>t;for(;i!==r;){const s=r+(i-r>>1),u=n[s<<t];if(o===u)return s<<t;u>o?i=s:r=s+1}return~(i<<t)}(n,o,1)}const sa={},to=[],aa=new Pt(""),GS=new Pt("",-1),Y1=new Pt("");class Zf{get(o,t=Cu){if(t===Cu){const r=new Error(`NullInjectorError: No provider for ${Qn(o)}!`);throw r.name="NullInjectorError",r}return t}}var Qf=function(n){return n[n.OnPush=0]="OnPush",n[n.Default=1]="Default",n}(Qf||{}),Ns=function(n){return n[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom",n}(Ns||{}),ll=function(n){return n[n.None=0]="None",n[n.SignalBased=1]="SignalBased",n[n.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",n}(ll||{});function GM(n,o,t){let r=n.length;for(;;){const i=n.indexOf(o,t);if(-1===i)return i;if(0===i||n.charCodeAt(i-1)<=32){const s=o.length;if(i+s===r||n.charCodeAt(i+s)<=32)return i}t=i+1}}function K1(n,o,t){let r=0;for(;r<t.length;){const i=t[r];if("number"==typeof i){if(0!==i)break;r++;const s=t[r++],u=t[r++],p=t[r++];n.setAttribute(o,u,p,s)}else{const s=i,u=t[++r];qS(s)?n.setProperty(o,s,u):n.setAttribute(o,s,u),r++}}return r}function WS(n){return 3===n||4===n||6===n}function qS(n){return 64===n.charCodeAt(0)}function wu(n,o){if(null!==o&&0!==o.length)if(null===n||0===n.length)n=o.slice();else{let t=-1;for(let r=0;r<o.length;r++){const i=o[r];"number"==typeof i?t=i:0===t||YS(n,t,i,null,-1===t||2===t?o[++r]:null)}}return n}function YS(n,o,t,r,i){let s=0,u=n.length;if(-1===o)u=-1;else for(;s<n.length;){const p=n[s++];if("number"==typeof p){if(p===o){u=-1;break}if(p>o){u=s-1;break}}}for(;s<n.length;){const p=n[s];if("number"==typeof p)break;if(p===t){if(null===r)return void(null!==i&&(n[s+1]=i));if(r===n[s+1])return void(n[s+2]=i)}s++,null!==r&&s++,null!==i&&s++}-1!==u&&(n.splice(u,0,o),s=u+1),n.splice(s++,0,t),null!==r&&n.splice(s++,0,r),null!==i&&n.splice(s++,0,i)}const KS="ng-template";function WM(n,o,t,r){let i=0;if(r){for(;i<o.length&&"string"==typeof o[i];i+=2)if("class"===o[i]&&-1!==GM(o[i+1].toLowerCase(),t,0))return!0}else if(X1(n))return!1;if(i=o.indexOf(1,i),i>-1){let s;for(;++i<o.length&&"string"==typeof(s=o[i]);)if(s.toLowerCase()===t)return!0}return!1}function X1(n){return 4===n.type&&n.value!==KS}function qM(n,o,t){return o===(4!==n.type||t?n.value:KS)}function YM(n,o,t){let r=4;const i=n.attrs,s=null!==i?function ZM(n){for(let o=0;o<n.length;o++)if(WS(n[o]))return o;return n.length}(i):0;let u=!1;for(let p=0;p<o.length;p++){const m=o[p];if("number"!=typeof m){if(!u)if(4&r){if(r=2|1&r,""!==m&&!qM(n,m,t)||""===m&&1===o.length){if(xs(r))return!1;u=!0}}else if(8&r){if(null===i||!WM(n,i,m,t)){if(xs(r))return!1;u=!0}}else{const v=o[++p],S=KM(m,i,X1(n),t);if(-1===S){if(xs(r))return!1;u=!0;continue}if(""!==v){let T;if(T=S>s?"":i[S+1].toLowerCase(),2&r&&v!==T){if(xs(r))return!1;u=!0}}}}else{if(!u&&!xs(r)&&!xs(m))return!1;if(u&&xs(m))continue;u=!1,r=m|1&r}}return xs(r)||u}function xs(n){return!(1&n)}function KM(n,o,t,r){if(null===o)return-1;let i=0;if(r||!t){let s=!1;for(;i<o.length;){const u=o[i];if(u===n)return i;if(3===u||6===u)s=!0;else{if(1===u||2===u){let p=o[++i];for(;"string"==typeof p;)p=o[++i];continue}if(4===u)break;if(0===u){i+=4;continue}}i+=s?1:2}return-1}return function QM(n,o){let t=n.indexOf(4);if(t>-1)for(t++;t<n.length;){const r=n[t];if("number"==typeof r)return-1;if(r===o)return t;t++}return-1}(o,n)}function XS(n,o,t=!1){for(let r=0;r<o.length;r++)if(YM(n,o[r],t))return!0;return!1}function JM(n,o){e:for(let t=0;t<o.length;t++){const r=o[t];if(n.length===r.length){for(let i=0;i<n.length;i++)if(n[i]!==r[i])continue e;return!0}}return!1}function ZS(n,o){return n?":not("+o.trim()+")":o}function e$(n){let o=n[0],t=1,r=2,i="",s=!1;for(;t<n.length;){let u=n[t];if("string"==typeof u)if(2&r){const p=n[++t];i+="["+u+(p.length>0?'="'+p+'"':"")+"]"}else 8&r?i+="."+u:4&r&&(i+=" "+u);else""!==i&&!xs(u)&&(o+=ZS(s,i),i=""),r=u,s=s||!xs(r);t++}return""!==i&&(o+=ZS(s,i)),o}function je(n){return ii(()=>{const o=JS(n),t={...o,decls:n.decls,vars:n.vars,template:n.template,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,onPush:n.changeDetection===Qf.OnPush,directiveDefs:null,pipeDefs:null,dependencies:o.standalone&&n.dependencies||null,getStandaloneInjector:null,signals:n.signals??!1,data:n.data||{},encapsulation:n.encapsulation||Ns.Emulated,styles:n.styles||to,_:null,schemas:n.schemas||null,tView:null,id:""};e4(t);const r=n.dependencies;return t.directiveDefs=Jf(r,!1),t.pipeDefs=Jf(r,!0),t.id=function s$(n){let o=0;const t=[n.selectors,n.ngContentSelectors,n.hostVars,n.hostAttrs,n.consts,n.vars,n.decls,n.encapsulation,n.standalone,n.signals,n.exportAs,JSON.stringify(n.inputs),JSON.stringify(n.outputs),Object.getOwnPropertyNames(n.type.prototype),!!n.contentQueries,!!n.viewQuery].join("|");for(const i of t)o=Math.imul(31,o)+i.charCodeAt(0)|0;return o+=2147483648,"c"+o}(t),t})}function o$(n){return Rn(n)||Ur(n)}function r$(n){return null!==n}function bn(n){return ii(()=>({type:n.type,bootstrap:n.bootstrap||to,declarations:n.declarations||to,imports:n.imports||to,exports:n.exports||to,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null}))}function QS(n,o){if(null==n)return sa;const t={};for(const r in n)if(n.hasOwnProperty(r)){const i=n[r];let s,u,p=ll.None;Array.isArray(i)?(p=i[0],s=i[1],u=i[2]??s):(s=i,u=i),o?(t[s]=p!==ll.None?[r,p]:r,o[s]=u):t[s]=r}return t}function Yt(n){return ii(()=>{const o=JS(n);return e4(o),o})}function Vi(n){return{type:n.type,name:n.name,factory:null,pure:!1!==n.pure,standalone:!0===n.standalone,onDestroy:n.type.prototype.ngOnDestroy||null}}function Rn(n){return n[Rt]||null}function Ur(n){return n[Ut]||null}function ai(n){return n[Xt]||null}function mi(n,o){const t=n[tn]||null;if(!t&&!0===o)throw new Error(`Type ${Qn(n)} does not have '\u0275mod' property.`);return t}function JS(n){const o={};return{type:n.type,providersResolver:null,factory:null,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:o,inputTransforms:null,inputConfig:n.inputs||sa,exportAs:n.exportAs||null,standalone:!0===n.standalone,signals:!0===n.signals,selectors:n.selectors||to,viewQuery:n.viewQuery||null,features:n.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:QS(n.inputs,o),outputs:QS(n.outputs),debugInfo:null}}function e4(n){n.features?.forEach(o=>o(n))}function Jf(n,o){if(!n)return null;const t=o?ai:o$;return()=>("function"==typeof n?n():n).map(r=>t(r)).filter(r$)}function a$(...n){return{\u0275providers:Z1(0,n),\u0275fromNgModule:!0}}function Z1(n,...o){const t=[],r=new Set;let i;const s=u=>{t.push(u)};return Hc(o,u=>{const p=u;ep(p,s,[],r)&&(i||=[],i.push(p))}),void 0!==i&&t4(i,s),t}function t4(n,o){for(let t=0;t<n.length;t++){const{ngModule:r,providers:i}=n[t];Q1(i,s=>{o(s,r)})}}function ep(n,o,t,r){if(!(n=_e(n)))return!1;let i=null,s=sl(n);const u=!s&&Rn(n);if(s||u){if(u&&!u.standalone)return!1;i=n}else{const m=n.ngModule;if(s=sl(m),!s)return!1;i=m}const p=r.has(i);if(u){if(p)return!1;if(r.add(i),u.dependencies){const m="function"==typeof u.dependencies?u.dependencies():u.dependencies;for(const v of m)ep(v,o,t,r)}}else{if(!s)return!1;{if(null!=s.imports&&!p){let v;r.add(i);try{Hc(s.imports,S=>{ep(S,o,t,r)&&(v||=[],v.push(S))})}finally{}void 0!==v&&t4(v,o)}if(!p){const v=Vl(i)||(()=>new i);o({provide:i,useFactory:v,deps:to},i),o({provide:Y1,useValue:i,multi:!0},i),o({provide:aa,useValue:()=>Tt(i),multi:!0},i)}const m=s.providers;if(null!=m&&!p){const v=n;Q1(m,S=>{o(S,v)})}}}return i!==n&&void 0!==n.providers}function Q1(n,o){for(let t of n)mt(t)&&(t=t.\u0275providers),Array.isArray(t)?Q1(t,o):o(t)}const l$=gn({provide:String,useValue:gn});function J1(n){return null!==n&&"object"==typeof n&&l$ in n}function Hl(n){return"function"==typeof n}const e0=new Pt(""),tp={},d$={};let t0;function np(){return void 0===t0&&(t0=new Zf),t0}class $r{}class Gc extends $r{get destroyed(){return this._destroyed}constructor(o,t,r,i){super(),this.parent=t,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,o0(o,u=>this.processProvider(u)),this.records.set(GS,Wc(void 0,this)),i.has("environment")&&this.records.set($r,Wc(void 0,this));const s=this.records.get(e0);null!=s&&"string"==typeof s.value&&this.scopes.add(s.value),this.injectorDefTypes=new Set(this.get(Y1,to,Bn.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const o=Z(null);try{for(const r of this._ngOnDestroyHooks)r.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const r of t)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),Z(o)}}onDestroy(o){return this.assertNotDestroyed(),this._onDestroyHooks.push(o),()=>this.removeOnDestroy(o)}runInContext(o){this.assertNotDestroyed();const t=al(this),r=Ui(void 0);try{return o()}finally{al(t),Ui(r)}}get(o,t=Cu,r=Bn.Default){if(this.assertNotDestroyed(),o.hasOwnProperty(br))return o[br](this);r=Wf(r);const s=al(this),u=Ui(void 0);try{if(!(r&Bn.SkipSelf)){let m=this.records.get(o);if(void 0===m){const v=function h$(n){return"function"==typeof n||"object"==typeof n&&n instanceof Pt}(o)&&Fc(o);m=v&&this.injectableDefInScope(v)?Wc(n0(o),tp):null,this.records.set(o,m)}if(null!=m)return this.hydrate(o,m)}return(r&Bn.Self?np():this.parent).get(o,t=r&Bn.Optional&&t===Cu?null:t)}catch(p){if("NullInjectorError"===p.name){if((p[Gf]=p[Gf]||[]).unshift(Qn(o)),s)throw p;return function BM(n,o,t,r){const i=n[Gf];throw o[US]&&i.unshift(o[US]),n.message=function UM(n,o,t,r=null){n=n&&"\n"===n.charAt(0)&&"\u0275"==n.charAt(1)?n.slice(2):n;let i=Qn(o);if(Array.isArray(o))i=o.map(Qn).join(" -> ");else if("object"==typeof o){let s=[];for(let u in o)if(o.hasOwnProperty(u)){let p=o[u];s.push(u+":"+("string"==typeof p?JSON.stringify(p):Qn(p)))}i=`{${s.join(", ")}}`}return`${t}${r?"("+r+")":""}[${i}]: ${n.replace(OM,"\n  ")}`}("\n"+n.message,i,t,r),n.ngTokenPath=i,n[Gf]=null,n}(p,o,"R3InjectorError",this.source)}throw p}finally{Ui(u),al(s)}}resolveInjectorInitializers(){const o=Z(null),t=al(this),r=Ui(void 0);try{const s=this.get(aa,to,Bn.Self);for(const u of s)u()}finally{al(t),Ui(r),Z(o)}}toString(){const o=[],t=this.records;for(const r of t.keys())o.push(Qn(r));return`R3Injector[${o.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Ve(205,!1)}processProvider(o){let t=Hl(o=_e(o))?o:_e(o&&o.provide);const r=function g$(n){return J1(n)?Wc(void 0,n.useValue):Wc(r4(n),tp)}(o);if(!Hl(o)&&!0===o.multi){let i=this.records.get(t);i||(i=Wc(void 0,tp,!0),i.factory=()=>G1(i.multi),this.records.set(t,i)),t=o,i.multi.push(o)}this.records.set(t,r)}hydrate(o,t){const r=Z(null);try{return t.value===tp&&(t.value=d$,t.value=t.factory()),"object"==typeof t.value&&t.value&&function p$(n){return null!==n&&"object"==typeof n&&"function"==typeof n.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{Z(r)}}injectableDefInScope(o){if(!o.providedIn)return!1;const t=_e(o.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(o){const t=this._onDestroyHooks.indexOf(o);-1!==t&&this._onDestroyHooks.splice(t,1)}}function n0(n){const o=Fc(n),t=null!==o?o.factory:Vl(n);if(null!==t)return t;if(n instanceof Pt)throw new Ve(204,!1);if(n instanceof Function)return function u$(n){if(n.length>0)throw new Ve(204,!1);const t=function Bc(n){return n&&(n[Uc]||n[Hf])||null}(n);return null!==t?()=>t.factory(n):()=>new n}(n);throw new Ve(204,!1)}function r4(n,o,t){let r;if(Hl(n)){const i=_e(n);return Vl(i)||n0(i)}if(J1(n))r=()=>_e(n.useValue);else if(function o4(n){return!(!n||!n.useFactory)}(n))r=()=>n.useFactory(...G1(n.deps||[]));else if(function n4(n){return!(!n||!n.useExisting)}(n))r=()=>Tt(_e(n.useExisting));else{const i=_e(n&&(n.useClass||n.provide));if(!function f$(n){return!!n.deps}(n))return Vl(i)||n0(i);r=()=>new i(...G1(n.deps))}return r}function Wc(n,o,t=!1){return{factory:n,value:o,multi:t?[]:void 0}}function o0(n,o){for(const t of n)Array.isArray(t)?o0(t,o):t&&mt(t)?o0(t.\u0275providers,o):o(t)}function la(n,o){n instanceof Gc&&n.assertNotDestroyed();const r=al(n),i=Ui(void 0);try{return o()}finally{al(r),Ui(i)}}function i4(){return void 0!==FS()||null!=function RM(){return Vc}()}const Yo=0,Et=1,nn=2,Ar=3,Os=4,li=5,Ti=6,Yc=7,Oo=8,Nr=9,ca=10,fn=11,Du=12,a4=13,Kc=14,Ko=15,jl=16,Xc=17,Ra=18,Zc=19,l4=20,dl=21,rp=22,ms=23,Qt=25,a0=1,da=7,Qc=9,Sr=10;var sp=function(n){return n[n.None=0]="None",n[n.HasTransplantedViews=2]="HasTransplantedViews",n}(sp||{});function Vr(n){return Array.isArray(n)&&"object"==typeof n[a0]}function _i(n){return Array.isArray(n)&&!0===n[a0]}function l0(n){return!!(4&n.flags)}function Gl(n){return n.componentOffset>-1}function ap(n){return!(1&~n.flags)}function ks(n){return!!n.template}function Mu(n){return!!(512&n[nn])}class D${constructor(o,t,r){this.previousValue=o,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}}function f4(n,o,t,r){null!==o?o.applyValueToInputSignal(o,r):n[t]=r}function wi(){return p4}function p4(n){return n.type.prototype.ngOnChanges&&(n.setInput=M$),P$}function P$(){const n=m4(this),o=n?.current;if(o){const t=n.previous;if(t===sa)n.previous=o;else for(let r in o)t[r]=o[r];n.current=null,this.ngOnChanges(o)}}function M$(n,o,t,r,i){const s=this.declaredInputs[r],u=m4(n)||function $$(n,o){return n[h4]=o}(n,{previous:sa,current:null}),p=u.current||(u.current={}),m=u.previous,v=m[s];p[s]=new D$(v&&v.currentValue,t,m===sa),f4(n,o,i,t)}wi.ngInherit=!0;const h4="__ngSimpleChanges__";function m4(n){return n[h4]||null}const ua=function(n,o,t){};function no(n){for(;Array.isArray(n);)n=n[Yo];return n}function $u(n,o){return no(o[n])}function Ei(n,o){return no(o[n.index])}function Au(n,o){return n.data[o]}function Wl(n,o){return n[o]}function ts(n,o){const t=o[n];return Vr(t)?t:t[Yo]}function f0(n){return!(128&~n[nn])}function _s(n,o){return null==o?null:n[o]}function y4(n){n[Xc]=0}function b4(n){1024&n[nn]||(n[nn]|=1024,f0(n)&&cp(n))}function lp(n){return!!(9216&n[nn]||n[ms]?.dirty)}function p0(n){n[ca].changeDetectionScheduler?.notify(8),64&n[nn]&&(n[nn]|=1024),lp(n)&&cp(n)}function cp(n){n[ca].changeDetectionScheduler?.notify(0);let o=La(n);for(;null!==o&&!(8192&o[nn])&&(o[nn]|=8192,f0(o));)o=La(o)}function dp(n,o){if(!(256&~n[nn]))throw new Ve(911,!1);null===n[dl]&&(n[dl]=[]),n[dl].push(o)}function La(n){const o=n[Ar];return _i(o)?o[Ar]:o}const pn={lFrame:x4(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let C4=!1;function T4(){return pn.bindingsEnabled}function ql(){return null!==pn.skipHydrationRootTNode}function it(){return pn.lFrame.lView}function On(){return pn.lFrame.tView}function le(n){return pn.lFrame.contextLView=n,n[Oo]}function ce(n){return pn.lFrame.contextLView=null,n}function So(){let n=w4();for(;null!==n&&64===n.type;)n=n.parent;return n}function w4(){return pn.lFrame.currentTNode}function Rs(n,o){const t=pn.lFrame;t.currentTNode=n,t.isParent=o}function _0(){return pn.lFrame.isParent}function v0(){pn.lFrame.isParent=!1}function D4(){return C4}function P4(n){C4=n}function Ii(){const n=pn.lFrame;let o=n.bindingRootIndex;return-1===o&&(o=n.bindingRootIndex=n.tView.bindingStartIndex),o}function Fa(){return pn.lFrame.bindingIndex}function Ls(){return pn.lFrame.bindingIndex++}function Ba(n){const o=pn.lFrame,t=o.bindingIndex;return o.bindingIndex=o.bindingIndex+n,t}function j$(n,o){const t=pn.lFrame;t.bindingIndex=t.bindingRootIndex=n,y0(o)}function y0(n){pn.lFrame.currentDirectiveIndex=n}function S0(){return pn.lFrame.currentQueryIndex}function gp(n){pn.lFrame.currentQueryIndex=n}function W$(n){const o=n[Et];return 2===o.type?o.declTNode:1===o.type?n[li]:null}function A4(n,o,t){if(t&Bn.SkipSelf){let i=o,s=n;for(;!(i=i.parent,null!==i||t&Bn.Host||(i=W$(s),null===i||(s=s[Kc],10&i.type))););if(null===i)return!1;o=i,n=s}const r=pn.lFrame=N4();return r.currentTNode=o,r.lView=n,!0}function C0(n){const o=N4(),t=n[Et];pn.lFrame=o,o.currentTNode=t.firstChild,o.lView=n,o.tView=t,o.contextLView=n,o.bindingIndex=t.bindingStartIndex,o.inI18n=!1}function N4(){const n=pn.lFrame,o=null===n?null:n.child;return null===o?x4(n):o}function x4(n){const o={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:n,child:null,inI18n:!1};return null!==n&&(n.child=o),o}function O4(){const n=pn.lFrame;return pn.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}const k4=O4;function T0(){const n=O4();n.isParent=!0,n.tView=null,n.selectedIndex=-1,n.contextLView=null,n.elementDepthCount=0,n.currentDirectiveIndex=-1,n.currentNamespace=null,n.bindingRootIndex=-1,n.bindingIndex=-1,n.currentQueryIndex=0}function ci(){return pn.lFrame.selectedIndex}function Yl(n){pn.lFrame.selectedIndex=n}function ko(){const n=pn.lFrame;return Au(n.tView,n.selectedIndex)}let L4=!0;function xu(){return L4}function ga(n){L4=n}function fp(n,o){for(let t=o.directiveStart,r=o.directiveEnd;t<r;t++){const s=n.data[t].type.prototype,{ngAfterContentInit:u,ngAfterContentChecked:p,ngAfterViewInit:m,ngAfterViewChecked:v,ngOnDestroy:S}=s;u&&(n.contentHooks??=[]).push(-t,u),p&&((n.contentHooks??=[]).push(t,p),(n.contentCheckHooks??=[]).push(t,p)),m&&(n.viewHooks??=[]).push(-t,m),v&&((n.viewHooks??=[]).push(t,v),(n.viewCheckHooks??=[]).push(t,v)),null!=S&&(n.destroyHooks??=[]).push(t,S)}}function pp(n,o,t){F4(n,o,3,t)}function hp(n,o,t,r){(3&n[nn])===t&&F4(n,o,t,r)}function w0(n,o){let t=n[nn];(3&t)===o&&(t&=16383,t+=1,n[nn]=t)}function F4(n,o,t,r){const s=r??-1,u=o.length-1;let p=0;for(let m=void 0!==r?65535&n[Xc]:0;m<u;m++)if("number"==typeof o[m+1]){if(p=o[m],null!=r&&p>=r)break}else o[m]<0&&(n[Xc]+=65536),(p<s||-1==s)&&(J$(n,t,o,m),n[Xc]=(4294901760&n[Xc])+m+2),m++}function B4(n,o){ua(4,n,o);const t=Z(null);try{o.call(n)}finally{Z(t),ua(5,n,o)}}function J$(n,o,t,r){const i=t[r]<0,s=t[r+1],p=n[i?-t[r]:t[r]];i?n[nn]>>14<n[Xc]>>16&&(3&n[nn])===o&&(n[nn]+=16384,B4(p,s)):B4(p,s)}const Jc=-1;class Ou{constructor(o,t,r){this.factory=o,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=r}}const I0={};class Kl{constructor(o,t){this.injector=o,this.parentInjector=t}get(o,t,r){r=Wf(r);const i=this.injector.get(o,I0,r);return i!==I0||t===I0?i:this.parentInjector.get(o,t,r)}}function D0(n){return n!==Jc}function ku(n){return 32767&n}function Ru(n,o){let t=function rA(n){return n>>16}(n),r=o;for(;t>0;)r=r[Kc],t--;return r}let P0=!0;function mp(n){const o=P0;return P0=n,o}const z4=255,V4=5;let sA=0;const fa={};function _p(n,o){const t=H4(n,o);if(-1!==t)return t;const r=o[Et];r.firstCreatePass&&(n.injectorIndex=o.length,M0(r.data,n),M0(o,null),M0(r.blueprint,null));const i=vp(n,o),s=n.injectorIndex;if(D0(i)){const u=ku(i),p=Ru(i,o),m=p[Et].data;for(let v=0;v<8;v++)o[s+v]=p[u+v]|m[u+v]}return o[s+8]=i,s}function M0(n,o){n.push(0,0,0,0,0,0,0,0,o)}function H4(n,o){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===o[n.injectorIndex+8]?-1:n.injectorIndex}function vp(n,o){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;let t=0,r=null,i=o;for(;null!==i;){if(r=X4(i),null===r)return Jc;if(t++,i=i[Kc],-1!==r.injectorIndex)return r.injectorIndex|t<<16}return Jc}function $0(n,o,t){!function aA(n,o,t){let r;"string"==typeof t?r=t.charCodeAt(0)||0:t.hasOwnProperty(Mo)&&(r=t[Mo]),null==r&&(r=t[Mo]=sA++);const i=r&z4;o.data[n+(i>>V4)]|=1<<i}(n,o,t)}function j4(n,o,t){if(t&Bn.Optional||void 0!==n)return n;V1()}function G4(n,o,t,r){if(t&Bn.Optional&&void 0===r&&(r=null),!(t&(Bn.Self|Bn.Host))){const i=n[Nr],s=Ui(void 0);try{return i?i.get(o,r,t&Bn.Optional):BS(o,r,t&Bn.Optional)}finally{Ui(s)}}return j4(r,0,t)}function W4(n,o,t,r=Bn.Default,i){if(null!==n){if(2048&o[nn]&&!(r&Bn.Self)){const u=function gA(n,o,t,r,i){let s=n,u=o;for(;null!==s&&null!==u&&2048&u[nn]&&!(512&u[nn]);){const p=q4(s,u,t,r|Bn.Self,fa);if(p!==fa)return p;let m=s.parent;if(!m){const v=u[l4];if(v){const S=v.get(t,fa,r);if(S!==fa)return S}m=X4(u),u=u[Kc]}s=m}return i}(n,o,t,r,fa);if(u!==fa)return u}const s=q4(n,o,t,r,fa);if(s!==fa)return s}return G4(o,t,r,i)}function q4(n,o,t,r,i){const s=function dA(n){if("string"==typeof n)return n.charCodeAt(0)||0;const o=n.hasOwnProperty(Mo)?n[Mo]:void 0;return"number"==typeof o?o>=0?o&z4:uA:o}(t);if("function"==typeof s){if(!A4(o,n,r))return r&Bn.Host?j4(i,0,r):G4(o,t,r,i);try{let u;if(u=s(r),null!=u||r&Bn.Optional)return u;V1()}finally{k4()}}else if("number"==typeof s){let u=null,p=H4(n,o),m=Jc,v=r&Bn.Host?o[Ko][li]:null;for((-1===p||r&Bn.SkipSelf)&&(m=-1===p?vp(n,o):o[p+8],m!==Jc&&K4(r,!1)?(u=o[Et],p=ku(m),o=Ru(m,o)):p=-1);-1!==p;){const S=o[Et];if(Y4(s,p,S.data)){const T=cA(p,o,t,u,r,v);if(T!==fa)return T}m=o[p+8],m!==Jc&&K4(r,o[Et].data[p+8]===v)&&Y4(s,p,o)?(u=S,p=ku(m),o=Ru(m,o)):p=-1}}return i}function cA(n,o,t,r,i,s){const u=o[Et],p=u.data[n+8],S=yp(p,u,t,null==r?Gl(p)&&P0:r!=u&&!!(3&p.type),i&Bn.Host&&s===p);return null!==S?Xl(o,u,S,p):fa}function yp(n,o,t,r,i){const s=n.providerIndexes,u=o.data,p=1048575&s,m=n.directiveStart,S=s>>20,D=i?p+S:n.directiveEnd;for(let $=r?p:p+S;$<D;$++){const x=u[$];if($<m&&t===x||$>=m&&x.type===t)return $}if(i){const $=u[m];if($&&ks($)&&$.type===t)return m}return null}function Xl(n,o,t,r){let i=n[t];const s=o.data;if(function eA(n){return n instanceof Ou}(i)){const u=i;u.resolving&&function AM(n,o){throw o&&o.join(" > "),new Ve(-200,n)}(function ln(n){return"function"==typeof n?n.name||n.toString():"object"==typeof n&&null!=n&&"function"==typeof n.type?n.type.name||n.type.toString():qt(n)}(s[t]));const p=mp(u.canSeeViewProviders);u.resolving=!0;const v=u.injectImpl?Ui(u.injectImpl):null;A4(n,r,Bn.Default);try{i=n[t]=u.factory(void 0,s,n,r),o.firstCreatePass&&t>=r.directiveStart&&function Q$(n,o,t){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:s}=o.type.prototype;if(r){const u=p4(o);(t.preOrderHooks??=[]).push(n,u),(t.preOrderCheckHooks??=[]).push(n,u)}i&&(t.preOrderHooks??=[]).push(0-n,i),s&&((t.preOrderHooks??=[]).push(n,s),(t.preOrderCheckHooks??=[]).push(n,s))}(t,s[t],o)}finally{null!==v&&Ui(v),mp(p),u.resolving=!1,k4()}}return i}function Y4(n,o,t){return!!(t[o+(n>>V4)]&1<<n)}function K4(n,o){return!(n&Bn.Self||n&Bn.Host&&o)}class Hr{constructor(o,t){this._tNode=o,this._lView=t}get(o,t,r){return W4(this._tNode,this._lView,o,Wf(r),t)}}function uA(){return new Hr(So(),it())}function jo(n){return ii(()=>{const o=n.prototype.constructor,t=o[Mn]||A0(o),r=Object.prototype;let i=Object.getPrototypeOf(n.prototype).constructor;for(;i&&i!==r;){const s=i[Mn]||A0(i);if(s&&s!==t)return s;i=Object.getPrototypeOf(i)}return s=>new s})}function A0(n){return ke(n)?()=>{const o=A0(_e(n));return o&&o()}:Vl(n)}function X4(n){const o=n[Et],t=o.type;return 2===t?o.declTNode:1===t?n[li]:null}function Ua(n){return function lA(n,o){if("class"===o)return n.classes;if("style"===o)return n.styles;const t=n.attrs;if(t){const r=t.length;let i=0;for(;i<r;){const s=t[i];if(WS(s))break;if(0===s)i+=2;else if("number"==typeof s)for(i++;i<r&&"string"==typeof t[i];)i++;else{if(s===o)return t[i+1];i+=2}}}return null}(So(),n)}function tC(n,o=null,t=null,r){const i=nC(n,o,t,r);return i.resolveInjectorInitializers(),i}function nC(n,o=null,t=null,r,i=new Set){const s=[t||to,a$(n)];return r=r||("object"==typeof n?void 0:Qn(n)),new Gc(s,o||np(),r||null,i)}class Ht{static{this.THROW_IF_NOT_FOUND=Cu}static{this.NULL=new Zf}static create(o,t){if(Array.isArray(o))return tC({name:""},t,o,"");{const r=o.name??"";return tC({name:r},o.parent,o.providers,r)}}static{this.\u0275prov=St({token:Ht,providedIn:"any",factory:()=>Tt(GS)})}static{this.__NG_ELEMENT_ID__=-1}}new Pt("").__NG_ELEMENT_ID__=n=>{const o=So();if(null===o)throw new Ve(204,!1);if(2&o.type)return o.value;if(n&Bn.Optional)return null;throw new Ve(204,!1)};function x0(n){return n.ngOriginalError}const rC=!0;let Lu=(()=>{class n{static{this.__NG_ELEMENT_ID__=CA}static{this.__NG_ENV_ID__=t=>t}}return n})();class SA extends Lu{constructor(o){super(),this._lView=o}onDestroy(o){return dp(this._lView,o),()=>function h0(n,o){if(null===n[dl])return;const t=n[dl].indexOf(o);-1!==t&&n[dl].splice(t,1)}(this._lView,o)}}function CA(){return new SA(it())}let za=(()=>{class n{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new or(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const t=this.taskId++;return this.pendingTasks.add(t),t}remove(t){this.pendingTasks.delete(t),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static{this.\u0275prov=St({token:n,providedIn:"root",factory:()=>new n})}}return n})();const $n=class TA extends Ho{constructor(o=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=o,i4()&&(this.destroyRef=rt(Lu,{optional:!0})??void 0,this.pendingTasks=rt(za,{optional:!0})??void 0)}emit(o){const t=Z(null);try{super.next(o)}finally{Z(t)}}subscribe(o,t,r){let i=o,s=t||(()=>null),u=r;if(o&&"object"==typeof o){const m=o;i=m.next?.bind(m),s=m.error?.bind(m),u=m.complete?.bind(m)}this.__isAsync&&(s=this.wrapInTimeout(s),i&&(i=this.wrapInTimeout(i)),u&&(u=this.wrapInTimeout(u)));const p=super.subscribe({next:i,error:s,complete:u});return o instanceof Wt&&o.add(p),p}wrapInTimeout(o){return t=>{const r=this.pendingTasks?.add();setTimeout(()=>{o(t),void 0!==r&&this.pendingTasks?.remove(r)})}}};function Sp(...n){}function iC(n){let o,t;function r(){n=Sp;try{void 0!==t&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(t),void 0!==o&&clearTimeout(o)}catch{}}return o=setTimeout(()=>{n(),r()}),"function"==typeof requestAnimationFrame&&(t=requestAnimationFrame(()=>{n(),r()})),()=>r()}function sC(n){return queueMicrotask(()=>n()),()=>{n=Sp}}const O0="isAngularZone",Cp=O0+"_ID";let wA=0;class dt{constructor(o){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new $n(!1),this.onMicrotaskEmpty=new $n(!1),this.onStable=new $n(!1),this.onError=new $n(!1);const{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:s=rC}=o;if(typeof Zone>"u")throw new Ve(908,!1);Zone.assertZonePatched();const u=this;u._nesting=0,u._outer=u._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(u._inner=u._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(u._inner=u._inner.fork(Zone.longStackTraceZoneSpec)),u.shouldCoalesceEventChangeDetection=!i&&r,u.shouldCoalesceRunChangeDetection=i,u.callbackScheduled=!1,u.scheduleInRootZone=s,function DA(n){const o=()=>{!function IA(n){function o(){iC(()=>{n.callbackScheduled=!1,R0(n),n.isCheckStableRunning=!0,k0(n),n.isCheckStableRunning=!1})}n.isCheckStableRunning||n.callbackScheduled||(n.callbackScheduled=!0,n.scheduleInRootZone?Zone.root.run(()=>{o()}):n._outer.run(()=>{o()}),R0(n))}(n)},t=wA++;n._inner=n._inner.fork({name:"angular",properties:{[O0]:!0,[Cp]:t,[Cp+t]:!0},onInvokeTask:(r,i,s,u,p,m)=>{if(function PA(n){return cC(n,"__ignore_ng_zone__")}(m))return r.invokeTask(s,u,p,m);try{return aC(n),r.invokeTask(s,u,p,m)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===u.type||n.shouldCoalesceRunChangeDetection)&&o(),lC(n)}},onInvoke:(r,i,s,u,p,m,v)=>{try{return aC(n),r.invoke(s,u,p,m,v)}finally{n.shouldCoalesceRunChangeDetection&&!n.callbackScheduled&&!function MA(n){return cC(n,"__scheduler_tick__")}(m)&&o(),lC(n)}},onHasTask:(r,i,s,u)=>{r.hasTask(s,u),i===s&&("microTask"==u.change?(n._hasPendingMicrotasks=u.microTask,R0(n),k0(n)):"macroTask"==u.change&&(n.hasPendingMacrotasks=u.macroTask))},onHandleError:(r,i,s,u)=>(r.handleError(s,u),n.runOutsideAngular(()=>n.onError.emit(u)),!1)})}(u)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(O0)}static assertInAngularZone(){if(!dt.isInAngularZone())throw new Ve(909,!1)}static assertNotInAngularZone(){if(dt.isInAngularZone())throw new Ve(909,!1)}run(o,t,r){return this._inner.run(o,t,r)}runTask(o,t,r,i){const s=this._inner,u=s.scheduleEventTask("NgZoneEvent: "+i,o,EA,Sp,Sp);try{return s.runTask(u,t,r)}finally{s.cancelTask(u)}}runGuarded(o,t,r){return this._inner.runGuarded(o,t,r)}runOutsideAngular(o){return this._outer.run(o)}}const EA={};function k0(n){if(0==n._nesting&&!n.hasPendingMicrotasks&&!n.isStable)try{n._nesting++,n.onMicrotaskEmpty.emit(null)}finally{if(n._nesting--,!n.hasPendingMicrotasks)try{n.runOutsideAngular(()=>n.onStable.emit(null))}finally{n.isStable=!0}}}function R0(n){n.hasPendingMicrotasks=!!(n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&!0===n.callbackScheduled)}function aC(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function lC(n){n._nesting--,k0(n)}class L0{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new $n,this.onMicrotaskEmpty=new $n,this.onStable=new $n,this.onError=new $n}run(o,t,r){return o.apply(t,r)}runGuarded(o,t,r){return o.apply(t,r)}runOutsideAngular(o){return o()}runTask(o,t,r,i){return o.apply(t,r)}}function cC(n,o){return!(!Array.isArray(n)||1!==n.length)&&!0===n[0]?.data?.[o]}class pa{constructor(){this._console=console}handleError(o){const t=this._findOriginalError(o);this._console.error("ERROR",o),t&&this._console.error("ORIGINAL ERROR",t)}_findOriginalError(o){let t=o&&x0(o);for(;t&&x0(t);)t=x0(t);return t||null}}const AA=new Pt("",{providedIn:"root",factory:()=>{const n=rt(dt),o=rt(pa);return t=>n.runOutsideAngular(()=>o.handleError(t))}});function NA(){return nd(So(),it())}function nd(n,o){return new _t(Ei(n,o))}let _t=(()=>{class n{constructor(t){this.nativeElement=t}static{this.__NG_ELEMENT_ID__=NA}}return n})();function uC(n){return n instanceof _t?n.nativeElement:n}function xA(){return this._results[Symbol.iterator]()}class F0{get changes(){return this._changes??=new $n}constructor(o=!1){this._emitDistinctChangesOnly=o,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const t=F0.prototype;t[Symbol.iterator]||(t[Symbol.iterator]=xA)}get(o){return this._results[o]}map(o){return this._results.map(o)}filter(o){return this._results.filter(o)}find(o){return this._results.find(o)}reduce(o,t){return this._results.reduce(o,t)}forEach(o){this._results.forEach(o)}some(o){return this._results.some(o)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(o,t){this.dirty=!1;const r=function zi(n){return n.flat(Number.POSITIVE_INFINITY)}(o);(this._changesDetected=!function jM(n,o,t){if(n.length!==o.length)return!1;for(let r=0;r<n.length;r++){let i=n[r],s=o[r];if(t&&(i=t(i),s=t(s)),s!==i)return!1}return!0}(this._results,r,t))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(o){this._onDirty=o}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}}function Bu(n){return!(128&~n.flags)}const U0=new Map;let kA=0;function z0(n){U0.delete(n[Zc])}const Tp="__ngContext__";function vi(n,o){Vr(o)?(n[Tp]=o[Zc],function LA(n){U0.set(n[Zc],n)}(o)):n[Tp]=o}function SC(n){return TC(n[Du])}function CC(n){return TC(n[Os])}function TC(n){for(;null!==n&&!_i(n);)n=n[Os];return n}let H0;function ul(){if(void 0!==H0)return H0;if(typeof document<"u")return document;throw new Ve(210,!1)}const rd=new Pt("",{providedIn:"root",factory:()=>eN}),eN="ng",AC=new Pt(""),ha=new Pt("",{providedIn:"platform",factory:()=>"unknown"}),NC=new Pt(""),xC=new Pt("",{providedIn:"root",factory:()=>ul().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let OC=()=>null;function X0(n,o,t=!1){return OC(n,o,t)}const VC=new Pt("",{providedIn:"root",factory:()=>!1});let Ap,Np;function ad(n){return function t_(){if(void 0===Ap&&(Ap=null,yt.trustedTypes))try{Ap=yt.trustedTypes.createPolicy("angular",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return Ap}()?.createHTML(n)||n}function GC(n){return function n_(){if(void 0===Np&&(Np=null,yt.trustedTypes))try{Np=yt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return Np}()?.createHTML(n)||n}class YC{constructor(o){this.changingThisBreaksApplicationSecurity=o}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${_r})`}}function gl(n){return n instanceof YC?n.changingThisBreaksApplicationSecurity:n}function Wu(n,o){const t=function yN(n){return n instanceof YC&&n.getTypeName()||null}(n);if(null!=t&&t!==o){if("ResourceURL"===t&&"URL"===o)return!0;throw new Error(`Required a safe ${o}, got a ${t} (see ${_r})`)}return t===o}class bN{constructor(o){this.inertDocumentHelper=o}getInertBodyElement(o){o="<body><remove></remove>"+o;try{const t=(new window.DOMParser).parseFromString(ad(o),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(o):(t.firstChild?.remove(),t)}catch{return null}}}class SN{constructor(o){this.defaultDoc=o,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(o){const t=this.inertDocument.createElement("template");return t.innerHTML=ad(o),t}}const TN=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function o_(n){return(n=String(n)).match(TN)?n:"unsafe:"+n}function Va(n){const o={};for(const t of n.split(","))o[t]=!0;return o}function qu(...n){const o={};for(const t of n)for(const r in t)t.hasOwnProperty(r)&&(o[r]=!0);return o}const XC=Va("area,br,col,hr,img,wbr"),ZC=Va("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),QC=Va("rp,rt"),r_=qu(XC,qu(ZC,Va("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),qu(QC,Va("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),qu(QC,ZC)),i_=Va("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),JC=qu(i_,Va("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Va("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),wN=Va("script,style,template");class EN{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(o){let t=o.firstChild,r=!0,i=[];for(;t;)if(t.nodeType===Node.ELEMENT_NODE?r=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,r&&t.firstChild)i.push(t),t=PN(t);else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let s=DN(t);if(s){t=s;break}t=i.pop()}return this.buf.join("")}startElement(o){const t=eT(o).toLowerCase();if(!r_.hasOwnProperty(t))return this.sanitizedSomething=!0,!wN.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const r=o.attributes;for(let i=0;i<r.length;i++){const s=r.item(i),u=s.name,p=u.toLowerCase();if(!JC.hasOwnProperty(p)){this.sanitizedSomething=!0;continue}let m=s.value;i_[p]&&(m=o_(m)),this.buf.push(" ",u,'="',nT(m),'"')}return this.buf.push(">"),!0}endElement(o){const t=eT(o).toLowerCase();r_.hasOwnProperty(t)&&!XC.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(o){this.buf.push(nT(o))}}function DN(n){const o=n.nextSibling;if(o&&n!==o.previousSibling)throw tT(o);return o}function PN(n){const o=n.firstChild;if(o&&function IN(n,o){return(n.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(n,o))throw tT(o);return o}function eT(n){const o=n.nodeName;return"string"==typeof o?o:"FORM"}function tT(n){return new Error(`Failed to sanitize html because the element is clobbered: ${n.outerHTML}`)}const MN=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,$N=/([^\#-~ |!])/g;function nT(n){return n.replace(/&/g,"&amp;").replace(MN,function(o){return"&#"+(1024*(o.charCodeAt(0)-55296)+(o.charCodeAt(1)-56320)+65536)+";"}).replace($N,function(o){return"&#"+o.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let xp;function s_(n){return"content"in n&&function NN(n){return n.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===n.nodeName}(n)?n.content:null}var ld=function(n){return n[n.NONE=0]="NONE",n[n.HTML=1]="HTML",n[n.STYLE=2]="STYLE",n[n.SCRIPT=3]="SCRIPT",n[n.URL=4]="URL",n[n.RESOURCE_URL=5]="RESOURCE_URL",n}(ld||{});function oT(n){const o=Yu();return o?GC(o.sanitize(ld.HTML,n)||""):Wu(n,"HTML")?GC(gl(n)):function AN(n,o){let t=null;try{xp=xp||function KC(n){const o=new SN(n);return function CN(){try{return!!(new window.DOMParser).parseFromString(ad(""),"text/html")}catch{return!1}}()?new bN(o):o}(n);let r=o?String(o):"";t=xp.getInertBodyElement(r);let i=5,s=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=s,s=t.innerHTML,t=xp.getInertBodyElement(r)}while(r!==s);return ad((new EN).sanitizeChildren(s_(t)||t))}finally{if(t){const r=s_(t)||t;for(;r.firstChild;)r.firstChild.remove()}}}(ul(),qt(n))}function a_(n){const o=Yu();return o?o.sanitize(ld.URL,n)||"":Wu(n,"URL")?gl(n):o_(qt(n))}function Yu(){const n=it();return n&&n[ca].sanitizer}const FN=/^>|^->|<!--|-->|--!>|<!-$/g,BN=/(<|>)/g,UN="\u200b$1\u200b";function ns(n){return n instanceof Function?n():n}var fl=function(n){return n[n.Important=1]="Important",n[n.DashCase=2]="DashCase",n}(fl||{});let d_;function u_(n,o){return d_(n,o)}function dd(n,o,t,r,i){if(null!=r){let s,u=!1;_i(r)?s=r:Vr(r)&&(u=!0,r=r[Yo]);const p=no(r);0===n&&null!==t?null==i?vT(o,t,p):Ql(o,t,p,i||null,!0):1===n&&null!==t?Ql(o,t,p,i||null,!0):2===n?function Xu(n,o,t){n.removeChild(null,o,t)}(o,p,u):3===n&&o.destroyNode(p),null!=s&&function sx(n,o,t,r,i){const s=t[da];s!==no(t)&&dd(o,n,r,s,i);for(let p=Sr;p<t.length;p++){const m=t[p];Bp(m[Et],m,n,o,r,s)}}(o,n,s,t,i)}}function f_(n,o){return n.createComment(function sT(n){return n.replace(FN,o=>o.replace(BN,UN))}(o))}function Rp(n,o,t){return n.createElement(o,t)}function hT(n,o){o[ca].changeDetectionScheduler?.notify(9),Bp(n,o,o[fn],2,null,null)}function mT(n,o){const t=n[Qc],r=o[Ar];(Vr(r)||o[Ko]!==r[Ar][Ko])&&(n[nn]|=sp.HasTransplantedViews),null===t?n[Qc]=[o]:t.push(o)}function p_(n,o){const t=n[Qc],r=t.indexOf(o);t.splice(r,1)}function Ku(n,o){if(n.length<=Sr)return;const t=Sr+o,r=n[t];if(r){const i=r[jl];null!==i&&i!==n&&p_(i,r),o>0&&(n[t-1][Os]=r[Os]);const s=Kf(n,Sr+o);!function QN(n,o){hT(n,o),o[Yo]=null,o[li]=null}(r[Et],r);const u=s[Ra];null!==u&&u.detachView(s[Et]),r[Ar]=null,r[Os]=null,r[nn]&=-129}return r}function Lp(n,o){if(!(256&o[nn])){const t=o[fn];t.destroyNode&&Bp(n,o,t,3,null,null),function ex(n){let o=n[Du];if(!o)return h_(n[Et],n);for(;o;){let t=null;if(Vr(o))t=o[Du];else{const r=o[Sr];r&&(t=r)}if(!t){for(;o&&!o[Os]&&o!==n;)Vr(o)&&h_(o[Et],o),o=o[Ar];null===o&&(o=n),Vr(o)&&h_(o[Et],o),t=o&&o[Os]}o=t}}(o)}}function h_(n,o){if(256&o[nn])return;const t=Z(null);try{o[nn]&=-129,o[nn]|=256,o[ms]&&Ce(o[ms]),function ox(n,o){let t;if(null!=n&&null!=(t=n.destroyHooks))for(let r=0;r<t.length;r+=2){const i=o[t[r]];if(!(i instanceof Ou)){const s=t[r+1];if(Array.isArray(s))for(let u=0;u<s.length;u+=2){const p=i[s[u]],m=s[u+1];ua(4,p,m);try{m.call(p)}finally{ua(5,p,m)}}else{ua(4,i,s);try{s.call(i)}finally{ua(5,i,s)}}}}}(n,o),function nx(n,o){const t=n.cleanup,r=o[Yc];if(null!==t)for(let s=0;s<t.length-1;s+=2)if("string"==typeof t[s]){const u=t[s+3];u>=0?r[u]():r[-u].unsubscribe(),s+=2}else t[s].call(r[t[s+1]]);null!==r&&(o[Yc]=null);const i=o[dl];if(null!==i){o[dl]=null;for(let s=0;s<i.length;s++)(0,i[s])()}}(n,o),1===o[Et].type&&o[fn].destroy();const r=o[jl];if(null!==r&&_i(o[Ar])){r!==o[Ar]&&p_(r,o);const i=o[Ra];null!==i&&i.detachView(n)}z0(o)}finally{Z(t)}}function m_(n,o,t){return function _T(n,o,t){let r=o;for(;null!==r&&168&r.type;)r=(o=r).parent;if(null===r)return t[Yo];{const{componentOffset:i}=r;if(i>-1){const{encapsulation:s}=n.data[r.directiveStart+i];if(s===Ns.None||s===Ns.Emulated)return null}return Ei(r,t)}}(n,o.parent,t)}function Ql(n,o,t,r,i){n.insertBefore(o,t,r,i)}function vT(n,o,t){n.appendChild(o,t)}function yT(n,o,t,r,i){null!==r?Ql(n,o,t,r,i):vT(n,o,t)}function __(n,o){return n.parentNode(o)}function bT(n,o,t){return CT(n,o,t)}let v_,CT=function ST(n,o,t){return 40&n.type?Ei(n,t):null};function Fp(n,o,t,r){const i=m_(n,r,o),s=o[fn],p=bT(r.parent||o[li],r,o);if(null!=i)if(Array.isArray(t))for(let m=0;m<t.length;m++)yT(s,i,t[m],p,!1);else yT(s,i,t,p,!1);void 0!==v_&&v_(s,r,o,t,i)}function Jl(n,o){if(null!==o){const t=o.type;if(3&t)return Ei(o,n);if(4&t)return y_(-1,n[o.index]);if(8&t){const r=o.child;if(null!==r)return Jl(n,r);{const i=n[o.index];return _i(i)?y_(-1,i):no(i)}}if(128&t)return Jl(n,o.next);if(32&t)return u_(o,n)()||no(n[o.index]);{const r=wT(n,o);return null!==r?Array.isArray(r)?r[0]:Jl(La(n[Ko]),r):Jl(n,o.next)}}return null}function wT(n,o){return null!==o?n[Ko][li].projection[o.projection]:null}function y_(n,o){const t=Sr+n+1;if(t<o.length){const r=o[t],i=r[Et].firstChild;if(null!==i)return Jl(r,i)}return o[da]}function b_(n,o,t,r,i,s,u){for(;null!=t;){if(128===t.type){t=t.next;continue}const p=r[t.index],m=t.type;if(u&&0===o&&(p&&vi(no(p),r),t.flags|=2),32&~t.flags)if(8&m)b_(n,o,t.child,r,i,s,!1),dd(o,n,i,p,s);else if(32&m){const v=u_(t,r);let S;for(;S=v();)dd(o,n,i,S,s);dd(o,n,i,p,s)}else 16&m?IT(n,o,r,t,i,s):dd(o,n,i,p,s);t=u?t.projectionNext:t.next}}function Bp(n,o,t,r,i,s){b_(t,r,n.firstChild,o,i,s,!1)}function IT(n,o,t,r,i,s){const u=t[Ko],m=u[li].projection[r.projection];if(Array.isArray(m))for(let v=0;v<m.length;v++)dd(o,n,i,m[v],s);else{let v=m;const S=u[Ar];Bu(r)&&(v.flags|=128),b_(n,o,v,S,i,s,!0)}}function DT(n,o,t){""===t?n.removeAttribute(o,"class"):n.setAttribute(o,"class",t)}function PT(n,o,t){const{mergedAttrs:r,classes:i,styles:s}=t;null!==r&&K1(n,o,r),null!==i&&DT(n,o,i),null!==s&&function lx(n,o,t){n.setAttribute(o,"style",t)}(n,o,s)}const yn={};function C(n=1){MT(On(),it(),ci()+n,!1)}function MT(n,o,t,r){if(!r)if(3&~o[nn]){const s=n.preOrderHooks;null!==s&&hp(o,s,0,t)}else{const s=n.preOrderCheckHooks;null!==s&&pp(o,s,t)}Yl(t)}function N(n,o=Bn.Default){const t=it();return null===t?Tt(n,o):W4(So(),t,_e(n),o)}function AT(n,o,t,r,i,s){const u=Z(null);try{let p=null;i&ll.SignalBased&&(p=o[r][j]),null!==p&&void 0!==p.transformFn&&(s=p.transformFn(s)),i&ll.HasDecoratorInputTransform&&(s=n.inputTransforms[r].call(o,s)),null!==n.setInput?n.setInput(o,p,s,t,r):f4(o,p,r,s)}finally{Z(u)}}function Up(n,o,t,r,i,s,u,p,m,v,S){const T=o.blueprint.slice();return T[Yo]=i,T[nn]=204|r,(null!==v||n&&2048&n[nn])&&(T[nn]|=2048),y4(T),T[Ar]=T[Kc]=n,T[Oo]=t,T[ca]=u||n&&n[ca],T[fn]=p||n&&n[fn],T[Nr]=m||n&&n[Nr]||null,T[li]=s,T[Zc]=function RA(){return kA++}(),T[Ti]=S,T[l4]=v,T[Ko]=2==o.type?n[Ko]:T,T}function ec(n,o,t,r,i){let s=n.data[o];if(null===s)s=function S_(n,o,t,r,i){const s=w4(),u=_0(),m=n.data[o]=function mx(n,o,t,r,i,s){let u=o?o.injectorIndex:-1,p=0;return ql()&&(p|=128),{type:t,index:r,insertBeforeIndex:null,injectorIndex:u,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:p,providerIndexes:0,value:i,attrs:s,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:o,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,u?s:s&&s.parent,t,o,r,i);return null===n.firstChild&&(n.firstChild=m),null!==s&&(u?null==s.child&&null!==m.parent&&(s.child=m):null===s.next&&(s.next=m,m.prev=s)),m}(n,o,t,r,i),function H$(){return pn.lFrame.inI18n}()&&(s.flags|=32);else if(64&s.type){s.type=t,s.value=r,s.attrs=i;const u=function Nu(){const n=pn.lFrame,o=n.currentTNode;return n.isParent?o:o.parent}();s.injectorIndex=null===u?-1:u.injectorIndex}return Rs(s,!0),s}function Zu(n,o,t,r){if(0===t)return-1;const i=o.length;for(let s=0;s<t;s++)o.push(r),n.blueprint.push(r),n.data.push(null);return i}function NT(n,o,t,r,i){const s=ci(),u=2&r;try{Yl(-1),u&&o.length>Qt&&MT(n,o,Qt,!1),ua(u?2:0,i),t(r,i)}finally{Yl(s),ua(u?3:1,i)}}function C_(n,o,t){if(l0(o)){const r=Z(null);try{const s=o.directiveEnd;for(let u=o.directiveStart;u<s;u++){const p=n.data[u];p.contentQueries&&p.contentQueries(1,t[u],u)}}finally{Z(r)}}}function T_(n,o,t){T4()&&(function Tx(n,o,t,r){const i=t.directiveStart,s=t.directiveEnd;Gl(t)&&function $x(n,o,t){const r=Ei(o,n),i=xT(t);let u=16;t.signals?u=4096:t.onPush&&(u=64);const p=zp(n,Up(n,i,null,u,r,o,null,n[ca].rendererFactory.createRenderer(r,t),null,null,null));n[o.index]=p}(o,t,n.data[i+t.componentOffset]),n.firstCreatePass||_p(t,o),vi(r,o);const u=t.initialInputs;for(let p=i;p<s;p++){const m=n.data[p],v=Xl(o,n,p,t);vi(v,o),null!==u&&Ax(0,p-i,v,m,0,u),ks(m)&&(ts(t.index,o)[Oo]=Xl(o,n,p,t))}}(n,o,t,Ei(t,o)),!(64&~t.flags)&&FT(n,o,t))}function w_(n,o,t=Ei){const r=o.localNames;if(null!==r){let i=o.index+1;for(let s=0;s<r.length;s+=2){const u=r[s+1],p=-1===u?t(o,n):n[u];n[i++]=p}}}function xT(n){const o=n.tView;return null===o||o.incompleteFirstPass?n.tView=E_(1,null,n.template,n.decls,n.vars,n.directiveDefs,n.pipeDefs,n.viewQuery,n.schemas,n.consts,n.id):o}function E_(n,o,t,r,i,s,u,p,m,v,S){const T=Qt+r,D=T+i,$=function dx(n,o){const t=[];for(let r=0;r<o;r++)t.push(r<n?null:yn);return t}(T,D),x="function"==typeof v?v():v;return $[Et]={type:n,blueprint:$,template:t,queries:null,viewQuery:p,declTNode:o,data:$.slice().fill(null,T),bindingStartIndex:T,expandoStartIndex:D,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof s?s():s,pipeRegistry:"function"==typeof u?u():u,firstChild:null,schemas:m,consts:x,incompleteFirstPass:!1,ssrId:S}}let OT=()=>null;function kT(n,o,t,r,i){for(let s in o){if(!o.hasOwnProperty(s))continue;const u=o[s];if(void 0===u)continue;r??={};let p,m=ll.None;Array.isArray(u)?(p=u[0],m=u[1]):p=u;let v=s;if(null!==i){if(!i.hasOwnProperty(s))continue;v=i[s]}0===n?RT(r,t,v,p,m):RT(r,t,v,p)}return r}function RT(n,o,t,r,i){let s;n.hasOwnProperty(t)?(s=n[t]).push(o,r):s=n[t]=[o,r],void 0!==i&&s.push(i)}function ji(n,o,t,r,i,s,u,p){const m=Ei(o,t);let S,v=o.inputs;!p&&null!=v&&(S=v[r])?($_(n,t,S,r,i),Gl(o)&&function yx(n,o){const t=ts(o,n);16&t[nn]||(t[nn]|=64)}(t,o.index)):3&o.type&&(r=function vx(n){return"class"===n?"className":"for"===n?"htmlFor":"formaction"===n?"formAction":"innerHtml"===n?"innerHTML":"readonly"===n?"readOnly":"tabindex"===n?"tabIndex":n}(r),i=null!=u?u(i,o.value||"",r):i,s.setProperty(m,r,i))}function I_(n,o,t,r){if(T4()){const i=null===r?null:{"":-1},s=function Ex(n,o){const t=n.directiveRegistry;let r=null,i=null;if(t)for(let s=0;s<t.length;s++){const u=t[s];if(XS(o,u.selectors,!1))if(r||(r=[]),ks(u))if(null!==u.findHostDirectiveDefs){const p=[];i=i||new Map,u.findHostDirectiveDefs(u,p,i),r.unshift(...p,u),D_(n,o,p.length)}else r.unshift(u),D_(n,o,0);else i=i||new Map,u.findHostDirectiveDefs?.(u,r,i),r.push(u)}return null===r?null:[r,i]}(n,t);let u,p;null===s?u=p=null:[u,p]=s,null!==u&&LT(n,o,t,u,i,p),i&&function Ix(n,o,t){if(o){const r=n.localNames=[];for(let i=0;i<o.length;i+=2){const s=t[o[i+1]];if(null==s)throw new Ve(-301,!1);r.push(o[i],s)}}}(t,r,i)}t.mergedAttrs=wu(t.mergedAttrs,t.attrs)}function LT(n,o,t,r,i,s){for(let v=0;v<r.length;v++)$0(_p(t,o),n,r[v].type);!function Px(n,o,t){n.flags|=1,n.directiveStart=o,n.directiveEnd=o+t,n.providerIndexes=o}(t,n.data.length,r.length);for(let v=0;v<r.length;v++){const S=r[v];S.providersResolver&&S.providersResolver(S)}let u=!1,p=!1,m=Zu(n,o,r.length,null);for(let v=0;v<r.length;v++){const S=r[v];t.mergedAttrs=wu(t.mergedAttrs,S.hostAttrs),Mx(n,t,o,m,S),Dx(m,S,i),null!==S.contentQueries&&(t.flags|=4),(null!==S.hostBindings||null!==S.hostAttrs||0!==S.hostVars)&&(t.flags|=64);const T=S.type.prototype;!u&&(T.ngOnChanges||T.ngOnInit||T.ngDoCheck)&&((n.preOrderHooks??=[]).push(t.index),u=!0),!p&&(T.ngOnChanges||T.ngDoCheck)&&((n.preOrderCheckHooks??=[]).push(t.index),p=!0),m++}!function _x(n,o,t){const i=o.directiveEnd,s=n.data,u=o.attrs,p=[];let m=null,v=null;for(let S=o.directiveStart;S<i;S++){const T=s[S],D=t?t.get(T):null,x=D?D.outputs:null;m=kT(0,T.inputs,S,m,D?D.inputs:null),v=kT(1,T.outputs,S,v,x);const k=null===m||null===u||X1(o)?null:Nx(m,S,u);p.push(k)}null!==m&&(m.hasOwnProperty("class")&&(o.flags|=8),m.hasOwnProperty("style")&&(o.flags|=16)),o.initialInputs=p,o.inputs=m,o.outputs=v}(n,t,s)}function FT(n,o,t){const r=t.directiveStart,i=t.directiveEnd,s=t.index,u=function G$(){return pn.lFrame.currentDirectiveIndex}();try{Yl(s);for(let p=r;p<i;p++){const m=n.data[p],v=o[p];y0(p),(null!==m.hostBindings||0!==m.hostVars||null!==m.hostAttrs)&&wx(m,v)}}finally{Yl(-1),y0(u)}}function wx(n,o){null!==n.hostBindings&&n.hostBindings(1,o)}function D_(n,o,t){o.componentOffset=t,(n.components??=[]).push(o.index)}function Dx(n,o,t){if(t){if(o.exportAs)for(let r=0;r<o.exportAs.length;r++)t[o.exportAs[r]]=n;ks(o)&&(t[""]=n)}}function Mx(n,o,t,r,i){n.data[r]=i;const s=i.factory||(i.factory=Vl(i.type)),u=new Ou(s,ks(i),N);n.blueprint[r]=u,t[r]=u,function Sx(n,o,t,r,i){const s=i.hostBindings;if(s){let u=n.hostBindingOpCodes;null===u&&(u=n.hostBindingOpCodes=[]);const p=~o.index;(function Cx(n){let o=n.length;for(;o>0;){const t=n[--o];if("number"==typeof t&&t<0)return t}return 0})(u)!=p&&u.push(p),u.push(t,r,s)}}(n,o,r,Zu(n,t,i.hostVars,yn),i)}function ma(n,o,t,r,i,s){const u=Ei(n,o);!function P_(n,o,t,r,i,s,u){if(null==s)n.removeAttribute(o,i,t);else{const p=null==u?qt(s):u(s,r||"",i);n.setAttribute(o,i,p,t)}}(o[fn],u,s,n.value,t,r,i)}function Ax(n,o,t,r,i,s){const u=s[o];if(null!==u)for(let p=0;p<u.length;)AT(r,t,u[p++],u[p++],u[p++],u[p++])}function Nx(n,o,t){let r=null,i=0;for(;i<t.length;){const s=t[i];if(0!==s)if(5!==s){if("number"==typeof s)break;if(n.hasOwnProperty(s)){null===r&&(r=[]);const u=n[s];for(let p=0;p<u.length;p+=3)if(u[p]===o){r.push(s,u[p+1],u[p+2],t[i+1]);break}}i+=2}else i+=2;else i+=4}return r}function BT(n,o,t,r){return[n,!0,0,o,null,r,null,t,null,null]}function UT(n,o){const t=n.contentQueries;if(null!==t){const r=Z(null);try{for(let i=0;i<t.length;i+=2){const u=t[i+1];if(-1!==u){const p=n.data[u];gp(t[i]),p.contentQueries(2,o[u],u)}}}finally{Z(r)}}}function zp(n,o){return n[Du]?n[a4][Os]=o:n[Du]=o,n[a4]=o,o}function M_(n,o,t){gp(0);const r=Z(null);try{o(n,t)}finally{Z(r)}}function zT(n){return n[Yc]??=[]}function VT(n){return n.cleanup??=[]}function Vp(n,o){const t=n[Nr],r=t?t.get(pa,null):null;r&&r.handleError(o)}function $_(n,o,t,r,i){for(let s=0;s<t.length;){const u=t[s++],p=t[s++],m=t[s++];AT(n.data[u],o[u],r,p,m,i)}}function Ha(n,o,t){const r=$u(o,n);!function pT(n,o,t){n.setValue(o,t)}(n[fn],r,t)}function xx(n,o){const t=ts(o,n),r=t[Et];!function Ox(n,o){for(let t=o.length;t<n.blueprint.length;t++)o.push(n.blueprint[t])}(r,t);const i=t[Yo];null!==i&&null===t[Ti]&&(t[Ti]=X0(i,t[Nr])),A_(r,t,t[Oo])}function A_(n,o,t){C0(o);try{const r=n.viewQuery;null!==r&&M_(1,r,t);const i=n.template;null!==i&&NT(n,o,i,1,t),n.firstCreatePass&&(n.firstCreatePass=!1),o[Ra]?.finishViewCreation(n),n.staticContentQueries&&UT(n,o),n.staticViewQueries&&M_(2,n.viewQuery,t);const s=n.components;null!==s&&function kx(n,o){for(let t=0;t<o.length;t++)xx(n,o[t])}(o,s)}catch(r){throw n.firstCreatePass&&(n.incompleteFirstPass=!0,n.firstCreatePass=!1),r}finally{o[nn]&=-5,T0()}}function ud(n,o,t,r){const i=Z(null);try{const s=o.tView,m=Up(n,s,t,4096&n[nn]?4096:16,null,o,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null);m[jl]=n[o.index];const S=n[Ra];return null!==S&&(m[Ra]=S.createEmbeddedView(s)),A_(s,m,t),m}finally{Z(i)}}function tc(n,o){return!o||null===o.firstChild||Bu(n)}function gd(n,o,t,r=!0){const i=o[Et];if(function tx(n,o,t,r){const i=Sr+r,s=t.length;r>0&&(t[i-1][Os]=o),r<s-Sr?(o[Os]=t[i],VS(t,Sr+r,o)):(t.push(o),o[Os]=null),o[Ar]=t;const u=o[jl];null!==u&&t!==u&&mT(u,o);const p=o[Ra];null!==p&&p.insertView(n),p0(o),o[nn]|=128}(i,o,n,t),r){const u=y_(t,n),p=o[fn],m=__(p,n[da]);null!==m&&function JN(n,o,t,r,i,s){r[Yo]=i,r[li]=o,Bp(n,r,t,1,i,s)}(i,n[li],p,o,m,u)}const s=o[Ti];null!==s&&null!==s.firstChild&&(s.firstChild=null)}function Qu(n,o,t,r,i=!1){for(;null!==t;){if(128===t.type){t=i?t.projectionNext:t.next;continue}const s=o[t.index];null!==s&&r.push(no(s)),_i(s)&&GT(s,r);const u=t.type;if(8&u)Qu(n,o,t.child,r);else if(32&u){const p=u_(t,o);let m;for(;m=p();)r.push(m)}else if(16&u){const p=wT(o,t);if(Array.isArray(p))r.push(...p);else{const m=La(o[Ko]);Qu(m[Et],m,p,r,!0)}}t=i?t.projectionNext:t.next}return r}function GT(n,o){for(let t=Sr;t<n.length;t++){const r=n[t],i=r[Et].firstChild;null!==i&&Qu(r[Et],r,i,o)}n[da]!==n[Yo]&&o.push(n[da])}let WT=[];const Bx={...Q,consumerIsAlwaysLive:!0,consumerMarkedDirty:n=>{cp(n.lView)},consumerOnSignalRead(){this.lView[ms]=this}},zx={...Q,consumerIsAlwaysLive:!0,consumerMarkedDirty:n=>{let o=La(n.lView);for(;o&&!qT(o[Et]);)o=La(o);o&&b4(o)},consumerOnSignalRead(){this.lView[ms]=this}};function qT(n){return 2!==n.type}const Vx=100;function Hp(n,o=!0,t=0){const r=n[ca],i=r.rendererFactory;i.begin?.();try{!function Hx(n,o){const t=D4();try{P4(!0),x_(n,o);let r=0;for(;lp(n);){if(r===Vx)throw new Ve(103,!1);r++,x_(n,1)}}finally{P4(t)}}(n,t)}catch(u){throw o&&Vp(n,u),u}finally{i.end?.(),r.inlineEffectRunner?.flush()}}function jx(n,o,t,r){const i=o[nn];if(!(256&~i))return;o[ca].inlineEffectRunner?.flush(),C0(o);let p=!0,m=null,v=null;qT(n)?(v=function Rx(n){return n[ms]??function Lx(n){const o=WT.pop()??Object.create(Bx);return o.lView=n,o}(n)}(o),m=de(v)):null===function K(){return w}()?(p=!1,v=function Ux(n){const o=n[ms]??Object.create(zx);return o.lView=n,o}(o),m=de(v)):o[ms]&&(Ce(o[ms]),o[ms]=null);try{y4(o),function M4(n){return pn.lFrame.bindingIndex=n}(n.bindingStartIndex),null!==t&&NT(n,o,t,2,r);const S=!(3&~i);if(S){const $=n.preOrderCheckHooks;null!==$&&pp(o,$,null)}else{const $=n.preOrderHooks;null!==$&&hp(o,$,0,null),w0(o,0)}if(function Gx(n){for(let o=SC(n);null!==o;o=CC(o)){if(!(o[nn]&sp.HasTransplantedViews))continue;const t=o[Qc];for(let r=0;r<t.length;r++)b4(t[r])}}(o),KT(o,0),null!==n.contentQueries&&UT(n,o),S){const $=n.contentCheckHooks;null!==$&&pp(o,$)}else{const $=n.contentHooks;null!==$&&hp(o,$,1),w0(o,1)}!function cx(n,o){const t=n.hostBindingOpCodes;if(null!==t)try{for(let r=0;r<t.length;r++){const i=t[r];if(i<0)Yl(~i);else{const s=i,u=t[++r],p=t[++r];j$(u,s),p(2,o[s])}}}finally{Yl(-1)}}(n,o);const T=n.components;null!==T&&ZT(o,T,0);const D=n.viewQuery;if(null!==D&&M_(2,D,r),S){const $=n.viewCheckHooks;null!==$&&pp(o,$)}else{const $=n.viewHooks;null!==$&&hp(o,$,2),w0(o,2)}if(!0===n.firstUpdatePass&&(n.firstUpdatePass=!1),o[rp]){for(const $ of o[rp])$();o[rp]=null}o[nn]&=-73}catch(S){throw cp(o),S}finally{null!==v&&(ve(v,m),p&&function Fx(n){n.lView[ms]!==n&&(n.lView=null,WT.push(n))}(v)),T0()}}function KT(n,o){for(let t=SC(n);null!==t;t=CC(t))for(let r=Sr;r<t.length;r++)XT(t[r],o)}function Wx(n,o,t){XT(ts(o,n),t)}function XT(n,o){f0(n)&&x_(n,o)}function x_(n,o){const r=n[Et],i=n[nn],s=n[ms];let u=!!(0===o&&16&i);if(u||=!!(64&i&&0===o),u||=!!(1024&i),u||=!(!s?.dirty||!Oe(s)),u||=!1,s&&(s.dirty=!1),n[nn]&=-9217,u)jx(r,n,r.template,n[Oo]);else if(8192&i){KT(n,1);const p=r.components;null!==p&&ZT(n,p,1)}}function ZT(n,o,t){for(let r=0;r<o.length;r++)Wx(n,o[r],t)}function Ju(n,o){const t=D4()?64:1088;for(n[ca].changeDetectionScheduler?.notify(o);n;){n[nn]|=t;const r=La(n);if(Mu(n)&&!r)return n;n=r}return null}class eg{get rootNodes(){const o=this._lView,t=o[Et];return Qu(t,o,t.firstChild,[])}constructor(o,t,r=!0){this._lView=o,this._cdRefInjectingView=t,this.notifyErrorHandler=r,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[Oo]}set context(o){this._lView[Oo]=o}get destroyed(){return!(256&~this._lView[nn])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const o=this._lView[Ar];if(_i(o)){const t=o[8],r=t?t.indexOf(this):-1;r>-1&&(Ku(o,r),Kf(t,r))}this._attachedToViewContainer=!1}Lp(this._lView[Et],this._lView)}onDestroy(o){dp(this._lView,o)}markForCheck(){Ju(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[nn]&=-129}reattach(){p0(this._lView),this._lView[nn]|=128}detectChanges(){this._lView[nn]|=1024,Hp(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Ve(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const o=Mu(this._lView),t=this._lView[jl];null!==t&&!o&&p_(t,this._lView),hT(this._lView[Et],this._lView)}attachToAppRef(o){if(this._attachedToViewContainer)throw new Ve(902,!1);this._appRef=o;const t=Mu(this._lView),r=this._lView[jl];null!==r&&!t&&mT(r,this._lView),p0(this._lView)}}let Fs=(()=>{class n{static{this.__NG_ELEMENT_ID__=Kx}}return n})();const qx=Fs,Yx=class extends qx{constructor(o,t,r){super(),this._declarationLView=o,this._declarationTContainer=t,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(o,t){return this.createEmbeddedViewImpl(o,t)}createEmbeddedViewImpl(o,t,r){const i=ud(this._declarationLView,this._declarationTContainer,o,{embeddedViewInjector:t,dehydratedView:r});return new eg(i)}};function Kx(){return jp(So(),it())}function jp(n,o){return 4&n.type?new Yx(o,n,nd(n,o)):null}let v5=()=>null;function oc(n,o){return v5(n,o)}class pd{}const lg=new Pt("",{providedIn:"root",factory:()=>!1}),y5=new Pt(""),j_=new Pt("");class zO{}class b5{}class HO{resolveComponentFactory(o){throw function VO(n){const o=Error(`No component factory found for ${Qn(n)}.`);return o.ngComponent=n,o}(o)}}class Xp{static{this.NULL=new HO}}class Zp{}let ja=(()=>{class n{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>function jO(){const n=it(),t=ts(So().index,n);return(Vr(t)?t:n)[fn]}()}}return n})(),GO=(()=>{class n{static{this.\u0275prov=St({token:n,providedIn:"root",factory:()=>null})}}return n})();function Jp(n,o,t){let r=t?n.styles:null,i=t?n.classes:null,s=0;if(null!==o)for(let u=0;u<o.length;u++){const p=o[u];"number"==typeof p?s=p:1==s?i=zl(i,p):2==s&&(r=zl(r,p+": "+o[++u]+";"))}t?n.styles=r:n.stylesWithoutHost=r,t?n.classes=i:n.classesWithoutHost=i}class w5 extends Xp{constructor(o){super(),this.ngModule=o}resolveComponentFactory(o){const t=Rn(o);return new ug(t,this.ngModule)}}function E5(n,o){const t=[];for(const r in n){if(!n.hasOwnProperty(r))continue;const i=n[r];if(void 0===i)continue;const s=Array.isArray(i),u=s?i[0]:i;t.push(o?{propName:u,templateName:r,isSignal:!!((s?i[1]:ll.None)&ll.SignalBased)}:{propName:u,templateName:r})}return t}class ug extends b5{get inputs(){const o=this.componentDef,t=o.inputTransforms,r=E5(o.inputs,!0);if(null!==t)for(const i of r)t.hasOwnProperty(i.propName)&&(i.transform=t[i.propName]);return r}get outputs(){return E5(this.componentDef.outputs,!1)}constructor(o,t){super(),this.componentDef=o,this.ngModule=t,this.componentType=o.type,this.selector=function t$(n){return n.map(e$).join(",")}(o.selectors),this.ngContentSelectors=o.ngContentSelectors?o.ngContentSelectors:[],this.isBoundToModule=!!t}create(o,t,r,i){const s=Z(null);try{let u=(i=i||this.ngModule)instanceof $r?i:i?.injector;u&&null!==this.componentDef.getStandaloneInjector&&(u=this.componentDef.getStandaloneInjector(u)||u);const p=u?new Kl(o,u):o,m=p.get(Zp,null);if(null===m)throw new Ve(407,!1);const T={rendererFactory:m,sanitizer:p.get(GO,null),inlineEffectRunner:null,changeDetectionScheduler:p.get(pd,null)},D=m.createRenderer(null,this.componentDef),$=this.componentDef.selectors[0][0]||"div",x=r?function ux(n,o,t,r){const s=r.get(VC,!1)||t===Ns.ShadowDom,u=n.selectRootElement(o,s);return function gx(n){OT(n)}(u),u}(D,r,this.componentDef.encapsulation,p):Rp(D,$,function YO(n){const o=n.toLowerCase();return"svg"===o?"svg":"math"===o?"math":null}($));let k=512;this.componentDef.signals?k|=4096:this.componentDef.onPush||(k|=16);let B=null;null!==x&&(B=X0(x,p,!0));const G=E_(0,null,null,1,0,null,null,null,null,null,null),L=Up(null,G,null,k,null,null,T,D,p,null,B);C0(L);let H,ge,Fe=null;try{const He=this.componentDef;let ze,lt=null;He.findHostDirectiveDefs?(ze=[],lt=new Map,He.findHostDirectiveDefs(He,ze,lt),ze.push(He)):ze=[He];const Le=function XO(n,o){const t=n[Et],r=Qt;return n[r]=o,ec(t,r,2,"#host",null)}(L,x);Fe=function ZO(n,o,t,r,i,s,u){const p=i[Et];!function QO(n,o,t,r){for(const i of n)o.mergedAttrs=wu(o.mergedAttrs,i.hostAttrs);null!==o.mergedAttrs&&(Jp(o,o.mergedAttrs,!0),null!==t&&PT(r,t,o))}(r,n,o,u);let m=null;null!==o&&(m=X0(o,i[Nr]));const v=s.rendererFactory.createRenderer(o,t);let S=16;t.signals?S=4096:t.onPush&&(S=64);const T=Up(i,xT(t),null,S,i[n.index],n,s,v,null,null,m);return p.firstCreatePass&&D_(p,n,r.length-1),zp(i,T),i[n.index]=T}(Le,x,He,ze,L,T,D),ge=Au(G,Qt),x&&function ek(n,o,t,r){if(r)K1(n,t,["ng-version","18.2.8"]);else{const{attrs:i,classes:s}=function n$(n){const o=[],t=[];let r=1,i=2;for(;r<n.length;){let s=n[r];if("string"==typeof s)2===i?""!==s&&o.push(s,n[++r]):8===i&&t.push(s);else{if(!xs(i))break;i=s}r++}return{attrs:o,classes:t}}(o.selectors[0]);i&&K1(n,t,i),s&&s.length>0&&DT(n,t,s.join(" "))}}(D,He,x,r),void 0!==t&&function tk(n,o,t){const r=n.projection=[];for(let i=0;i<o.length;i++){const s=t[i];r.push(null!=s?Array.from(s):null)}}(ge,this.ngContentSelectors,t),H=function JO(n,o,t,r,i,s){const u=So(),p=i[Et],m=Ei(u,i);LT(p,i,u,t,null,r);for(let S=0;S<t.length;S++)vi(Xl(i,p,u.directiveStart+S,u),i);FT(p,i,u),m&&vi(m,i);const v=Xl(i,p,u.directiveStart+u.componentOffset,u);if(n[Oo]=i[Oo]=v,null!==s)for(const S of s)S(v,o);return C_(p,u,i),v}(Fe,He,ze,lt,L,[nk]),A_(G,L,null)}catch(He){throw null!==Fe&&z0(Fe),z0(L),He}finally{T0()}return new KO(this.componentType,H,nd(ge,L),L,ge)}finally{Z(s)}}}class KO extends zO{constructor(o,t,r,i,s){super(),this.location=r,this._rootLView=i,this._tNode=s,this.previousInputValues=null,this.instance=t,this.hostView=this.changeDetectorRef=new eg(i,void 0,!1),this.componentType=o}setInput(o,t){const r=this._tNode.inputs;let i;if(null!==r&&(i=r[o])){if(this.previousInputValues??=new Map,this.previousInputValues.has(o)&&Object.is(this.previousInputValues.get(o),t))return;const s=this._rootLView;$_(s[Et],s,i,o,t),this.previousInputValues.set(o,t),Ju(ts(this._tNode.index,s),1)}}get injector(){return new Hr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(o){this.hostView.onDestroy(o)}}function nk(){const n=So();fp(it()[Et],n)}let Gi=(()=>{class n{static{this.__NG_ELEMENT_ID__=ok}}return n})();function ok(){return P5(So(),it())}const rk=Gi,I5=class extends rk{constructor(o,t,r){super(),this._lContainer=o,this._hostTNode=t,this._hostLView=r}get element(){return nd(this._hostTNode,this._hostLView)}get injector(){return new Hr(this._hostTNode,this._hostLView)}get parentInjector(){const o=vp(this._hostTNode,this._hostLView);if(D0(o)){const t=Ru(o,this._hostLView),r=ku(o);return new Hr(t[Et].data[r+8],t)}return new Hr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(o){const t=D5(this._lContainer);return null!==t&&t[o]||null}get length(){return this._lContainer.length-Sr}createEmbeddedView(o,t,r){let i,s;"number"==typeof r?i=r:null!=r&&(i=r.index,s=r.injector);const u=oc(this._lContainer,o.ssrId),p=o.createEmbeddedViewImpl(t||{},s,u);return this.insertImpl(p,i,tc(this._hostTNode,u)),p}createComponent(o,t,r,i,s){const u=o&&!function Iu(n){return"function"==typeof n}(o);let p;if(u)p=t;else{const x=t||{};p=x.index,r=x.injector,i=x.projectableNodes,s=x.environmentInjector||x.ngModuleRef}const m=u?o:new ug(Rn(o)),v=r||this.parentInjector;if(!s&&null==m.ngModule){const k=(u?v:this.parentInjector).get($r,null);k&&(s=k)}const S=Rn(m.componentType??{}),T=oc(this._lContainer,S?.id??null),$=m.create(v,i,T?.firstChild??null,s);return this.insertImpl($.hostView,p,tc(this._hostTNode,T)),$}insert(o,t){return this.insertImpl(o,t,!0)}insertImpl(o,t,r){const i=o._lView;if(function O$(n){return _i(n[Ar])}(i)){const p=this.indexOf(o);if(-1!==p)this.detach(p);else{const m=i[Ar],v=new I5(m,m[li],m[Ar]);v.detach(v.indexOf(o))}}const s=this._adjustIndex(t),u=this._lContainer;return gd(u,i,s,r),o.attachToViewContainerRef(),VS(q_(u),s,o),o}move(o,t){return this.insert(o,t)}indexOf(o){const t=D5(this._lContainer);return null!==t?t.indexOf(o):-1}remove(o){const t=this._adjustIndex(o,-1),r=Ku(this._lContainer,t);r&&(Kf(q_(this._lContainer),t),Lp(r[Et],r))}detach(o){const t=this._adjustIndex(o,-1),r=Ku(this._lContainer,t);return r&&null!=Kf(q_(this._lContainer),t)?new eg(r):null}_adjustIndex(o,t=0){return o??this.length+t}};function D5(n){return n[8]}function q_(n){return n[8]||(n[8]=[])}function P5(n,o){let t;const r=o[n.index];return _i(r)?t=r:(t=BT(r,o,null,n),o[n.index]=t,zp(o,t)),M5(t,o,n,r),new I5(t,n,o)}let M5=function A5(n,o,t,r){if(n[da])return;let i;i=8&t.type?no(r):function ik(n,o){const t=n[fn],r=t.createComment(""),i=Ei(o,n);return Ql(t,__(t,i),r,function rx(n,o){return n.nextSibling(o)}(t,i),!1),r}(o,t),n[da]=i},Y_=()=>!1;class K_{constructor(o){this.queryList=o,this.matches=null}clone(){return new K_(this.queryList)}setDirty(){this.queryList.setDirty()}}class X_{constructor(o=[]){this.queries=o}createEmbeddedView(o){const t=o.queries;if(null!==t){const r=null!==o.contentQueries?o.contentQueries[0]:t.length,i=[];for(let s=0;s<r;s++){const u=t.getByIndex(s);i.push(this.queries[u.indexInDeclarationView].clone())}return new X_(i)}return null}insertView(o){this.dirtyQueriesWithMatches(o)}detachView(o){this.dirtyQueriesWithMatches(o)}finishViewCreation(o){this.dirtyQueriesWithMatches(o)}dirtyQueriesWithMatches(o){for(let t=0;t<this.queries.length;t++)null!==t2(o,t).matches&&this.queries[t].setDirty()}}class N5{constructor(o,t,r=null){this.flags=t,this.read=r,this.predicate="string"==typeof o?function fk(n){return n.split(",").map(o=>o.trim())}(o):o}}class Z_{constructor(o=[]){this.queries=o}elementStart(o,t){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(o,t)}elementEnd(o){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(o)}embeddedTView(o){let t=null;for(let r=0;r<this.length;r++){const i=null!==t?t.length:0,s=this.getByIndex(r).embeddedTView(o,i);s&&(s.indexInDeclarationView=r,null!==t?t.push(s):t=[s])}return null!==t?new Z_(t):null}template(o,t){for(let r=0;r<this.queries.length;r++)this.queries[r].template(o,t)}getByIndex(o){return this.queries[o]}get length(){return this.queries.length}track(o){this.queries.push(o)}}class Q_{constructor(o,t=-1){this.metadata=o,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=t}elementStart(o,t){this.isApplyingToNode(t)&&this.matchTNode(o,t)}elementEnd(o){this._declarationNodeIndex===o.index&&(this._appliesToNextNode=!1)}template(o,t){this.elementStart(o,t)}embeddedTView(o,t){return this.isApplyingToNode(o)?(this.crossesNgTemplate=!0,this.addMatch(-o.index,t),new Q_(this.metadata)):null}isApplyingToNode(o){if(this._appliesToNextNode&&1&~this.metadata.flags){const t=this._declarationNodeIndex;let r=o.parent;for(;null!==r&&8&r.type&&r.index!==t;)r=r.parent;return t===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(o,t){const r=this.metadata.predicate;if(Array.isArray(r))for(let i=0;i<r.length;i++){const s=r[i];this.matchTNodeWithReadOption(o,t,ck(t,s)),this.matchTNodeWithReadOption(o,t,yp(t,o,s,!1,!1))}else r===Fs?4&t.type&&this.matchTNodeWithReadOption(o,t,-1):this.matchTNodeWithReadOption(o,t,yp(t,o,r,!1,!1))}matchTNodeWithReadOption(o,t,r){if(null!==r){const i=this.metadata.read;if(null!==i)if(i===_t||i===Gi||i===Fs&&4&t.type)this.addMatch(t.index,-2);else{const s=yp(t,o,i,!1,!1);null!==s&&this.addMatch(t.index,s)}else this.addMatch(t.index,r)}}addMatch(o,t){null===this.matches?this.matches=[o,t]:this.matches.push(o,t)}}function ck(n,o){const t=n.localNames;if(null!==t)for(let r=0;r<t.length;r+=2)if(t[r]===o)return t[r+1];return null}function uk(n,o,t,r){return-1===t?function dk(n,o){return 11&n.type?nd(n,o):4&n.type?jp(n,o):null}(o,n):-2===t?function gk(n,o,t){return t===_t?nd(o,n):t===Fs?jp(o,n):t===Gi?P5(o,n):void 0}(n,o,r):Xl(n,n[Et],t,o)}function x5(n,o,t,r){const i=o[Ra].queries[r];if(null===i.matches){const s=n.data,u=t.matches,p=[];for(let m=0;null!==u&&m<u.length;m+=2){const v=u[m];p.push(v<0?null:uk(o,s[v],u[m+1],t.metadata.read))}i.matches=p}return i.matches}function J_(n,o,t,r){const i=n.queries.getByIndex(t),s=i.matches;if(null!==s){const u=x5(n,o,i,t);for(let p=0;p<s.length;p+=2){const m=s[p];if(m>0)r.push(u[p/2]);else{const v=s[p+1],S=o[-m];for(let T=Sr;T<S.length;T++){const D=S[T];D[jl]===D[Ar]&&J_(D[Et],D,v,r)}if(null!==S[Qc]){const T=S[Qc];for(let D=0;D<T.length;D++){const $=T[D];J_($[Et],$,v,r)}}}}}return r}function O5(n,o,t){const r=new F0(!(4&~t));return function hx(n,o,t,r){const i=zT(o);i.push(t),n.firstCreatePass&&VT(n).push(r,i.length-1)}(n,o,r,r.destroy),(o[Ra]??=new X_).queries.push(new K_(r))-1}function L5(n,o,t){null===n.queries&&(n.queries=new Z_),n.queries.track(new Q_(o,t))}function t2(n,o){return n.queries.getByIndex(o)}function F5(n,o){const t=n[Et],r=t2(t,o);return r.crossesNgTemplate?J_(t,n,o,[]):x5(t,n,r,o)}const B5=new Set;function Di(n){B5.has(n)||(B5.add(n),performance?.mark?.("mark_feature_usage",{detail:{feature:n}}))}function hd(n,o){Di("NgSignals");const t=function ae(n){const o=Object.create(Vt);o.value=n;const t=()=>(V(o),o.value);return t[j]=o,t}(n),r=t[j];return o?.equal&&(r.equal=o.equal),t.set=i=>Ot(r,i),t.update=i=>function Bt(n,o){X()||Ae(),Ot(n,o(n.value))}(r,i),t.asReadonly=z5.bind(t),t}function z5(){const n=this[j];if(void 0===n.readonlyFn){const o=()=>this();o[j]=n,n.readonlyFn=o}return n.readonlyFn}function V5(n){return function U5(n){return"function"==typeof n&&void 0!==n[j]}(n)&&"function"==typeof n.set}function Dt(n){let o=function J5(n){return Object.getPrototypeOf(n.prototype).constructor}(n.type),t=!0;const r=[n];for(;o;){let i;if(ks(n))i=o.\u0275cmp||o.\u0275dir;else{if(o.\u0275cmp)throw new Ve(903,!1);i=o.\u0275dir}if(i){if(t){r.push(i);const u=n;u.inputs=th(n.inputs),u.inputTransforms=th(n.inputTransforms),u.declaredInputs=th(n.declaredInputs),u.outputs=th(n.outputs);const p=i.hostBindings;p&&Pk(n,p);const m=i.viewQuery,v=i.contentQueries;if(m&&Ik(n,m),v&&Dk(n,v),wk(n,i),Br(n.outputs,i.outputs),ks(i)&&i.data.animation){const S=n.data;S.animation=(S.animation||[]).concat(i.data.animation)}}const s=i.features;if(s)for(let u=0;u<s.length;u++){const p=s[u];p&&p.ngInherit&&p(n),p===Dt&&(t=!1)}}o=Object.getPrototypeOf(o)}!function Ek(n){let o=0,t=null;for(let r=n.length-1;r>=0;r--){const i=n[r];i.hostVars=o+=i.hostVars,i.hostAttrs=wu(i.hostAttrs,t=wu(t,i.hostAttrs))}}(r)}function wk(n,o){for(const t in o.inputs){if(!o.inputs.hasOwnProperty(t)||n.inputs.hasOwnProperty(t))continue;const r=o.inputs[t];if(void 0!==r&&(n.inputs[t]=r,n.declaredInputs[t]=o.declaredInputs[t],null!==o.inputTransforms)){const i=Array.isArray(r)?r[0]:r;if(!o.inputTransforms.hasOwnProperty(i))continue;n.inputTransforms??={},n.inputTransforms[i]=o.inputTransforms[i]}}}function th(n){return n===sa?{}:n===to?[]:n}function Ik(n,o){const t=n.viewQuery;n.viewQuery=t?(r,i)=>{o(r,i),t(r,i)}:o}function Dk(n,o){const t=n.contentQueries;n.contentQueries=t?(r,i,s)=>{o(r,i,s),t(r,i,s)}:o}function Pk(n,o){const t=n.hostBindings;n.hostBindings=t?(r,i)=>{o(r,i),t(r,i)}:o}class rc{}class r8{}class o2 extends rc{constructor(o,t,r,i=!0){super(),this.ngModuleType=o,this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new w5(this);const s=mi(o);this._bootstrapComponents=ns(s.bootstrap),this._r3Injector=nC(o,t,[{provide:rc,useValue:this},{provide:Xp,useValue:this.componentFactoryResolver},...r],Qn(o),new Set(["environment"])),i&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const o=this._r3Injector;!o.destroyed&&o.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(o){this.destroyCbs.push(o)}}class r2 extends r8{constructor(o){super(),this.moduleType=o}create(o){return new o2(this.moduleType,o,[])}}class i8 extends rc{constructor(o){super(),this.componentFactoryResolver=new w5(this),this.instance=null;const t=new Gc([...o.providers,{provide:rc,useValue:this},{provide:Xp,useValue:this.componentFactoryResolver}],o.parent||np(),o.debugName,new Set(["environment"]));this.injector=t,o.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(o){this.injector.onDestroy(o)}}function nh(n,o,t=null){return new i8({providers:n,parent:o,debugName:t,runEnvironmentInitializers:!0}).injector}function oh(n){return!!i2(n)&&(Array.isArray(n)||!(n instanceof Map)&&Symbol.iterator in n)}function i2(n){return null!==n&&("function"==typeof n||"object"==typeof n)}function _a(n,o,t){return n[o]=t}function Cr(n,o,t){return!Object.is(n[o],t)&&(n[o]=t,!0)}function ic(n,o,t,r){const i=Cr(n,o,t);return Cr(n,o+1,r)||i}function rh(n,o,t,r,i){const s=ic(n,o,t,r);return Cr(n,o+2,i)||s}function pg(n,o,t,r,i,s,u,p,m,v){const S=t+Qt,T=o.firstCreatePass?function Uk(n,o,t,r,i,s,u,p,m){const v=o.consts,S=ec(o,n,4,u||null,p||null);I_(o,t,S,_s(v,m)),fp(o,S);const T=S.tView=E_(2,S,r,i,s,o.directiveRegistry,o.pipeRegistry,null,o.schemas,v,null);return null!==o.queries&&(o.queries.template(o,S),T.queries=o.queries.embeddedTView(S)),S}(S,o,n,r,i,s,u,p,m):o.data[S];Rs(T,!1);const D=s8(o,n,T,t);xu()&&Fp(o,n,D,T),vi(D,n);const $=BT(D,n,D,T);return n[S]=$,zp(n,$),function $5(n,o,t){return Y_(n,o,t)}($,T,n),ap(T)&&T_(o,n,T),null!=m&&w_(n,T,v),T}function se(n,o,t,r,i,s,u,p){const m=it(),v=On();return pg(m,v,n,o,t,r,i,_s(v.consts,s),u,p),se}let s8=function a8(n,o,t,r){return ga(!0),o[fn].createComment("")};var yd=function(n){return n[n.EarlyRead=0]="EarlyRead",n[n.Write=1]="Write",n[n.MixedReadWrite=2]="MixedReadWrite",n[n.Read=3]="Read",n}(yd||{});let f8=(()=>{class n{constructor(){this.impl=null}execute(){this.impl?.execute()}static{this.\u0275prov=St({token:n,providedIn:"root",factory:()=>new n})}}return n})();class _g{constructor(){this.ngZone=rt(dt),this.scheduler=rt(pd),this.errorHandler=rt(pa,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static{this.PHASES=[yd.EarlyRead,yd.Write,yd.MixedReadWrite,yd.Read]}execute(){this.executing=!0;for(const o of _g.PHASES)for(const t of this.sequences)if(!t.erroredOrDestroyed&&t.hooks[o])try{t.pipelinedValue=this.ngZone.runOutsideAngular(()=>t.hooks[o](t.pipelinedValue))}catch(r){t.erroredOrDestroyed=!0,this.errorHandler?.handleError(r)}this.executing=!1;for(const o of this.sequences)o.afterRun(),o.once&&(this.sequences.delete(o),o.destroy());for(const o of this.deferredRegistrations)this.sequences.add(o);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(o){this.executing?this.deferredRegistrations.add(o):(this.sequences.add(o),this.scheduler.notify(6))}unregister(o){this.executing&&this.sequences.has(o)?(o.erroredOrDestroyed=!0,o.pipelinedValue=void 0,o.once=!0):(this.sequences.delete(o),this.deferredRegistrations.delete(o))}static{this.\u0275prov=St({token:_g,providedIn:"root",factory:()=>new _g})}}class jk{constructor(o,t,r,i){this.impl=o,this.hooks=t,this.once=r,this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}}function lh(n,o){!o?.injector&&function r0(n){if(!i4())throw new Ve(-203,!1)}();const t=o?.injector??rt(Ht);return function os(n){return"browser"===(n??rt(Ht)).get(ha)}(t)?(Di("NgAfterNextRender"),function p8(n,o,t,r){const i=o.get(f8);i.impl??=o.get(_g);const s=t?.phase??yd.MixedReadWrite,u=!0!==t?.manualCleanup?o.get(Lu):null,p=new jk(i.impl,function Wk(n,o){if(n instanceof Function){const t=[void 0,void 0,void 0,void 0];return t[o]=n,t}return[n.earlyRead,n.write,n.mixedReadWrite,n.read]}(n,s),r,u);return i.impl.register(p),p}(n,t,o,!0)):h8}const h8={destroy(){}};function ys(n,o,t,r){const i=it();return Cr(i,Ls(),o)&&(On(),ma(ko(),i,n,o,t,r)),ys}function Id(n,o,t,r){return Cr(n,Ls(),t)?o+qt(t)+r:yn}function uh(n,o){return n<<17|o<<2}function _l(n){return n>>17&32767}function m2(n){return 2|n}function ac(n){return(131068&n)>>2}function _2(n,o){return-131069&n|o<<2}function v2(n){return 1|n}function z8(n,o,t,r){const i=n[t+1],s=null===o;let u=r?_l(i):ac(i),p=!1;for(;0!==u&&(!1===p||s);){const v=n[u+1];PR(n[u],o)&&(p=!0,n[u+1]=r?v2(v):m2(v)),u=r?_l(v):ac(v)}p&&(n[t+1]=r?m2(i):v2(i))}function PR(n,o){return null===n||null==o||(Array.isArray(n)?n[1]:n)===o||!(!Array.isArray(n)||"string"!=typeof o)&&jc(n,o)>=0}const jr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function V8(n){return n.substring(jr.key,jr.keyEnd)}function H8(n,o){const t=jr.textEnd;return t===o?-1:(o=jr.keyEnd=function NR(n,o,t){for(;o<t&&n.charCodeAt(o)>32;)o++;return o}(n,jr.key=o,t),Od(n,o,t))}function Od(n,o,t){for(;o<t&&n.charCodeAt(o)<=32;)o++;return o}function P(n,o,t){const r=it();return Cr(r,Ls(),o)&&ji(On(),ko(),r,n,o,r[fn],t,!1),P}function y2(n,o,t,r,i){const u=i?"class":"style";$_(n,t,o.inputs[u],u,r)}function gh(n,o,t){return Bs(n,o,t,!1),gh}function va(n,o){return Bs(n,o,null,!0),va}function b2(n){Us(zR,ba,n,!0)}function ba(n,o){for(let t=function $R(n){return function G8(n){jr.key=0,jr.keyEnd=0,jr.value=0,jr.valueEnd=0,jr.textEnd=n.length}(n),H8(n,Od(n,0,jr.textEnd))}(o);t>=0;t=H8(o,t))es(n,V8(o),!0)}function Bs(n,o,t,r){const i=it(),s=On(),u=Ba(2);s.firstUpdatePass&&K8(s,n,u,r),o!==yn&&Cr(i,u,o)&&Z8(s,s.data[ci()],i,i[fn],n,i[u+1]=function HR(n,o){return null==n||""===n||("string"==typeof o?n+=o:"object"==typeof n&&(n=Qn(gl(n)))),n}(o,t),r,u)}function Us(n,o,t,r){const i=On(),s=Ba(2);i.firstUpdatePass&&K8(i,null,s,r);const u=it();if(t!==yn&&Cr(u,s,t)){const p=i.data[ci()];if(J8(p,r)&&!Y8(i,s)){let m=r?p.classesWithoutHost:p.stylesWithoutHost;null!==m&&(t=zl(m,t||"")),y2(i,p,u,t,r)}else!function VR(n,o,t,r,i,s,u,p){i===yn&&(i=to);let m=0,v=0,S=0<i.length?i[0]:null,T=0<s.length?s[0]:null;for(;null!==S||null!==T;){const D=m<i.length?i[m+1]:void 0,$=v<s.length?s[v+1]:void 0;let k,x=null;S===T?(m+=2,v+=2,D!==$&&(x=T,k=$)):null===T||null!==S&&S<T?(m+=2,x=S):(v+=2,x=T,k=$),null!==x&&Z8(n,o,t,r,x,k,u,p),S=m<i.length?i[m]:null,T=v<s.length?s[v]:null}}(i,p,u,u[fn],u[s+1],u[s+1]=function UR(n,o,t){if(null==t||""===t)return to;const r=[],i=gl(t);if(Array.isArray(i))for(let s=0;s<i.length;s++)n(r,i[s],!0);else if("object"==typeof i)for(const s in i)i.hasOwnProperty(s)&&n(r,s,i[s]);else"string"==typeof i&&o(r,i);return r}(n,o,t),r,s)}}function Y8(n,o){return o>=n.expandoStartIndex}function K8(n,o,t,r){const i=n.data;if(null===i[t+1]){const s=i[ci()],u=Y8(n,t);J8(s,r)&&null===o&&!u&&(o=!1),o=function RR(n,o,t,r){const i=function b0(n){const o=pn.lFrame.currentDirectiveIndex;return-1===o?null:n[o]}(n);let s=r?o.residualClasses:o.residualStyles;if(null===i)0===(r?o.classBindings:o.styleBindings)&&(t=yg(t=S2(null,n,o,t,r),o.attrs,r),s=null);else{const u=o.directiveStylingLast;if(-1===u||n[u]!==i)if(t=S2(i,n,o,t,r),null===s){let m=function LR(n,o,t){const r=t?o.classBindings:o.styleBindings;if(0!==ac(r))return n[_l(r)]}(n,o,r);void 0!==m&&Array.isArray(m)&&(m=S2(null,n,o,m[1],r),m=yg(m,o.attrs,r),function FR(n,o,t,r){n[_l(t?o.classBindings:o.styleBindings)]=r}(n,o,r,m))}else s=function BR(n,o,t){let r;const i=o.directiveEnd;for(let s=1+o.directiveStylingLast;s<i;s++)r=yg(r,n[s].hostAttrs,t);return yg(r,o.attrs,t)}(n,o,r)}return void 0!==s&&(r?o.residualClasses=s:o.residualStyles=s),t}(i,s,o,r),function IR(n,o,t,r,i,s){let u=s?o.classBindings:o.styleBindings,p=_l(u),m=ac(u);n[r]=t;let S,v=!1;if(Array.isArray(t)?(S=t[1],(null===S||jc(t,S)>0)&&(v=!0)):S=t,i)if(0!==m){const D=_l(n[p+1]);n[r+1]=uh(D,p),0!==D&&(n[D+1]=_2(n[D+1],r)),n[p+1]=function wR(n,o){return 131071&n|o<<17}(n[p+1],r)}else n[r+1]=uh(p,0),0!==p&&(n[p+1]=_2(n[p+1],r)),p=r;else n[r+1]=uh(m,0),0===p?p=r:n[m+1]=_2(n[m+1],r),m=r;v&&(n[r+1]=m2(n[r+1])),z8(n,S,r,!0),z8(n,S,r,!1),function DR(n,o,t,r,i){const s=i?n.residualClasses:n.residualStyles;null!=s&&"string"==typeof o&&jc(s,o)>=0&&(t[r+1]=v2(t[r+1]))}(o,S,n,r,s),u=uh(p,m),s?o.classBindings=u:o.styleBindings=u}(i,s,o,t,u,r)}}function S2(n,o,t,r,i){let s=null;const u=t.directiveEnd;let p=t.directiveStylingLast;for(-1===p?p=t.directiveStart:p++;p<u&&(s=o[p],r=yg(r,s.hostAttrs,i),s!==n);)p++;return null!==n&&(t.directiveStylingLast=p),r}function yg(n,o,t){const r=t?1:2;let i=-1;if(null!==o)for(let s=0;s<o.length;s++){const u=o[s];"number"==typeof u?i=u:i===r&&(Array.isArray(n)||(n=void 0===n?[]:["",n]),es(n,u,!!t||o[++s]))}return void 0===n?null:n}function zR(n,o,t){const r=String(o);""!==r&&!r.includes(" ")&&es(n,r,t)}function Z8(n,o,t,r,i,s,u,p){if(!(3&o.type))return;const m=n.data,v=m[p+1],S=function ER(n){return!(1&~n)}(v)?Q8(m,o,t,i,ac(v),u):void 0;fh(S)||(fh(s)||function TR(n){return!(2&~n)}(v)&&(s=Q8(m,null,t,i,p,u)),function ax(n,o,t,r,i){if(o)i?n.addClass(t,r):n.removeClass(t,r);else{let s=-1===r.indexOf("-")?void 0:fl.DashCase;null==i?n.removeStyle(t,r,s):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),s|=fl.Important),n.setStyle(t,r,i,s))}}(r,u,$u(ci(),t),i,s))}function Q8(n,o,t,r,i,s){const u=null===o;let p;for(;i>0;){const m=n[i],v=Array.isArray(m),S=v?m[1]:m,T=null===S;let D=t[i+1];D===yn&&(D=T?to:void 0);let $=T?q1(D,r):S===r?D:void 0;if(v&&!fh($)&&($=q1(m,r)),fh($)&&(p=$,u))return p;const x=n[i+1];i=u?_l(x):ac(x)}if(null!==o){let m=s?o.residualClasses:o.residualStyles;null!=m&&(p=q1(m,r))}return p}function fh(n){return void 0!==n}function J8(n,o){return!!(n.flags&(o?8:16))}function r9(n,o){Di("NgControlFlow");const t=it(),r=Ls(),i=t[r]!==yn?t[r]:-1,s=-1!==i?ph(t,Qt+i):void 0;if(Cr(t,r,n)){const p=Z(null);try{if(void 0!==s&&function N_(n,o){const t=Ku(n,o);return void 0!==t&&Lp(t[Et],t),t}(s,0),-1!==n){const m=Qt+n,v=ph(t,m),S=function w2(n,o){return Au(n,o)}(t[Et],m),T=oc(v,S.tView.ssrId);gd(v,ud(t,S,o,{dehydratedView:T}),0,tc(S,T))}}finally{Z(p)}}else if(void 0!==s){const p=function jT(n,o){const t=Sr+o;if(t<n.length)return n[t]}(s,0);void 0!==p&&(p[Oo]=o)}}function ph(n,o){return n[o]}function I(n,o,t,r){const i=it(),s=On(),u=Qt+n,p=i[fn],m=s.firstCreatePass?function dL(n,o,t,r,i,s){const u=o.consts,m=ec(o,n,2,r,_s(u,i));return I_(o,t,m,_s(u,s)),null!==m.attrs&&Jp(m,m.attrs,!1),null!==m.mergedAttrs&&Jp(m,m.mergedAttrs,!0),null!==o.queries&&o.queries.elementStart(o,m),m}(u,s,i,o,t,r):s.data[u],v=i9(s,i,m,p,o,n);i[u]=v;const S=ap(m);return Rs(m,!0),PT(p,v,m),!function _d(n){return!(32&~n.flags)}(m)&&xu()&&Fp(s,i,v,m),0===function k$(){return pn.lFrame.elementDepthCount}()&&vi(v,i),function R$(){pn.lFrame.elementDepthCount++}(),S&&(T_(s,i,m),C_(s,m,i)),null!==r&&w_(i,m),I}function E(){let n=So();_0()?v0():(n=n.parent,Rs(n,!1));const o=n;(function F$(n){return pn.skipHydrationRootTNode===n})(o)&&function V$(){pn.skipHydrationRootTNode=null}(),function L$(){pn.lFrame.elementDepthCount--}();const t=On();return t.firstCreatePass&&(fp(t,n),l0(n)&&t.queries.elementEnd(n)),null!=o.classesWithoutHost&&function nA(n){return!!(8&n.flags)}(o)&&y2(t,o,it(),o.classesWithoutHost,!0),null!=o.stylesWithoutHost&&function oA(n){return!!(16&n.flags)}(o)&&y2(t,o,it(),o.stylesWithoutHost,!1),E}function oe(n,o,t,r){return I(n,o,t,r),E(),oe}let i9=(n,o,t,r,i,s)=>(ga(!0),Rp(r,i,function R4(){return pn.lFrame.currentNamespace}()));function Xo(n,o,t){const r=it(),i=On(),s=n+Qt,u=i.firstCreatePass?function fL(n,o,t,r,i){const s=o.consts,u=_s(s,r),p=ec(o,n,8,"ng-container",u);return null!==u&&Jp(p,u,!0),I_(o,t,p,_s(s,i)),null!==o.queries&&o.queries.elementStart(o,p),p}(s,i,r,o,t):i.data[s];Rs(u,!0);const p=s9(i,r,u,n);return r[s]=p,xu()&&Fp(i,r,p,u),vi(p,r),ap(u)&&(T_(i,r,u),C_(i,u,r)),null!=t&&w_(r,u),Xo}function Zo(){let n=So();const o=On();return _0()?v0():(n=n.parent,Rs(n,!1)),o.firstCreatePass&&(fp(o,n),l0(n)&&o.queries.elementEnd(n)),Zo}let s9=(n,o,t,r)=>(ga(!0),f_(o[fn],""));function Me(){return it()}const lc=void 0;var _L=["en",[["a","p"],["AM","PM"],lc],[["AM","PM"],lc,lc],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],lc,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],lc,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",lc,"{1} 'at' {0}",lc],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function mL(n){const t=Math.floor(Math.abs(n)),r=n.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===r?1:5}];let kd={};function Pi(n){const o=function yL(n){return n.toLowerCase().replace(/_/g,"-")}(n);let t=d9(o);if(t)return t;const r=o.split("-")[0];if(t=d9(r),t)return t;if("en"===r)return _L;throw new Ve(701,!1)}function d9(n){return n in kd||(kd[n]=yt.ng&&yt.ng.common&&yt.ng.common.locales&&yt.ng.common.locales[n]),kd[n]}var Ro=function(n){return n[n.LocaleId=0]="LocaleId",n[n.DayPeriodsFormat=1]="DayPeriodsFormat",n[n.DayPeriodsStandalone=2]="DayPeriodsStandalone",n[n.DaysFormat=3]="DaysFormat",n[n.DaysStandalone=4]="DaysStandalone",n[n.MonthsFormat=5]="MonthsFormat",n[n.MonthsStandalone=6]="MonthsStandalone",n[n.Eras=7]="Eras",n[n.FirstDayOfWeek=8]="FirstDayOfWeek",n[n.WeekendRange=9]="WeekendRange",n[n.DateFormat=10]="DateFormat",n[n.TimeFormat=11]="TimeFormat",n[n.DateTimeFormat=12]="DateTimeFormat",n[n.NumberSymbols=13]="NumberSymbols",n[n.NumberFormats=14]="NumberFormats",n[n.CurrencyCode=15]="CurrencyCode",n[n.CurrencySymbol=16]="CurrencySymbol",n[n.CurrencyName=17]="CurrencyName",n[n.Currencies=18]="Currencies",n[n.Directionality=19]="Directionality",n[n.PluralCase=20]="PluralCase",n[n.ExtraData=21]="ExtraData",n}(Ro||{});const mh="en-US";let u9=mh,M9=(n,o,t)=>{};function re(n,o,t,r){const i=it(),s=On(),u=So();return D2(s,i,i[fn],u,n,o,r),re}function D2(n,o,t,r,i,s,u){const p=ap(r),v=n.firstCreatePass&&VT(n),S=o[Oo],T=zT(o);let D=!0;if(3&r.type||u){const k=Ei(r,o),B=u?u(k):k,G=T.length,L=u?ge=>u(no(ge[r.index])):r.index;let H=null;if(!u&&p&&(H=function aF(n,o,t,r){const i=n.cleanup;if(null!=i)for(let s=0;s<i.length-1;s+=2){const u=i[s];if(u===t&&i[s+1]===r){const p=o[Yc],m=i[s+2];return p.length>m?p[m]:null}"string"==typeof u&&(s+=2)}return null}(n,o,i,r.index)),null!==H)(H.__ngLastListenerFn__||H).__ngNextListenerFn__=s,H.__ngLastListenerFn__=s,D=!1;else{s=x9(r,o,S,s),M9(k,i,s);const ge=t.listen(B,i,s);T.push(s,ge),v&&v.push(i,L,G,G+1)}}else s=x9(r,o,S,s);const $=r.outputs;let x;if(D&&null!==$&&(x=$[i])){const k=x.length;if(k)for(let B=0;B<k;B+=2){const Fe=o[x[B]][x[B+1]].subscribe(s),He=T.length;T.push(s,Fe),v&&v.push(i,r.index,He,-(He+1))}}}function N9(n,o,t,r){const i=Z(null);try{return ua(6,o,t),!1!==t(r)}catch(s){return Vp(n,s),!1}finally{ua(7,o,t),Z(i)}}function x9(n,o,t,r){return function i(s){if(s===Function)return r;Ju(n.componentOffset>-1?ts(n.index,o):o,5);let p=N9(o,t,r,s),m=i.__ngNextListenerFn__;for(;m;)p=N9(o,t,m,s)&&p,m=m.__ngNextListenerFn__;return p}}function M(n=1){return function q$(n){return(pn.lFrame.contextLView=function S4(n,o){for(;n>0;)o=o[Kc],n--;return o}(n,pn.lFrame.contextLView))[Oo]}(n)}function lF(n,o){let t=null;const r=function XM(n){const o=n.attrs;if(null!=o){const t=o.indexOf(5);if(!(1&t))return o[t+1]}return null}(n);for(let i=0;i<o.length;i++){const s=o[i];if("*"!==s){if(null===r?XS(n,s,!0):JM(r,s))return i}else t=i}return t}function At(n){const o=it()[Ko][li];if(!o.projection){const r=o.projection=function Xf(n,o){const t=[];for(let r=0;r<n;r++)t.push(o);return t}(n?n.length:1,null),i=r.slice();let s=o.child;for(;null!==s;){if(128!==s.type){const u=n?lF(s,n):0;null!==u&&(i[u]?i[u].projectionNext=s:r[u]=s,i[u]=s)}s=s.next}}}function $t(n,o=0,t,r,i,s){const u=it(),p=On(),m=r?n+1:null;null!==m&&pg(u,p,m,r,i,s,null,t);const v=ec(p,Qt+n,16,null,t||null);null===v.projection&&(v.projection=o),v0();const T=!u[Ti]||ql();null===u[Ko][li].projection[v.projection]&&null!==m?function cF(n,o,t){const r=Qt+t,i=o.data[r],s=n[r],u=oc(s,i.tView.ssrId);gd(s,ud(n,i,void 0,{dehydratedView:u}),0,tc(i,u))}(u,p,m):T&&32&~v.flags&&function ix(n,o,t){IT(o[fn],0,o,t,m_(n,t,o),bT(t.parent||o[li],t,o))}(p,u,v)}function bh(n,o,t){return yi(n,"",o,"",t),bh}function yi(n,o,t,r,i){const s=it(),u=Id(s,o,t,r);return u!==yn&&ji(On(),ko(),s,n,u,s[fn],i,!1),yi}function cc(n,o,t,r){!function R5(n,o,t,r){const i=On();if(i.firstCreatePass){const s=So();L5(i,new N5(o,t,r),s.index),function pk(n,o){const t=n.contentQueries||(n.contentQueries=[]);o!==(t.length?t[t.length-1]:-1)&&t.push(n.queries.length-1,o)}(i,n),!(2&~t)&&(i.staticContentQueries=!0)}return O5(i,it(),t)}(n,o,t,r)}function di(n,o,t){!function k5(n,o,t){const r=On();return r.firstCreatePass&&(L5(r,new N5(n,o,t),-1),!(2&~o)&&(r.staticViewQueries=!0)),O5(r,it(),o)}(n,o,t)}function ir(n){const o=it(),t=On(),r=S0();gp(r+1);const i=t2(t,r);if(n.dirty&&function x$(n){return!(4&~n[nn])}(o)===!(2&~i.metadata.flags)){if(null===i.matches)n.reset([]);else{const s=F5(o,r);n.reset(s,uC),n.notifyOnChanges()}return!0}return!1}function sr(){return function e2(n,o){return n[Ra].queries[o].queryList}(it(),S0())}function M2(n){return Wl(function E4(){return pn.lFrame.contextLView}(),Qt+n)}function z(n,o=""){const t=it(),r=On(),i=n+Qt,s=r.firstCreatePass?ec(r,i,1,o,null):r.data[i],u=Z9(r,t,s,o,n);t[i]=u,xu()&&Fp(r,t,u,s),Rs(s,!1)}let Z9=(n,o,t,r,i)=>(ga(!0),function g_(n,o){return n.createText(o)}(o[fn],r));function Re(n){return Te("",n,""),Re}function Te(n,o,t){const r=it(),i=Id(r,n,o,t);return i!==yn&&Ha(r,ci(),i),Te}function Co(n,o,t,r,i){const s=it(),u=function Dd(n,o,t,r,i,s){const p=ic(n,Fa(),t,i);return Ba(2),p?o+qt(t)+r+qt(i)+s:yn}(s,n,o,t,r,i);return u!==yn&&Ha(s,ci(),u),Co}function Rd(n,o,t,r,i,s,u){const p=it(),m=function Pd(n,o,t,r,i,s,u,p){const v=rh(n,Fa(),t,i,u);return Ba(3),v?o+qt(t)+r+qt(i)+s+qt(u)+p:yn}(p,n,o,t,r,i,s,u);return m!==yn&&Ha(p,ci(),m),Rd}function zn(n,o,t){V5(o)&&(o=o());const r=it();return Cr(r,Ls(),o)&&ji(On(),ko(),r,n,o,r[fn],t,!1),zn}function Gn(n,o){const t=V5(n);return t&&n.set(o),t}function Vn(n,o){const t=it(),r=On(),i=So();return D2(r,t,t[fn],i,n,o),Vn}function $2(n,o,t,r,i){if(n=_e(n),Array.isArray(n))for(let s=0;s<n.length;s++)$2(n[s],o,t,r,i);else{const s=On(),u=it(),p=So();let m=Hl(n)?n:_e(n.provide);const v=r4(n),S=1048575&p.providerIndexes,T=p.directiveStart,D=p.providerIndexes>>20;if(Hl(n)||!n.multi){const $=new Ou(v,i,N),x=N2(m,o,i?S:S+D,T);-1===x?($0(_p(p,u),s,m),A2(s,n,o.length),o.push(m),p.directiveStart++,p.directiveEnd++,i&&(p.providerIndexes+=1048576),t.push($),u.push($)):(t[x]=$,u[x]=$)}else{const $=N2(m,o,S+D,T),x=N2(m,o,S,S+D),B=x>=0&&t[x];if(i&&!B||!i&&!($>=0&&t[$])){$0(_p(p,u),s,m);const G=function MF(n,o,t,r,i){const s=new Ou(n,t,N);return s.multi=[],s.index=o,s.componentProviders=0,sw(s,i,r&&!t),s}(i?PF:DF,t.length,i,r,v);!i&&B&&(t[x].providerFactory=G),A2(s,n,o.length,0),o.push(m),p.directiveStart++,p.directiveEnd++,i&&(p.providerIndexes+=1048576),t.push(G),u.push(G)}else A2(s,n,$>-1?$:x,sw(t[i?x:$],v,!i&&r));!i&&r&&B&&t[x].componentProviders++}}}function A2(n,o,t,r){const i=Hl(o),s=function c$(n){return!!n.useClass}(o);if(i||s){const m=(s?_e(o.useClass):o).prototype.ngOnDestroy;if(m){const v=n.destroyHooks||(n.destroyHooks=[]);if(!i&&o.multi){const S=v.indexOf(t);-1===S?v.push(t,[r,m]):v[S+1].push(r,m)}else v.push(t,m)}}}function sw(n,o,t){return t&&n.componentProviders++,n.multi.push(o)-1}function N2(n,o,t,r){for(let i=t;i<r;i++)if(o[i]===n)return i;return-1}function DF(n,o,t,r){return x2(this.multi,[])}function PF(n,o,t,r){const i=this.multi;let s;if(this.providerFactory){const u=this.providerFactory.componentProviders,p=Xl(t,t[Et],this.providerFactory.index,r);s=p.slice(0,u),x2(i,s);for(let m=u;m<p.length;m++)s.push(p[m])}else s=[],x2(i,s);return s}function x2(n,o){for(let t=0;t<n.length;t++)o.push((0,n[t])());return o}function mo(n,o=[]){return t=>{t.providersResolver=(r,i)=>function IF(n,o,t){const r=On();if(r.firstCreatePass){const i=ks(n);$2(t,r.data,r.blueprint,i,!0),$2(o,r.data,r.blueprint,i,!1)}}(r,i?i(n):n,o)}}let $F=(()=>{class n{constructor(t){this._injector=t,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){const r=Z1(0,t.type),i=r.length>0?nh([r],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t,i)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(const t of this.cachedInjectors.values())null!==t&&t.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=St({token:n,providedIn:"environment",factory:()=>new n(Tt($r))})}}return n})();function aw(n){Di("NgStandalone"),n.getStandaloneInjector=o=>o.get($F).getOrCreateStandaloneInjector(n)}function Lo(n,o,t,r){return function dw(n,o,t,r,i,s){const u=o+t;return Cr(n,u,i)?_a(n,u+1,s?r.call(s,i):r(i)):Eg(n,u+1)}(it(),Ii(),n,o,t,r)}function O2(n,o,t,r,i){return uw(it(),Ii(),n,o,t,r,i)}function Eg(n,o){const t=n[o];return t===yn?void 0:t}function uw(n,o,t,r,i,s,u){const p=o+t;return ic(n,p,i,s)?_a(n,p+2,u?r.call(u,i,s):r(i,s)):Eg(n,p+2)}function Go(n,o){const t=On();let r;const i=n+Qt;t.firstCreatePass?(r=function VF(n,o){if(o)for(let t=o.length-1;t>=0;t--){const r=o[t];if(n===r.name)return r}}(o,t.pipeRegistry),t.data[i]=r,r.onDestroy&&(t.destroyHooks??=[]).push(i,r.onDestroy)):r=t.data[i];const s=r.factory||(r.factory=Vl(r.type)),p=Ui(N);try{const m=mp(!1),v=s();return mp(m),function P2(n,o,t,r){t>=n.data.length&&(n.data[t]=null,n.blueprint[t]=null),o[t]=r}(t,it(),i,v),v}finally{Ui(p)}}function Ld(n,o,t,r){const i=n+Qt,s=it(),u=Wl(s,i);return Ig(s,i)?uw(s,Ii(),o,u.transform,t,r,u):u.transform(t,r)}function xr(n,o,t,r,i){const s=n+Qt,u=it(),p=Wl(u,s);return Ig(u,s)?function gw(n,o,t,r,i,s,u,p){const m=o+t;return rh(n,m,i,s,u)?_a(n,m+3,p?r.call(p,i,s,u):r(i,s,u)):Eg(n,m+3)}(u,Ii(),o,p.transform,t,r,i,p):p.transform(t,r,i)}function Ig(n,o){return n[Et].data[o].pure}function k2(n,o){return jp(n,o)}let $w=(()=>{class n{log(t){console.log(t)}warn(t){console.warn(t)}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275prov=St({token:n,factory:n.\u0275fac,providedIn:"platform"})}}return n})();const kw=new Pt(""),Eh=new Pt("");let H2,z2=(()=>{class n{constructor(t,r,i){this._ngZone=t,this.registry=r,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,H2||(function FB(n){H2=n}(i),i.addToWindow(r)),this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{dt.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb()}});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(t)||(clearTimeout(r.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,r,i){let s=-1;r&&r>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(u=>u.timeoutId!==s),t()},r)),this._callbacks.push({doneCb:t,timeoutId:s,updateCb:i})}whenStable(t,r,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,r,i),this._runCallbacksIfReady()}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,r,i){return[]}static{this.\u0275fac=function(r){return new(r||n)(Tt(dt),Tt(V2),Tt(Eh))}}static{this.\u0275prov=St({token:n,factory:n.\u0275fac})}}return n})(),V2=(()=>{class n{constructor(){this._applications=new Map}registerApplication(t,r){this._applications.set(t,r)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,r=!0){return H2?.findTestabilityInTree(this,t,r)??null}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275prov=St({token:n,factory:n.\u0275fac,providedIn:"platform"})}}return n})();function $g(n){return!!n&&"function"==typeof n.then}function Rw(n){return!!n&&"function"==typeof n.subscribe}const Ih=new Pt("");let Lw=(()=>{class n{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r}),this.appInits=rt(Ih,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const i of this.appInits){const s=i();if($g(s))t.push(s);else if(Rw(s)){const u=new Promise((p,m)=>{s.subscribe({complete:p,error:m})});t.push(u)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{r()}).catch(i=>{this.reject(i)}),0===t.length&&r(),this.initialized=!0}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275prov=St({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();const Dh=new Pt("");function Bw(n,o){return Array.isArray(o)?o.reduce(Bw,n):{...n,...o}}let zs=(()=>{class n{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=rt(AA),this.afterRenderManager=rt(f8),this.zonelessEnabled=rt(lg),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new Ho,this.afterTick=new Ho,this.componentTypes=[],this.components=[],this.isStable=rt(za).hasPendingTasks.pipe(rn(t=>!t)),this._injector=rt($r)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let t;return new Promise(r=>{t=this.isStable.subscribe({next:i=>{i&&r()}})}).finally(()=>{t.unsubscribe()})}get injector(){return this._injector}bootstrap(t,r){const i=t instanceof b5;if(!this._injector.get(Lw).done)throw!i&&function cl(n){const o=Rn(n)||Ur(n)||ai(n);return null!==o&&o.standalone}(t),new Ve(405,!1);let u;u=i?t:this._injector.get(Xp).resolveComponentFactory(t),this.componentTypes.push(u.componentType);const p=function BB(n){return n.isBoundToModule}(u)?void 0:this._injector.get(rc),v=u.create(Ht.NULL,[],r||u.selector,p),S=v.location.nativeElement,T=v.injector.get(kw,null);return T?.registerApplication(S),v.onDestroy(()=>{this.detachView(v.hostView),Ph(this.components,v),T?.unregisterApplication(S)}),this._loadComponent(v),v}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new Ve(101,!1);const t=Z(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,Z(t),this.afterTick.next()}}synchronize(){let t=null;this._injector.destroyed||(t=this._injector.get(Zp,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let r=0;for(;0!==this.dirtyFlags&&r++<10;)this.synchronizeOnce(t)}synchronizeOnce(t){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,7&this.dirtyFlags){const r=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(r);for(let{_lView:i,notifyErrorHandler:s}of this._views)VB(i,s,r,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),7&this.dirtyFlags)return}else t?.begin?.(),t?.end?.();8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:t})=>lp(t))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(t){const r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){const r=t;Ph(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);const r=this._injector.get(Dh,[]);[...this._bootstrapListeners,...r].forEach(i=>i(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>Ph(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new Ve(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275prov=St({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();function Ph(n,o){const t=n.indexOf(o);t>-1&&n.splice(t,1)}function VB(n,o,t,r){(t||lp(n))&&Hp(n,o,t&&!r?0:1)}class HB{constructor(o,t){this.ngModuleFactory=o,this.componentFactories=t}}let zw=(()=>{class n{compileModuleSync(t){return new r2(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){const r=this.compileModuleSync(t),s=ns(mi(t).declarations).reduce((u,p)=>{const m=Rn(p);return m&&u.push(new ug(m)),u},[]);return new HB(r,s)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275prov=St({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),WB=(()=>{class n{constructor(){this.zone=rt(dt),this.changeDetectionScheduler=rt(pd),this.applicationRef=rt(zs)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275prov=St({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();function j2({ngZoneFactory:n,ignoreChangesOutsideZone:o,scheduleInRootZone:t}){return n??=()=>new dt({...G2(),scheduleInRootZone:t}),[{provide:dt,useFactory:n},{provide:aa,multi:!0,useFactory:()=>{const r=rt(WB,{optional:!0});return()=>r.initialize()}},{provide:aa,multi:!0,useFactory:()=>{const r=rt(YB);return()=>{r.initialize()}}},!0===o?{provide:y5,useValue:!0}:[],{provide:j_,useValue:t??rC}]}function G2(n){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:n?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:n?.runCoalescing??!1}}let YB=(()=>{class n{constructor(){this.subscription=new Wt,this.initialized=!1,this.zone=rt(dt),this.pendingTasks=rt(za)}initialize(){if(this.initialized)return;this.initialized=!0;let t=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(t=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{dt.assertNotInAngularZone(),queueMicrotask(()=>{null!==t&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{dt.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275prov=St({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),Ag=(()=>{class n{constructor(){this.appRef=rt(zs),this.taskService=rt(za),this.ngZone=rt(dt),this.zonelessEnabled=rt(lg),this.disableScheduling=rt(y5,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new Wt,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Cp):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(rt(j_,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof L0||!this.zoneIsDefined)}notify(t){if(!this.zonelessEnabled&&5===t)return;switch(t){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 7:this.appRef.deferredDirtyFlags|=8;break;default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;const r=this.useMicrotaskScheduler?sC:iC;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>r(()=>this.tick())):this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Cp+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const t=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(t),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,sC(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(t)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const t=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(t)}}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275prov=St({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();const vl=new Pt("",{providedIn:"root",factory:()=>rt(vl,Bn.Optional|Bn.SkipSelf)||function KB(){return typeof $localize<"u"&&$localize.locale||mh}()}),XB=new Pt("",{providedIn:"root",factory:()=>"USD"}),$h=new Pt("");function Ah(n){return!n.moduleRef}let qw=(()=>{class n{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,r){const i=r?.scheduleInRootZone,u=r?.ignoreChangesOutsideZone,p=[j2({ngZoneFactory:()=>function $A(n="zone.js",o){return"noop"===n?new L0:"zone.js"===n?new dt(o):n}(r?.ngZone,{...G2({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}),scheduleInRootZone:i}),ignoreChangesOutsideZone:u}),{provide:pd,useExisting:Ag}],m=function kk(n,o,t){return new o2(n,o,t,!1)}(t.moduleType,this.injector,p);return function Ww(n){const o=Ah(n)?n.r3Injector:n.moduleRef.injector,t=o.get(dt);return t.run(()=>{Ah(n)?n.r3Injector.resolveInjectorInitializers():n.moduleRef.resolveInjectorInitializers();const r=o.get(pa,null);let i;if(t.runOutsideAngular(()=>{i=t.onError.subscribe({next:s=>{r.handleError(s)}})}),Ah(n)){const s=()=>o.destroy(),u=n.platformInjector.get($h);u.add(s),o.onDestroy(()=>{i.unsubscribe(),u.delete(s)})}else{const s=()=>n.moduleRef.destroy(),u=n.platformInjector.get($h);u.add(s),n.moduleRef.onDestroy(()=>{Ph(n.allPlatformModules,n.moduleRef),i.unsubscribe(),u.delete(s)})}return function zB(n,o,t){try{const r=t();return $g(r)?r.catch(i=>{throw o.runOutsideAngular(()=>n.handleError(i)),i}):r}catch(r){throw o.runOutsideAngular(()=>n.handleError(r)),r}}(r,t,()=>{const s=o.get(Lw);return s.runInitializers(),s.donePromise.then(()=>{if(function TL(n){"string"==typeof n&&(u9=n.toLowerCase().replace(/_/g,"-"))}(o.get(vl,mh)||mh),Ah(n)){const p=o.get(zs);return void 0!==n.rootComponent&&p.bootstrap(n.rootComponent),p}return function tU(n,o){const t=n.injector.get(zs);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(r=>t.bootstrap(r));else{if(!n.instance.ngDoBootstrap)throw new Ve(-403,!1);n.instance.ngDoBootstrap(t)}o.push(n)}(n.moduleRef,n.allPlatformModules),n.moduleRef})})})}({moduleRef:m,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(t,r=[]){const i=Bw({},r);return function GB(n,o,t){const r=new r2(t);return Promise.resolve(r)}(0,0,t).then(s=>this.bootstrapModuleFactory(s,i))}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Ve(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const t=this._injector.get($h,null);t&&(t.forEach(r=>r()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static{this.\u0275fac=function(r){return new(r||n)(Tt(Ht))}}static{this.\u0275prov=St({token:n,factory:n.\u0275fac,providedIn:"platform"})}}return n})(),yl=null;const Yw=new Pt("");function Kw(n,o,t=[]){const r=`Platform: ${o}`,i=new Pt(r);return(s=[])=>{let u=q2();if(!u||u.injector.get(Yw,!1)){const p=[...t,...s,{provide:i,useValue:!0}];n?n(p):function nU(n){if(yl&&!yl.get(Yw,!1))throw new Ve(400,!1);(function Fw(){!function ue(n){bt=n}(()=>{throw new Ve(600,!1)})})(),yl=n;const o=n.get(qw);(function Zw(n){n.get(AC,null)?.forEach(t=>t())})(n)}(function Xw(n=[],o){return Ht.create({name:o,providers:[{provide:e0,useValue:"platform"},{provide:$h,useValue:new Set([()=>yl=null])},...n]})}(p,r))}return function oU(){const o=q2();if(!o)throw new Ve(401,!1);return o}()}}function q2(){return yl?.get(qw)??null}let It=(()=>{class n{static{this.__NG_ELEMENT_ID__=sU}}return n})();function sU(n){return function aU(n,o,t){if(Gl(n)&&!t){const r=ts(n.index,o);return new eg(r,r)}return 175&n.type?new eg(o[Ko],o):null}(So(),it(),!(16&~n))}class nE{constructor(){}supports(o){return oh(o)}create(o){return new gU(o)}}const uU=(n,o)=>o;class gU{constructor(o){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=o||uU}forEachItem(o){let t;for(t=this._itHead;null!==t;t=t._next)o(t)}forEachOperation(o){let t=this._itHead,r=this._removalsHead,i=0,s=null;for(;t||r;){const u=!r||t&&t.currentIndex<rE(r,i,s)?t:r,p=rE(u,i,s),m=u.currentIndex;if(u===r)i--,r=r._nextRemoved;else if(t=t._next,null==u.previousIndex)i++;else{s||(s=[]);const v=p-i,S=m-i;if(v!=S){for(let D=0;D<v;D++){const $=D<s.length?s[D]:s[D]=0,x=$+D;S<=x&&x<v&&(s[D]=$+1)}s[u.previousIndex]=S-v}}p!==m&&o(u,p,m)}}forEachPreviousItem(o){let t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)o(t)}forEachAddedItem(o){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)o(t)}forEachMovedItem(o){let t;for(t=this._movesHead;null!==t;t=t._nextMoved)o(t)}forEachRemovedItem(o){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)o(t)}forEachIdentityChange(o){let t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)o(t)}diff(o){if(null==o&&(o=[]),!oh(o))throw new Ve(900,!1);return this.check(o)?this:null}onDestroy(){}check(o){this._reset();let i,s,u,t=this._itHead,r=!1;if(Array.isArray(o)){this.length=o.length;for(let p=0;p<this.length;p++)s=o[p],u=this._trackByFn(p,s),null!==t&&Object.is(t.trackById,u)?(r&&(t=this._verifyReinsertion(t,s,u,p)),Object.is(t.item,s)||this._addIdentityChange(t,s)):(t=this._mismatch(t,s,u,p),r=!0),t=t._next}else i=0,function Fk(n,o){if(Array.isArray(n))for(let t=0;t<n.length;t++)o(n[t]);else{const t=n[Symbol.iterator]();let r;for(;!(r=t.next()).done;)o(r.value)}}(o,p=>{u=this._trackByFn(i,p),null!==t&&Object.is(t.trackById,u)?(r&&(t=this._verifyReinsertion(t,p,u,i)),Object.is(t.item,p)||this._addIdentityChange(t,p)):(t=this._mismatch(t,p,u,i),r=!0),t=t._next,i++}),this.length=i;return this._truncate(t),this.collection=o,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let o;for(o=this._previousItHead=this._itHead;null!==o;o=o._next)o._nextPrevious=o._next;for(o=this._additionsHead;null!==o;o=o._nextAdded)o.previousIndex=o.currentIndex;for(this._additionsHead=this._additionsTail=null,o=this._movesHead;null!==o;o=o._nextMoved)o.previousIndex=o.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(o,t,r,i){let s;return null===o?s=this._itTail:(s=o._prev,this._remove(o)),null!==(o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(o.item,t)||this._addIdentityChange(o,t),this._reinsertAfter(o,s,i)):null!==(o=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(o.item,t)||this._addIdentityChange(o,t),this._moveAfter(o,s,i)):o=this._addAfter(new fU(t,r),s,i),o}_verifyReinsertion(o,t,r,i){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==s?o=this._reinsertAfter(s,o._prev,i):o.currentIndex!=i&&(o.currentIndex=i,this._addToMoves(o,i)),o}_truncate(o){for(;null!==o;){const t=o._next;this._addToRemovals(this._unlink(o)),o=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(o,t,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(o);const i=o._prevRemoved,s=o._nextRemoved;return null===i?this._removalsHead=s:i._nextRemoved=s,null===s?this._removalsTail=i:s._prevRemoved=i,this._insertAfter(o,t,r),this._addToMoves(o,r),o}_moveAfter(o,t,r){return this._unlink(o),this._insertAfter(o,t,r),this._addToMoves(o,r),o}_addAfter(o,t,r){return this._insertAfter(o,t,r),this._additionsTail=null===this._additionsTail?this._additionsHead=o:this._additionsTail._nextAdded=o,o}_insertAfter(o,t,r){const i=null===t?this._itHead:t._next;return o._next=i,o._prev=t,null===i?this._itTail=o:i._prev=o,null===t?this._itHead=o:t._next=o,null===this._linkedRecords&&(this._linkedRecords=new oE),this._linkedRecords.put(o),o.currentIndex=r,o}_remove(o){return this._addToRemovals(this._unlink(o))}_unlink(o){null!==this._linkedRecords&&this._linkedRecords.remove(o);const t=o._prev,r=o._next;return null===t?this._itHead=r:t._next=r,null===r?this._itTail=t:r._prev=t,o}_addToMoves(o,t){return o.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=o:this._movesTail._nextMoved=o),o}_addToRemovals(o){return null===this._unlinkedRecords&&(this._unlinkedRecords=new oE),this._unlinkedRecords.put(o),o.currentIndex=null,o._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=o,o._prevRemoved=null):(o._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=o),o}_addIdentityChange(o,t){return o.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=o:this._identityChangesTail._nextIdentityChange=o,o}}class fU{constructor(o,t){this.item=o,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class pU{constructor(){this._head=null,this._tail=null}add(o){null===this._head?(this._head=this._tail=o,o._nextDup=null,o._prevDup=null):(this._tail._nextDup=o,o._prevDup=this._tail,o._nextDup=null,this._tail=o)}get(o,t){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===t||t<=r.currentIndex)&&Object.is(r.trackById,o))return r;return null}remove(o){const t=o._prevDup,r=o._nextDup;return null===t?this._head=r:t._nextDup=r,null===r?this._tail=t:r._prevDup=t,null===this._head}}class oE{constructor(){this.map=new Map}put(o){const t=o.trackById;let r=this.map.get(t);r||(r=new pU,this.map.set(t,r)),r.add(o)}get(o,t){const i=this.map.get(o);return i?i.get(o,t):null}remove(o){const t=o.trackById;return this.map.get(t).remove(o)&&this.map.delete(t),o}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function rE(n,o,t){const r=n.previousIndex;if(null===r)return r;let i=0;return t&&r<t.length&&(i=t[r]),r+o+i}class iE{constructor(){}supports(o){return o instanceof Map||i2(o)}create(){return new hU}}class hU{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(o){let t;for(t=this._mapHead;null!==t;t=t._next)o(t)}forEachPreviousItem(o){let t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)o(t)}forEachChangedItem(o){let t;for(t=this._changesHead;null!==t;t=t._nextChanged)o(t)}forEachAddedItem(o){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)o(t)}forEachRemovedItem(o){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)o(t)}diff(o){if(o){if(!(o instanceof Map||i2(o)))throw new Ve(900,!1)}else o=new Map;return this.check(o)?this:null}onDestroy(){}check(o){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(o,(r,i)=>{if(t&&t.key===i)this._maybeAddToChanges(t,r),this._appendAfter=t,t=t._next;else{const s=this._getOrCreateRecordForKey(i,r);t=this._insertBeforeOrAppend(t,s)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let r=t;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(o,t){if(o){const r=o._prev;return t._next=o,t._prev=r,o._prev=t,r&&(r._next=t),o===this._mapHead&&(this._mapHead=t),this._appendAfter=o,o}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(o,t){if(this._records.has(o)){const i=this._records.get(o);this._maybeAddToChanges(i,t);const s=i._prev,u=i._next;return s&&(s._next=u),u&&(u._prev=s),i._next=null,i._prev=null,i}const r=new mU(o);return this._records.set(o,r),r.currentValue=t,this._addToAdditions(r),r}_reset(){if(this.isDirty){let o;for(this._previousMapHead=this._mapHead,o=this._previousMapHead;null!==o;o=o._next)o._nextPrevious=o._next;for(o=this._changesHead;null!==o;o=o._nextChanged)o.previousValue=o.currentValue;for(o=this._additionsHead;null!=o;o=o._nextAdded)o.previousValue=o.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(o,t){Object.is(t,o.currentValue)||(o.previousValue=o.currentValue,o.currentValue=t,this._addToChanges(o))}_addToAdditions(o){null===this._additionsHead?this._additionsHead=this._additionsTail=o:(this._additionsTail._nextAdded=o,this._additionsTail=o)}_addToChanges(o){null===this._changesHead?this._changesHead=this._changesTail=o:(this._changesTail._nextChanged=o,this._changesTail=o)}_forEach(o,t){o instanceof Map?o.forEach(t):Object.keys(o).forEach(r=>t(o[r],r))}}class mU{constructor(o){this.key=o,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function sE(){return new Q2([new nE])}let Q2=(()=>{class n{static{this.\u0275prov=St({token:n,providedIn:"root",factory:sE})}constructor(t){this.factories=t}static create(t,r){if(null!=r){const i=r.factories.slice();t=t.concat(i)}return new n(t)}static extend(t){return{provide:n,useFactory:r=>n.create(t,r||sE()),deps:[[n,new Yf,new qf]]}}find(t){const r=this.factories.find(i=>i.supports(t));if(null!=r)return r;throw new Ve(901,!1)}}return n})();function aE(){return new Oh([new iE])}let Oh=(()=>{class n{static{this.\u0275prov=St({token:n,providedIn:"root",factory:aE})}constructor(t){this.factories=t}static create(t,r){if(r){const i=r.factories.slice();t=t.concat(i)}return new n(t)}static extend(t){return{provide:n,useFactory:r=>n.create(t,r||aE()),deps:[[n,new Yf,new qf]]}}find(t){const r=this.factories.find(i=>i.supports(t));if(r)return r;throw new Ve(901,!1)}}return n})();const yU=Kw(null,"core",[]);let bU=(()=>{class n{constructor(t){}static{this.\u0275fac=function(r){return new(r||n)(Tt(zs))}}static{this.\u0275mod=bn({type:n})}static{this.\u0275inj=mn({})}}return n})();function kg(n,o){Di("NgSignals");const t=function st(n){const o=Object.create(Ue);o.computation=n;const t=()=>{if(Y(o),V(o),o.value===he)throw o.error;return o.value};return t[j]=o,t}(n);return o?.equal&&(t[j].equal=o.equal),t}function Sa(n){const o=Z(null);try{return n()}finally{Z(o)}}function $E(n){const o=Rn(n);if(!o)return null;const t=new ug(o);return{get selector(){return t.selector},get type(){return t.componentType},get inputs(){return t.inputs},get outputs(){return t.outputs},get ngContentSelectors(){return t.ngContentSelectors},get isStandalone(){return o.standalone},get isSignal(){return o.signals}}}let AE=null;function bl(){return AE}class iz{}const ui=new Pt("");let tv=(()=>{class n{historyGo(t){throw new Error("")}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275prov=St({token:n,factory:()=>rt(az),providedIn:"platform"})}}return n})();const sz=new Pt("");let az=(()=>{class n extends tv{constructor(){super(),this._doc=rt(ui),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return bl().getBaseHref(this._doc)}onPopState(t){const r=bl().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",t,!1),()=>r.removeEventListener("popstate",t)}onHashChange(t){const r=bl().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",t,!1),()=>r.removeEventListener("hashchange",t)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(t){this._location.pathname=t}pushState(t,r,i){this._history.pushState(t,r,i)}replaceState(t,r,i){this._history.replaceState(t,r,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275prov=St({token:n,factory:()=>new n,providedIn:"platform"})}}return n})();function nv(n,o){if(0==n.length)return o;if(0==o.length)return n;let t=0;return n.endsWith("/")&&t++,o.startsWith("/")&&t++,2==t?n+o.substring(1):1==t?n+o:n+"/"+o}function NE(n){const o=n.match(/#|\?|$/),t=o&&o.index||n.length;return n.slice(0,t-("/"===n[t-1]?1:0))+n.slice(t)}function Ga(n){return n&&"?"!==n[0]?"?"+n:n}let Wa=(()=>{class n{historyGo(t){throw new Error("")}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275prov=St({token:n,factory:()=>rt(OE),providedIn:"root"})}}return n})();const xE=new Pt("");let OE=(()=>{class n extends Wa{constructor(t,r){super(),this._platformLocation=t,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??rt(ui).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return nv(this._baseHref,t)}path(t=!1){const r=this._platformLocation.pathname+Ga(this._platformLocation.search),i=this._platformLocation.hash;return i&&t?`${r}${i}`:r}pushState(t,r,i,s){const u=this.prepareExternalUrl(i+Ga(s));this._platformLocation.pushState(t,r,u)}replaceState(t,r,i,s){const u=this.prepareExternalUrl(i+Ga(s));this._platformLocation.replaceState(t,r,u)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static{this.\u0275fac=function(r){return new(r||n)(Tt(tv),Tt(xE,8))}}static{this.\u0275prov=St({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),lz=(()=>{class n extends Wa{constructor(t,r){super(),this._platformLocation=t,this._baseHref="",this._removeListenerFns=[],null!=r&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){const r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(t){const r=nv(this._baseHref,t);return r.length>0?"#"+r:r}pushState(t,r,i,s){let u=this.prepareExternalUrl(i+Ga(s));0==u.length&&(u=this._platformLocation.pathname),this._platformLocation.pushState(t,r,u)}replaceState(t,r,i,s){let u=this.prepareExternalUrl(i+Ga(s));0==u.length&&(u=this._platformLocation.pathname),this._platformLocation.replaceState(t,r,u)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static{this.\u0275fac=function(r){return new(r||n)(Tt(tv),Tt(xE,8))}}static{this.\u0275prov=St({token:n,factory:n.\u0275fac})}}return n})(),Sl=(()=>{class n{constructor(t){this._subject=new $n,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=t;const r=this._locationStrategy.getBaseHref();this._basePath=function uz(n){if(new RegExp("^(https?:)?//").test(n)){const[,t]=n.split(/\/\/[^\/]+/);return t}return n}(NE(kE(r))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,r=""){return this.path()==this.normalize(t+Ga(r))}normalize(t){return n.stripTrailingSlash(function dz(n,o){if(!n||!o.startsWith(n))return o;const t=o.substring(n.length);return""===t||["/",";","?","#"].includes(t[0])?t:o}(this._basePath,kE(t)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,r="",i=null){this._locationStrategy.pushState(i,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Ga(r)),i)}replaceState(t,r="",i=null){this._locationStrategy.replaceState(i,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Ga(r)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{const r=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(r,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",r){this._urlChangeListeners.forEach(i=>i(t,r))}subscribe(t,r,i){return this._subject.subscribe({next:t,error:r,complete:i})}static{this.normalizeQueryParams=Ga}static{this.joinWithSlash=nv}static{this.stripTrailingSlash=NE}static{this.\u0275fac=function(r){return new(r||n)(Tt(Wa))}}static{this.\u0275prov=St({token:n,factory:()=>function cz(){return new Sl(Tt(Wa))}(),providedIn:"root"})}}return n})();function kE(n){return n.replace(/\/index.html$/,"")}const RE={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var zh=function(n){return n[n.Decimal=0]="Decimal",n[n.Percent=1]="Percent",n[n.Currency=2]="Currency",n[n.Scientific=3]="Scientific",n}(zh||{}),$i=function(n){return n[n.Format=0]="Format",n[n.Standalone=1]="Standalone",n}($i||{}),$o=function(n){return n[n.Narrow=0]="Narrow",n[n.Abbreviated=1]="Abbreviated",n[n.Wide=2]="Wide",n[n.Short=3]="Short",n}($o||{}),is=function(n){return n[n.Short=0]="Short",n[n.Medium=1]="Medium",n[n.Long=2]="Long",n[n.Full=3]="Full",n}(is||{});const Or={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function Vh(n,o){return Ss(Pi(n)[Ro.DateFormat],o)}function Hh(n,o){return Ss(Pi(n)[Ro.TimeFormat],o)}function jh(n,o){return Ss(Pi(n)[Ro.DateTimeFormat],o)}function bs(n,o){const t=Pi(n),r=t[Ro.NumberSymbols][o];if(typeof r>"u"){if(o===Or.CurrencyDecimal)return t[Ro.NumberSymbols][Or.Decimal];if(o===Or.CurrencyGroup)return t[Ro.NumberSymbols][Or.Group]}return r}function LE(n){if(!n[Ro.ExtraData])throw new Error(`Missing extra locale data for the locale "${n[Ro.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Ss(n,o){for(let t=o;t>-1;t--)if(typeof n[t]<"u")return n[t];throw new Error("Locale data API: locale data undefined")}function rv(n){const[o,t]=n.split(":");return{hours:+o,minutes:+t}}const Ez=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Gh={},Iz=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var qa=function(n){return n[n.Short=0]="Short",n[n.ShortGMT=1]="ShortGMT",n[n.Long=2]="Long",n[n.Extended=3]="Extended",n}(qa||{}),uo=function(n){return n[n.FullYear=0]="FullYear",n[n.Month=1]="Month",n[n.Date=2]="Date",n[n.Hours=3]="Hours",n[n.Minutes=4]="Minutes",n[n.Seconds=5]="Seconds",n[n.FractionalSeconds=6]="FractionalSeconds",n[n.Day=7]="Day",n}(uo||{}),go=function(n){return n[n.DayPeriods=0]="DayPeriods",n[n.Days=1]="Days",n[n.Months=2]="Months",n[n.Eras=3]="Eras",n}(go||{});function Wh(n,o,t,r){let i=function kz(n){if(UE(n))return n;if("number"==typeof n&&!isNaN(n))return new Date(n);if("string"==typeof n){if(n=n.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(n)){const[i,s=1,u=1]=n.split("-").map(p=>+p);return qh(i,s-1,u)}const t=parseFloat(n);if(!isNaN(n-t))return new Date(t);let r;if(r=n.match(Ez))return function Rz(n){const o=new Date(0);let t=0,r=0;const i=n[8]?o.setUTCFullYear:o.setFullYear,s=n[8]?o.setUTCHours:o.setHours;n[9]&&(t=Number(n[9]+n[10]),r=Number(n[9]+n[11])),i.call(o,Number(n[1]),Number(n[2])-1,Number(n[3]));const u=Number(n[4]||0)-t,p=Number(n[5]||0)-r,m=Number(n[6]||0),v=Math.floor(1e3*parseFloat("0."+(n[7]||0)));return s.call(o,u,p,m,v),o}(r)}const o=new Date(n);if(!UE(o))throw new Error(`Unable to convert "${n}" into a date`);return o}(n);o=Ya(t,o)||o;let p,u=[];for(;o;){if(p=Iz.exec(o),!p){u.push(o);break}{u=u.concat(p.slice(1));const S=u.pop();if(!S)break;o=S}}let m=i.getTimezoneOffset();r&&(m=BE(r,m),i=function Oz(n,o,t){const r=t?-1:1,i=n.getTimezoneOffset();return function xz(n,o){return(n=new Date(n.getTime())).setMinutes(n.getMinutes()+o),n}(n,r*(BE(o,i)-i))}(i,r,!0));let v="";return u.forEach(S=>{const T=function Nz(n){if(sv[n])return sv[n];let o;switch(n){case"G":case"GG":case"GGG":o=Fo(go.Eras,$o.Abbreviated);break;case"GGGG":o=Fo(go.Eras,$o.Wide);break;case"GGGGG":o=Fo(go.Eras,$o.Narrow);break;case"y":o=kr(uo.FullYear,1,0,!1,!0);break;case"yy":o=kr(uo.FullYear,2,0,!0,!0);break;case"yyy":o=kr(uo.FullYear,3,0,!1,!0);break;case"yyyy":o=kr(uo.FullYear,4,0,!1,!0);break;case"Y":o=Zh(1);break;case"YY":o=Zh(2,!0);break;case"YYY":o=Zh(3);break;case"YYYY":o=Zh(4);break;case"M":case"L":o=kr(uo.Month,1,1);break;case"MM":case"LL":o=kr(uo.Month,2,1);break;case"MMM":o=Fo(go.Months,$o.Abbreviated);break;case"MMMM":o=Fo(go.Months,$o.Wide);break;case"MMMMM":o=Fo(go.Months,$o.Narrow);break;case"LLL":o=Fo(go.Months,$o.Abbreviated,$i.Standalone);break;case"LLLL":o=Fo(go.Months,$o.Wide,$i.Standalone);break;case"LLLLL":o=Fo(go.Months,$o.Narrow,$i.Standalone);break;case"w":o=iv(1);break;case"ww":o=iv(2);break;case"W":o=iv(1,!0);break;case"d":o=kr(uo.Date,1);break;case"dd":o=kr(uo.Date,2);break;case"c":case"cc":o=kr(uo.Day,1);break;case"ccc":o=Fo(go.Days,$o.Abbreviated,$i.Standalone);break;case"cccc":o=Fo(go.Days,$o.Wide,$i.Standalone);break;case"ccccc":o=Fo(go.Days,$o.Narrow,$i.Standalone);break;case"cccccc":o=Fo(go.Days,$o.Short,$i.Standalone);break;case"E":case"EE":case"EEE":o=Fo(go.Days,$o.Abbreviated);break;case"EEEE":o=Fo(go.Days,$o.Wide);break;case"EEEEE":o=Fo(go.Days,$o.Narrow);break;case"EEEEEE":o=Fo(go.Days,$o.Short);break;case"a":case"aa":case"aaa":o=Fo(go.DayPeriods,$o.Abbreviated);break;case"aaaa":o=Fo(go.DayPeriods,$o.Wide);break;case"aaaaa":o=Fo(go.DayPeriods,$o.Narrow);break;case"b":case"bb":case"bbb":o=Fo(go.DayPeriods,$o.Abbreviated,$i.Standalone,!0);break;case"bbbb":o=Fo(go.DayPeriods,$o.Wide,$i.Standalone,!0);break;case"bbbbb":o=Fo(go.DayPeriods,$o.Narrow,$i.Standalone,!0);break;case"B":case"BB":case"BBB":o=Fo(go.DayPeriods,$o.Abbreviated,$i.Format,!0);break;case"BBBB":o=Fo(go.DayPeriods,$o.Wide,$i.Format,!0);break;case"BBBBB":o=Fo(go.DayPeriods,$o.Narrow,$i.Format,!0);break;case"h":o=kr(uo.Hours,1,-12);break;case"hh":o=kr(uo.Hours,2,-12);break;case"H":o=kr(uo.Hours,1);break;case"HH":o=kr(uo.Hours,2);break;case"m":o=kr(uo.Minutes,1);break;case"mm":o=kr(uo.Minutes,2);break;case"s":o=kr(uo.Seconds,1);break;case"ss":o=kr(uo.Seconds,2);break;case"S":o=kr(uo.FractionalSeconds,1);break;case"SS":o=kr(uo.FractionalSeconds,2);break;case"SSS":o=kr(uo.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":o=Kh(qa.Short);break;case"ZZZZZ":o=Kh(qa.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":o=Kh(qa.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":o=Kh(qa.Long);break;default:return null}return sv[n]=o,o}(S);v+=T?T(i,t,m):"''"===S?"'":S.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),v}function qh(n,o,t){const r=new Date(0);return r.setFullYear(n,o,t),r.setHours(0,0,0),r}function Ya(n,o){const t=function fz(n){return Pi(n)[Ro.LocaleId]}(n);if(Gh[t]??={},Gh[t][o])return Gh[t][o];let r="";switch(o){case"shortDate":r=Vh(n,is.Short);break;case"mediumDate":r=Vh(n,is.Medium);break;case"longDate":r=Vh(n,is.Long);break;case"fullDate":r=Vh(n,is.Full);break;case"shortTime":r=Hh(n,is.Short);break;case"mediumTime":r=Hh(n,is.Medium);break;case"longTime":r=Hh(n,is.Long);break;case"fullTime":r=Hh(n,is.Full);break;case"short":const i=Ya(n,"shortTime"),s=Ya(n,"shortDate");r=Yh(jh(n,is.Short),[i,s]);break;case"medium":const u=Ya(n,"mediumTime"),p=Ya(n,"mediumDate");r=Yh(jh(n,is.Medium),[u,p]);break;case"long":const m=Ya(n,"longTime"),v=Ya(n,"longDate");r=Yh(jh(n,is.Long),[m,v]);break;case"full":const S=Ya(n,"fullTime"),T=Ya(n,"fullDate");r=Yh(jh(n,is.Full),[S,T])}return r&&(Gh[t][o]=r),r}function Yh(n,o){return o&&(n=n.replace(/\{([^}]+)}/g,function(t,r){return null!=o&&r in o?o[r]:t})),n}function Vs(n,o,t="-",r,i){let s="";(n<0||i&&n<=0)&&(i?n=1-n:(n=-n,s=t));let u=String(n);for(;u.length<o;)u="0"+u;return r&&(u=u.slice(u.length-o)),s+u}function kr(n,o,t=0,r=!1,i=!1){return function(s,u){let p=function Pz(n,o){switch(n){case uo.FullYear:return o.getFullYear();case uo.Month:return o.getMonth();case uo.Date:return o.getDate();case uo.Hours:return o.getHours();case uo.Minutes:return o.getMinutes();case uo.Seconds:return o.getSeconds();case uo.FractionalSeconds:return o.getMilliseconds();case uo.Day:return o.getDay();default:throw new Error(`Unknown DateType value "${n}".`)}}(n,s);if((t>0||p>-t)&&(p+=t),n===uo.Hours)0===p&&-12===t&&(p=12);else if(n===uo.FractionalSeconds)return function Dz(n,o){return Vs(n,3).substring(0,o)}(p,o);const m=bs(u,Or.MinusSign);return Vs(p,o,m,r,i)}}function Fo(n,o,t=$i.Format,r=!1){return function(i,s){return function Mz(n,o,t,r,i,s){switch(t){case go.Months:return function mz(n,o,t){const r=Pi(n),s=Ss([r[Ro.MonthsFormat],r[Ro.MonthsStandalone]],o);return Ss(s,t)}(o,i,r)[n.getMonth()];case go.Days:return function hz(n,o,t){const r=Pi(n),s=Ss([r[Ro.DaysFormat],r[Ro.DaysStandalone]],o);return Ss(s,t)}(o,i,r)[n.getDay()];case go.DayPeriods:const u=n.getHours(),p=n.getMinutes();if(s){const v=function bz(n){const o=Pi(n);return LE(o),(o[Ro.ExtraData][2]||[]).map(r=>"string"==typeof r?rv(r):[rv(r[0]),rv(r[1])])}(o),S=function Sz(n,o,t){const r=Pi(n);LE(r);const s=Ss([r[Ro.ExtraData][0],r[Ro.ExtraData][1]],o)||[];return Ss(s,t)||[]}(o,i,r),T=v.findIndex(D=>{if(Array.isArray(D)){const[$,x]=D,k=u>=$.hours&&p>=$.minutes,B=u<x.hours||u===x.hours&&p<x.minutes;if($.hours<x.hours){if(k&&B)return!0}else if(k||B)return!0}else if(D.hours===u&&D.minutes===p)return!0;return!1});if(-1!==T)return S[T]}return function pz(n,o,t){const r=Pi(n),s=Ss([r[Ro.DayPeriodsFormat],r[Ro.DayPeriodsStandalone]],o);return Ss(s,t)}(o,i,r)[u<12?0:1];case go.Eras:return function _z(n,o){return Ss(Pi(n)[Ro.Eras],o)}(o,r)[n.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${t}`)}}(i,s,n,o,t,r)}}function Kh(n){return function(o,t,r){const i=-1*r,s=bs(t,Or.MinusSign),u=i>0?Math.floor(i/60):Math.ceil(i/60);switch(n){case qa.Short:return(i>=0?"+":"")+Vs(u,2,s)+Vs(Math.abs(i%60),2,s);case qa.ShortGMT:return"GMT"+(i>=0?"+":"")+Vs(u,1,s);case qa.Long:return"GMT"+(i>=0?"+":"")+Vs(u,2,s)+":"+Vs(Math.abs(i%60),2,s);case qa.Extended:return 0===r?"Z":(i>=0?"+":"")+Vs(u,2,s)+":"+Vs(Math.abs(i%60),2,s);default:throw new Error(`Unknown zone width "${n}"`)}}}const $z=0,Xh=4;function FE(n){const o=n.getDay(),t=0===o?-3:Xh-o;return qh(n.getFullYear(),n.getMonth(),n.getDate()+t)}function iv(n,o=!1){return function(t,r){let i;if(o){const s=new Date(t.getFullYear(),t.getMonth(),1).getDay()-1,u=t.getDate();i=1+Math.floor((u+s)/7)}else{const s=FE(t),u=function Az(n){const o=qh(n,$z,1).getDay();return qh(n,0,1+(o<=Xh?Xh:Xh+7)-o)}(s.getFullYear()),p=s.getTime()-u.getTime();i=1+Math.round(p/6048e5)}return Vs(i,n,bs(r,Or.MinusSign))}}function Zh(n,o=!1){return function(t,r){return Vs(FE(t).getFullYear(),n,bs(r,Or.MinusSign),o)}}const sv={};function BE(n,o){n=n.replace(/:/g,"");const t=Date.parse("Jan 01, 1970 00:00:00 "+n)/6e4;return isNaN(t)?o:t}function UE(n){return n instanceof Date&&!isNaN(n.valueOf())}const Lz=/^(\d+)?\.((\d+)(-(\d+))?)?$/,zE=22,Qh=".",Rg="0",Fz=";",Bz=",",av="#";function zz(n,o,t,r,i){const u=function cv(n,o="-"){const t={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=n.split(Fz),i=r[0],s=r[1],u=-1!==i.indexOf(Qh)?i.split(Qh):[i.substring(0,i.lastIndexOf(Rg)+1),i.substring(i.lastIndexOf(Rg)+1)],p=u[0],m=u[1]||"";t.posPre=p.substring(0,p.indexOf(av));for(let S=0;S<m.length;S++){const T=m.charAt(S);T===Rg?t.minFrac=t.maxFrac=S+1:T===av?t.maxFrac=S+1:t.posSuf+=T}const v=p.split(Bz);if(t.gSize=v[1]?v[1].length:0,t.lgSize=v[2]||v[1]?(v[2]||v[1]).length:0,s){const S=i.length-t.posPre.length-t.posSuf.length,T=s.indexOf(av);t.negPre=s.substring(0,T).replace(/'/g,""),t.negSuf=s.slice(T+S).replace(/'/g,"")}else t.negPre=o+t.posPre,t.negSuf=t.posSuf;return t}(function ov(n,o){return Pi(n)[Ro.NumberFormats][o]}(o,zh.Currency),bs(o,Or.MinusSign));return u.minFrac=function wz(n){let o;const t=RE[n];return t&&(o=t[2]),"number"==typeof o?o:2}(r),u.maxFrac=u.minFrac,function lv(n,o,t,r,i,s,u=!1){let p="",m=!1;if(isFinite(n)){let v=function Gz(n){let r,i,s,u,p,o=Math.abs(n)+"",t=0;for((i=o.indexOf(Qh))>-1&&(o=o.replace(Qh,"")),(s=o.search(/e/i))>0?(i<0&&(i=s),i+=+o.slice(s+1),o=o.substring(0,s)):i<0&&(i=o.length),s=0;o.charAt(s)===Rg;s++);if(s===(p=o.length))r=[0],i=1;else{for(p--;o.charAt(p)===Rg;)p--;for(i-=s,r=[],u=0;s<=p;s++,u++)r[u]=Number(o.charAt(s))}return i>zE&&(r=r.splice(0,zE-1),t=i-1,i=1),{digits:r,exponent:t,integerLen:i}}(n);u&&(v=function jz(n){if(0===n.digits[0])return n;const o=n.digits.length-n.integerLen;return n.exponent?n.exponent+=2:(0===o?n.digits.push(0,0):1===o&&n.digits.push(0),n.integerLen+=2),n}(v));let S=o.minInt,T=o.minFrac,D=o.maxFrac;if(s){const L=s.match(Lz);if(null===L)throw new Error(`${s} is not a valid digit info`);const H=L[1],ge=L[3],Fe=L[5];null!=H&&(S=dv(H)),null!=ge&&(T=dv(ge)),null!=Fe?D=dv(Fe):null!=ge&&T>D&&(D=T)}!function Wz(n,o,t){if(o>t)throw new Error(`The minimum number of digits after fraction (${o}) is higher than the maximum (${t}).`);let r=n.digits,i=r.length-n.integerLen;const s=Math.min(Math.max(o,i),t);let u=s+n.integerLen,p=r[u];if(u>0){r.splice(Math.max(n.integerLen,u));for(let T=u;T<r.length;T++)r[T]=0}else{i=Math.max(0,i),n.integerLen=1,r.length=Math.max(1,u=s+1),r[0]=0;for(let T=1;T<u;T++)r[T]=0}if(p>=5)if(u-1<0){for(let T=0;T>u;T--)r.unshift(0),n.integerLen++;r.unshift(1),n.integerLen++}else r[u-1]++;for(;i<Math.max(0,s);i++)r.push(0);let m=0!==s;const v=o+n.integerLen,S=r.reduceRight(function(T,D,$,x){return x[$]=(D+=T)<10?D:D-10,m&&(0===x[$]&&$>=v?x.pop():m=!1),D>=10?1:0},0);S&&(r.unshift(S),n.integerLen++)}(v,T,D);let $=v.digits,x=v.integerLen;const k=v.exponent;let B=[];for(m=$.every(L=>!L);x<S;x++)$.unshift(0);for(;x<0;x++)$.unshift(0);x>0?B=$.splice(x,$.length):(B=$,$=[0]);const G=[];for($.length>=o.lgSize&&G.unshift($.splice(-o.lgSize,$.length).join(""));$.length>o.gSize;)G.unshift($.splice(-o.gSize,$.length).join(""));$.length&&G.unshift($.join("")),p=G.join(bs(t,r)),B.length&&(p+=bs(t,i)+B.join("")),k&&(p+=bs(t,Or.Exponential)+"+"+k)}else p=bs(t,Or.Infinity);return p=n<0&&!m?o.negPre+p+o.negSuf:o.posPre+p+o.posSuf,p}(n,u,o,Or.CurrencyGroup,Or.CurrencyDecimal,i).replace("\xa4",t).replace("\xa4","").trim()}function dv(n){const o=parseInt(n);if(isNaN(o))throw new Error("Invalid integer literal when parsing "+n);return o}function Rr(n,o,t){return function vL(n,o,t){"string"!=typeof o&&(t=o,o=n[Ro.LocaleId]),o=o.toLowerCase().replace(/_/g,"-"),kd[o]=n,t&&(kd[o][Ro.ExtraData]=t)}(n,o,t)}function jE(n,o){o=encodeURIComponent(o);for(const t of n.split(";")){const r=t.indexOf("="),[i,s]=-1==r?[t,""]:[t.slice(0,r),t.slice(r+1)];if(i.trim()===o)return decodeURIComponent(s)}return null}const gv=/\s+/,GE=[];let Cs=(()=>{class n{constructor(t,r){this._ngEl=t,this._renderer=r,this.initialClasses=GE,this.stateMap=new Map}set klass(t){this.initialClasses=null!=t?t.trim().split(gv):GE}set ngClass(t){this.rawClass="string"==typeof t?t.trim().split(gv):t}ngDoCheck(){for(const r of this.initialClasses)this._updateState(r,!0);const t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(const r of t)this._updateState(r,!0);else if(null!=t)for(const r of Object.keys(t))this._updateState(r,!!t[r]);this._applyStateDiff()}_updateState(t,r){const i=this.stateMap.get(t);void 0!==i?(i.enabled!==r&&(i.changed=!0,i.enabled=r),i.touched=!0):this.stateMap.set(t,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(const t of this.stateMap){const r=t[0],i=t[1];i.changed?(this._toggleClass(r,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),i.touched=!1}}_toggleClass(t,r){(t=t.trim()).length>0&&t.split(gv).forEach(i=>{r?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}static{this.\u0275fac=function(r){return new(r||n)(N(_t),N(ja))}}static{this.\u0275dir=Yt({type:n,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}}return n})();class Kz{constructor(o,t,r,i){this.$implicit=o,this.ngForOf=t,this.index=r,this.count=i}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let fo=(()=>{class n{set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}constructor(t,r,i){this._viewContainer=t,this._template=r,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const r=this._viewContainer;t.forEachOperation((i,s,u)=>{if(null==i.previousIndex)r.createEmbeddedView(this._template,new Kz(i.item,this._ngForOf,-1,-1),null===u?void 0:u);else if(null==u)r.remove(null===s?void 0:s);else if(null!==s){const p=r.get(s);r.move(p,u),qE(p,i)}});for(let i=0,s=r.length;i<s;i++){const p=r.get(i).context;p.index=i,p.count=s,p.ngForOf=this._ngForOf}t.forEachIdentityChange(i=>{qE(r.get(i.currentIndex),i)})}static ngTemplateContextGuard(t,r){return!0}static{this.\u0275fac=function(r){return new(r||n)(N(Gi),N(Fs),N(Q2))}}static{this.\u0275dir=Yt({type:n,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}}return n})();function qE(n,o){n.context.$implicit=o.item}let Gt=(()=>{class n{constructor(t,r){this._viewContainer=t,this._context=new Xz,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){YE("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){YE("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(t,r){return!0}static{this.\u0275fac=function(r){return new(r||n)(N(Gi),N(Fs))}}static{this.\u0275dir=Yt({type:n,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}}return n})();class Xz{constructor(){this.$implicit=null,this.ngIf=null}}function YE(n,o){if(o&&!o.createEmbeddedView)throw new Error(`${n} must be a TemplateRef, but received '${Qn(o)}'.`)}let Jh=(()=>{class n{constructor(t,r,i){this._ngEl=t,this._differs=r,this._renderer=i,this._ngStyle=null,this._differ=null}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){const t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,r){const[i,s]=t.split("."),u=-1===i.indexOf("-")?void 0:fl.DashCase;null!=r?this._renderer.setStyle(this._ngEl.nativeElement,i,s?`${r}${s}`:r,u):this._renderer.removeStyle(this._ngEl.nativeElement,i,u)}_applyChanges(t){t.forEachRemovedItem(r=>this._setStyle(r.key,null)),t.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),t.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}static{this.\u0275fac=function(r){return new(r||n)(N(_t),N(Oh),N(ja))}}static{this.\u0275dir=Yt({type:n,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}}return n})();function Hs(n,o){return new Ve(2100,!1)}const dV=new Pt(""),uV=new Pt("");let em=(()=>{class n{constructor(t,r,i){this.locale=t,this.defaultTimezone=r,this.defaultOptions=i}transform(t,r,i,s){if(null==t||""===t||t!=t)return null;try{return Wh(t,r??this.defaultOptions?.dateFormat??"mediumDate",s||this.locale,i??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(u){throw Hs()}}static{this.\u0275fac=function(r){return new(r||n)(N(vl,16),N(dV,24),N(uV,24))}}static{this.\u0275pipe=Vi({name:"date",type:n,pure:!0,standalone:!0})}}return n})(),Ts=(()=>{class n{constructor(t,r="USD"){this._locale=t,this._defaultCurrencyCode=r}transform(t,r=this._defaultCurrencyCode,i="symbol",s,u){if(!function mv(n){return!(null==n||""===n||n!=n)}(t))return null;u||=this._locale,"boolean"==typeof i&&(i=i?"symbol":"code");let p=r||this._defaultCurrencyCode;"code"!==i&&(p="symbol"===i||"symbol-narrow"===i?function Cz(n,o,t="en"){const r=function vz(n){return Pi(n)[Ro.Currencies]}(t)[n]||RE[n]||[],i=r[1];return"narrow"===o&&"string"==typeof i?i:r[0]||n}(p,"symbol"===i?"wide":"narrow",u):i);try{return zz(function _v(n){if("string"==typeof n&&!isNaN(Number(n)-parseFloat(n)))return Number(n);if("number"!=typeof n)throw new Error(`${n} is not a number`);return n}(t),u,p,r,s)}catch(m){throw Hs()}}static{this.\u0275fac=function(r){return new(r||n)(N(vl,16),N(XB,16))}}static{this.\u0275pipe=Vi({name:"currency",type:n,pure:!0,standalone:!0})}}return n})();let po=(()=>{class n{static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275mod=bn({type:n})}static{this.\u0275inj=mn({})}}return n})();const ZE="browser",bV="server";function vv(n){return n===bV}let CV=(()=>{class n{static{this.\u0275prov=St({token:n,providedIn:"root",factory:()=>function SV(n){return n===ZE}(rt(ha))?new TV(rt(ui),window):new EV})}}return n})();class TV{constructor(o,t){this.document=o,this.window=t,this.offset=()=>[0,0]}setOffset(o){this.offset=Array.isArray(o)?()=>o:o}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(o){this.window.scrollTo(o[0],o[1])}scrollToAnchor(o){const t=function wV(n,o){const t=n.getElementById(o)||n.getElementsByName(o)[0];if(t)return t;if("function"==typeof n.createTreeWalker&&n.body&&"function"==typeof n.body.attachShadow){const r=n.createTreeWalker(n.body,NodeFilter.SHOW_ELEMENT);let i=r.currentNode;for(;i;){const s=i.shadowRoot;if(s){const u=s.getElementById(o)||s.querySelector(`[name="${o}"]`);if(u)return u}i=r.nextNode()}}return null}(this.document,o);t&&(this.scrollToElement(t),t.focus())}setHistoryScrollRestoration(o){this.window.history.scrollRestoration=o}scrollToElement(o){const t=o.getBoundingClientRect(),r=t.left+this.window.pageXOffset,i=t.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(r-s[0],i-s[1])}}class EV{setOffset(o){}getScrollPosition(){return[0,0]}scrollToPosition(o){}scrollToAnchor(o){}setHistoryScrollRestoration(o){}}class QE{}class JV extends iz{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Cv extends JV{static makeCurrent(){!function rz(n){AE??=n}(new Cv)}onAndCancel(o,t,r){return o.addEventListener(t,r),()=>{o.removeEventListener(t,r)}}dispatchEvent(o,t){o.dispatchEvent(t)}remove(o){o.remove()}createElement(o,t){return(t=t||this.getDefaultDocument()).createElement(o)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(o){return o.nodeType===Node.ELEMENT_NODE}isShadowRoot(o){return o instanceof DocumentFragment}getGlobalEventTarget(o,t){return"window"===t?window:"document"===t?o:"body"===t?o.body:null}getBaseHref(o){const t=function eH(){return Bg=Bg||document.querySelector("base"),Bg?Bg.getAttribute("href"):null}();return null==t?null:function tH(n){return new URL(n,document.baseURI).pathname}(t)}resetBaseElement(){Bg=null}getUserAgent(){return window.navigator.userAgent}getCookie(o){return jE(document.cookie,o)}}let Bg=null,oH=(()=>{class n{build(){return new XMLHttpRequest}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275prov=St({token:n,factory:n.\u0275fac})}}return n})();const Tv=new Pt("");let c6=(()=>{class n{constructor(t,r){this._zone=r,this._eventNameToPlugin=new Map,t.forEach(i=>{i.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,r,i){return this._findPluginFor(r).addEventListener(t,r,i)}getZone(){return this._zone}_findPluginFor(t){let r=this._eventNameToPlugin.get(t);if(r)return r;if(r=this._plugins.find(s=>s.supports(t)),!r)throw new Ve(5101,!1);return this._eventNameToPlugin.set(t,r),r}static{this.\u0275fac=function(r){return new(r||n)(Tt(Tv),Tt(dt))}}static{this.\u0275prov=St({token:n,factory:n.\u0275fac})}}return n})();class d6{constructor(o){this._doc=o}}const wv="ng-app-id";let u6=(()=>{class n{constructor(t,r,i,s={}){this.doc=t,this.appId=r,this.nonce=i,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=vv(s),this.resetHostNodes()}addStyles(t){for(const r of t)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(t){for(const r of t)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const t=this.styleNodesInDOM;t&&(t.forEach(r=>r.remove()),t.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(const r of this.getAllStyles())this.addStyleToHost(t,r)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(const r of this.hostNodes)this.addStyleToHost(r,t)}onStyleRemoved(t){const r=this.styleRef;r.get(t)?.elements?.forEach(i=>i.remove()),r.delete(t)}collectServerRenderedStyles(){const t=this.doc.head?.querySelectorAll(`style[${wv}="${this.appId}"]`);if(t?.length){const r=new Map;return t.forEach(i=>{null!=i.textContent&&r.set(i.textContent,i)}),r}return null}changeUsageCount(t,r){const i=this.styleRef;if(i.has(t)){const s=i.get(t);return s.usage+=r,s.usage}return i.set(t,{usage:r,elements:[]}),r}getStyleElement(t,r){const i=this.styleNodesInDOM,s=i?.get(r);if(s?.parentNode===t)return i.delete(r),s.removeAttribute(wv),s;{const u=this.doc.createElement("style");return this.nonce&&u.setAttribute("nonce",this.nonce),u.textContent=r,this.platformIsServer&&u.setAttribute(wv,this.appId),t.appendChild(u),u}}addStyleToHost(t,r){const i=this.getStyleElement(t,r),s=this.styleRef,u=s.get(r)?.elements;u?u.push(i):s.set(r,{elements:[i],usage:1})}resetHostNodes(){const t=this.hostNodes;t.clear(),t.add(this.doc.head)}static{this.\u0275fac=function(r){return new(r||n)(Tt(ui),Tt(rd),Tt(xC,8),Tt(ha))}}static{this.\u0275prov=St({token:n,factory:n.\u0275fac})}}return n})();const Ev={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Iv=/%COMP%/g,aH=new Pt("",{providedIn:"root",factory:()=>!0});function f6(n,o){return o.map(t=>t.replace(Iv,n))}let Dv=(()=>{class n{constructor(t,r,i,s,u,p,m,v=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=u,this.platformId=p,this.ngZone=m,this.nonce=v,this.rendererByCompId=new Map,this.platformIsServer=vv(p),this.defaultRenderer=new Pv(t,u,m,this.platformIsServer)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Ns.ShadowDom&&(r={...r,encapsulation:Ns.Emulated});const i=this.getOrCreateRenderer(t,r);return i instanceof h6?i.applyToHost(t):i instanceof Mv&&i.applyStyles(),i}getOrCreateRenderer(t,r){const i=this.rendererByCompId;let s=i.get(r.id);if(!s){const u=this.doc,p=this.ngZone,m=this.eventManager,v=this.sharedStylesHost,S=this.removeStylesOnCompDestroy,T=this.platformIsServer;switch(r.encapsulation){case Ns.Emulated:s=new h6(m,v,r,this.appId,S,u,p,T);break;case Ns.ShadowDom:return new uH(m,v,t,r,u,p,this.nonce,T);default:s=new Mv(m,v,r,S,u,p,T)}i.set(r.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(r){return new(r||n)(Tt(c6),Tt(u6),Tt(rd),Tt(aH),Tt(ui),Tt(ha),Tt(dt),Tt(xC))}}static{this.\u0275prov=St({token:n,factory:n.\u0275fac})}}return n})();class Pv{constructor(o,t,r,i){this.eventManager=o,this.doc=t,this.ngZone=r,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(o,t){return t?this.doc.createElementNS(Ev[t]||t,o):this.doc.createElement(o)}createComment(o){return this.doc.createComment(o)}createText(o){return this.doc.createTextNode(o)}appendChild(o,t){(p6(o)?o.content:o).appendChild(t)}insertBefore(o,t,r){o&&(p6(o)?o.content:o).insertBefore(t,r)}removeChild(o,t){t.remove()}selectRootElement(o,t){let r="string"==typeof o?this.doc.querySelector(o):o;if(!r)throw new Ve(-5104,!1);return t||(r.textContent=""),r}parentNode(o){return o.parentNode}nextSibling(o){return o.nextSibling}setAttribute(o,t,r,i){if(i){t=i+":"+t;const s=Ev[i];s?o.setAttributeNS(s,t,r):o.setAttribute(t,r)}else o.setAttribute(t,r)}removeAttribute(o,t,r){if(r){const i=Ev[r];i?o.removeAttributeNS(i,t):o.removeAttribute(`${r}:${t}`)}else o.removeAttribute(t)}addClass(o,t){o.classList.add(t)}removeClass(o,t){o.classList.remove(t)}setStyle(o,t,r,i){i&(fl.DashCase|fl.Important)?o.style.setProperty(t,r,i&fl.Important?"important":""):o.style[t]=r}removeStyle(o,t,r){r&fl.DashCase?o.style.removeProperty(t):o.style[t]=""}setProperty(o,t,r){null!=o&&(o[t]=r)}setValue(o,t){o.nodeValue=t}listen(o,t,r){if("string"==typeof o&&!(o=bl().getGlobalEventTarget(this.doc,o)))throw new Error(`Unsupported event target ${o} for event ${t}`);return this.eventManager.addEventListener(o,t,this.decoratePreventDefault(r))}decoratePreventDefault(o){return t=>{if("__ngUnwrap__"===t)return o;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>o(t)):o(t))&&t.preventDefault()}}}function p6(n){return"TEMPLATE"===n.tagName&&void 0!==n.content}class uH extends Pv{constructor(o,t,r,i,s,u,p,m){super(o,s,u,m),this.sharedStylesHost=t,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const v=f6(i.id,i.styles);for(const S of v){const T=document.createElement("style");p&&T.setAttribute("nonce",p),T.textContent=S,this.shadowRoot.appendChild(T)}}nodeOrShadowRoot(o){return o===this.hostEl?this.shadowRoot:o}appendChild(o,t){return super.appendChild(this.nodeOrShadowRoot(o),t)}insertBefore(o,t,r){return super.insertBefore(this.nodeOrShadowRoot(o),t,r)}removeChild(o,t){return super.removeChild(null,t)}parentNode(o){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(o)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Mv extends Pv{constructor(o,t,r,i,s,u,p,m){super(o,s,u,p),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=i,this.styles=m?f6(m,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class h6 extends Mv{constructor(o,t,r,i,s,u,p,m){const v=i+"-"+r.id;super(o,t,r,s,u,p,m,v),this.contentAttr=function lH(n){return"_ngcontent-%COMP%".replace(Iv,n)}(v),this.hostAttr=function cH(n){return"_nghost-%COMP%".replace(Iv,n)}(v)}applyToHost(o){this.applyStyles(),this.setAttribute(o,this.hostAttr,"")}createElement(o,t){const r=super.createElement(o,t);return super.setAttribute(r,this.contentAttr,""),r}}let gH=(()=>{class n extends d6{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,i){return t.addEventListener(r,i,!1),()=>this.removeEventListener(t,r,i)}removeEventListener(t,r,i){return t.removeEventListener(r,i)}static{this.\u0275fac=function(r){return new(r||n)(Tt(ui))}}static{this.\u0275prov=St({token:n,factory:n.\u0275fac})}}return n})();const m6=["alt","control","meta","shift"],fH={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},pH={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};let hH=(()=>{class n extends d6{constructor(t){super(t)}supports(t){return null!=n.parseEventName(t)}addEventListener(t,r,i){const s=n.parseEventName(r),u=n.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>bl().onAndCancel(t,s.domEventName,u))}static parseEventName(t){const r=t.toLowerCase().split("."),i=r.shift();if(0===r.length||"keydown"!==i&&"keyup"!==i)return null;const s=n._normalizeKey(r.pop());let u="",p=r.indexOf("code");if(p>-1&&(r.splice(p,1),u="code."),m6.forEach(v=>{const S=r.indexOf(v);S>-1&&(r.splice(S,1),u+=v+".")}),u+=s,0!=r.length||0===s.length)return null;const m={};return m.domEventName=i,m.fullKey=u,m}static matchEventFullKeyCode(t,r){let i=fH[t.key]||t.key,s="";return r.indexOf("code.")>-1&&(i=t.code,s="code."),!(null==i||!i)&&(i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),m6.forEach(u=>{u!==i&&(0,pH[u])(t)&&(s+=u+".")}),s+=i,s===r)}static eventCallback(t,r,i){return s=>{n.matchEventFullKeyCode(s,t)&&i.runGuarded(()=>r(s))}}static _normalizeKey(t){return"esc"===t?"escape":t}static{this.\u0275fac=function(r){return new(r||n)(Tt(ui))}}static{this.\u0275prov=St({token:n,factory:n.\u0275fac})}}return n})();const yH=Kw(yU,"browser",[{provide:ha,useValue:ZE},{provide:AC,useValue:function mH(){Cv.makeCurrent()},multi:!0},{provide:ui,useFactory:function vH(){return function JA(n){H0=n}(document),document},deps:[]}]),bH=new Pt(""),y6=[{provide:Eh,useClass:class nH{addToWindow(o){yt.getAngularTestability=(r,i=!0)=>{const s=o.findTestabilityInTree(r,i);if(null==s)throw new Ve(5103,!1);return s},yt.getAllAngularTestabilities=()=>o.getAllTestabilities(),yt.getAllAngularRootElements=()=>o.getAllRootElements(),yt.frameworkStabilizers||(yt.frameworkStabilizers=[]),yt.frameworkStabilizers.push(r=>{const i=yt.getAllAngularTestabilities();let s=i.length;const u=function(){s--,0==s&&r()};i.forEach(p=>{p.whenStable(u)})})}findTestabilityInTree(o,t,r){return null==t?null:o.getTestability(t)??(r?bl().isShadowRoot(t)?this.findTestabilityInTree(o,t.host,!0):this.findTestabilityInTree(o,t.parentElement,!0):null)}},deps:[]},{provide:kw,useClass:z2,deps:[dt,V2,Eh]},{provide:z2,useClass:z2,deps:[dt,V2,Eh]}],b6=[{provide:e0,useValue:"root"},{provide:pa,useFactory:function _H(){return new pa},deps:[]},{provide:Tv,useClass:gH,multi:!0,deps:[ui,dt,ha]},{provide:Tv,useClass:hH,multi:!0,deps:[ui]},Dv,u6,c6,{provide:Zp,useExisting:Dv},{provide:QE,useClass:oH,deps:[]},[]];let S6=(()=>{class n{constructor(t){}static withServerTransition(t){return{ngModule:n,providers:[{provide:rd,useValue:t.appId}]}}static{this.\u0275fac=function(r){return new(r||n)(Tt(bH,12))}}static{this.\u0275mod=bn({type:n})}static{this.\u0275inj=mn({providers:[...b6,...y6],imports:[po,bU]})}}return n})(),C6=(()=>{class n{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}static{this.\u0275fac=function(r){return new(r||n)(Tt(ui))}}static{this.\u0275prov=St({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();function Nt(n,o,t,r){var u,i=arguments.length,s=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(n,o,t,r);else for(var p=n.length-1;p>=0;p--)(u=n[p])&&(s=(i<3?u(s):i>3?u(o,t,s):u(o,t))||s);return i>3&&s&&Object.defineProperty(o,t,s),s}function Cl(n){return this instanceof Cl?(this.v=n,this):new Cl(n)}function P6(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,o=n[Symbol.asyncIterator];return o?o.call(n):(n=function xv(n){var o="function"==typeof Symbol&&Symbol.iterator,t=o&&n[o],r=0;if(t)return t.call(n);if(n&&"number"==typeof n.length)return{next:function(){return n&&r>=n.length&&(n=void 0),{value:n&&n[r++],done:!n}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")}(n),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(s){t[s]=n[s]&&function(u){return new Promise(function(p,m){!function i(s,u,p,m){Promise.resolve(m).then(function(v){s({value:v,done:p})},u)}(p,m,(u=n[s](u)).done,u.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const Ov=n=>n&&"number"==typeof n.length&&"function"!=typeof n;function M6(n){return sn(n?.then)}function $6(n){return sn(n[oa])}function A6(n){return Symbol.asyncIterator&&sn(n?.[Symbol.asyncIterator])}function N6(n){return new TypeError(`You provided ${null!==n&&"object"==typeof n?"an invalid object":`'${n}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const x6=function jH(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function O6(n){return sn(n?.[x6])}function k6(n){return function D6(n,o,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,r=t.apply(n,o||[]),s=[];return i={},u("next"),u("throw"),u("return"),i[Symbol.asyncIterator]=function(){return this},i;function u(D){r[D]&&(i[D]=function($){return new Promise(function(x,k){s.push([D,$,x,k])>1||p(D,$)})})}function p(D,$){try{!function m(D){D.value instanceof Cl?Promise.resolve(D.value.v).then(v,S):T(s[0][2],D)}(r[D]($))}catch(x){T(s[0][3],x)}}function v(D){p("next",D)}function S(D){p("throw",D)}function T(D,$){D($),s.shift(),s.length&&p(s[0][0],s[0][1])}}(this,arguments,function*(){const t=n.getReader();try{for(;;){const{value:r,done:i}=yield Cl(t.read());if(i)return yield Cl(void 0);yield yield Cl(r)}}finally{t.releaseLock()}})}function R6(n){return sn(n?.getReader)}function ws(n){if(n instanceof bo)return n;if(null!=n){if($6(n))return function GH(n){return new bo(o=>{const t=n[oa]();if(sn(t.subscribe))return t.subscribe(o);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(n);if(Ov(n))return function WH(n){return new bo(o=>{for(let t=0;t<n.length&&!o.closed;t++)o.next(n[t]);o.complete()})}(n);if(M6(n))return function qH(n){return new bo(o=>{n.then(t=>{o.closed||(o.next(t),o.complete())},t=>o.error(t)).then(null,ro)})}(n);if(A6(n))return L6(n);if(O6(n))return function YH(n){return new bo(o=>{for(const t of n)if(o.next(t),o.closed)return;o.complete()})}(n);if(R6(n))return function KH(n){return L6(k6(n))}(n)}throw N6(n)}function L6(n){return new bo(o=>{(function XH(n,o){var t,r,i,s;return function E6(n,o,t,r){return new(t||(t=Promise))(function(s,u){function p(S){try{v(r.next(S))}catch(T){u(T)}}function m(S){try{v(r.throw(S))}catch(T){u(T)}}function v(S){S.done?s(S.value):function i(s){return s instanceof t?s:new t(function(u){u(s)})}(S.value).then(p,m)}v((r=r.apply(n,o||[])).next())})}(this,void 0,void 0,function*(){try{for(t=P6(n);!(r=yield t.next()).done;)if(o.next(r.value),o.closed)return}catch(u){i={error:u}}finally{try{r&&!r.done&&(s=t.return)&&(yield s.call(t))}finally{if(i)throw i.error}}o.complete()})})(n,o).catch(t=>o.error(t))})}function Ka(n,o,t,r=0,i=!1){const s=o.schedule(function(){t(),i?n.add(this.schedule(null,r)):this.unsubscribe()},r);if(n.add(s),!i)return s}function F6(n,o=0){return wo((t,r)=>{t.subscribe(jn(r,i=>Ka(r,n,()=>r.next(i),o),()=>Ka(r,n,()=>r.complete(),o),i=>Ka(r,n,()=>r.error(i),o)))})}function B6(n,o=0){return wo((t,r)=>{r.add(n.schedule(()=>t.subscribe(r),o))})}function U6(n,o){if(!n)throw new Error("Iterable cannot be null");return new bo(t=>{Ka(t,o,()=>{const r=n[Symbol.asyncIterator]();Ka(t,o,()=>{r.next().then(i=>{i.done?t.complete():t.next(i.value)})},0,!0)})})}function io(n,o){return o?function nj(n,o){if(null!=n){if($6(n))return function ZH(n,o){return ws(n).pipe(B6(o),F6(o))}(n,o);if(Ov(n))return function JH(n,o){return new bo(t=>{let r=0;return o.schedule(function(){r===n.length?t.complete():(t.next(n[r++]),t.closed||this.schedule())})})}(n,o);if(M6(n))return function QH(n,o){return ws(n).pipe(B6(o),F6(o))}(n,o);if(A6(n))return U6(n,o);if(O6(n))return function ej(n,o){return new bo(t=>{let r;return Ka(t,o,()=>{r=n[x6](),Ka(t,o,()=>{let i,s;try{({value:i,done:s}=r.next())}catch(u){return void t.error(u)}s?t.complete():t.next(i)},0,!0)}),()=>sn(r?.return)&&r.return()})}(n,o);if(R6(n))return function tj(n,o){return U6(k6(n),o)}(n,o)}throw N6(n)}(n,o):ws(n)}const{isArray:oj}=Array,{getPrototypeOf:rj,prototype:ij,keys:sj}=Object;function z6(n){if(1===n.length){const o=n[0];if(oj(o))return{args:o,keys:null};if(function aj(n){return n&&"object"==typeof n&&rj(n)===ij}(o)){const t=sj(o);return{args:t.map(r=>o[r]),keys:t}}}return{args:n,keys:null}}function V6(n){return n&&sn(n.schedule)}function kv(n){return n[n.length-1]}function H6(n){return sn(kv(n))?n.pop():void 0}function im(n){return V6(kv(n))?n.pop():void 0}const{isArray:lj}=Array;function Rv(n){return rn(o=>function cj(n,o){return lj(o)?n(...o):n(o)}(n,o))}function j6(n,o){return n.reduce((t,r,i)=>(t[r]=o[i],t),{})}function Ug(...n){const o=H6(n),{args:t,keys:r}=z6(n),i=new bo(s=>{const{length:u}=t;if(!u)return void s.complete();const p=new Array(u);let m=u,v=u;for(let S=0;S<u;S++){let T=!1;ws(t[S]).subscribe(jn(s,D=>{T||(T=!0,v--),p[S]=D},()=>m--,void 0,()=>{(!m||!T)&&(v||s.next(r?j6(r,p):p),s.complete())}))}});return o?i.pipe(Rv(o)):i}let G6=(()=>{class n{constructor(t,r){this._renderer=t,this._elementRef=r,this.onChange=i=>{},this.onTouched=()=>{}}setProperty(t,r){this._renderer.setProperty(this._elementRef.nativeElement,t,r)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static{this.\u0275fac=function(r){return new(r||n)(N(ja),N(_t))}}static{this.\u0275dir=Yt({type:n})}}return n})(),gc=(()=>{class n extends G6{static{this.\u0275fac=(()=>{let t;return function(i){return(t||(t=jo(n)))(i||n)}})()}static{this.\u0275dir=Yt({type:n,features:[Dt]})}}return n})();const qi=new Pt(""),uj={provide:qi,useExisting:ee(()=>Lv),multi:!0},fj=new Pt("");let Lv=(()=>{class n extends G6{constructor(t,r,i){super(t,r),this._compositionMode=i,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function gj(){const n=bl()?bl().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}())}writeValue(t){this.setProperty("value",t??"")}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static{this.\u0275fac=function(r){return new(r||n)(N(ja),N(_t),N(fj,8))}}static{this.\u0275dir=Yt({type:n,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,i){1&r&&re("input",function(u){return i._handleInput(u.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(u){return i._compositionEnd(u.target.value)})},features:[mo([uj]),Dt]})}}return n})();function Tl(n){return null==n||("string"==typeof n||Array.isArray(n))&&0===n.length}function q6(n){return null!=n&&"number"==typeof n.length}const Kr=new Pt(""),wl=new Pt(""),pj=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class ss{static min(o){return Y6(o)}static max(o){return K6(o)}static required(o){return function X6(n){return Tl(n.value)?{required:!0}:null}(o)}static requiredTrue(o){return function Z6(n){return!0===n.value?null:{required:!0}}(o)}static email(o){return function Q6(n){return Tl(n.value)||pj.test(n.value)?null:{email:!0}}(o)}static minLength(o){return function J6(n){return o=>Tl(o.value)||!q6(o.value)?null:o.value.length<n?{minlength:{requiredLength:n,actualLength:o.value.length}}:null}(o)}static maxLength(o){return eI(o)}static pattern(o){return function tI(n){if(!n)return sm;let o,t;return"string"==typeof n?(t="","^"!==n.charAt(0)&&(t+="^"),t+=n,"$"!==n.charAt(n.length-1)&&(t+="$"),o=new RegExp(t)):(t=n.toString(),o=n),r=>{if(Tl(r.value))return null;const i=r.value;return o.test(i)?null:{pattern:{requiredPattern:t,actualValue:i}}}}(o)}static nullValidator(o){return null}static compose(o){return aI(o)}static composeAsync(o){return lI(o)}}function Y6(n){return o=>{if(Tl(o.value)||Tl(n))return null;const t=parseFloat(o.value);return!isNaN(t)&&t<n?{min:{min:n,actual:o.value}}:null}}function K6(n){return o=>{if(Tl(o.value)||Tl(n))return null;const t=parseFloat(o.value);return!isNaN(t)&&t>n?{max:{max:n,actual:o.value}}:null}}function eI(n){return o=>q6(o.value)&&o.value.length>n?{maxlength:{requiredLength:n,actualLength:o.value.length}}:null}function sm(n){return null}function nI(n){return null!=n}function oI(n){return $g(n)?io(n):n}function rI(n){let o={};return n.forEach(t=>{o=null!=t?{...o,...t}:o}),0===Object.keys(o).length?null:o}function iI(n,o){return o.map(t=>t(n))}function sI(n){return n.map(o=>function hj(n){return!n.validate}(o)?o:t=>o.validate(t))}function aI(n){if(!n)return null;const o=n.filter(nI);return 0==o.length?null:function(t){return rI(iI(t,o))}}function Fv(n){return null!=n?aI(sI(n)):null}function lI(n){if(!n)return null;const o=n.filter(nI);return 0==o.length?null:function(t){return Ug(iI(t,o).map(oI)).pipe(rn(rI))}}function Bv(n){return null!=n?lI(sI(n)):null}function cI(n,o){return null===n?[o]:Array.isArray(n)?[...n,o]:[n,o]}function dI(n){return n._rawValidators}function uI(n){return n._rawAsyncValidators}function Uv(n){return n?Array.isArray(n)?n:[n]:[]}function am(n,o){return Array.isArray(n)?n.includes(o):n===o}function gI(n,o){const t=Uv(o);return Uv(n).forEach(i=>{am(t,i)||t.push(i)}),t}function fI(n,o){return Uv(o).filter(t=>!am(n,t))}class pI{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(o){this._rawValidators=o||[],this._composedValidatorFn=Fv(this._rawValidators)}_setAsyncValidators(o){this._rawAsyncValidators=o||[],this._composedAsyncValidatorFn=Bv(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(o){this._onDestroyCallbacks.push(o)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(o=>o()),this._onDestroyCallbacks=[]}reset(o=void 0){this.control&&this.control.reset(o)}hasError(o,t){return!!this.control&&this.control.hasError(o,t)}getError(o,t){return this.control?this.control.getError(o,t):null}}class Ai extends pI{get formDirective(){return null}get path(){return null}}class Xa extends pI{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class hI{constructor(o){this._cd=o}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let Xr=(()=>{class n extends hI{constructor(t){super(t)}static{this.\u0275fac=function(r){return new(r||n)(N(Xa,2))}}static{this.\u0275dir=Yt({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,i){2&r&&va("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},features:[Dt]})}}return n})(),lm=(()=>{class n extends hI{constructor(t){super(t)}static{this.\u0275fac=function(r){return new(r||n)(N(Ai,10))}}static{this.\u0275dir=Yt({type:n,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,i){2&r&&va("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)("ng-submitted",i.isSubmitted)},features:[Dt]})}}return n})();const zg="VALID",dm="INVALID",Hd="PENDING",Vg="DISABLED";class jd{}class _I extends jd{constructor(o,t){super(),this.value=o,this.source=t}}class Hv extends jd{constructor(o,t){super(),this.pristine=o,this.source=t}}class jv extends jd{constructor(o,t){super(),this.touched=o,this.source=t}}class um extends jd{constructor(o,t){super(),this.status=o,this.source=t}}class bj extends jd{constructor(o){super(),this.source=o}}class Sj extends jd{constructor(o){super(),this.source=o}}function Gv(n){return(gm(n)?n.validators:n)||null}function Wv(n,o){return(gm(o)?o.asyncValidators:n)||null}function gm(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}class qv{constructor(o,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=kg(()=>this.statusReactive()),this.statusReactive=hd(void 0),this._pristine=kg(()=>this.pristineReactive()),this.pristineReactive=hd(!0),this._touched=kg(()=>this.touchedReactive()),this.touchedReactive=hd(!1),this._events=new Ho,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(o),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(o){this._rawValidators=this._composedValidatorFn=o}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(o){this._rawAsyncValidators=this._composedAsyncValidatorFn=o}get parent(){return this._parent}get status(){return Sa(this.statusReactive)}set status(o){Sa(()=>this.statusReactive.set(o))}get valid(){return this.status===zg}get invalid(){return this.status===dm}get pending(){return this.status==Hd}get disabled(){return this.status===Vg}get enabled(){return this.status!==Vg}get pristine(){return Sa(this.pristineReactive)}set pristine(o){Sa(()=>this.pristineReactive.set(o))}get dirty(){return!this.pristine}get touched(){return Sa(this.touchedReactive)}set touched(o){Sa(()=>this.touchedReactive.set(o))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(o){this._assignValidators(o)}setAsyncValidators(o){this._assignAsyncValidators(o)}addValidators(o){this.setValidators(gI(o,this._rawValidators))}addAsyncValidators(o){this.setAsyncValidators(gI(o,this._rawAsyncValidators))}removeValidators(o){this.setValidators(fI(o,this._rawValidators))}removeAsyncValidators(o){this.setAsyncValidators(fI(o,this._rawAsyncValidators))}hasValidator(o){return am(this._rawValidators,o)}hasAsyncValidator(o){return am(this._rawAsyncValidators,o)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(o={}){const t=!1===this.touched;this.touched=!0;const r=o.sourceControl??this;this._parent&&!o.onlySelf&&this._parent.markAsTouched({...o,sourceControl:r}),t&&!1!==o.emitEvent&&this._events.next(new jv(!0,r))}markAllAsTouched(o={}){this.markAsTouched({onlySelf:!0,emitEvent:o.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsTouched(o))}markAsUntouched(o={}){const t=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const r=o.sourceControl??this;this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0,emitEvent:o.emitEvent,sourceControl:r})}),this._parent&&!o.onlySelf&&this._parent._updateTouched(o,r),t&&!1!==o.emitEvent&&this._events.next(new jv(!1,r))}markAsDirty(o={}){const t=!0===this.pristine;this.pristine=!1;const r=o.sourceControl??this;this._parent&&!o.onlySelf&&this._parent.markAsDirty({...o,sourceControl:r}),t&&!1!==o.emitEvent&&this._events.next(new Hv(!1,r))}markAsPristine(o={}){const t=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const r=o.sourceControl??this;this._forEachChild(i=>{i.markAsPristine({onlySelf:!0,emitEvent:o.emitEvent})}),this._parent&&!o.onlySelf&&this._parent._updatePristine(o,r),t&&!1!==o.emitEvent&&this._events.next(new Hv(!0,r))}markAsPending(o={}){this.status=Hd;const t=o.sourceControl??this;!1!==o.emitEvent&&(this._events.next(new um(this.status,t)),this.statusChanges.emit(this.status)),this._parent&&!o.onlySelf&&this._parent.markAsPending({...o,sourceControl:t})}disable(o={}){const t=this._parentMarkedDirty(o.onlySelf);this.status=Vg,this.errors=null,this._forEachChild(i=>{i.disable({...o,onlySelf:!0})}),this._updateValue();const r=o.sourceControl??this;!1!==o.emitEvent&&(this._events.next(new _I(this.value,r)),this._events.next(new um(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...o,skipPristineCheck:t},this),this._onDisabledChange.forEach(i=>i(!0))}enable(o={}){const t=this._parentMarkedDirty(o.onlySelf);this.status=zg,this._forEachChild(r=>{r.enable({...o,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:o.emitEvent}),this._updateAncestors({...o,skipPristineCheck:t},this),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(o,t){this._parent&&!o.onlySelf&&(this._parent.updateValueAndValidity(o),o.skipPristineCheck||this._parent._updatePristine({},t),this._parent._updateTouched({},t))}setParent(o){this._parent=o}getRawValue(){return this.value}updateValueAndValidity(o={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const r=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===zg||this.status===Hd)&&this._runAsyncValidator(r,o.emitEvent)}const t=o.sourceControl??this;!1!==o.emitEvent&&(this._events.next(new _I(this.value,t)),this._events.next(new um(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!o.onlySelf&&this._parent.updateValueAndValidity({...o,sourceControl:t})}_updateTreeValidity(o={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(o)),this.updateValueAndValidity({onlySelf:!0,emitEvent:o.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Vg:zg}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(o,t){if(this.asyncValidator){this.status=Hd,this._hasOwnPendingAsyncValidator={emitEvent:!1!==t};const r=oI(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(i=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(i,{emitEvent:t,shouldHaveEmitted:o})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const o=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,o}return!1}setErrors(o,t={}){this.errors=o,this._updateControlsErrors(!1!==t.emitEvent,this,t.shouldHaveEmitted)}get(o){let t=o;return null==t||(Array.isArray(t)||(t=t.split(".")),0===t.length)?null:t.reduce((r,i)=>r&&r._find(i),this)}getError(o,t){const r=t?this.get(t):this;return r&&r.errors?r.errors[o]:null}hasError(o,t){return!!this.getError(o,t)}get root(){let o=this;for(;o._parent;)o=o._parent;return o}_updateControlsErrors(o,t,r){this.status=this._calculateStatus(),o&&this.statusChanges.emit(this.status),(o||r)&&this._events.next(new um(this.status,t)),this._parent&&this._parent._updateControlsErrors(o,t,r)}_initObservables(){this.valueChanges=new $n,this.statusChanges=new $n}_calculateStatus(){return this._allControlsDisabled()?Vg:this.errors?dm:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Hd)?Hd:this._anyControlsHaveStatus(dm)?dm:zg}_anyControlsHaveStatus(o){return this._anyControls(t=>t.status===o)}_anyControlsDirty(){return this._anyControls(o=>o.dirty)}_anyControlsTouched(){return this._anyControls(o=>o.touched)}_updatePristine(o,t){const r=!this._anyControlsDirty(),i=this.pristine!==r;this.pristine=r,this._parent&&!o.onlySelf&&this._parent._updatePristine(o,t),i&&this._events.next(new Hv(this.pristine,t))}_updateTouched(o={},t){this.touched=this._anyControlsTouched(),this._events.next(new jv(this.touched,t)),this._parent&&!o.onlySelf&&this._parent._updateTouched(o,t)}_registerOnCollectionChange(o){this._onCollectionChange=o}_setUpdateStrategy(o){gm(o)&&null!=o.updateOn&&(this._updateOn=o.updateOn)}_parentMarkedDirty(o){return!o&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(o){return null}_assignValidators(o){this._rawValidators=Array.isArray(o)?o.slice():o,this._composedValidatorFn=function Cj(n){return Array.isArray(n)?Fv(n):n||null}(this._rawValidators)}_assignAsyncValidators(o){this._rawAsyncValidators=Array.isArray(o)?o.slice():o,this._composedAsyncValidatorFn=function Tj(n){return Array.isArray(n)?Bv(n):n||null}(this._rawAsyncValidators)}}class fm extends qv{constructor(o,t,r){super(Gv(t),Wv(r,t)),this.controls=o,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(o,t){return this.controls[o]?this.controls[o]:(this.controls[o]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(o,t,r={}){this.registerControl(o,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(o,t={}){this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),delete this.controls[o],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(o,t,r={}){this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),delete this.controls[o],t&&this.registerControl(o,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(o){return this.controls.hasOwnProperty(o)&&this.controls[o].enabled}setValue(o,t={}){(function yI(n,o,t){n._forEachChild((r,i)=>{if(void 0===t[i])throw new Ve(1002,"")})})(this,0,o),Object.keys(o).forEach(r=>{(function vI(n,o,t){const r=n.controls;if(!(o?Object.keys(r):r).length)throw new Ve(1e3,"");if(!r[t])throw new Ve(1001,"")})(this,!0,r),this.controls[r].setValue(o[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(o,t={}){null!=o&&(Object.keys(o).forEach(r=>{const i=this.controls[r];i&&i.patchValue(o[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(o={},t={}){this._forEachChild((r,i)=>{r.reset(o?o[i]:null,{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(o,t,r)=>(o[r]=t.getRawValue(),o))}_syncPendingControls(){let o=this._reduceChildren(!1,(t,r)=>!!r._syncPendingControls()||t);return o&&this.updateValueAndValidity({onlySelf:!0}),o}_forEachChild(o){Object.keys(this.controls).forEach(t=>{const r=this.controls[t];r&&o(r,t)})}_setUpControls(){this._forEachChild(o=>{o.setParent(this),o._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(o){for(const[t,r]of Object.entries(this.controls))if(this.contains(t)&&o(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(t,r,i)=>((r.enabled||this.disabled)&&(t[i]=r.value),t))}_reduceChildren(o,t){let r=o;return this._forEachChild((i,s)=>{r=t(r,i,s)}),r}_allControlsDisabled(){for(const o of Object.keys(this.controls))if(this.controls[o].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(o){return this.controls.hasOwnProperty(o)?this.controls[o]:null}}const fc=new Pt("CallSetDisabledState",{providedIn:"root",factory:()=>Hg}),Hg="always";function pm(n,o){return[...o.path,n]}function jg(n,o,t=Hg){Yv(n,o),o.valueAccessor.writeValue(n.value),(n.disabled||"always"===t)&&o.valueAccessor.setDisabledState?.(n.disabled),function Ij(n,o){o.valueAccessor.registerOnChange(t=>{n._pendingValue=t,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&bI(n,o)})}(n,o),function Pj(n,o){const t=(r,i)=>{o.valueAccessor.writeValue(r),i&&o.viewToModelUpdate(r)};n.registerOnChange(t),o._registerOnDestroy(()=>{n._unregisterOnChange(t)})}(n,o),function Dj(n,o){o.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&bI(n,o),"submit"!==n.updateOn&&n.markAsTouched()})}(n,o),function Ej(n,o){if(o.valueAccessor.setDisabledState){const t=r=>{o.valueAccessor.setDisabledState(r)};n.registerOnDisabledChange(t),o._registerOnDestroy(()=>{n._unregisterOnDisabledChange(t)})}}(n,o)}function hm(n,o,t=!0){const r=()=>{};o.valueAccessor&&(o.valueAccessor.registerOnChange(r),o.valueAccessor.registerOnTouched(r)),_m(n,o),n&&(o._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function mm(n,o){n.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(o)})}function Yv(n,o){const t=dI(n);null!==o.validator?n.setValidators(cI(t,o.validator)):"function"==typeof t&&n.setValidators([t]);const r=uI(n);null!==o.asyncValidator?n.setAsyncValidators(cI(r,o.asyncValidator)):"function"==typeof r&&n.setAsyncValidators([r]);const i=()=>n.updateValueAndValidity();mm(o._rawValidators,i),mm(o._rawAsyncValidators,i)}function _m(n,o){let t=!1;if(null!==n){if(null!==o.validator){const i=dI(n);if(Array.isArray(i)&&i.length>0){const s=i.filter(u=>u!==o.validator);s.length!==i.length&&(t=!0,n.setValidators(s))}}if(null!==o.asyncValidator){const i=uI(n);if(Array.isArray(i)&&i.length>0){const s=i.filter(u=>u!==o.asyncValidator);s.length!==i.length&&(t=!0,n.setAsyncValidators(s))}}}const r=()=>{};return mm(o._rawValidators,r),mm(o._rawAsyncValidators,r),t}function bI(n,o){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),o.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function SI(n,o){Yv(n,o)}function Xv(n,o){if(!n.hasOwnProperty("model"))return!1;const t=n.model;return!!t.isFirstChange()||!Object.is(o,t.currentValue)}function CI(n,o){n._syncPendingControls(),o.forEach(t=>{const r=t.control;"submit"===r.updateOn&&r._pendingChange&&(t.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}function Zv(n,o){if(!o)return null;let t,r,i;return Array.isArray(o),o.forEach(s=>{s.constructor===Lv?t=s:function Aj(n){return Object.getPrototypeOf(n.constructor)===gc}(s)?r=s:i=s}),i||r||t||null}const xj={provide:Ai,useExisting:ee(()=>Wg)},Gg=Promise.resolve();let Wg=(()=>{class n extends Ai{get submitted(){return Sa(this.submittedReactive)}constructor(t,r,i){super(),this.callSetDisabledState=i,this._submitted=kg(()=>this.submittedReactive()),this.submittedReactive=hd(!1),this._directives=new Set,this.ngSubmit=new $n,this.form=new fm({},Fv(t),Bv(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){Gg.then(()=>{const r=this._findContainer(t.path);t.control=r.registerControl(t.name,t.control),jg(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){Gg.then(()=>{const r=this._findContainer(t.path);r&&r.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){Gg.then(()=>{const r=this._findContainer(t.path),i=new fm({});SI(i,t),r.registerControl(t.name,i),i.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){Gg.then(()=>{const r=this._findContainer(t.path);r&&r.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,r){Gg.then(()=>{this.form.get(t.path).setValue(r)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submittedReactive.set(!0),CI(this.form,this._directives),this.ngSubmit.emit(t),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}static{this.\u0275fac=function(r){return new(r||n)(N(Kr,10),N(wl,10),N(fc,8))}}static{this.\u0275dir=Yt({type:n,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(r,i){1&r&&re("submit",function(u){return i.onSubmit(u)})("reset",function(){return i.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[mo([xj]),Dt]})}}return n})();function TI(n,o){const t=n.indexOf(o);t>-1&&n.splice(t,1)}function wI(n){return"object"==typeof n&&null!==n&&2===Object.keys(n).length&&"value"in n&&"disabled"in n}const pc=class extends qv{constructor(o=null,t,r){super(Gv(t),Wv(r,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(o),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),gm(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=wI(o)?o.value:o)}setValue(o,t={}){this.value=this._pendingValue=o,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(o,t={}){this.setValue(o,t)}reset(o=this.defaultValue,t={}){this._applyFormState(o),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(o){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(o){this._onChange.push(o)}_unregisterOnChange(o){TI(this._onChange,o)}registerOnDisabledChange(o){this._onDisabledChange.push(o)}_unregisterOnDisabledChange(o){TI(this._onDisabledChange,o)}_forEachChild(o){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(o){wI(o)?(this.value=this._pendingValue=o.value,o.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=o}},Rj={provide:Xa,useExisting:ee(()=>Zr)},DI=Promise.resolve();let Zr=(()=>{class n extends Xa{constructor(t,r,i,s,u,p){super(),this._changeDetectorRef=u,this.callSetDisabledState=p,this.control=new pc,this._registered=!1,this.name="",this.update=new $n,this._parent=t,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=Zv(0,s)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){const r=t.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),Xv(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){jg(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(t){DI.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const r=t.isDisabled.currentValue,i=0!==r&&function Ud(n){return"boolean"==typeof n?n:null!=n&&"false"!==n}(r);DI.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?pm(t,this._parent):[t]}static{this.\u0275fac=function(r){return new(r||n)(N(Ai,9),N(Kr,10),N(wl,10),N(qi,10),N(It,8),N(fc,8))}}static{this.\u0275dir=Yt({type:n,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[mo([Rj]),Dt,wi]})}}return n})(),vm=(()=>{class n{static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275dir=Yt({type:n,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}}return n})();const Qv=new Pt(""),Vj={provide:Ai,useExisting:ee(()=>ym)};let ym=(()=>{class n extends Ai{get submitted(){return Sa(this._submittedReactive)}set submitted(t){this._submittedReactive.set(t)}constructor(t,r,i){super(),this.callSetDisabledState=i,this._submitted=kg(()=>this._submittedReactive()),this._submittedReactive=hd(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new $n,this._setValidators(t),this._setAsyncValidators(r)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(_m(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const r=this.form.get(t.path);return jg(r,t,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),r}getControl(t){return this.form.get(t.path)}removeControl(t){hm(t.control||null,t,!1),function Nj(n,o){const t=n.indexOf(o);t>-1&&n.splice(t,1)}(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,r){this.form.get(t.path).setValue(r)}onSubmit(t){return this._submittedReactive.set(!0),CI(this.form,this.directives),this.ngSubmit.emit(t),this.form._events.next(new bj(this.control)),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this._submittedReactive.set(!1),this.form._events.next(new Sj(this.form))}_updateDomValue(){this.directives.forEach(t=>{const r=t.control,i=this.form.get(t.path);r!==i&&(hm(r||null,t),(n=>n instanceof pc)(i)&&(jg(i,t,this.callSetDisabledState),t.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const r=this.form.get(t.path);SI(r,t),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const r=this.form.get(t.path);r&&function Mj(n,o){return _m(n,o)}(r,t)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Yv(this.form,this),this._oldForm&&_m(this._oldForm,this)}_checkFormPresent(){}static{this.\u0275fac=function(r){return new(r||n)(N(Kr,10),N(wl,10),N(fc,8))}}static{this.\u0275dir=Yt({type:n,selectors:[["","formGroup",""]],hostBindings:function(r,i){1&r&&re("submit",function(u){return i.onSubmit(u)})("reset",function(){return i.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[mo([Vj]),Dt,wi]})}}return n})();const Gj={provide:Xa,useExisting:ee(()=>ty)};let ty=(()=>{class n extends Xa{set isDisabled(t){}static{this._ngModelWarningSentOnce=!1}constructor(t,r,i,s,u){super(),this._ngModelWarningConfig=u,this._added=!1,this.name=null,this.update=new $n,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=Zv(0,s)}ngOnChanges(t){this._added||this._setUpControl(),Xv(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return pm(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static{this.\u0275fac=function(r){return new(r||n)(N(Ai,13),N(Kr,10),N(wl,10),N(qi,10),N(Qv,8))}}static{this.\u0275dir=Yt({type:n,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[mo([Gj]),Dt,wi]})}}return n})();function RI(n){return"number"==typeof n?n:parseFloat(n)}let hc=(()=>{class n{constructor(){this._validator=sm}ngOnChanges(t){if(this.inputName in t){const r=this.normalizeInput(t[this.inputName].currentValue);this._enabled=this.enabled(r),this._validator=this._enabled?this.createValidator(r):sm,this._onChange&&this._onChange()}}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}enabled(t){return null!=t}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275dir=Yt({type:n,features:[wi]})}}return n})();const Qj={provide:Kr,useExisting:ee(()=>ry),multi:!0};let ry=(()=>{class n extends hc{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=t=>RI(t),this.createValidator=t=>K6(t)}static{this.\u0275fac=(()=>{let t;return function(i){return(t||(t=jo(n)))(i||n)}})()}static{this.\u0275dir=Yt({type:n,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(r,i){2&r&&ys("max",i._enabled?i.max:null)},inputs:{max:"max"},features:[mo([Qj]),Dt]})}}return n})();const Jj={provide:Kr,useExisting:ee(()=>iy),multi:!0};let iy=(()=>{class n extends hc{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=t=>RI(t),this.createValidator=t=>Y6(t)}static{this.\u0275fac=(()=>{let t;return function(i){return(t||(t=jo(n)))(i||n)}})()}static{this.\u0275dir=Yt({type:n,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(r,i){2&r&&ys("min",i._enabled?i.min:null)},inputs:{min:"min"},features:[mo([Jj]),Dt]})}}return n})();const rG={provide:Kr,useExisting:ee(()=>ay),multi:!0};let ay=(()=>{class n extends hc{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=t=>function kI(n){return"number"==typeof n?n:parseInt(n,10)}(t),this.createValidator=t=>eI(t)}static{this.\u0275fac=(()=>{let t;return function(i){return(t||(t=jo(n)))(i||n)}})()}static{this.\u0275dir=Yt({type:n,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(r,i){2&r&&ys("maxlength",i._enabled?i.maxlength:null)},inputs:{maxlength:"maxlength"},features:[mo([rG]),Dt]})}}return n})(),zI=(()=>{class n{static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275mod=bn({type:n})}static{this.\u0275inj=mn({})}}return n})(),Io=(()=>{class n{static withConfig(t){return{ngModule:n,providers:[{provide:fc,useValue:t.callSetDisabledState??Hg}]}}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275mod=bn({type:n})}static{this.\u0275inj=mn({imports:[zI]})}}return n})(),aG=(()=>{class n{static withConfig(t){return{ngModule:n,providers:[{provide:Qv,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:fc,useValue:t.callSetDisabledState??Hg}]}}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275mod=bn({type:n})}static{this.\u0275inj=mn({imports:[zI]})}}return n})();var Ge=_(467);function jt(...n){return io(n,im(n))}function bm(...n){const o=im(n),t=H6(n),{args:r,keys:i}=z6(n);if(0===r.length)return io([],o);const s=new bo(function cG(n,o,t=Bi){return r=>{VI(o,()=>{const{length:i}=n,s=new Array(i);let u=i,p=i;for(let m=0;m<i;m++)VI(o,()=>{const v=io(n[m],o);let S=!1;v.subscribe(jn(r,T=>{s[m]=T,S||(S=!0,p--),p||r.next(t(s.slice()))},()=>{--u||r.complete()}))},r)},r)}}(r,o,i?u=>j6(i,u):Bi));return t?s.pipe(Rv(t)):s}function VI(n,o,t){n?Ka(t,n,o):o()}const Gd=ho(n=>function(){n(this),this.name="EmptyError",this.message="no elements in sequence"});function Qr(n,o,t=1/0){return sn(o)?Qr((r,i)=>rn((s,u)=>o(r,s,i,u))(ws(n(r,i))),t):("number"==typeof o&&(t=o),wo((r,i)=>function dG(n,o,t,r,i,s,u,p){const m=[];let v=0,S=0,T=!1;const D=()=>{T&&!m.length&&!v&&o.complete()},$=k=>v<r?x(k):m.push(k),x=k=>{s&&o.next(k),v++;let B=!1;ws(t(k,S++)).subscribe(jn(o,G=>{i?.(G),s?$(G):o.next(G)},()=>{B=!0},void 0,()=>{if(B)try{for(v--;m.length&&v<r;){const G=m.shift();u?Ka(o,u,()=>x(G)):x(G)}D()}catch(G){o.error(G)}}))};return n.subscribe(jn(o,$,()=>{T=!0,D()})),()=>{p?.()}}(r,i,n,t)))}function qg(n=1/0){return Qr(Bi,n)}function Sm(...n){return function uG(){return qg(1)}()(io(n,im(n)))}function HI(n){return new bo(o=>{ws(n()).subscribe(o)})}function mc(n,o){const t=sn(n)?n:()=>n,r=i=>i.error(t());return new bo(o?i=>o.schedule(r,0,i):r)}const js=new bo(n=>n.complete());function ly(){return wo((n,o)=>{let t=null;n._refCount++;const r=jn(o,void 0,void 0,void 0,()=>{if(!n||n._refCount<=0||0<--n._refCount)return void(t=null);const i=n._connection,s=t;t=null,i&&(!s||i===s)&&i.unsubscribe(),o.unsubscribe()});n.subscribe(r),r.closed||(t=n.connect())})}class jI extends bo{constructor(o,t){super(),this.source=o,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,Ki(o)&&(this.lift=o.lift)}_subscribe(o){return this.getSubject().subscribe(o)}getSubject(){const o=this._subject;return(!o||o.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:o}=this;this._subject=this._connection=null,o?.unsubscribe()}connect(){let o=this._connection;if(!o){o=this._connection=new Wt;const t=this.getSubject();o.add(this.source.subscribe(jn(t,void 0,()=>{this._teardown(),t.complete()},r=>{this._teardown(),t.error(r)},()=>this._teardown()))),o.closed&&(this._connection=null,o=Wt.EMPTY)}return o}refCount(){return ly()(this)}}function so(n,o){return wo((t,r)=>{let i=null,s=0,u=!1;const p=()=>u&&!i&&r.complete();t.subscribe(jn(r,m=>{i?.unsubscribe();let v=0;const S=s++;ws(n(m,S)).subscribe(i=jn(r,T=>r.next(o?o(m,T,S,v++):T),()=>{i=null,p()}))},()=>{u=!0,p()}))})}function El(n){return n<=0?()=>js:wo((o,t)=>{let r=0;o.subscribe(jn(t,i=>{++r<=n&&(t.next(i),n<=r&&t.complete())}))})}function Gs(n,o){return wo((t,r)=>{let i=0;t.subscribe(jn(r,s=>n.call(o,s,i++)&&r.next(s)))})}function Cm(n){return wo((o,t)=>{let r=!1;o.subscribe(jn(t,i=>{r=!0,t.next(i)},()=>{r||t.next(n),t.complete()}))})}function GI(n=pG){return wo((o,t)=>{let r=!1;o.subscribe(jn(t,i=>{r=!0,t.next(i)},()=>r?t.complete():t.error(n())))})}function pG(){return new Gd}function _c(n,o){const t=arguments.length>=2;return r=>r.pipe(n?Gs((i,s)=>n(i,s,r)):Bi,El(1),t?Cm(o):GI(()=>new Gd))}function Wd(n,o){return sn(o)?Qr(n,o,1):Qr(n,1)}function Wn(n,o,t){const r=sn(n)||o||t?{next:n,error:o,complete:t}:n;return r?wo((i,s)=>{var u;null===(u=r.subscribe)||void 0===u||u.call(r);let p=!0;i.subscribe(jn(s,m=>{var v;null===(v=r.next)||void 0===v||v.call(r,m),s.next(m)},()=>{var m;p=!1,null===(m=r.complete)||void 0===m||m.call(r),s.complete()},m=>{var v;p=!1,null===(v=r.error)||void 0===v||v.call(r,m),s.error(m)},()=>{var m,v;p&&(null===(m=r.unsubscribe)||void 0===m||m.call(r)),null===(v=r.finalize)||void 0===v||v.call(r)}))}):Bi}function Jr(n){return wo((o,t)=>{let s,r=null,i=!1;r=o.subscribe(jn(t,void 0,void 0,u=>{s=ws(n(u,Jr(n)(o))),r?(r.unsubscribe(),r=null,s.subscribe(t)):i=!0})),i&&(r.unsubscribe(),r=null,s.subscribe(t))})}function cy(n){return n<=0?()=>js:wo((o,t)=>{let r=[];o.subscribe(jn(t,i=>{r.push(i),n<r.length&&r.shift()},()=>{for(const i of r)t.next(i);t.complete()},void 0,()=>{r=null}))})}function WI(n){return rn(()=>n)}function Ca(n){return wo((o,t)=>{try{o.subscribe(t)}finally{t.add(n)}})}const wn="primary",Yg=Symbol("RouteTitle");class yG{constructor(o){this.params=o||{}}has(o){return Object.prototype.hasOwnProperty.call(this.params,o)}get(o){if(this.has(o)){const t=this.params[o];return Array.isArray(t)?t[0]:t}return null}getAll(o){if(this.has(o)){const t=this.params[o];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function qd(n){return new yG(n)}function bG(n,o,t){const r=t.path.split("/");if(r.length>n.length||"full"===t.pathMatch&&(o.hasChildren()||r.length<n.length))return null;const i={};for(let s=0;s<r.length;s++){const u=r[s],p=n[s];if(":"===u[0])i[u.substring(1)]=p;else if(u!==p.path)return null}return{consumed:n.slice(0,r.length),posParams:i}}function Ta(n,o){const t=n?dy(n):void 0,r=o?dy(o):void 0;if(!t||!r||t.length!=r.length)return!1;let i;for(let s=0;s<t.length;s++)if(i=t[s],!qI(n[i],o[i]))return!1;return!0}function dy(n){return[...Object.keys(n),...Object.getOwnPropertySymbols(n)]}function qI(n,o){if(Array.isArray(n)&&Array.isArray(o)){if(n.length!==o.length)return!1;const t=[...n].sort(),r=[...o].sort();return t.every((i,s)=>r[s]===i)}return n===o}function YI(n){return n.length>0?n[n.length-1]:null}function Il(n){return function lG(n){return!!n&&(n instanceof bo||sn(n.lift)&&sn(n.subscribe))}(n)?n:$g(n)?io(Promise.resolve(n)):jt(n)}const CG={exact:function ZI(n,o,t){if(!yc(n.segments,o.segments)||!Tm(n.segments,o.segments,t)||n.numberOfChildren!==o.numberOfChildren)return!1;for(const r in o.children)if(!n.children[r]||!ZI(n.children[r],o.children[r],t))return!1;return!0},subset:QI},KI={exact:function TG(n,o){return Ta(n,o)},subset:function wG(n,o){return Object.keys(o).length<=Object.keys(n).length&&Object.keys(o).every(t=>qI(n[t],o[t]))},ignored:()=>!0};function XI(n,o,t){return CG[t.paths](n.root,o.root,t.matrixParams)&&KI[t.queryParams](n.queryParams,o.queryParams)&&!("exact"===t.fragment&&n.fragment!==o.fragment)}function QI(n,o,t){return JI(n,o,o.segments,t)}function JI(n,o,t,r){if(n.segments.length>t.length){const i=n.segments.slice(0,t.length);return!(!yc(i,t)||o.hasChildren()||!Tm(i,t,r))}if(n.segments.length===t.length){if(!yc(n.segments,t)||!Tm(n.segments,t,r))return!1;for(const i in o.children)if(!n.children[i]||!QI(n.children[i],o.children[i],r))return!1;return!0}{const i=t.slice(0,n.segments.length),s=t.slice(n.segments.length);return!!(yc(n.segments,i)&&Tm(n.segments,i,r)&&n.children[wn])&&JI(n.children[wn],o,s,r)}}function Tm(n,o,t){return o.every((r,i)=>KI[t](n[i].parameters,r.parameters))}class vc{constructor(o=new Do([],{}),t={},r=null){this.root=o,this.queryParams=t,this.fragment=r}get queryParamMap(){return this._queryParamMap??=qd(this.queryParams),this._queryParamMap}toString(){return DG.serialize(this)}}class Do{constructor(o,t){this.segments=o,this.children=t,this.parent=null,Object.values(t).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Em(this)}}class Kg{constructor(o,t){this.path=o,this.parameters=t}get parameterMap(){return this._parameterMap??=qd(this.parameters),this._parameterMap}toString(){return n7(this)}}function yc(n,o){return n.length===o.length&&n.every((t,r)=>t.path===o[r].path)}let bc=(()=>{class n{static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275prov=St({token:n,factory:()=>new wm,providedIn:"root"})}}return n})();class wm{parse(o){const t=new FG(o);return new vc(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(o){const t=`/${Xg(o.root,!0)}`,r=function $G(n){const o=Object.entries(n).map(([t,r])=>Array.isArray(r)?r.map(i=>`${Im(t)}=${Im(i)}`).join("&"):`${Im(t)}=${Im(r)}`).filter(t=>t);return o.length?`?${o.join("&")}`:""}(o.queryParams);return`${t}${r}${"string"==typeof o.fragment?`#${function PG(n){return encodeURI(n)}(o.fragment)}`:""}`}}const DG=new wm;function Em(n){return n.segments.map(o=>n7(o)).join("/")}function Xg(n,o){if(!n.hasChildren())return Em(n);if(o){const t=n.children[wn]?Xg(n.children[wn],!1):"",r=[];return Object.entries(n.children).forEach(([i,s])=>{i!==wn&&r.push(`${i}:${Xg(s,!1)}`)}),r.length>0?`${t}(${r.join("//")})`:t}{const t=function IG(n,o){let t=[];return Object.entries(n.children).forEach(([r,i])=>{r===wn&&(t=t.concat(o(i,r)))}),Object.entries(n.children).forEach(([r,i])=>{r!==wn&&(t=t.concat(o(i,r)))}),t}(n,(r,i)=>i===wn?[Xg(n.children[wn],!1)]:[`${i}:${Xg(r,!1)}`]);return 1===Object.keys(n.children).length&&null!=n.children[wn]?`${Em(n)}/${t[0]}`:`${Em(n)}/(${t.join("//")})`}}function e7(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Im(n){return e7(n).replace(/%3B/gi,";")}function uy(n){return e7(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Dm(n){return decodeURIComponent(n)}function t7(n){return Dm(n.replace(/\+/g,"%20"))}function n7(n){return`${uy(n.path)}${function MG(n){return Object.entries(n).map(([o,t])=>`;${uy(o)}=${uy(t)}`).join("")}(n.parameters)}`}const AG=/^[^\/()?;#]+/;function gy(n){const o=n.match(AG);return o?o[0]:""}const NG=/^[^\/()?;=#]+/,OG=/^[^=?&#]+/,RG=/^[^&#]+/;class FG{constructor(o){this.url=o,this.remaining=o}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Do([],{}):new Do([],this.parseChildren())}parseQueryParams(){const o={};if(this.consumeOptional("?"))do{this.parseQueryParam(o)}while(this.consumeOptional("&"));return o}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const o=[];for(this.peekStartsWith("(")||o.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),o.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(o.length>0||Object.keys(t).length>0)&&(r[wn]=new Do(o,t)),r}parseSegment(){const o=gy(this.remaining);if(""===o&&this.peekStartsWith(";"))throw new Ve(4009,!1);return this.capture(o),new Kg(Dm(o),this.parseMatrixParams())}parseMatrixParams(){const o={};for(;this.consumeOptional(";");)this.parseParam(o);return o}parseParam(o){const t=function xG(n){const o=n.match(NG);return o?o[0]:""}(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){const i=gy(this.remaining);i&&(r=i,this.capture(r))}o[Dm(t)]=Dm(r)}parseQueryParam(o){const t=function kG(n){const o=n.match(OG);return o?o[0]:""}(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){const u=function LG(n){const o=n.match(RG);return o?o[0]:""}(this.remaining);u&&(r=u,this.capture(r))}const i=t7(t),s=t7(r);if(o.hasOwnProperty(i)){let u=o[i];Array.isArray(u)||(u=[u],o[i]=u),u.push(s)}else o[i]=s}parseParens(o){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=gy(this.remaining),i=this.remaining[r.length];if("/"!==i&&")"!==i&&";"!==i)throw new Ve(4010,!1);let s;r.indexOf(":")>-1?(s=r.slice(0,r.indexOf(":")),this.capture(s),this.capture(":")):o&&(s=wn);const u=this.parseChildren();t[s]=1===Object.keys(u).length?u[wn]:new Do([],u),this.consumeOptional("//")}return t}peekStartsWith(o){return this.remaining.startsWith(o)}consumeOptional(o){return!!this.peekStartsWith(o)&&(this.remaining=this.remaining.substring(o.length),!0)}capture(o){if(!this.consumeOptional(o))throw new Ve(4011,!1)}}function o7(n){return n.segments.length>0?new Do([],{[wn]:n}):n}function r7(n){const o={};for(const[r,i]of Object.entries(n.children)){const s=r7(i);if(r===wn&&0===s.segments.length&&s.hasChildren())for(const[u,p]of Object.entries(s.children))o[u]=p;else(s.segments.length>0||s.hasChildren())&&(o[r]=s)}return function BG(n){if(1===n.numberOfChildren&&n.children[wn]){const o=n.children[wn];return new Do(n.segments.concat(o.segments),o.children)}return n}(new Do(n.segments,o))}function Sc(n){return n instanceof vc}function i7(n){let o;const i=o7(function t(s){const u={};for(const m of s.children){const v=t(m);u[m.outlet]=v}const p=new Do(s.url,u);return s===n&&(o=p),p}(n.root));return o??i}function s7(n,o,t,r){let i=n;for(;i.parent;)i=i.parent;if(0===o.length)return fy(i,i,i,t,r);const s=function zG(n){if("string"==typeof n[0]&&1===n.length&&"/"===n[0])return new l7(!0,0,n);let o=0,t=!1;const r=n.reduce((i,s,u)=>{if("object"==typeof s&&null!=s){if(s.outlets){const p={};return Object.entries(s.outlets).forEach(([m,v])=>{p[m]="string"==typeof v?v.split("/"):v}),[...i,{outlets:p}]}if(s.segmentPath)return[...i,s.segmentPath]}return"string"!=typeof s?[...i,s]:0===u?(s.split("/").forEach((p,m)=>{0==m&&"."===p||(0==m&&""===p?t=!0:".."===p?o++:""!=p&&i.push(p))}),i):[...i,s]},[]);return new l7(t,o,r)}(o);if(s.toRoot())return fy(i,i,new Do([],{}),t,r);const u=function VG(n,o,t){if(n.isAbsolute)return new Mm(o,!0,0);if(!t)return new Mm(o,!1,NaN);if(null===t.parent)return new Mm(t,!0,0);const r=Pm(n.commands[0])?0:1;return function HG(n,o,t){let r=n,i=o,s=t;for(;s>i;){if(s-=i,r=r.parent,!r)throw new Ve(4005,!1);i=r.segments.length}return new Mm(r,!1,i-s)}(t,t.segments.length-1+r,n.numberOfDoubleDots)}(s,i,n),p=u.processChildren?Qg(u.segmentGroup,u.index,s.commands):c7(u.segmentGroup,u.index,s.commands);return fy(i,u.segmentGroup,p,t,r)}function Pm(n){return"object"==typeof n&&null!=n&&!n.outlets&&!n.segmentPath}function Zg(n){return"object"==typeof n&&null!=n&&n.outlets}function fy(n,o,t,r,i){let u,s={};r&&Object.entries(r).forEach(([m,v])=>{s[m]=Array.isArray(v)?v.map(S=>`${S}`):`${v}`}),u=n===o?t:a7(n,o,t);const p=o7(r7(u));return new vc(p,s,i)}function a7(n,o,t){const r={};return Object.entries(n.children).forEach(([i,s])=>{r[i]=s===o?t:a7(s,o,t)}),new Do(n.segments,r)}class l7{constructor(o,t,r){if(this.isAbsolute=o,this.numberOfDoubleDots=t,this.commands=r,o&&r.length>0&&Pm(r[0]))throw new Ve(4003,!1);const i=r.find(Zg);if(i&&i!==YI(r))throw new Ve(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Mm{constructor(o,t,r){this.segmentGroup=o,this.processChildren=t,this.index=r}}function c7(n,o,t){if(n??=new Do([],{}),0===n.segments.length&&n.hasChildren())return Qg(n,o,t);const r=function GG(n,o,t){let r=0,i=o;const s={match:!1,pathIndex:0,commandIndex:0};for(;i<n.segments.length;){if(r>=t.length)return s;const u=n.segments[i],p=t[r];if(Zg(p))break;const m=`${p}`,v=r<t.length-1?t[r+1]:null;if(i>0&&void 0===m)break;if(m&&v&&"object"==typeof v&&void 0===v.outlets){if(!u7(m,v,u))return s;r+=2}else{if(!u7(m,{},u))return s;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(n,o,t),i=t.slice(r.commandIndex);if(r.match&&r.pathIndex<n.segments.length){const s=new Do(n.segments.slice(0,r.pathIndex),{});return s.children[wn]=new Do(n.segments.slice(r.pathIndex),n.children),Qg(s,0,i)}return r.match&&0===i.length?new Do(n.segments,{}):r.match&&!n.hasChildren()?py(n,o,t):r.match?Qg(n,0,i):py(n,o,t)}function Qg(n,o,t){if(0===t.length)return new Do(n.segments,{});{const r=function jG(n){return Zg(n[0])?n[0].outlets:{[wn]:n}}(t),i={};if(Object.keys(r).some(s=>s!==wn)&&n.children[wn]&&1===n.numberOfChildren&&0===n.children[wn].segments.length){const s=Qg(n.children[wn],o,t);return new Do(n.segments,s.children)}return Object.entries(r).forEach(([s,u])=>{"string"==typeof u&&(u=[u]),null!==u&&(i[s]=c7(n.children[s],o,u))}),Object.entries(n.children).forEach(([s,u])=>{void 0===r[s]&&(i[s]=u)}),new Do(n.segments,i)}}function py(n,o,t){const r=n.segments.slice(0,o);let i=0;for(;i<t.length;){const s=t[i];if(Zg(s)){const m=WG(s.outlets);return new Do(r,m)}if(0===i&&Pm(t[0])){r.push(new Kg(n.segments[o].path,d7(t[0]))),i++;continue}const u=Zg(s)?s.outlets[wn]:`${s}`,p=i<t.length-1?t[i+1]:null;u&&p&&Pm(p)?(r.push(new Kg(u,d7(p))),i+=2):(r.push(new Kg(u,{})),i++)}return new Do(r,{})}function WG(n){const o={};return Object.entries(n).forEach(([t,r])=>{"string"==typeof r&&(r=[r]),null!==r&&(o[t]=py(new Do([],{}),0,r))}),o}function d7(n){const o={};return Object.entries(n).forEach(([t,r])=>o[t]=`${r}`),o}function u7(n,o,t){return n==t.path&&Ta(o,t.parameters)}const Jg="imperative";var Kn=function(n){return n[n.NavigationStart=0]="NavigationStart",n[n.NavigationEnd=1]="NavigationEnd",n[n.NavigationCancel=2]="NavigationCancel",n[n.NavigationError=3]="NavigationError",n[n.RoutesRecognized=4]="RoutesRecognized",n[n.ResolveStart=5]="ResolveStart",n[n.ResolveEnd=6]="ResolveEnd",n[n.GuardsCheckStart=7]="GuardsCheckStart",n[n.GuardsCheckEnd=8]="GuardsCheckEnd",n[n.RouteConfigLoadStart=9]="RouteConfigLoadStart",n[n.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",n[n.ChildActivationStart=11]="ChildActivationStart",n[n.ChildActivationEnd=12]="ChildActivationEnd",n[n.ActivationStart=13]="ActivationStart",n[n.ActivationEnd=14]="ActivationEnd",n[n.Scroll=15]="Scroll",n[n.NavigationSkipped=16]="NavigationSkipped",n}(Kn||{});class wa{constructor(o,t){this.id=o,this.url=t}}class ef extends wa{constructor(o,t,r="imperative",i=null){super(o,t),this.type=Kn.NavigationStart,this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Ea extends wa{constructor(o,t,r){super(o,t),this.urlAfterRedirects=r,this.type=Kn.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var as=function(n){return n[n.Redirect=0]="Redirect",n[n.SupersededByNewNavigation=1]="SupersededByNewNavigation",n[n.NoDataFromResolver=2]="NoDataFromResolver",n[n.GuardRejected=3]="GuardRejected",n}(as||{}),$m=function(n){return n[n.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",n[n.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",n}($m||{});class Cc extends wa{constructor(o,t,r,i){super(o,t),this.reason=r,this.code=i,this.type=Kn.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Yd extends wa{constructor(o,t,r,i){super(o,t),this.reason=r,this.code=i,this.type=Kn.NavigationSkipped}}class hy extends wa{constructor(o,t,r,i){super(o,t),this.error=r,this.target=i,this.type=Kn.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class g7 extends wa{constructor(o,t,r,i){super(o,t),this.urlAfterRedirects=r,this.state=i,this.type=Kn.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class qG extends wa{constructor(o,t,r,i){super(o,t),this.urlAfterRedirects=r,this.state=i,this.type=Kn.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class YG extends wa{constructor(o,t,r,i,s){super(o,t),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=s,this.type=Kn.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class KG extends wa{constructor(o,t,r,i){super(o,t),this.urlAfterRedirects=r,this.state=i,this.type=Kn.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class XG extends wa{constructor(o,t,r,i){super(o,t),this.urlAfterRedirects=r,this.state=i,this.type=Kn.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ZG{constructor(o){this.route=o,this.type=Kn.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class QG{constructor(o){this.route=o,this.type=Kn.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class JG{constructor(o){this.snapshot=o,this.type=Kn.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class eW{constructor(o){this.snapshot=o,this.type=Kn.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class tW{constructor(o){this.snapshot=o,this.type=Kn.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class nW{constructor(o){this.snapshot=o,this.type=Kn.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class f7{constructor(o,t,r){this.routerEvent=o,this.position=t,this.anchor=r,this.type=Kn.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class my{}class Am{constructor(o,t){this.url=o,this.navigationBehaviorOptions=t}}function Ws(n){return n.outlet||wn}function tf(n){if(!n)return null;if(n.routeConfig?._injector)return n.routeConfig._injector;for(let o=n.parent;o;o=o.parent){const t=o.routeConfig;if(t?._loadedInjector)return t._loadedInjector;if(t?._injector)return t._injector}return null}class lW{get injector(){return tf(this.route?.snapshot)??this.rootInjector}set injector(o){}constructor(o){this.rootInjector=o,this.outlet=null,this.route=null,this.children=new Tc(this.rootInjector),this.attachRef=null}}let Tc=(()=>{class n{constructor(t){this.rootInjector=t,this.contexts=new Map}onChildOutletCreated(t,r){const i=this.getOrCreateContext(t);i.outlet=r,this.contexts.set(t,i)}onChildOutletDestroyed(t){const r=this.getContext(t);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let r=this.getContext(t);return r||(r=new lW(this.rootInjector),this.contexts.set(t,r)),r}getContext(t){return this.contexts.get(t)||null}static{this.\u0275fac=function(r){return new(r||n)(Tt($r))}}static{this.\u0275prov=St({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();class p7{constructor(o){this._root=o}get root(){return this._root.value}parent(o){const t=this.pathFromRoot(o);return t.length>1?t[t.length-2]:null}children(o){const t=_y(o,this._root);return t?t.children.map(r=>r.value):[]}firstChild(o){const t=_y(o,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(o){const t=vy(o,this._root);return t.length<2?[]:t[t.length-2].children.map(i=>i.value).filter(i=>i!==o)}pathFromRoot(o){return vy(o,this._root).map(t=>t.value)}}function _y(n,o){if(n===o.value)return o;for(const t of o.children){const r=_y(n,t);if(r)return r}return null}function vy(n,o){if(n===o.value)return[o];for(const t of o.children){const r=vy(n,t);if(r.length)return r.unshift(o),r}return[]}class qs{constructor(o,t){this.value=o,this.children=t}toString(){return`TreeNode(${this.value})`}}function Kd(n){const o={};return n&&n.children.forEach(t=>o[t.value.outlet]=t),o}class h7 extends p7{constructor(o,t){super(o),this.snapshot=t,yy(this,o)}toString(){return this.snapshot.toString()}}function m7(n){const o=function cW(n){const s=new xm([],{},{},"",{},wn,n,null,{});return new _7("",new qs(s,[]))}(n),t=new or([new Kg("",{})]),r=new or({}),i=new or({}),s=new or({}),u=new or(""),p=new dr(t,r,s,u,i,wn,n,o.root);return p.snapshot=o.root,new h7(new qs(p,[]),o)}class dr{constructor(o,t,r,i,s,u,p,m){this.urlSubject=o,this.paramsSubject=t,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=s,this.outlet=u,this.component=p,this._futureSnapshot=m,this.title=this.dataSubject?.pipe(rn(v=>v[Yg]))??jt(void 0),this.url=o,this.params=t,this.queryParams=r,this.fragment=i,this.data=s}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(rn(o=>qd(o))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(rn(o=>qd(o))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Nm(n,o,t="emptyOnly"){let r;const{routeConfig:i}=n;return r=null===o||"always"!==t&&""!==i?.path&&(o.component||o.routeConfig?.loadComponent)?{params:{...n.params},data:{...n.data},resolve:{...n.data,...n._resolvedData??{}}}:{params:{...o.params,...n.params},data:{...o.data,...n.data},resolve:{...n.data,...o.data,...i?.data,...n._resolvedData}},i&&y7(i)&&(r.resolve[Yg]=i.title),r}class xm{get title(){return this.data?.[Yg]}constructor(o,t,r,i,s,u,p,m,v){this.url=o,this.params=t,this.queryParams=r,this.fragment=i,this.data=s,this.outlet=u,this.component=p,this.routeConfig=m,this._resolve=v}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=qd(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=qd(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class _7 extends p7{constructor(o,t){super(t),this.url=o,yy(this,t)}toString(){return v7(this._root)}}function yy(n,o){o.value._routerState=n,o.children.forEach(t=>yy(n,t))}function v7(n){const o=n.children.length>0?` { ${n.children.map(v7).join(", ")} } `:"";return`${n.value}${o}`}function by(n){if(n.snapshot){const o=n.snapshot,t=n._futureSnapshot;n.snapshot=t,Ta(o.queryParams,t.queryParams)||n.queryParamsSubject.next(t.queryParams),o.fragment!==t.fragment&&n.fragmentSubject.next(t.fragment),Ta(o.params,t.params)||n.paramsSubject.next(t.params),function SG(n,o){if(n.length!==o.length)return!1;for(let t=0;t<n.length;++t)if(!Ta(n[t],o[t]))return!1;return!0}(o.url,t.url)||n.urlSubject.next(t.url),Ta(o.data,t.data)||n.dataSubject.next(t.data)}else n.snapshot=n._futureSnapshot,n.dataSubject.next(n._futureSnapshot.data)}function Sy(n,o){const t=Ta(n.params,o.params)&&function EG(n,o){return yc(n,o)&&n.every((t,r)=>Ta(t.parameters,o[r].parameters))}(n.url,o.url);return t&&!(!n.parent!=!o.parent)&&(!n.parent||Sy(n.parent,o.parent))}function y7(n){return"string"==typeof n.title||null===n.title}let b7=(()=>{class n{constructor(){this.activated=null,this._activatedRoute=null,this.name=wn,this.activateEvents=new $n,this.deactivateEvents=new $n,this.attachEvents=new $n,this.detachEvents=new $n,this.parentContexts=rt(Tc),this.location=rt(Gi),this.changeDetector=rt(It),this.inputBinder=rt(Om,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(t){if(t.name){const{firstChange:r,previousValue:i}=t.name;if(r)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Ve(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Ve(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Ve(4012,!1);this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,r){this.activated=t,this._activatedRoute=r,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,r){if(this.isActivated)throw new Ve(4013,!1);this._activatedRoute=t;const i=this.location,u=t.snapshot.component,p=this.parentContexts.getOrCreateContext(this.name).children,m=new Cy(t,p,i.injector);this.activated=i.createComponent(u,{index:i.length,injector:m,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275dir=Yt({type:n,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[wi]})}}return n})();class Cy{__ngOutletInjector(o){return new Cy(this.route,this.childContexts,o)}constructor(o,t,r){this.route=o,this.childContexts=t,this.parent=r}get(o,t){return o===dr?this.route:o===Tc?this.childContexts:this.parent.get(o,t)}}const Om=new Pt("");let S7=(()=>{class n{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){const{activatedRoute:r}=t,i=bm([r.queryParams,r.params,r.data]).pipe(so(([s,u,p],m)=>(p={...s,...u,...p},0===m?jt(p):Promise.resolve(p)))).subscribe(s=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==r||null===r.component)return void this.unsubscribeFromRouteData(t);const u=$E(r.component);if(u)for(const{templateName:p}of u.inputs)t.activatedComponentRef.setInput(p,s[p]);else this.unsubscribeFromRouteData(t)});this.outletDataSubscriptions.set(t,i)}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275prov=St({token:n,factory:n.\u0275fac})}}return n})();function nf(n,o,t){if(t&&n.shouldReuseRoute(o.value,t.value.snapshot)){const r=t.value;r._futureSnapshot=o.value;const i=function uW(n,o,t){return o.children.map(r=>{for(const i of t.children)if(n.shouldReuseRoute(r.value,i.value.snapshot))return nf(n,r,i);return nf(n,r)})}(n,o,t);return new qs(r,i)}{if(n.shouldAttach(o.value)){const s=n.retrieve(o.value);if(null!==s){const u=s.route;return u.value._futureSnapshot=o.value,u.children=o.children.map(p=>nf(n,p)),u}}const r=function gW(n){return new dr(new or(n.url),new or(n.params),new or(n.queryParams),new or(n.fragment),new or(n.data),n.outlet,n.component,n)}(o.value),i=o.children.map(s=>nf(n,s));return new qs(r,i)}}class Ty{constructor(o,t){this.redirectTo=o,this.navigationBehaviorOptions=t}}const C7="ngNavigationCancelingError";function km(n,o){const{redirectTo:t,navigationBehaviorOptions:r}=Sc(o)?{redirectTo:o,navigationBehaviorOptions:void 0}:o,i=T7(!1,as.Redirect);return i.url=t,i.navigationBehaviorOptions=r,i}function T7(n,o){const t=new Error(`NavigationCancelingError: ${n||""}`);return t[C7]=!0,t.cancellationCode=o,t}function w7(n){return!!n&&n[C7]}class hW{constructor(o,t,r,i,s){this.routeReuseStrategy=o,this.futureState=t,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=s}activate(o){const t=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,r,o),by(this.futureState.root),this.activateChildRoutes(t,r,o)}deactivateChildRoutes(o,t,r){const i=Kd(t);o.children.forEach(s=>{const u=s.value.outlet;this.deactivateRoutes(s,i[u],r),delete i[u]}),Object.values(i).forEach(s=>{this.deactivateRouteAndItsChildren(s,r)})}deactivateRoutes(o,t,r){const i=o.value,s=t?t.value:null;if(i===s)if(i.component){const u=r.getContext(i.outlet);u&&this.deactivateChildRoutes(o,t,u.children)}else this.deactivateChildRoutes(o,t,r);else s&&this.deactivateRouteAndItsChildren(t,r)}deactivateRouteAndItsChildren(o,t){o.value.component&&this.routeReuseStrategy.shouldDetach(o.value.snapshot)?this.detachAndStoreRouteSubtree(o,t):this.deactivateRouteAndOutlet(o,t)}detachAndStoreRouteSubtree(o,t){const r=t.getContext(o.value.outlet),i=r&&o.value.component?r.children:t,s=Kd(o);for(const u of Object.values(s))this.deactivateRouteAndItsChildren(u,i);if(r&&r.outlet){const u=r.outlet.detach(),p=r.children.onOutletDeactivated();this.routeReuseStrategy.store(o.value.snapshot,{componentRef:u,route:o,contexts:p})}}deactivateRouteAndOutlet(o,t){const r=t.getContext(o.value.outlet),i=r&&o.value.component?r.children:t,s=Kd(o);for(const u of Object.values(s))this.deactivateRouteAndItsChildren(u,i);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(o,t,r){const i=Kd(t);o.children.forEach(s=>{this.activateRoutes(s,i[s.value.outlet],r),this.forwardEvent(new nW(s.value.snapshot))}),o.children.length&&this.forwardEvent(new eW(o.value.snapshot))}activateRoutes(o,t,r){const i=o.value,s=t?t.value:null;if(by(i),i===s)if(i.component){const u=r.getOrCreateContext(i.outlet);this.activateChildRoutes(o,t,u.children)}else this.activateChildRoutes(o,t,r);else if(i.component){const u=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const p=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),u.children.onOutletReAttached(p.contexts),u.attachRef=p.componentRef,u.route=p.route.value,u.outlet&&u.outlet.attach(p.componentRef,p.route.value),by(p.route.value),this.activateChildRoutes(o,null,u.children)}else u.attachRef=null,u.route=i,u.outlet&&u.outlet.activateWith(i,u.injector),this.activateChildRoutes(o,null,u.children)}else this.activateChildRoutes(o,null,r)}}class E7{constructor(o){this.path=o,this.route=this.path[this.path.length-1]}}class Rm{constructor(o,t){this.component=o,this.route=t}}function mW(n,o,t){const r=n._root;return rf(r,o?o._root:null,t,[r.value])}function Xd(n,o){const t=Symbol(),r=o.get(n,t);return r===t?"function"!=typeof n||function bu(n){return null!==Fc(n)}(n)?o.get(n):n:r}function rf(n,o,t,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const s=Kd(o);return n.children.forEach(u=>{(function vW(n,o,t,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const s=n.value,u=o?o.value:null,p=t?t.getContext(n.value.outlet):null;if(u&&s.routeConfig===u.routeConfig){const m=function yW(n,o,t){if("function"==typeof t)return t(n,o);switch(t){case"pathParamsChange":return!yc(n.url,o.url);case"pathParamsOrQueryParamsChange":return!yc(n.url,o.url)||!Ta(n.queryParams,o.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Sy(n,o)||!Ta(n.queryParams,o.queryParams);default:return!Sy(n,o)}}(u,s,s.routeConfig.runGuardsAndResolvers);m?i.canActivateChecks.push(new E7(r)):(s.data=u.data,s._resolvedData=u._resolvedData),rf(n,o,s.component?p?p.children:null:t,r,i),m&&p&&p.outlet&&p.outlet.isActivated&&i.canDeactivateChecks.push(new Rm(p.outlet.component,u))}else u&&sf(o,p,i),i.canActivateChecks.push(new E7(r)),rf(n,null,s.component?p?p.children:null:t,r,i)})(u,s[u.value.outlet],t,r.concat([u.value]),i),delete s[u.value.outlet]}),Object.entries(s).forEach(([u,p])=>sf(p,t.getContext(u),i)),i}function sf(n,o,t){const r=Kd(n),i=n.value;Object.entries(r).forEach(([s,u])=>{sf(u,i.component?o?o.children.getContext(s):null:o,t)}),t.canDeactivateChecks.push(new Rm(i.component&&o&&o.outlet&&o.outlet.isActivated?o.outlet.component:null,i))}function af(n){return"function"==typeof n}function I7(n){return n instanceof Gd||"EmptyError"===n?.name}const Lm=Symbol("INITIAL_VALUE");function Zd(){return so(n=>bm(n.map(o=>o.pipe(El(1),function fG(...n){const o=im(n);return wo((t,r)=>{(o?Sm(n,t,o):Sm(n,t)).subscribe(r)})}(Lm)))).pipe(rn(o=>{for(const t of o)if(!0!==t){if(t===Lm)return Lm;if(!1===t||IW(t))return t}return!0}),Gs(o=>o!==Lm),El(1)))}function IW(n){return Sc(n)||n instanceof Ty}function D7(n){return function Na(...n){return nl(n)}(Wn(o=>{if("boolean"!=typeof o)throw km(0,o)}),rn(o=>!0===o))}class wy{constructor(o){this.segmentGroup=o||null}}class Fm extends Error{constructor(o){super(),this.urlTree=o}}function Qd(n){return mc(new wy(n))}class BW{constructor(o,t){this.urlSerializer=o,this.urlTree=t}lineralizeSegments(o,t){let r=[],i=t.root;for(;;){if(r=r.concat(i.segments),0===i.numberOfChildren)return jt(r);if(i.numberOfChildren>1||!i.children[wn])return mc(new Ve(4e3,!1));i=i.children[wn]}}applyRedirectCommands(o,t,r,i,s){if("string"!=typeof t){const p=t,{queryParams:m,fragment:v,routeConfig:S,url:T,outlet:D,params:$,data:x,title:k}=i,B=la(s,()=>p({params:$,data:x,queryParams:m,fragment:v,routeConfig:S,url:T,outlet:D,title:k}));if(B instanceof vc)throw new Fm(B);t=B}const u=this.applyRedirectCreateUrlTree(t,this.urlSerializer.parse(t),o,r);if("/"===t[0])throw new Fm(u);return u}applyRedirectCreateUrlTree(o,t,r,i){const s=this.createSegmentGroup(o,t.root,r,i);return new vc(s,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(o,t){const r={};return Object.entries(o).forEach(([i,s])=>{if("string"==typeof s&&":"===s[0]){const p=s.substring(1);r[i]=t[p]}else r[i]=s}),r}createSegmentGroup(o,t,r,i){const s=this.createSegments(o,t.segments,r,i);let u={};return Object.entries(t.children).forEach(([p,m])=>{u[p]=this.createSegmentGroup(o,m,r,i)}),new Do(s,u)}createSegments(o,t,r,i){return t.map(s=>":"===s.path[0]?this.findPosParam(o,s,i):this.findOrReturn(s,r))}findPosParam(o,t,r){const i=r[t.path.substring(1)];if(!i)throw new Ve(4001,!1);return i}findOrReturn(o,t){let r=0;for(const i of t){if(i.path===o.path)return t.splice(r),i;r++}return o}}const Ey={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function UW(n,o,t,r,i){const s=P7(n,o,t);return s.matched?(r=function oW(n,o){return n.providers&&!n._injector&&(n._injector=nh(n.providers,o,`Route: ${n.path}`)),n._injector??o}(o,r),function RW(n,o,t,r){const i=o.canMatch;return i&&0!==i.length?jt(i.map(u=>{const p=Xd(u,n);return Il(function EW(n){return n&&af(n.canMatch)}(p)?p.canMatch(o,t):la(n,()=>p(o,t)))})).pipe(Zd(),D7()):jt(!0)}(r,o,t).pipe(rn(u=>!0===u?s:{...Ey}))):jt(s)}function P7(n,o,t){if("**"===o.path)return function zW(n){return{matched:!0,parameters:n.length>0?YI(n).parameters:{},consumedSegments:n,remainingSegments:[],positionalParamSegments:{}}}(t);if(""===o.path)return"full"===o.pathMatch&&(n.hasChildren()||t.length>0)?{...Ey}:{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};const i=(o.matcher||bG)(t,n,o);if(!i)return{...Ey};const s={};Object.entries(i.posParams??{}).forEach(([p,m])=>{s[p]=m.path});const u=i.consumed.length>0?{...s,...i.consumed[i.consumed.length-1].parameters}:s;return{matched:!0,consumedSegments:i.consumed,remainingSegments:t.slice(i.consumed.length),parameters:u,positionalParamSegments:i.posParams??{}}}function M7(n,o,t,r){return t.length>0&&function jW(n,o,t){return t.some(r=>Bm(n,o,r)&&Ws(r)!==wn)}(n,t,r)?{segmentGroup:new Do(o,HW(r,new Do(t,n.children))),slicedSegments:[]}:0===t.length&&function GW(n,o,t){return t.some(r=>Bm(n,o,r))}(n,t,r)?{segmentGroup:new Do(n.segments,VW(n,t,r,n.children)),slicedSegments:t}:{segmentGroup:new Do(n.segments,n.children),slicedSegments:t}}function VW(n,o,t,r){const i={};for(const s of t)if(Bm(n,o,s)&&!r[Ws(s)]){const u=new Do([],{});i[Ws(s)]=u}return{...r,...i}}function HW(n,o){const t={};t[wn]=o;for(const r of n)if(""===r.path&&Ws(r)!==wn){const i=new Do([],{});t[Ws(r)]=i}return t}function Bm(n,o,t){return(!(n.hasChildren()||o.length>0)||"full"!==t.pathMatch)&&""===t.path}class qW{}class XW{constructor(o,t,r,i,s,u,p){this.injector=o,this.configLoader=t,this.rootComponentType=r,this.config=i,this.urlTree=s,this.paramsInheritanceStrategy=u,this.urlSerializer=p,this.applyRedirects=new BW(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(o){return new Ve(4002,`'${o.segmentGroup}'`)}recognize(){const o=M7(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(o).pipe(rn(({children:t,rootSnapshot:r})=>{const i=new qs(r,t),s=new _7("",i),u=function UG(n,o,t=null,r=null){return s7(i7(n),o,t,r)}(r,[],this.urlTree.queryParams,this.urlTree.fragment);return u.queryParams=this.urlTree.queryParams,s.url=this.urlSerializer.serialize(u),{state:s,tree:u}}))}match(o){const t=new xm([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),wn,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,o,wn,t).pipe(rn(r=>({children:r,rootSnapshot:t})),Jr(r=>{if(r instanceof Fm)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof wy?this.noMatchError(r):r}))}processSegmentGroup(o,t,r,i,s){return 0===r.segments.length&&r.hasChildren()?this.processChildren(o,t,r,s):this.processSegment(o,t,r,r.segments,i,!0,s).pipe(rn(u=>u instanceof qs?[u]:[]))}processChildren(o,t,r,i){const s=[];for(const u of Object.keys(r.children))"primary"===u?s.unshift(u):s.push(u);return io(s).pipe(Wd(u=>{const p=r.children[u],m=function aW(n,o){const t=n.filter(r=>Ws(r)===o);return t.push(...n.filter(r=>Ws(r)!==o)),t}(t,u);return this.processSegmentGroup(o,m,p,u,i)}),function mG(n,o){return wo(function hG(n,o,t,r,i){return(s,u)=>{let p=t,m=o,v=0;s.subscribe(jn(u,S=>{const T=v++;m=p?n(m,S,T):(p=!0,S),r&&u.next(m)},i&&(()=>{p&&u.next(m),u.complete()})))}}(n,o,arguments.length>=2,!0))}((u,p)=>(u.push(...p),u)),Cm(null),function _G(n,o){const t=arguments.length>=2;return r=>r.pipe(n?Gs((i,s)=>n(i,s,r)):Bi,cy(1),t?Cm(o):GI(()=>new Gd))}(),Qr(u=>{if(null===u)return Qd(r);const p=$7(u);return function ZW(n){n.sort((o,t)=>o.value.outlet===wn?-1:t.value.outlet===wn?1:o.value.outlet.localeCompare(t.value.outlet))}(p),jt(p)}))}processSegment(o,t,r,i,s,u,p){return io(t).pipe(Wd(m=>this.processSegmentAgainstRoute(m._injector??o,t,m,r,i,s,u,p).pipe(Jr(v=>{if(v instanceof wy)return jt(null);throw v}))),_c(m=>!!m),Jr(m=>{if(I7(m))return function WW(n,o,t){return 0===o.length&&!n.children[t]}(r,i,s)?jt(new qW):Qd(r);throw m}))}processSegmentAgainstRoute(o,t,r,i,s,u,p,m){return Ws(r)===u||u!==wn&&Bm(i,s,r)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(o,i,r,s,u,m):this.allowRedirects&&p?this.expandSegmentAgainstRouteUsingRedirect(o,i,t,r,s,u,m):Qd(i):Qd(i)}expandSegmentAgainstRouteUsingRedirect(o,t,r,i,s,u,p){const{matched:m,parameters:v,consumedSegments:S,positionalParamSegments:T,remainingSegments:D}=P7(t,i,s);if(!m)return Qd(t);"string"==typeof i.redirectTo&&"/"===i.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const $=new xm(s,v,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,A7(i),Ws(i),i.component??i._loadedComponent??null,i,N7(i)),x=Nm($,p,this.paramsInheritanceStrategy);$.params=Object.freeze(x.params),$.data=Object.freeze(x.data);const k=this.applyRedirects.applyRedirectCommands(S,i.redirectTo,T,$,o);return this.applyRedirects.lineralizeSegments(i,k).pipe(Qr(B=>this.processSegment(o,r,t,B.concat(D),u,!1,p)))}matchSegmentAgainstRoute(o,t,r,i,s,u){const p=UW(t,r,i,o);return"**"===r.path&&(t.children={}),p.pipe(so(m=>m.matched?this.getChildConfig(o=r._injector??o,r,i).pipe(so(({routes:v})=>{const S=r._loadedInjector??o,{parameters:T,consumedSegments:D,remainingSegments:$}=m,x=new xm(D,T,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,A7(r),Ws(r),r.component??r._loadedComponent??null,r,N7(r)),k=Nm(x,u,this.paramsInheritanceStrategy);x.params=Object.freeze(k.params),x.data=Object.freeze(k.data);const{segmentGroup:B,slicedSegments:G}=M7(t,D,$,v);if(0===G.length&&B.hasChildren())return this.processChildren(S,v,B,x).pipe(rn(H=>new qs(x,H)));if(0===v.length&&0===G.length)return jt(new qs(x,[]));const L=Ws(r)===s;return this.processSegment(S,v,B,G,L?wn:s,!0,x).pipe(rn(H=>new qs(x,H instanceof qs?[H]:[])))})):Qd(t)))}getChildConfig(o,t,r){return t.children?jt({routes:t.children,injector:o}):t.loadChildren?void 0!==t._loadedRoutes?jt({routes:t._loadedRoutes,injector:t._loadedInjector}):function kW(n,o,t,r){const i=o.canLoad;return void 0===i||0===i.length?jt(!0):jt(i.map(u=>{const p=Xd(u,n);return Il(function SW(n){return n&&af(n.canLoad)}(p)?p.canLoad(o,t):la(n,()=>p(o,t)))})).pipe(Zd(),D7())}(o,t,r).pipe(Qr(i=>i?this.configLoader.loadChildren(o,t).pipe(Wn(s=>{t._loadedRoutes=s.routes,t._loadedInjector=s.injector})):function FW(){return mc(T7(!1,as.GuardRejected))}())):jt({routes:[],injector:o})}}function QW(n){const o=n.value.routeConfig;return o&&""===o.path}function $7(n){const o=[],t=new Set;for(const r of n){if(!QW(r)){o.push(r);continue}const i=o.find(s=>r.value.routeConfig===s.value.routeConfig);void 0!==i?(i.children.push(...r.children),t.add(i)):o.push(r)}for(const r of t){const i=$7(r.children);o.push(new qs(r.value,i))}return o.filter(r=>!t.has(r))}function A7(n){return n.data||{}}function N7(n){return n.resolve||{}}function x7(n){const o=n.children.map(t=>x7(t)).flat();return[n,...o]}function Iy(n){return so(o=>{const t=n(o);return t?io(t).pipe(rn(()=>o)):jt(o)})}let O7=(()=>{class n{buildTitle(t){let r,i=t.root;for(;void 0!==i;)r=this.getResolvedTitleForRoute(i)??r,i=i.children.find(s=>s.outlet===wn);return r}getResolvedTitleForRoute(t){return t.data[Yg]}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275prov=St({token:n,factory:()=>rt(rq),providedIn:"root"})}}return n})(),rq=(()=>{class n extends O7{constructor(t){super(),this.title=t}updateTitle(t){const r=this.buildTitle(t);void 0!==r&&this.title.setTitle(r)}static{this.\u0275fac=function(r){return new(r||n)(Tt(C6))}}static{this.\u0275prov=St({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();const Jd=new Pt("",{providedIn:"root",factory:()=>({})});let k7=(()=>{class n{static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275cmp=je({type:n,selectors:[["ng-component"]],standalone:!0,features:[aw],decls:1,vars:0,template:function(r,i){1&r&&oe(0,"router-outlet")},dependencies:[b7],encapsulation:2})}}return n})();function Dy(n){const o=n.children&&n.children.map(Dy),t=o?{...n,children:o}:{...n};return!t.component&&!t.loadComponent&&(o||t.loadChildren)&&t.outlet&&t.outlet!==wn&&(t.component=k7),t}const eu=new Pt("");let Py=(()=>{class n{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=rt(zw)}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return jt(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);const r=Il(t.loadComponent()).pipe(rn(R7),Wn(s=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=s}),Ca(()=>{this.componentLoaders.delete(t)})),i=new jI(r,()=>new Ho).pipe(ly());return this.componentLoaders.set(t,i),i}loadChildren(t,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return jt({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);const s=function iq(n,o,t,r){return Il(n.loadChildren()).pipe(rn(R7),Qr(i=>i instanceof r8||Array.isArray(i)?jt(i):io(o.compileModuleAsync(i))),rn(i=>{r&&r(n);let s,u,p=!1;return Array.isArray(i)?(u=i,!0):(s=i.create(t).injector,u=s.get(eu,[],{optional:!0,self:!0}).flat()),{routes:u.map(Dy),injector:s}}))}(r,this.compiler,t,this.onLoadEndListener).pipe(Ca(()=>{this.childrenLoaders.delete(r)})),u=new jI(s,()=>new Ho).pipe(ly());return this.childrenLoaders.set(r,u),u}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275prov=St({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();function R7(n){return function sq(n){return n&&"object"==typeof n&&"default"in n}(n)?n.default:n}let My=(()=>{class n{static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275prov=St({token:n,factory:()=>rt(aq),providedIn:"root"})}}return n})(),aq=(()=>{class n{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,r){return t}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275prov=St({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();const L7=new Pt(""),F7=new Pt("");function lq(n,o,t){const r=n.get(F7),i=n.get(ui);return n.get(dt).runOutsideAngular(()=>{if(!i.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,new Promise(v=>setTimeout(v));let s;const u=new Promise(v=>{s=v}),p=i.startViewTransition(()=>(s(),function cq(n){return new Promise(o=>{lh({read:()=>setTimeout(o)},{injector:n})})}(n))),{onViewTransitionCreated:m}=r;return m&&la(n,()=>m({transition:p,from:o,to:t})),u})}const B7=new Pt("");let Um=(()=>{class n{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Ho,this.transitionAbortSubject=new Ho,this.configLoader=rt(Py),this.environmentInjector=rt($r),this.urlSerializer=rt(bc),this.rootContexts=rt(Tc),this.location=rt(Sl),this.inputBindingEnabled=null!==rt(Om,{optional:!0}),this.titleStrategy=rt(O7),this.options=rt(Jd,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=rt(My),this.createViewTransition=rt(L7,{optional:!0}),this.navigationErrorHandler=rt(B7,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>jt(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=i=>this.events.next(new QG(i)),this.configLoader.onLoadStartListener=i=>this.events.next(new ZG(i))}complete(){this.transitions?.complete()}handleNavigationRequest(t){const r=++this.navigationId;this.transitions?.next({...this.transitions.value,...t,id:r})}setupNavigations(t,r,i){return this.transitions=new or({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:Jg,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Gs(s=>0!==s.id),rn(s=>({...s,extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),so(s=>{let u=!1,p=!1;return jt(s).pipe(so(m=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",as.SupersededByNewNavigation),js;this.currentTransition=s,this.currentNavigation={id:m.id,initialUrl:m.rawUrl,extractedUrl:m.extractedUrl,targetBrowserUrl:"string"==typeof m.extras.browserUrl?this.urlSerializer.parse(m.extras.browserUrl):m.extras.browserUrl,trigger:m.source,extras:m.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const v=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!v&&"reload"!==(m.extras.onSameUrlNavigation??t.onSameUrlNavigation)){const T="";return this.events.next(new Yd(m.id,this.urlSerializer.serialize(m.rawUrl),T,$m.IgnoredSameUrlNavigation)),m.resolve(!1),js}if(this.urlHandlingStrategy.shouldProcessUrl(m.rawUrl))return jt(m).pipe(so(T=>{const D=this.transitions?.getValue();return this.events.next(new ef(T.id,this.urlSerializer.serialize(T.extractedUrl),T.source,T.restoredState)),D!==this.transitions?.getValue()?js:Promise.resolve(T)}),function JW(n,o,t,r,i,s){return Qr(u=>function YW(n,o,t,r,i,s,u="emptyOnly"){return new XW(n,o,t,r,i,u,s).recognize()}(n,o,t,r,u.extractedUrl,i,s).pipe(rn(({state:p,tree:m})=>({...u,targetSnapshot:p,urlAfterRedirects:m}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),Wn(T=>{s.targetSnapshot=T.targetSnapshot,s.urlAfterRedirects=T.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:T.urlAfterRedirects};const D=new g7(T.id,this.urlSerializer.serialize(T.extractedUrl),this.urlSerializer.serialize(T.urlAfterRedirects),T.targetSnapshot);this.events.next(D)}));if(v&&this.urlHandlingStrategy.shouldProcessUrl(m.currentRawUrl)){const{id:T,extractedUrl:D,source:$,restoredState:x,extras:k}=m,B=new ef(T,this.urlSerializer.serialize(D),$,x);this.events.next(B);const G=m7(this.rootComponentType).snapshot;return this.currentTransition=s={...m,targetSnapshot:G,urlAfterRedirects:D,extras:{...k,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=D,jt(s)}{const T="";return this.events.next(new Yd(m.id,this.urlSerializer.serialize(m.extractedUrl),T,$m.IgnoredByUrlHandlingStrategy)),m.resolve(!1),js}}),Wn(m=>{const v=new qG(m.id,this.urlSerializer.serialize(m.extractedUrl),this.urlSerializer.serialize(m.urlAfterRedirects),m.targetSnapshot);this.events.next(v)}),rn(m=>(this.currentTransition=s={...m,guards:mW(m.targetSnapshot,m.currentSnapshot,this.rootContexts)},s)),function DW(n,o){return Qr(t=>{const{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:s,canDeactivateChecks:u}}=t;return 0===u.length&&0===s.length?jt({...t,guardsResult:!0}):function PW(n,o,t,r){return io(n).pipe(Qr(i=>function OW(n,o,t,r,i){const s=o&&o.routeConfig?o.routeConfig.canDeactivate:null;return s&&0!==s.length?jt(s.map(p=>{const m=tf(o)??i,v=Xd(p,m);return Il(function wW(n){return n&&af(n.canDeactivate)}(v)?v.canDeactivate(n,o,t,r):la(m,()=>v(n,o,t,r))).pipe(_c())})).pipe(Zd()):jt(!0)}(i.component,i.route,t,o,r)),_c(i=>!0!==i,!0))}(u,r,i,n).pipe(Qr(p=>p&&function bW(n){return"boolean"==typeof n}(p)?function MW(n,o,t,r){return io(o).pipe(Wd(i=>Sm(function AW(n,o){return null!==n&&o&&o(new JG(n)),jt(!0)}(i.route.parent,r),function $W(n,o){return null!==n&&o&&o(new tW(n)),jt(!0)}(i.route,r),function xW(n,o,t){const r=o[o.length-1],s=o.slice(0,o.length-1).reverse().map(u=>function _W(n){const o=n.routeConfig?n.routeConfig.canActivateChild:null;return o&&0!==o.length?{node:n,guards:o}:null}(u)).filter(u=>null!==u).map(u=>HI(()=>jt(u.guards.map(m=>{const v=tf(u.node)??t,S=Xd(m,v);return Il(function TW(n){return n&&af(n.canActivateChild)}(S)?S.canActivateChild(r,n):la(v,()=>S(r,n))).pipe(_c())})).pipe(Zd())));return jt(s).pipe(Zd())}(n,i.path,t),function NW(n,o,t){const r=o.routeConfig?o.routeConfig.canActivate:null;if(!r||0===r.length)return jt(!0);const i=r.map(s=>HI(()=>{const u=tf(o)??t,p=Xd(s,u);return Il(function CW(n){return n&&af(n.canActivate)}(p)?p.canActivate(o,n):la(u,()=>p(o,n))).pipe(_c())}));return jt(i).pipe(Zd())}(n,i.route,t))),_c(i=>!0!==i,!0))}(r,s,n,o):jt(p)),rn(p=>({...t,guardsResult:p})))})}(this.environmentInjector,m=>this.events.next(m)),Wn(m=>{if(s.guardsResult=m.guardsResult,m.guardsResult&&"boolean"!=typeof m.guardsResult)throw km(0,m.guardsResult);const v=new YG(m.id,this.urlSerializer.serialize(m.extractedUrl),this.urlSerializer.serialize(m.urlAfterRedirects),m.targetSnapshot,!!m.guardsResult);this.events.next(v)}),Gs(m=>!!m.guardsResult||(this.cancelNavigationTransition(m,"",as.GuardRejected),!1)),Iy(m=>{if(m.guards.canActivateChecks.length)return jt(m).pipe(Wn(v=>{const S=new KG(v.id,this.urlSerializer.serialize(v.extractedUrl),this.urlSerializer.serialize(v.urlAfterRedirects),v.targetSnapshot);this.events.next(S)}),so(v=>{let S=!1;return jt(v).pipe(function eq(n,o){return Qr(t=>{const{targetSnapshot:r,guards:{canActivateChecks:i}}=t;if(!i.length)return jt(t);const s=new Set(i.map(m=>m.route)),u=new Set;for(const m of s)if(!u.has(m))for(const v of x7(m))u.add(v);let p=0;return io(u).pipe(Wd(m=>s.has(m)?function tq(n,o,t,r){const i=n.routeConfig,s=n._resolve;return void 0!==i?.title&&!y7(i)&&(s[Yg]=i.title),function nq(n,o,t,r){const i=dy(n);if(0===i.length)return jt({});const s={};return io(i).pipe(Qr(u=>function oq(n,o,t,r){const i=tf(o)??r,s=Xd(n,i);return Il(s.resolve?s.resolve(o,t):la(i,()=>s(o,t)))}(n[u],o,t,r).pipe(_c(),Wn(p=>{if(p instanceof Ty)throw km(new wm,p);s[u]=p}))),cy(1),WI(s),Jr(u=>I7(u)?js:mc(u)))}(s,n,o,r).pipe(rn(u=>(n._resolvedData=u,n.data=Nm(n,n.parent,t).resolve,null)))}(m,r,n,o):(m.data=Nm(m,m.parent,n).resolve,jt(void 0))),Wn(()=>p++),cy(1),Qr(m=>p===u.size?jt(t):js))})}(this.paramsInheritanceStrategy,this.environmentInjector),Wn({next:()=>S=!0,complete:()=>{S||this.cancelNavigationTransition(v,"",as.NoDataFromResolver)}}))}),Wn(v=>{const S=new XG(v.id,this.urlSerializer.serialize(v.extractedUrl),this.urlSerializer.serialize(v.urlAfterRedirects),v.targetSnapshot);this.events.next(S)}))}),Iy(m=>{const v=S=>{const T=[];S.routeConfig?.loadComponent&&!S.routeConfig._loadedComponent&&T.push(this.configLoader.loadComponent(S.routeConfig).pipe(Wn(D=>{S.component=D}),rn(()=>{})));for(const D of S.children)T.push(...v(D));return T};return bm(v(m.targetSnapshot.root)).pipe(Cm(null),El(1))}),Iy(()=>this.afterPreactivation()),so(()=>{const{currentSnapshot:m,targetSnapshot:v}=s,S=this.createViewTransition?.(this.environmentInjector,m.root,v.root);return S?io(S).pipe(rn(()=>s)):jt(s)}),rn(m=>{const v=function dW(n,o,t){const r=nf(n,o._root,t?t._root:void 0);return new h7(r,o)}(t.routeReuseStrategy,m.targetSnapshot,m.currentRouterState);return this.currentTransition=s={...m,targetRouterState:v},this.currentNavigation.targetRouterState=v,s}),Wn(()=>{this.events.next(new my)}),((n,o,t,r)=>rn(i=>(new hW(o,i.targetRouterState,i.currentRouterState,t,r).activate(n),i)))(this.rootContexts,t.routeReuseStrategy,m=>this.events.next(m),this.inputBindingEnabled),El(1),Wn({next:m=>{u=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Ea(m.id,this.urlSerializer.serialize(m.extractedUrl),this.urlSerializer.serialize(m.urlAfterRedirects))),this.titleStrategy?.updateTitle(m.targetRouterState.snapshot),m.resolve(!0)},complete:()=>{u=!0}}),function vG(n){return wo((o,t)=>{ws(n).subscribe(jn(t,()=>t.complete(),Fn)),!t.closed&&o.subscribe(t)})}(this.transitionAbortSubject.pipe(Wn(m=>{throw m}))),Ca(()=>{!u&&!p&&this.cancelNavigationTransition(s,"",as.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),Jr(m=>{if(p=!0,w7(m))this.events.next(new Cc(s.id,this.urlSerializer.serialize(s.extractedUrl),m.message,m.cancellationCode)),function fW(n){return w7(n)&&Sc(n.url)}(m)?this.events.next(new Am(m.url,m.navigationBehaviorOptions)):s.resolve(!1);else{const v=new hy(s.id,this.urlSerializer.serialize(s.extractedUrl),m,s.targetSnapshot??void 0);try{const S=la(this.environmentInjector,()=>this.navigationErrorHandler?.(v));if(S instanceof Ty){const{message:T,cancellationCode:D}=km(0,S);this.events.next(new Cc(s.id,this.urlSerializer.serialize(s.extractedUrl),T,D)),this.events.next(new Am(S.redirectTo,S.navigationBehaviorOptions))}else{this.events.next(v);const T=t.errorHandler(m);s.resolve(!!T)}}catch(S){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(S)}}return js}))}))}cancelNavigationTransition(t,r,i){const s=new Cc(t.id,this.urlSerializer.serialize(t.extractedUrl),r,i);this.events.next(s),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const t=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return t.toString()!==r?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275prov=St({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();function dq(n){return n!==Jg}let U7=(()=>{class n{static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275prov=St({token:n,factory:()=>rt(gq),providedIn:"root"})}}return n})();class uq{shouldDetach(o){return!1}store(o,t){}shouldAttach(o){return!1}retrieve(o){return null}shouldReuseRoute(o,t){return o.routeConfig===t.routeConfig}}let gq=(()=>{class n extends uq{static{this.\u0275fac=(()=>{let t;return function(i){return(t||(t=jo(n)))(i||n)}})()}static{this.\u0275prov=St({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),z7=(()=>{class n{static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275prov=St({token:n,factory:()=>rt(fq),providedIn:"root"})}}return n})(),fq=(()=>{class n extends z7{constructor(){super(...arguments),this.location=rt(Sl),this.urlSerializer=rt(bc),this.options=rt(Jd,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=rt(My),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new vc,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=m7(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(r=>{"popstate"===r.type&&t(r.url,r.state)})}handleRouterEvent(t,r){if(t instanceof ef)this.stateMemento=this.createStateMemento();else if(t instanceof Yd)this.rawUrlTree=r.initialUrl;else if(t instanceof g7){if("eager"===this.urlUpdateStrategy&&!r.extras.skipLocationChange){const i=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(r.targetBrowserUrl??i,r)}}else t instanceof my?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,"deferred"===this.urlUpdateStrategy&&!r.extras.skipLocationChange&&this.setBrowserUrl(r.targetBrowserUrl??this.rawUrlTree,r)):t instanceof Cc&&(t.code===as.GuardRejected||t.code===as.NoDataFromResolver)?this.restoreHistory(r):t instanceof hy?this.restoreHistory(r,!0):t instanceof Ea&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,r){const i=t instanceof vc?this.urlSerializer.serialize(t):t;if(this.location.isCurrentPathEqualTo(i)||r.extras.replaceUrl){const u={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId)};this.location.replaceState(i,"",u)}else{const s={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId+1)};this.location.go(i,"",s)}}restoreHistory(t,r=!1){if("computed"===this.canceledNavigationResolution){const s=this.currentPageId-this.browserPageId;0!==s?this.location.historyGo(s):this.currentUrlTree===t.finalUrl&&0===s&&(this.resetState(t),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,r){return"computed"===this.canceledNavigationResolution?{navigationId:t,\u0275routerPageId:r}:{navigationId:t}}static{this.\u0275fac=(()=>{let t;return function(i){return(t||(t=jo(n)))(i||n)}})()}static{this.\u0275prov=St({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();var lf=function(n){return n[n.COMPLETE=0]="COMPLETE",n[n.FAILED=1]="FAILED",n[n.REDIRECTING=2]="REDIRECTING",n}(lf||{});function V7(n,o){n.events.pipe(Gs(t=>t instanceof Ea||t instanceof Cc||t instanceof hy||t instanceof Yd),rn(t=>t instanceof Ea||t instanceof Yd?lf.COMPLETE:t instanceof Cc&&(t.code===as.Redirect||t.code===as.SupersededByNewNavigation)?lf.REDIRECTING:lf.FAILED),Gs(t=>t!==lf.REDIRECTING),El(1)).subscribe(()=>{o()})}function pq(n){throw n}const hq={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},mq={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Qo=(()=>{class n{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=rt($w),this.stateManager=rt(z7),this.options=rt(Jd,{optional:!0})||{},this.pendingTasks=rt(za),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=rt(Um),this.urlSerializer=rt(bc),this.location=rt(Sl),this.urlHandlingStrategy=rt(My),this._events=new Ho,this.errorHandler=this.options.errorHandler||pq,this.navigated=!1,this.routeReuseStrategy=rt(U7),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=rt(eu,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!rt(Om,{optional:!0}),this.eventsSubscription=new Wt,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:t=>{this.console.warn(t)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const t=this.navigationTransitions.events.subscribe(r=>{try{const i=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(null!==i&&null!==s)if(this.stateManager.handleRouterEvent(r,s),r instanceof Cc&&r.code!==as.Redirect&&r.code!==as.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof Ea)this.navigated=!0;else if(r instanceof Am){const u=r.navigationBehaviorOptions,p=this.urlHandlingStrategy.merge(r.url,i.currentRawUrl),m={browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||"eager"===this.urlUpdateStrategy||dq(i.source),...u};this.scheduleNavigation(p,Jg,null,m,{resolve:i.resolve,reject:i.reject,promise:i.promise})}(function vq(n){return!(n instanceof my||n instanceof Am)})(r)&&this._events.next(r)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Jg,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(t,"popstate",r)},0)})}navigateToSyncWithBrowser(t,r,i){const s={replaceUrl:!0},u=i?.navigationId?i:null;if(i){const m={...i};delete m.navigationId,delete m.\u0275routerPageId,0!==Object.keys(m).length&&(s.state=m)}const p=this.parseUrl(t);this.scheduleNavigation(p,r,u,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(Dy),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,r={}){const{relativeTo:i,queryParams:s,fragment:u,queryParamsHandling:p,preserveFragment:m}=r,v=m?this.currentUrlTree.fragment:u;let T,S=null;switch(p??this.options.defaultQueryParamsHandling){case"merge":S={...this.currentUrlTree.queryParams,...s};break;case"preserve":S=this.currentUrlTree.queryParams;break;default:S=s||null}null!==S&&(S=this.removeEmptyProps(S));try{T=i7(i?i.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof t[0]||"/"!==t[0][0])&&(t=[]),T=this.currentUrlTree.root}return s7(T,t,S,v??null)}navigateByUrl(t,r={skipLocationChange:!1}){const i=Sc(t)?t:this.parseUrl(t),s=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(s,Jg,null,r)}navigate(t,r={skipLocationChange:!1}){return function _q(n){for(let o=0;o<n.length;o++)if(null==n[o])throw new Ve(4008,!1)}(t),this.navigateByUrl(this.createUrlTree(t,r),r)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch{return this.urlSerializer.parse("/")}}isActive(t,r){let i;if(i=!0===r?{...hq}:!1===r?{...mq}:r,Sc(t))return XI(this.currentUrlTree,t,i);const s=this.parseUrl(t);return XI(this.currentUrlTree,s,i)}removeEmptyProps(t){return Object.entries(t).reduce((r,[i,s])=>(null!=s&&(r[i]=s),r),{})}scheduleNavigation(t,r,i,s,u){if(this.disposed)return Promise.resolve(!1);let p,m,v;u?(p=u.resolve,m=u.reject,v=u.promise):v=new Promise((T,D)=>{p=T,m=D});const S=this.pendingTasks.add();return V7(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(S))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:s,resolve:p,reject:m,promise:v,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),v.catch(T=>Promise.reject(T))}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275prov=St({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();class H7{}let Sq=(()=>{class n{preload(t,r){return r().pipe(Jr(()=>jt(null)))}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275prov=St({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),Cq=(()=>{class n{constructor(t,r,i,s,u){this.router=t,this.injector=i,this.preloadingStrategy=s,this.loader=u}setUpPreloading(){this.subscription=this.router.events.pipe(Gs(t=>t instanceof Ea),Wd(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,r){const i=[];for(const s of r){s.providers&&!s._injector&&(s._injector=nh(s.providers,t,`Route: ${s.path}`));const u=s._injector??t,p=s._loadedInjector??u;(s.loadChildren&&!s._loadedRoutes&&void 0===s.canLoad||s.loadComponent&&!s._loadedComponent)&&i.push(this.preloadConfig(u,s)),(s.children||s._loadedRoutes)&&i.push(this.processRoutes(p,s.children??s._loadedRoutes))}return io(i).pipe(qg())}preloadConfig(t,r){return this.preloadingStrategy.preload(r,()=>{let i;i=r.loadChildren&&void 0===r.canLoad?this.loader.loadChildren(t,r):jt(null);const s=i.pipe(Qr(u=>null===u?jt(void 0):(r._loadedRoutes=u.routes,r._loadedInjector=u.injector,this.processRoutes(u.injector??t,u.routes))));return r.loadComponent&&!r._loadedComponent?io([s,this.loader.loadComponent(r)]).pipe(qg()):s})}static{this.\u0275fac=function(r){return new(r||n)(Tt(Qo),Tt(zw),Tt($r),Tt(H7),Tt(Py))}}static{this.\u0275prov=St({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();const $y=new Pt("");let j7=(()=>{class n{constructor(t,r,i,s,u={}){this.urlSerializer=t,this.transitions=r,this.viewportScroller=i,this.zone=s,this.options=u,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},u.scrollPositionRestoration||="disabled",u.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof ef?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Ea?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof Yd&&t.code===$m.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof f7&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new f7(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static{this.\u0275fac=function(r){!function $T(){throw new Error("invalid")}()}}static{this.\u0275prov=St({token:n,factory:n.\u0275fac})}}return n})();function Ia(n,o){return{\u0275kind:n,\u0275providers:o}}function W7(){const n=rt(Ht);return o=>{const t=n.get(zs);if(o!==t.components[0])return;const r=n.get(Qo),i=n.get(q7);1===n.get(Ay)&&r.initialNavigation(),n.get(Y7,null,Bn.Optional)?.setUpPreloading(),n.get($y,null,Bn.Optional)?.init(),r.resetRootComponentType(t.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}const q7=new Pt("",{factory:()=>new Ho}),Ay=new Pt("",{providedIn:"root",factory:()=>1}),Y7=new Pt("");function Iq(n){return Ia(0,[{provide:Y7,useExisting:Cq},{provide:H7,useExisting:n}])}function Pq(n){return Ia(9,[{provide:L7,useValue:lq},{provide:F7,useValue:{skipNextTransition:!!n?.skipInitialTransition,...n}}])}const K7=new Pt("ROUTER_FORROOT_GUARD"),Mq=[Sl,{provide:bc,useClass:wm},Qo,Tc,{provide:dr,useFactory:function G7(n){return n.routerState.root},deps:[Qo]},Py,[]];let Jo=(()=>{class n{constructor(t){}static forRoot(t,r){return{ngModule:n,providers:[Mq,[],{provide:eu,multi:!0,useValue:t},{provide:K7,useFactory:xq,deps:[[Qo,new qf,new Yf]]},{provide:Jd,useValue:r||{}},r?.useHash?{provide:Wa,useClass:lz}:{provide:Wa,useClass:OE},{provide:$y,useFactory:()=>{const n=rt(CV),o=rt(dt),t=rt(Jd),r=rt(Um),i=rt(bc);return t.scrollOffset&&n.setOffset(t.scrollOffset),new j7(i,r,n,o,t)}},r?.preloadingStrategy?Iq(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?Oq(r):[],r?.bindToComponentInputs?Ia(8,[S7,{provide:Om,useExisting:S7}]).\u0275providers:[],r?.enableViewTransitions?Pq().\u0275providers:[],[{provide:X7,useFactory:W7},{provide:Dh,multi:!0,useExisting:X7}]]}}static forChild(t){return{ngModule:n,providers:[{provide:eu,multi:!0,useValue:t}]}}static{this.\u0275fac=function(r){return new(r||n)(Tt(K7,8))}}static{this.\u0275mod=bn({type:n})}static{this.\u0275inj=mn({})}}return n})();function xq(n){return"guarded"}function Oq(n){return["disabled"===n.initialNavigation?Ia(3,[{provide:Ih,multi:!0,useFactory:()=>{const o=rt(Qo);return()=>{o.setUpLocationChangeListener()}}},{provide:Ay,useValue:2}]).\u0275providers:[],"enabledBlocking"===n.initialNavigation?Ia(2,[{provide:Ay,useValue:0},{provide:Ih,multi:!0,deps:[Ht],useFactory:o=>{const t=o.get(sz,Promise.resolve());return()=>t.then(()=>new Promise(r=>{const i=o.get(Qo),s=o.get(q7);V7(i,()=>{r(!0)}),o.get(Um).afterPreactivation=()=>(r(!0),s.closed?jt(void 0):s),i.initialNavigation()}))}}]).\u0275providers:[]]}const X7=new Pt("");var Z7=_(5531),df=_(4442);const Hq=["addListener","removeListener"],jq=["addEventListener","removeEventListener"],Gq=["on","off"];function zm(n,o,t,r){if(sn(t)&&(r=t,t=void 0),r)return zm(n,o,t).pipe(Rv(r));const[i,s]=function Yq(n){return sn(n.addEventListener)&&sn(n.removeEventListener)}(n)?jq.map(u=>p=>n[u](o,p,t)):function Wq(n){return sn(n.addListener)&&sn(n.removeListener)}(n)?Hq.map(Q7(n,o)):function qq(n){return sn(n.on)&&sn(n.off)}(n)?Gq.map(Q7(n,o)):[];if(!i&&Ov(n))return Qr(u=>zm(u,o,t))(ws(n));if(!i)throw new TypeError("Invalid event target");return new bo(u=>{const p=(...m)=>u.next(1<m.length?m:m[0]);return i(p),()=>s(p)})}function Q7(n,o){return t=>r=>n[t](o,r)}function Xq(n,o){return n===o}const Zq=["tabsInner"];class Qq{menuController;constructor(o){this.menuController=o}open(o){return this.menuController.open(o)}close(o){return this.menuController.close(o)}toggle(o){return this.menuController.toggle(o)}enable(o,t){return this.menuController.enable(o,t)}swipeGesture(o,t){return this.menuController.swipeGesture(o,t)}isOpen(o){return this.menuController.isOpen(o)}isEnabled(o){return this.menuController.isEnabled(o)}get(o){return this.menuController.get(o)}getOpen(){return this.menuController.getOpen()}getMenus(){return this.menuController.getMenus()}registerAnimation(o,t){return this.menuController.registerAnimation(o,t)}isAnimating(){return this.menuController.isAnimating()}_getOpenSync(){return this.menuController._getOpenSync()}_createAnimation(o,t){return this.menuController._createAnimation(o,t)}_register(o){return this.menuController._register(o)}_unregister(o){return this.menuController._unregister(o)}_setOpen(o,t,r){return this.menuController._setOpen(o,t,r)}}let Dl=(()=>{class n{doc;_readyPromise;win;backButton=new Ho;keyboardDidShow=new Ho;keyboardDidHide=new Ho;pause=new Ho;resume=new Ho;resize=new Ho;constructor(t,r){this.doc=t,r.run(()=>{let i;this.win=t.defaultView,this.backButton.subscribeWithPriority=function(s,u){return this.subscribe(p=>p.register(s,m=>r.run(()=>u(m))))},tu(this.pause,t,"pause",r),tu(this.resume,t,"resume",r),tu(this.backButton,t,"ionBackButton",r),tu(this.resize,this.win,"resize",r),tu(this.keyboardDidShow,this.win,"ionKeyboardDidShow",r),tu(this.keyboardDidHide,this.win,"ionKeyboardDidHide",r),this._readyPromise=new Promise(s=>{i=s}),this.win?.cordova?t.addEventListener("deviceready",()=>{i("cordova")},{once:!0}):i("dom")})}is(t){return(0,Z7.a)(this.win,t)}platforms(){return(0,Z7.g)(this.win)}ready(){return this._readyPromise}get isRTL(){return"rtl"===this.doc.dir}getQueryParam(t){return Jq(this.win.location.href,t)}isLandscape(){return!this.isPortrait()}isPortrait(){return this.win.matchMedia?.("(orientation: portrait)").matches}testUserAgent(t){const r=this.win.navigator;return!!(r?.userAgent&&r.userAgent.indexOf(t)>=0)}url(){return this.win.location.href}width(){return this.win.innerWidth}height(){return this.win.innerHeight}static \u0275fac=function(r){return new(r||n)(Tt(ui),Tt(dt))};static \u0275prov=St({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();const Jq=(n,o)=>{o=o.replace(/[[\]\\]/g,"\\$&");const r=new RegExp("[\\?&]"+o+"=([^&#]*)").exec(n);return r?decodeURIComponent(r[1].replace(/\+/g," ")):null},tu=(n,o,t,r)=>{o&&o.addEventListener(t,i=>{r.run(()=>{const s=i?.detail;n.next(s)})})};let Za=(()=>{class n{location;serializer;router;topOutlet;direction=J7;animated=eD;animationBuilder;guessDirection="forward";guessAnimation;lastNavId=-1;constructor(t,r,i,s){this.location=r,this.serializer=i,this.router=s,s&&s.events.subscribe(u=>{if(u instanceof ef){const p=u.restoredState?u.restoredState.navigationId:u.id;this.guessDirection=this.guessAnimation=p<this.lastNavId?"back":"forward",this.lastNavId="forward"===this.guessDirection?u.id:p}}),t.backButton.subscribeWithPriority(0,u=>{this.pop(),u()})}navigateForward(t,r={}){return this.setDirection("forward",r.animated,r.animationDirection,r.animation),this.navigate(t,r)}navigateBack(t,r={}){return this.setDirection("back",r.animated,r.animationDirection,r.animation),this.navigate(t,r)}navigateRoot(t,r={}){return this.setDirection("root",r.animated,r.animationDirection,r.animation),this.navigate(t,r)}back(t={animated:!0,animationDirection:"back"}){return this.setDirection("back",t.animated,t.animationDirection,t.animation),this.location.back()}pop(){var t=this;return(0,Ge.A)(function*(){let r=t.topOutlet;for(;r;){if(yield r.pop())return!0;r=r.parentOutlet}return!1})()}setDirection(t,r,i,s){this.direction=t,this.animated=eY(t,r,i),this.animationBuilder=s}setTopOutlet(t){this.topOutlet=t}consumeTransition(){let r,t="root";const i=this.animationBuilder;return"auto"===this.direction?(t=this.guessDirection,r=this.guessAnimation):(r=this.animated,t=this.direction),this.direction=J7,this.animated=eD,this.animationBuilder=void 0,{direction:t,animation:r,animationBuilder:i}}navigate(t,r){if(Array.isArray(t))return this.router.navigate(t,r);{const i=this.serializer.parse(t.toString());return void 0!==r.queryParams&&(i.queryParams={...r.queryParams}),void 0!==r.fragment&&(i.fragment=r.fragment),this.router.navigateByUrl(i,r)}}static \u0275fac=function(r){return new(r||n)(Tt(Dl),Tt(Sl),Tt(bc),Tt(Qo,8))};static \u0275prov=St({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();const eY=(n,o,t)=>{if(!1!==o){if(void 0!==t)return t;if("forward"===n||"back"===n)return n;if("root"===n&&!0===o)return"forward"}},J7="auto",eD=void 0;let Ny=(()=>{class n{get(t,r){const i=Oy();return i?i.get(t,r):null}getBoolean(t,r){const i=Oy();return!!i&&i.getBoolean(t,r)}getNumber(t,r){const i=Oy();return i?i.getNumber(t,r):0}static \u0275fac=function(r){return new(r||n)};static \u0275prov=St({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();const xy=new Pt("USERCONFIG"),Oy=()=>{if(typeof window<"u"){const n=window.Ionic;if(n?.config)return n.config}return null};class ky{data;constructor(o={}){this.data=o,console.warn("[Ionic Warning]: NavParams has been deprecated in favor of using Angular's input API. Developers should migrate to either the @Input decorator or the Signals-based input API.")}get(o){return this.data[o]}}let uf=(()=>{class n{zone=rt(dt);applicationRef=rt(zs);config=rt(xy);create(t,r,i){return new tY(t,r,this.applicationRef,this.zone,i,this.config.useSetInputAPI??!1)}static \u0275fac=function(r){return new(r||n)};static \u0275prov=St({token:n,factory:n.\u0275fac})}return n})();class tY{environmentInjector;injector;applicationRef;zone;elementReferenceKey;enableSignalsSupport;elRefMap=new WeakMap;elEventsMap=new WeakMap;constructor(o,t,r,i,s,u){this.environmentInjector=o,this.injector=t,this.applicationRef=r,this.zone=i,this.elementReferenceKey=s,this.enableSignalsSupport=u}attachViewToDom(o,t,r,i){return this.zone.run(()=>new Promise(s=>{const u={...r};void 0!==this.elementReferenceKey&&(u[this.elementReferenceKey]=o),s(nY(this.zone,this.environmentInjector,this.injector,this.applicationRef,this.elRefMap,this.elEventsMap,o,t,u,i,this.elementReferenceKey,this.enableSignalsSupport))}))}removeViewFromDom(o,t){return this.zone.run(()=>new Promise(r=>{const i=this.elRefMap.get(t);if(i){i.destroy(),this.elRefMap.delete(t);const s=this.elEventsMap.get(t);s&&(s(),this.elEventsMap.delete(t))}r()}))}}const nY=(n,o,t,r,i,s,u,p,m,v,S,T)=>{const $=function oz(n,o){const t=Rn(n),r=o.elementInjector||np();return new ug(t).create(r,o.projectableNodes,o.hostElement,o.environmentInjector)}(p,{environmentInjector:o,elementInjector:Ht.create({providers:rY(m),parent:t})}),x=$.instance,k=$.location.nativeElement;if(m)if(S&&void 0!==x[S]&&console.error(`[Ionic Error]: ${S} is a reserved property when using ${u.tagName.toLowerCase()}. Rename or remove the "${S}" property from ${p.name}.`),!0===T&&void 0!==$.setInput){const{modal:G,popover:L,...H}=m;for(const ge in H)$.setInput(ge,H[ge]);void 0!==G&&Object.assign(x,{modal:G}),void 0!==L&&Object.assign(x,{popover:L})}else Object.assign(x,m);if(v)for(const G of v)k.classList.add(G);const B=tD(n,x,k);return u.appendChild(k),r.attachView($.hostView),i.set(k,$),s.set(k,B),k},oY=[df.L,df.a,df.b,df.c,df.d],tD=(n,o,t)=>n.run(()=>{const r=oY.filter(i=>"function"==typeof o[i]).map(i=>{const s=u=>o[i](u.detail);return t.addEventListener(i,s),()=>t.removeEventListener(i,s)});return()=>r.forEach(i=>i())}),nD=new Pt("NavParamsToken"),rY=n=>[{provide:nD,useValue:n},{provide:ky,useFactory:iY,deps:[nD]}],iY=n=>new ky(n),oD=(n,o)=>((n=n.filter(t=>t.stackId!==o.stackId)).push(o),n),Ly=(n,o)=>{const t=n.createUrlTree(["."],{relativeTo:o});return n.serializeUrl(t)},rD=(n,o)=>!o||n.stackId!==o.stackId,_Y=(n,o)=>{if(!n)return;const t=iD(o);for(let r=0;r<t.length;r++){if(r>=n.length)return t[r];if(t[r]!==n[r])return}},iD=n=>n.split("/").map(o=>o.trim()).filter(o=>""!==o),sD=n=>{n&&(n.ref.destroy(),n.unlistenEvents())};class vY{containerEl;router;navCtrl;zone;location;views=[];runningTask;skipTransition=!1;tabsPrefix;activeView;nextId=0;constructor(o,t,r,i,s,u){this.containerEl=t,this.router=r,this.navCtrl=i,this.zone=s,this.location=u,this.tabsPrefix=void 0!==o?iD(o):void 0}createView(o,t){const r=Ly(this.router,t),i=o?.location?.nativeElement,s=tD(this.zone,o.instance,i);return{id:this.nextId++,stackId:_Y(this.tabsPrefix,r),unlistenEvents:s,element:i,ref:o,url:r}}getExistingView(o){const t=Ly(this.router,o),r=this.views.find(i=>i.url===t);return r&&r.ref.changeDetectorRef.reattach(),r}setActive(o){const t=this.navCtrl.consumeTransition();let{direction:r,animation:i,animationBuilder:s}=t;const u=this.activeView,p=rD(o,u);p&&(r="back",i=void 0);const m=this.views.slice();let v;const S=this.router;S.getCurrentNavigation?v=S.getCurrentNavigation():S.navigations?.value&&(v=S.navigations.value),v?.extras?.replaceUrl&&this.views.length>0&&this.views.splice(-1,1);const T=this.views.includes(o),D=this.insertView(o,r);T||o.ref.changeDetectorRef.detectChanges();const $=o.animationBuilder;return void 0===s&&"back"===r&&!p&&void 0!==$&&(s=$),u&&(u.animationBuilder=s),this.zone.runOutsideAngular(()=>this.wait(()=>(u&&u.ref.changeDetectorRef.detach(),o.ref.changeDetectorRef.reattach(),this.transition(o,u,i,this.canGoBack(1),!1,s).then(()=>yY(o,D,m,this.location,this.zone)).then(()=>({enteringView:o,direction:r,animation:i,tabSwitch:p})))))}canGoBack(o,t=this.getActiveStackId()){return this.getStack(t).length>o}pop(o,t=this.getActiveStackId()){return this.zone.run(()=>{const r=this.getStack(t);if(r.length<=o)return Promise.resolve(!1);const i=r[r.length-o-1];let s=i.url;const u=i.savedData;if(u){const m=u.get("primary");m?.route?._routerState?.snapshot.url&&(s=m.route._routerState.snapshot.url)}const{animationBuilder:p}=this.navCtrl.consumeTransition();return this.navCtrl.navigateBack(s,{...i.savedExtras,animation:p}).then(()=>!0)})}startBackTransition(){const o=this.activeView;if(o){const t=this.getStack(o.stackId),r=t[t.length-2],i=r.animationBuilder;return this.wait(()=>this.transition(r,o,"back",this.canGoBack(2),!0,i))}return Promise.resolve()}endBackTransition(o){o?(this.skipTransition=!0,this.pop(1)):this.activeView&&aD(this.activeView,this.views,this.views,this.location,this.zone)}getLastUrl(o){const t=this.getStack(o);return t.length>0?t[t.length-1]:void 0}getRootUrl(o){const t=this.getStack(o);return t.length>0?t[0]:void 0}getActiveStackId(){return this.activeView?this.activeView.stackId:void 0}getActiveView(){return this.activeView}hasRunningTask(){return void 0!==this.runningTask}destroy(){this.containerEl=void 0,this.views.forEach(sD),this.activeView=void 0,this.views=[]}getStack(o){return this.views.filter(t=>t.stackId===o)}insertView(o,t){return this.activeView=o,this.views=((n,o,t)=>"root"===t?oD(n,o):"forward"===t?((n,o)=>(n.indexOf(o)>=0?n=n.filter(r=>r.stackId!==o.stackId||r.id<=o.id):n.push(o),n))(n,o):((n,o)=>n.indexOf(o)>=0?n.filter(r=>r.stackId!==o.stackId||r.id<=o.id):oD(n,o))(n,o))(this.views,o,t),this.views.slice()}transition(o,t,r,i,s,u){if(this.skipTransition)return this.skipTransition=!1,Promise.resolve(!1);if(t===o)return Promise.resolve(!1);const p=o?o.element:void 0,m=t?t.element:void 0,v=this.containerEl;return p&&p!==m&&(p.classList.add("ion-page"),p.classList.add("ion-page-invisible"),v.commit)?v.commit(p,m,{duration:void 0===r?0:void 0,direction:r,showGoBack:i,progressAnimation:s,animationBuilder:u}):Promise.resolve(!1)}wait(o){var t=this;return(0,Ge.A)(function*(){void 0!==t.runningTask&&(yield t.runningTask,t.runningTask=void 0);const r=t.runningTask=o();return r.finally(()=>t.runningTask=void 0),r})()}}const yY=(n,o,t,r,i)=>"function"==typeof requestAnimationFrame?new Promise(s=>{requestAnimationFrame(()=>{aD(n,o,t,r,i),s()})}):Promise.resolve(),aD=(n,o,t,r,i)=>{i.run(()=>t.filter(s=>!o.includes(s)).forEach(sD)),o.forEach(s=>{const p=r.path().split("?")[0].split("#")[0];if(s!==n&&s.url!==p){const m=s.element;m.setAttribute("aria-hidden","true"),m.classList.add("ion-page-hidden"),s.ref.changeDetectorRef.detach()}})};let lD=(()=>{class n{parentOutlet;nativeEl;activatedView=null;tabsPrefix;_swipeGesture;stackCtrl;proxyMap=new WeakMap;currentActivatedRoute$=new or(null);activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=wn;stackWillChange=new $n;stackDidChange=new $n;activateEvents=new $n;deactivateEvents=new $n;parentContexts=rt(Tc);location=rt(Gi);environmentInjector=rt($r);inputBinder=rt(cD,{optional:!0});supportsBindingToComponentInputs=!0;config=rt(Ny);navCtrl=rt(Za);set animation(t){this.nativeEl.animation=t}set animated(t){this.nativeEl.animated=t}set swipeGesture(t){this._swipeGesture=t,this.nativeEl.swipeHandler=t?{canStart:()=>this.stackCtrl.canGoBack(1)&&!this.stackCtrl.hasRunningTask(),onStart:()=>this.stackCtrl.startBackTransition(),onEnd:r=>this.stackCtrl.endBackTransition(r)}:void 0}constructor(t,r,i,s,u,p,m,v){this.parentOutlet=v,this.nativeEl=s.nativeElement,this.name=t||wn,this.tabsPrefix="true"===r?Ly(u,m):void 0,this.stackCtrl=new vY(this.tabsPrefix,this.nativeEl,u,this.navCtrl,p,i),this.parentContexts.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.stackCtrl.destroy(),this.inputBinder?.unsubscribeFromRouteData(this)}getContext(){return this.parentContexts.getContext(this.name)}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(!this.activated){const t=this.getContext();t?.route&&this.activateWith(t.route,t.injector)}new Promise(t=>((n,o)=>{n.componentOnReady?n.componentOnReady().then(t=>o(t)):(n=>{"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(n):"function"==typeof requestAnimationFrame?requestAnimationFrame(n):setTimeout(n)})(()=>o(n))})(this.nativeEl,t)).then(()=>{void 0===this._swipeGesture&&(this.swipeGesture=this.config.getBoolean("swipeBackEnabled","ios"===this.nativeEl.mode))})}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){throw new Error("incompatible reuse strategy")}attach(t,r){throw new Error("incompatible reuse strategy")}deactivate(){if(this.activated){if(this.activatedView){const r=this.getContext();this.activatedView.savedData=new Map(r.children.contexts);const i=this.activatedView.savedData.get("primary");if(i&&r.route&&(i.route={...r.route}),this.activatedView.savedExtras={},r.route){const s=r.route.snapshot;this.activatedView.savedExtras.queryParams=s.queryParams,this.activatedView.savedExtras.fragment=s.fragment}}const t=this.component;this.activatedView=null,this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,r){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;let i,s=this.stackCtrl.getExistingView(t);if(s){i=this.activated=s.ref;const p=s.savedData;p&&(this.getContext().children.contexts=p),this.updateActivatedRouteProxy(i.instance,t)}else{const p=t._futureSnapshot,m=this.parentContexts.getOrCreateContext(this.name).children,v=new or(null),S=this.createActivatedRouteProxy(v,t),T=new bY(S,m,this.location.injector);i=this.activated=this.outletContent.createComponent(p.routeConfig.component??p.component,{index:this.outletContent.length,injector:T,environmentInjector:r??this.environmentInjector}),v.next(i.instance),s=this.stackCtrl.createView(this.activated,t),this.proxyMap.set(i.instance,S),this.currentActivatedRoute$.next({component:i.instance,activatedRoute:t})}this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activatedView=s,this.navCtrl.setTopOutlet(this);const u=this.stackCtrl.getActiveView();this.stackWillChange.emit({enteringView:s,tabSwitch:rD(s,u)}),this.stackCtrl.setActive(s).then(p=>{this.activateEvents.emit(i.instance),this.stackDidChange.emit(p)})}canGoBack(t=1,r){return this.stackCtrl.canGoBack(t,r)}pop(t=1,r){return this.stackCtrl.pop(t,r)}getLastUrl(t){const r=this.stackCtrl.getLastUrl(t);return r?r.url:void 0}getLastRouteView(t){return this.stackCtrl.getLastUrl(t)}getRootView(t){return this.stackCtrl.getRootUrl(t)}getActiveStackId(){return this.stackCtrl.getActiveStackId()}createActivatedRouteProxy(t,r){const i=new dr;return i._futureSnapshot=r._futureSnapshot,i._routerState=r._routerState,i.snapshot=r.snapshot,i.outlet=r.outlet,i.component=r.component,i._paramMap=this.proxyObservable(t,"paramMap"),i._queryParamMap=this.proxyObservable(t,"queryParamMap"),i.url=this.proxyObservable(t,"url"),i.params=this.proxyObservable(t,"params"),i.queryParams=this.proxyObservable(t,"queryParams"),i.fragment=this.proxyObservable(t,"fragment"),i.data=this.proxyObservable(t,"data"),i}proxyObservable(t,r){return t.pipe(Gs(i=>!!i),so(i=>this.currentActivatedRoute$.pipe(Gs(s=>null!==s&&s.component===i),so(s=>s&&s.activatedRoute[r]),function Kq(n,o=Bi){return n=n??Xq,wo((t,r)=>{let i,s=!0;t.subscribe(jn(r,u=>{const p=o(u);(s||!n(i,p))&&(s=!1,i=p,r.next(u))}))})}())))}updateActivatedRouteProxy(t,r){const i=this.proxyMap.get(t);if(!i)throw new Error("Could not find activated route proxy for view");i._futureSnapshot=r._futureSnapshot,i._routerState=r._routerState,i.snapshot=r.snapshot,i.outlet=r.outlet,i.component=r.component,this.currentActivatedRoute$.next({component:t,activatedRoute:r})}static \u0275fac=function(r){return new(r||n)(Ua("name"),Ua("tabs"),N(Sl),N(_t),N(Qo),N(dt),N(dr),N(n,12))};static \u0275dir=Yt({type:n,selectors:[["ion-router-outlet"]],inputs:{animated:"animated",animation:"animation",mode:"mode",swipeGesture:"swipeGesture",name:"name"},outputs:{stackWillChange:"stackWillChange",stackDidChange:"stackDidChange",activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]})}return n})();class bY{route;childContexts;parent;constructor(o,t,r){this.route=o,this.childContexts=t,this.parent=r}get(o,t){return o===dr?this.route:o===Tc?this.childContexts:this.parent.get(o,t)}}const cD=new Pt("");let SY=(()=>{class n{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){const{activatedRoute:r}=t,i=bm([r.queryParams,r.params,r.data]).pipe(so(([s,u,p],m)=>(p={...s,...u,...p},0===m?jt(p):Promise.resolve(p)))).subscribe(s=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==r||null===r.component)return void this.unsubscribeFromRouteData(t);const u=$E(r.component);if(u)for(const{templateName:p}of u.inputs)t.activatedComponentRef.setInput(p,s[p]);else this.unsubscribeFromRouteData(t)});this.outletDataSubscriptions.set(t,i)}static \u0275fac=function(r){return new(r||n)};static \u0275prov=St({token:n,factory:n.\u0275fac})}return n})();function TY(n){return n?.componentInputBindingEnabled?new SY:null}let AY=(()=>{class n{navCtrl;tabsInner;ionTabsWillChange=new $n;ionTabsDidChange=new $n;tabBarSlot="bottom";hasTab=!1;selectedTab;leavingTab;constructor(t){this.navCtrl=t}ngAfterViewInit(){const t=this.tabs.length>0?this.tabs.first:void 0;t&&(this.hasTab=!0,this.setActiveTab(t.tab),this.tabSwitch())}ngAfterContentInit(){this.detectSlotChanges()}ngAfterContentChecked(){this.detectSlotChanges()}onStackWillChange({enteringView:t,tabSwitch:r}){const i=t.stackId;r&&void 0!==i&&this.ionTabsWillChange.emit({tab:i})}onStackDidChange({enteringView:t,tabSwitch:r}){const i=t.stackId;r&&void 0!==i&&(this.tabBar&&(this.tabBar.selectedTab=i),this.ionTabsDidChange.emit({tab:i}))}select(t){const r="string"==typeof t,i=r?t:t.detail.tab;if(this.hasTab)return this.setActiveTab(i),void this.tabSwitch();const s=this.outlet.getActiveStackId()===i,u=`${this.outlet.tabsPrefix}/${i}`;if(r||t.stopPropagation(),s){const p=this.outlet.getActiveStackId();if(this.outlet.getLastRouteView(p)?.url===u)return;const v=this.outlet.getRootView(i);return this.navCtrl.navigateRoot(u,{...v&&u===v.url&&v.savedExtras,animated:!0,animationDirection:"back"})}{const p=this.outlet.getLastRouteView(i),m=p?.url||u,v=p?.savedExtras;return this.navCtrl.navigateRoot(m,{...v,animated:!0,animationDirection:"back"})}}setActiveTab(t){const i=this.tabs.find(s=>s.tab===t);i?(this.leavingTab=this.selectedTab,this.selectedTab=i,this.ionTabsWillChange.emit({tab:t}),i.el.active=!0):console.error(`[Ionic Error]: Tab with id: "${t}" does not exist`)}tabSwitch(){const{selectedTab:t,leavingTab:r}=this;this.tabBar&&t&&(this.tabBar.selectedTab=t.tab),r?.tab!==t?.tab&&r?.el&&(r.el.active=!1),t&&this.ionTabsDidChange.emit({tab:t.tab})}getSelected(){return this.hasTab?this.selectedTab?.tab:this.outlet.getActiveStackId()}detectSlotChanges(){this.tabBars.forEach(t=>{const r=t.el.getAttribute("slot");r!==this.tabBarSlot&&(this.tabBarSlot=r,this.relocateTabBar())})}relocateTabBar(){const t=this.tabBar.el;"top"===this.tabBarSlot?this.tabsInner.nativeElement.before(t):this.tabsInner.nativeElement.after(t)}static \u0275fac=function(r){return new(r||n)(N(Za))};static \u0275dir=Yt({type:n,selectors:[["ion-tabs"]],viewQuery:function(r,i){if(1&r&&di(Zq,7,_t),2&r){let s;ir(s=sr())&&(i.tabsInner=s.first)}},hostBindings:function(r,i){1&r&&re("ionTabButtonClick",function(u){return i.select(u)})},outputs:{ionTabsWillChange:"ionTabsWillChange",ionTabsDidChange:"ionTabsDidChange"}})}return n})();const dD=n=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(n):"function"==typeof requestAnimationFrame?requestAnimationFrame(n):setTimeout(n);let Hm=(()=>{class n{injector;elementRef;onChange=()=>{};onTouched=()=>{};lastValue;statusChanges;constructor(t,r){this.injector=t,this.elementRef=r}writeValue(t){this.elementRef.nativeElement.value=this.lastValue=t,nu(this.elementRef)}handleValueChange(t,r){t===this.elementRef.nativeElement&&(r!==this.lastValue&&(this.lastValue=r,this.onChange(r)),nu(this.elementRef))}_handleBlurEvent(t){t===this.elementRef.nativeElement&&(this.onTouched(),nu(this.elementRef))}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.elementRef.nativeElement.disabled=t}ngOnDestroy(){this.statusChanges&&this.statusChanges.unsubscribe()}ngAfterViewInit(){let t;try{t=this.injector.get(Xa)}catch{}if(!t)return;t.statusChanges&&(this.statusChanges=t.statusChanges.subscribe(()=>nu(this.elementRef)));const r=t.control;r&&["markAsTouched","markAllAsTouched","markAsUntouched","markAsDirty","markAsPristine"].forEach(s=>{if(typeof r[s]<"u"){const u=r[s].bind(r);r[s]=(...p)=>{u(...p),nu(this.elementRef)}}})}static \u0275fac=function(r){return new(r||n)(N(Ht),N(_t))};static \u0275dir=Yt({type:n,hostBindings:function(r,i){1&r&&re("ionBlur",function(u){return i._handleBlurEvent(u.target)})}})}return n})();const nu=n=>{dD(()=>{const o=n.nativeElement,t=null!=o.value&&o.value.toString().length>0,r=NY(o);Fy(o,r);const i=o.closest("ion-item");i&&Fy(i,t?[...r,"item-has-value"]:r)})},NY=n=>{const o=n.classList,t=[];for(let r=0;r<o.length;r++){const i=o.item(r);null!==i&&xY(i,"ng-")&&t.push(`ion-${i.substring(3)}`)}return t},Fy=(n,o)=>{const t=n.classList;t.remove("ion-valid","ion-invalid","ion-touched","ion-untouched","ion-dirty","ion-pristine"),t.add(...o)},xY=(n,o)=>n.substring(0,o.length)===o;class OY{shouldDetach(o){return!1}shouldAttach(o){return!1}store(o,t){}retrieve(o){return null}shouldReuseRoute(o,t){if(o.routeConfig!==t.routeConfig)return!1;const r=o.params,i=t.params,s=Object.keys(r),u=Object.keys(i);if(s.length!==u.length)return!1;for(const p of s)if(i[p]!==r[p])return!1;return!0}}class gf{ctrl;constructor(o){this.ctrl=o}create(o){return this.ctrl.create(o||{})}dismiss(o,t,r){return this.ctrl.dismiss(o,t,r)}getTop(){return this.ctrl.getTop()}}_(9986),_(3604),_(5022),_(3615),_(8607);var kY=_(9483),RY=_(464),LY=_(9568),ff=_(9440),FY=(_(8476),_(4261));_(1970),_(7192);const UY=kY.i,zY=function(){var n=(0,Ge.A)(function*(o,t){if(!(typeof window>"u"))return yield UY(),(0,FY.b)(JSON.parse('[["ion-menu_3",[[33,"ion-menu-button",{"color":[513],"disabled":[4],"menu":[1],"autoHide":[4,"auto-hide"],"type":[1],"visible":[32]},[[16,"ionMenuChange","visibilityChanged"],[16,"ionSplitPaneVisible","visibilityChanged"]]],[33,"ion-menu",{"contentId":[513,"content-id"],"menuId":[513,"menu-id"],"type":[1025],"disabled":[1028],"side":[513],"swipeGesture":[4,"swipe-gesture"],"maxEdgeStart":[2,"max-edge-start"],"isPaneVisible":[32],"isEndSide":[32],"isOpen":[64],"isActive":[64],"open":[64],"close":[64],"toggle":[64],"setOpen":[64]},[[16,"ionSplitPaneVisible","onSplitPaneChanged"],[2,"click","onBackdropClick"]],{"type":["typeChanged"],"disabled":["disabledChanged"],"side":["sideChanged"],"swipeGesture":["swipeGestureChanged"]}],[1,"ion-menu-toggle",{"menu":[1],"autoHide":[4,"auto-hide"],"visible":[32]},[[16,"ionMenuChange","visibilityChanged"],[16,"ionSplitPaneVisible","visibilityChanged"]]]]],["ion-input-password-toggle",[[33,"ion-input-password-toggle",{"color":[513],"showIcon":[1,"show-icon"],"hideIcon":[1,"hide-icon"],"type":[1025]},null,{"type":["onTypeChange"]}]]],["ion-fab_3",[[33,"ion-fab-button",{"color":[513],"activated":[4],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1],"show":[4],"translucent":[4],"type":[1],"size":[1],"closeIcon":[1,"close-icon"]}],[1,"ion-fab",{"horizontal":[1],"vertical":[1],"edge":[4],"activated":[1028],"close":[64],"toggle":[64]},null,{"activated":["activatedChanged"]}],[1,"ion-fab-list",{"activated":[4],"side":[1]},null,{"activated":["activatedChanged"]}]]],["ion-refresher_2",[[0,"ion-refresher-content",{"pullingIcon":[1025,"pulling-icon"],"pullingText":[1,"pulling-text"],"refreshingSpinner":[1025,"refreshing-spinner"],"refreshingText":[1,"refreshing-text"]}],[32,"ion-refresher",{"pullMin":[2,"pull-min"],"pullMax":[2,"pull-max"],"closeDuration":[1,"close-duration"],"snapbackDuration":[1,"snapback-duration"],"pullFactor":[2,"pull-factor"],"disabled":[4],"nativeRefresher":[32],"state":[32],"complete":[64],"cancel":[64],"getProgress":[64]},null,{"disabled":["disabledChanged"]}]]],["ion-back-button",[[33,"ion-back-button",{"color":[513],"defaultHref":[1025,"default-href"],"disabled":[516],"icon":[1],"text":[1],"type":[1],"routerAnimation":[16]}]]],["ion-toast",[[33,"ion-toast",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"color":[513],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"duration":[2],"header":[1],"layout":[1],"message":[1],"keyboardClose":[4,"keyboard-close"],"position":[1],"positionAnchor":[1,"position-anchor"],"buttons":[16],"translucent":[4],"animated":[4],"icon":[1],"htmlAttributes":[16],"swipeGesture":[1,"swipe-gesture"],"isOpen":[4,"is-open"],"trigger":[1],"revealContentToScreenReader":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"swipeGesture":["swipeGestureChanged"],"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-card_5",[[33,"ion-card",{"color":[513],"button":[4],"type":[1],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1]}],[32,"ion-card-content"],[33,"ion-card-header",{"color":[513],"translucent":[4]}],[33,"ion-card-subtitle",{"color":[513]}],[33,"ion-card-title",{"color":[513]}]]],["ion-item-option_3",[[33,"ion-item-option",{"color":[513],"disabled":[4],"download":[1],"expandable":[4],"href":[1],"rel":[1],"target":[1],"type":[1]}],[32,"ion-item-options",{"side":[1],"fireSwipeEvent":[64]}],[0,"ion-item-sliding",{"disabled":[4],"state":[32],"getOpenAmount":[64],"getSlidingRatio":[64],"open":[64],"close":[64],"closeOpened":[64]},null,{"disabled":["disabledChanged"]}]]],["ion-accordion_2",[[49,"ion-accordion",{"value":[1],"disabled":[4],"readonly":[4],"toggleIcon":[1,"toggle-icon"],"toggleIconSlot":[1,"toggle-icon-slot"],"state":[32],"isNext":[32],"isPrevious":[32]},null,{"value":["valueChanged"]}],[33,"ion-accordion-group",{"animated":[4],"multiple":[4],"value":[1025],"disabled":[4],"readonly":[4],"expand":[1],"requestAccordionToggle":[64],"getAccordions":[64]},[[0,"keydown","onKeydown"]],{"value":["valueChanged"],"disabled":["disabledChanged"],"readonly":["readonlyChanged"]}]]],["ion-infinite-scroll_2",[[32,"ion-infinite-scroll-content",{"loadingSpinner":[1025,"loading-spinner"],"loadingText":[1,"loading-text"]}],[0,"ion-infinite-scroll",{"threshold":[1],"disabled":[4],"position":[1],"isLoading":[32],"complete":[64]},null,{"threshold":["thresholdChanged"],"disabled":["disabledChanged"]}]]],["ion-reorder_2",[[33,"ion-reorder",null,[[2,"click","onClick"]]],[0,"ion-reorder-group",{"disabled":[4],"state":[32],"complete":[64]},null,{"disabled":["disabledChanged"]}]]],["ion-segment_2",[[33,"ion-segment-button",{"disabled":[1028],"layout":[1],"type":[1],"value":[8],"checked":[32],"setFocus":[64]},null,{"value":["valueChanged"]}],[33,"ion-segment",{"color":[513],"disabled":[4],"scrollable":[4],"swipeGesture":[4,"swipe-gesture"],"value":[1032],"selectOnFocus":[4,"select-on-focus"],"activated":[32]},[[0,"keydown","onKeyDown"]],{"color":["colorChanged"],"swipeGesture":["swipeGestureChanged"],"value":["valueChanged"],"disabled":["disabledChanged"]}]]],["ion-tab-bar_2",[[33,"ion-tab-button",{"disabled":[4],"download":[1],"href":[1],"rel":[1],"layout":[1025],"selected":[1028],"tab":[1],"target":[1]},[[8,"ionTabBarChanged","onTabBarChanged"]]],[33,"ion-tab-bar",{"color":[513],"selectedTab":[1,"selected-tab"],"translucent":[4],"keyboardVisible":[32]},null,{"selectedTab":["selectedTabChanged"]}]]],["ion-chip",[[33,"ion-chip",{"color":[513],"outline":[4],"disabled":[4]}]]],["ion-datetime-button",[[33,"ion-datetime-button",{"color":[513],"disabled":[516],"datetime":[1],"datetimePresentation":[32],"dateText":[32],"timeText":[32],"datetimeActive":[32],"selectedButton":[32]}]]],["ion-input",[[38,"ion-input",{"color":[513],"autocapitalize":[1],"autocomplete":[1],"autocorrect":[1],"autofocus":[4],"clearInput":[4,"clear-input"],"clearInputIcon":[1,"clear-input-icon"],"clearOnEdit":[4,"clear-on-edit"],"counter":[4],"counterFormatter":[16],"debounce":[2],"disabled":[516],"enterkeyhint":[1],"errorText":[1,"error-text"],"fill":[1],"inputmode":[1],"helperText":[1,"helper-text"],"label":[1],"labelPlacement":[1,"label-placement"],"max":[8],"maxlength":[2],"min":[8],"minlength":[2],"multiple":[4],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[516],"required":[4],"shape":[1],"spellcheck":[4],"step":[1],"type":[1],"value":[1032],"hasFocus":[32],"setFocus":[64],"getInputElement":[64]},null,{"debounce":["debounceChanged"],"type":["onTypeChange"],"value":["valueChanged"]}]]],["ion-searchbar",[[34,"ion-searchbar",{"color":[513],"animated":[4],"autocapitalize":[1],"autocomplete":[1],"autocorrect":[1],"cancelButtonIcon":[1,"cancel-button-icon"],"cancelButtonText":[1,"cancel-button-text"],"clearIcon":[1,"clear-icon"],"debounce":[2],"disabled":[4],"inputmode":[1],"enterkeyhint":[1],"maxlength":[2],"minlength":[2],"name":[1],"placeholder":[1],"searchIcon":[1,"search-icon"],"showCancelButton":[1,"show-cancel-button"],"showClearButton":[1,"show-clear-button"],"spellcheck":[4],"type":[1],"value":[1025],"focused":[32],"noAnimate":[32],"setFocus":[64],"getInputElement":[64]},null,{"lang":["onLangChanged"],"dir":["onDirChanged"],"debounce":["debounceChanged"],"value":["valueChanged"],"showCancelButton":["showCancelButtonChanged"]}]]],["ion-toggle",[[33,"ion-toggle",{"color":[513],"name":[1],"checked":[1028],"disabled":[4],"value":[1],"enableOnOffLabels":[4,"enable-on-off-labels"],"labelPlacement":[1,"label-placement"],"justify":[1],"alignment":[1],"activated":[32]},null,{"disabled":["disabledChanged"]}]]],["ion-nav_2",[[1,"ion-nav",{"delegate":[16],"swipeGesture":[1028,"swipe-gesture"],"animated":[4],"animation":[16],"rootParams":[16],"root":[1],"push":[64],"insert":[64],"insertPages":[64],"pop":[64],"popTo":[64],"popToRoot":[64],"removeIndex":[64],"setRoot":[64],"setPages":[64],"setRouteId":[64],"getRouteId":[64],"getActive":[64],"getByIndex":[64],"canGoBack":[64],"getPrevious":[64],"getLength":[64]},null,{"swipeGesture":["swipeGestureChanged"],"root":["rootChanged"]}],[0,"ion-nav-link",{"component":[1],"componentProps":[16],"routerDirection":[1,"router-direction"],"routerAnimation":[16]}]]],["ion-textarea",[[38,"ion-textarea",{"color":[513],"autocapitalize":[1],"autofocus":[4],"clearOnEdit":[4,"clear-on-edit"],"debounce":[2],"disabled":[4],"fill":[1],"inputmode":[1],"enterkeyhint":[1],"maxlength":[2],"minlength":[2],"name":[1],"placeholder":[1],"readonly":[4],"required":[4],"spellcheck":[4],"cols":[514],"rows":[2],"wrap":[1],"autoGrow":[516,"auto-grow"],"value":[1025],"counter":[4],"counterFormatter":[16],"errorText":[1,"error-text"],"helperText":[1,"helper-text"],"label":[1],"labelPlacement":[1,"label-placement"],"shape":[1],"hasFocus":[32],"setFocus":[64],"getInputElement":[64]},null,{"debounce":["debounceChanged"],"value":["valueChanged"]}]]],["ion-backdrop",[[33,"ion-backdrop",{"visible":[4],"tappable":[4],"stopPropagation":[4,"stop-propagation"]},[[2,"click","onMouseDown"]]]]],["ion-loading",[[34,"ion-loading",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"message":[1],"cssClass":[1,"css-class"],"duration":[2],"backdropDismiss":[4,"backdrop-dismiss"],"showBackdrop":[4,"show-backdrop"],"spinner":[1025],"translucent":[4],"animated":[4],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-breadcrumb_2",[[33,"ion-breadcrumb",{"collapsed":[4],"last":[4],"showCollapsedIndicator":[4,"show-collapsed-indicator"],"color":[1],"active":[4],"disabled":[4],"download":[1],"href":[1],"rel":[1],"separator":[4],"target":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16]}],[33,"ion-breadcrumbs",{"color":[513],"maxItems":[2,"max-items"],"itemsBeforeCollapse":[2,"items-before-collapse"],"itemsAfterCollapse":[2,"items-after-collapse"],"collapsed":[32],"activeChanged":[32]},[[0,"collapsedClick","onCollapsedClick"]],{"maxItems":["maxItemsChanged"],"itemsBeforeCollapse":["maxItemsChanged"],"itemsAfterCollapse":["maxItemsChanged"]}]]],["ion-modal",[[33,"ion-modal",{"hasController":[4,"has-controller"],"overlayIndex":[2,"overlay-index"],"delegate":[16],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"breakpoints":[16],"initialBreakpoint":[2,"initial-breakpoint"],"backdropBreakpoint":[2,"backdrop-breakpoint"],"handle":[4],"handleBehavior":[1,"handle-behavior"],"component":[1],"componentProps":[16],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"showBackdrop":[4,"show-backdrop"],"animated":[4],"presentingElement":[16],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"keepContentsMounted":[4,"keep-contents-mounted"],"focusTrap":[4,"focus-trap"],"canDismiss":[4,"can-dismiss"],"presented":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64],"setCurrentBreakpoint":[64],"getCurrentBreakpoint":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-route_4",[[0,"ion-route",{"url":[1],"component":[1],"componentProps":[16],"beforeLeave":[16],"beforeEnter":[16]},null,{"url":["onUpdate"],"component":["onUpdate"],"componentProps":["onComponentProps"]}],[0,"ion-route-redirect",{"from":[1],"to":[1]},null,{"from":["propDidChange"],"to":["propDidChange"]}],[0,"ion-router",{"root":[1],"useHash":[4,"use-hash"],"canTransition":[64],"push":[64],"back":[64],"printDebug":[64],"navChanged":[64]},[[8,"popstate","onPopState"],[4,"ionBackButton","onBackButton"]]],[1,"ion-router-link",{"color":[513],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1]}]]],["ion-avatar_3",[[33,"ion-avatar"],[33,"ion-badge",{"color":[513]}],[1,"ion-thumbnail"]]],["ion-col_3",[[1,"ion-col",{"offset":[1],"offsetXs":[1,"offset-xs"],"offsetSm":[1,"offset-sm"],"offsetMd":[1,"offset-md"],"offsetLg":[1,"offset-lg"],"offsetXl":[1,"offset-xl"],"pull":[1],"pullXs":[1,"pull-xs"],"pullSm":[1,"pull-sm"],"pullMd":[1,"pull-md"],"pullLg":[1,"pull-lg"],"pullXl":[1,"pull-xl"],"push":[1],"pushXs":[1,"push-xs"],"pushSm":[1,"push-sm"],"pushMd":[1,"push-md"],"pushLg":[1,"push-lg"],"pushXl":[1,"push-xl"],"size":[1],"sizeXs":[1,"size-xs"],"sizeSm":[1,"size-sm"],"sizeMd":[1,"size-md"],"sizeLg":[1,"size-lg"],"sizeXl":[1,"size-xl"]},[[9,"resize","onResize"]]],[1,"ion-grid",{"fixed":[4]}],[1,"ion-row"]]],["ion-tab_2",[[1,"ion-tab",{"active":[1028],"delegate":[16],"tab":[1],"component":[1],"setActive":[64]},null,{"active":["changeActive"]}],[1,"ion-tabs",{"useRouter":[1028,"use-router"],"selectedTab":[32],"select":[64],"getTab":[64],"getSelected":[64],"setRouteId":[64],"getRouteId":[64]}]]],["ion-img",[[1,"ion-img",{"alt":[1],"src":[1],"loadSrc":[32],"loadError":[32]},null,{"src":["srcChanged"]}]]],["ion-progress-bar",[[33,"ion-progress-bar",{"type":[1],"reversed":[4],"value":[2],"buffer":[2],"color":[513]}]]],["ion-range",[[33,"ion-range",{"color":[513],"debounce":[2],"name":[1],"label":[1],"dualKnobs":[4,"dual-knobs"],"min":[2],"max":[2],"pin":[4],"pinFormatter":[16],"snaps":[4],"step":[2],"ticks":[4],"activeBarStart":[1026,"active-bar-start"],"disabled":[4],"value":[1026],"labelPlacement":[1,"label-placement"],"ratioA":[32],"ratioB":[32],"pressedKnob":[32]},null,{"debounce":["debounceChanged"],"min":["minChanged"],"max":["maxChanged"],"activeBarStart":["activeBarStartChanged"],"disabled":["disabledChanged"],"value":["valueChanged"]}]]],["ion-split-pane",[[33,"ion-split-pane",{"contentId":[513,"content-id"],"disabled":[4],"when":[8],"visible":[32],"isVisible":[64]},null,{"visible":["visibleChanged"],"disabled":["updateState"],"when":["updateState"]}]]],["ion-text",[[1,"ion-text",{"color":[513]}]]],["ion-select_3",[[33,"ion-select",{"cancelText":[1,"cancel-text"],"color":[513],"compareWith":[1,"compare-with"],"disabled":[4],"fill":[1],"interface":[1],"interfaceOptions":[8,"interface-options"],"justify":[1],"label":[1],"labelPlacement":[1,"label-placement"],"multiple":[4],"name":[1],"okText":[1,"ok-text"],"placeholder":[1],"selectedText":[1,"selected-text"],"toggleIcon":[1,"toggle-icon"],"expandedIcon":[1,"expanded-icon"],"shape":[1],"value":[1032],"isExpanded":[32],"open":[64]},null,{"disabled":["styleChanged"],"isExpanded":["styleChanged"],"placeholder":["styleChanged"],"value":["styleChanged"]}],[1,"ion-select-option",{"disabled":[4],"value":[8]}],[34,"ion-select-popover",{"header":[1],"subHeader":[1,"sub-header"],"message":[1],"multiple":[4],"options":[16]}]]],["ion-picker",[[33,"ion-picker",{"exitInputMode":[64]},[[1,"touchstart","preventTouchStartPropagation"]]]]],["ion-picker-column",[[1,"ion-picker-column",{"disabled":[4],"value":[1032],"color":[513],"numericInput":[4,"numeric-input"],"ariaLabel":[32],"isActive":[32],"scrollActiveItemIntoView":[64],"setValue":[64],"setFocus":[64]},null,{"aria-label":["ariaLabelChanged"],"value":["valueChange"]}]]],["ion-datetime_3",[[33,"ion-datetime",{"color":[1],"name":[1],"disabled":[4],"formatOptions":[16],"readonly":[4],"isDateEnabled":[16],"min":[1025],"max":[1025],"presentation":[1],"cancelText":[1,"cancel-text"],"doneText":[1,"done-text"],"clearText":[1,"clear-text"],"yearValues":[8,"year-values"],"monthValues":[8,"month-values"],"dayValues":[8,"day-values"],"hourValues":[8,"hour-values"],"minuteValues":[8,"minute-values"],"locale":[1],"firstDayOfWeek":[2,"first-day-of-week"],"titleSelectedDatesFormatter":[16],"multiple":[4],"highlightedDates":[16],"value":[1025],"showDefaultTitle":[4,"show-default-title"],"showDefaultButtons":[4,"show-default-buttons"],"showClearButton":[4,"show-clear-button"],"showDefaultTimeLabel":[4,"show-default-time-label"],"hourCycle":[1,"hour-cycle"],"size":[1],"preferWheel":[4,"prefer-wheel"],"showMonthAndYear":[32],"activeParts":[32],"workingParts":[32],"isTimePopoverOpen":[32],"forceRenderDate":[32],"confirm":[64],"reset":[64],"cancel":[64]},null,{"formatOptions":["formatOptionsChanged"],"disabled":["disabledChanged"],"min":["minChanged"],"max":["maxChanged"],"presentation":["presentationChanged"],"yearValues":["yearValuesChanged"],"monthValues":["monthValuesChanged"],"dayValues":["dayValuesChanged"],"hourValues":["hourValuesChanged"],"minuteValues":["minuteValuesChanged"],"value":["valueChanged"]}],[34,"ion-picker-legacy",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"buttons":[16],"columns":[16],"cssClass":[1,"css-class"],"duration":[2],"showBackdrop":[4,"show-backdrop"],"backdropDismiss":[4,"backdrop-dismiss"],"animated":[4],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"presented":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64],"getColumn":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}],[32,"ion-picker-legacy-column",{"col":[16]},null,{"col":["colChanged"]}]]],["ion-radio_2",[[33,"ion-radio",{"color":[513],"name":[1],"disabled":[4],"value":[8],"labelPlacement":[1,"label-placement"],"justify":[1],"alignment":[1],"checked":[32],"buttonTabindex":[32],"setFocus":[64],"setButtonTabindex":[64]},null,{"value":["valueChanged"]}],[0,"ion-radio-group",{"allowEmptySelection":[4,"allow-empty-selection"],"compareWith":[1,"compare-with"],"name":[1],"value":[1032]},[[4,"keydown","onKeydown"]],{"value":["valueChanged"]}]]],["ion-ripple-effect",[[1,"ion-ripple-effect",{"type":[1],"addRipple":[64]}]]],["ion-button_2",[[33,"ion-button",{"color":[513],"buttonType":[1025,"button-type"],"disabled":[516],"expand":[513],"fill":[1537],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"download":[1],"href":[1],"rel":[1],"shape":[513],"size":[513],"strong":[4],"target":[1],"type":[1],"form":[1],"isCircle":[32]},null,{"disabled":["disabledChanged"]}],[1,"ion-icon",{"mode":[1025],"color":[1],"ios":[1],"md":[1],"flipRtl":[4,"flip-rtl"],"name":[513],"src":[1],"icon":[8],"size":[1],"lazy":[4],"sanitize":[4],"svgContent":[32],"isVisible":[32]},null,{"name":["loadIcon"],"src":["loadIcon"],"icon":["loadIcon"],"ios":["loadIcon"],"md":["loadIcon"]}]]],["ion-action-sheet",[[34,"ion-action-sheet",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"buttons":[16],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"header":[1],"subHeader":[1,"sub-header"],"translucent":[4],"animated":[4],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-alert",[[34,"ion-alert",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"header":[1],"subHeader":[1,"sub-header"],"message":[1],"buttons":[16],"inputs":[1040],"backdropDismiss":[4,"backdrop-dismiss"],"translucent":[4],"animated":[4],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},[[4,"keydown","onKeydown"]],{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"],"buttons":["buttonsChanged"],"inputs":["inputsChanged"]}]]],["ion-app_8",[[0,"ion-app",{"setFocus":[64]}],[1,"ion-content",{"color":[513],"fullscreen":[4],"fixedSlotPlacement":[1,"fixed-slot-placement"],"forceOverscroll":[1028,"force-overscroll"],"scrollX":[4,"scroll-x"],"scrollY":[4,"scroll-y"],"scrollEvents":[4,"scroll-events"],"getScrollElement":[64],"getBackgroundElement":[64],"scrollToTop":[64],"scrollToBottom":[64],"scrollByPoint":[64],"scrollToPoint":[64]},[[9,"resize","onResize"]]],[36,"ion-footer",{"collapse":[1],"translucent":[4],"keyboardVisible":[32]}],[36,"ion-header",{"collapse":[1],"translucent":[4]}],[1,"ion-router-outlet",{"mode":[1025],"delegate":[16],"animated":[4],"animation":[16],"swipeHandler":[16],"commit":[64],"setRouteId":[64],"getRouteId":[64]},null,{"swipeHandler":["swipeHandlerChanged"]}],[33,"ion-title",{"color":[513],"size":[1]},null,{"size":["sizeChanged"]}],[33,"ion-toolbar",{"color":[513]},[[0,"ionStyle","childrenStyle"]]],[38,"ion-buttons",{"collapse":[4]}]]],["ion-picker-column-option",[[33,"ion-picker-column-option",{"disabled":[4],"value":[8],"color":[513],"ariaLabel":[32]},null,{"aria-label":["onAriaLabelChange"]}]]],["ion-popover",[[33,"ion-popover",{"hasController":[4,"has-controller"],"delegate":[16],"overlayIndex":[2,"overlay-index"],"enterAnimation":[16],"leaveAnimation":[16],"component":[1],"componentProps":[16],"keyboardClose":[4,"keyboard-close"],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"event":[8],"showBackdrop":[4,"show-backdrop"],"translucent":[4],"animated":[4],"htmlAttributes":[16],"triggerAction":[1,"trigger-action"],"trigger":[1],"size":[1],"dismissOnSelect":[4,"dismiss-on-select"],"reference":[1],"side":[1],"alignment":[1025],"arrow":[4],"isOpen":[4,"is-open"],"keyboardEvents":[4,"keyboard-events"],"focusTrap":[4,"focus-trap"],"keepContentsMounted":[4,"keep-contents-mounted"],"presented":[32],"presentFromTrigger":[64],"present":[64],"dismiss":[64],"getParentPopover":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"trigger":["onTriggerChange"],"triggerAction":["onTriggerChange"],"isOpen":["onIsOpenChange"]}]]],["ion-checkbox",[[33,"ion-checkbox",{"color":[513],"name":[1],"checked":[1028],"indeterminate":[1028],"disabled":[4],"value":[8],"labelPlacement":[1,"label-placement"],"justify":[1],"alignment":[1]}]]],["ion-spinner",[[1,"ion-spinner",{"color":[513],"duration":[2],"name":[1],"paused":[4]}]]],["ion-item_8",[[33,"ion-item-divider",{"color":[513],"sticky":[4]}],[32,"ion-item-group"],[33,"ion-note",{"color":[513]}],[1,"ion-skeleton-text",{"animated":[4]}],[33,"ion-item",{"color":[513],"button":[4],"detail":[4],"detailIcon":[1,"detail-icon"],"disabled":[516],"download":[1],"href":[1],"rel":[1],"lines":[1],"routerAnimation":[16],"routerDirection":[1,"router-direction"],"target":[1],"type":[1],"multipleInputs":[32],"focusable":[32]},[[0,"ionColor","labelColorChanged"],[0,"ionStyle","itemStyle"]],{"button":["buttonChanged"]}],[38,"ion-label",{"color":[513],"position":[1],"noAnimate":[32]},null,{"color":["colorChanged"],"position":["positionChanged"]}],[32,"ion-list",{"lines":[1],"inset":[4],"closeSlidingItems":[64]}],[33,"ion-list-header",{"color":[513],"lines":[1]}]]]]'),t)});return function(t,r){return n.apply(this,arguments)}}(),kt=["*"],VY=["outletContent"],HY=["outlet"],jY=[[["","slot","top"]],"*",[["ion-tab"]]],GY=["[slot=top]","*","ion-tab"];function WY(n,o){if(1&n){const t=Me();I(0,"ion-router-outlet",5,1),re("stackWillChange",function(i){return le(t),ce(M().onStackWillChange(i))})("stackDidChange",function(i){return le(t),ce(M().onStackDidChange(i))}),E()}}function qY(n,o){1&n&&$t(0,2,["*ngIf","tabs.length > 0"])}let jm=(()=>{class n extends Hm{constructor(t,r){super(t,r)}writeValue(t){this.elementRef.nativeElement.checked=this.lastValue=t,nu(this.elementRef)}_handleIonChange(t){this.handleValueChange(t,t.checked)}static \u0275fac=function(r){return new(r||n)(N(Ht),N(_t))};static \u0275dir=Yt({type:n,selectors:[["ion-checkbox"],["ion-toggle"]],hostBindings:function(r,i){1&r&&re("ionChange",function(u){return i._handleIonChange(u.target)})},features:[mo([{provide:qi,useExisting:n,multi:!0}]),Dt]})}return n})(),pf=(()=>{class n extends Hm{el;constructor(t,r){super(t,r),this.el=r}handleInputEvent(t){this.handleValueChange(t,t.value)}registerOnChange(t){super.registerOnChange("ION-INPUT"===this.el.nativeElement.tagName?r=>{t(""===r?null:parseFloat(r))}:t)}static \u0275fac=function(r){return new(r||n)(N(Ht),N(_t))};static \u0275dir=Yt({type:n,selectors:[["ion-input","type","number"],["ion-range"]],hostBindings:function(r,i){1&r&&re("ionInput",function(u){return i.handleInputEvent(u.target)})},features:[mo([{provide:qi,useExisting:n,multi:!0}]),Dt]})}return n})(),Pl=(()=>{class n extends Hm{constructor(t,r){super(t,r)}_handleChangeEvent(t){this.handleValueChange(t,t.value)}static \u0275fac=function(r){return new(r||n)(N(Ht),N(_t))};static \u0275dir=Yt({type:n,selectors:[["ion-select"],["ion-radio-group"],["ion-segment"],["ion-datetime"]],hostBindings:function(r,i){1&r&&re("ionChange",function(u){return i._handleChangeEvent(u.target)})},features:[mo([{provide:qi,useExisting:n,multi:!0}]),Dt]})}return n})(),bi=(()=>{class n extends Hm{constructor(t,r){super(t,r)}_handleInputEvent(t){this.handleValueChange(t,t.value)}static \u0275fac=function(r){return new(r||n)(N(Ht),N(_t))};static \u0275dir=Yt({type:n,selectors:[["ion-input",3,"type","number"],["ion-textarea"],["ion-searchbar"]],hostBindings:function(r,i){1&r&&re("ionInput",function(u){return i._handleInputEvent(u.target)})},features:[mo([{provide:qi,useExisting:n,multi:!0}]),Dt]})}return n})();const XY=(n,o)=>{const t=n.prototype;o.forEach(r=>{Object.defineProperty(t,r,{get(){return this.el[r]},set(i){this.z.runOutsideAngular(()=>this.el[r]=i)},configurable:!0})})},ZY=(n,o)=>{const t=n.prototype;o.forEach(r=>{t[r]=function(){const i=arguments;return this.z.runOutsideAngular(()=>this.el[r].apply(this.el,i))}})},ao=(n,o,t)=>{t.forEach(r=>n[r]=zm(o,r))};function Lt(n){return function(t){const{defineCustomElementFn:r,inputs:i,methods:s}=n;return void 0!==r&&r(),i&&XY(t,i),s&&ZY(t,s),t}}let uD=(()=>{let n=class c3{z;el;constructor(t,r,i){this.z=i,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||c3)(N(It),N(_t),N(dt))};static \u0275cmp=je({type:c3,selectors:[["ion-accordion"]],inputs:{disabled:"disabled",mode:"mode",readonly:"readonly",toggleIcon:"toggleIcon",toggleIconSlot:"toggleIconSlot",value:"value"},ngContentSelectors:kt,decls:1,vars:0,template:function(r,i){1&r&&(At(),$t(0))},encapsulation:2,changeDetection:0})};return n=Nt([Lt({inputs:["disabled","mode","readonly","toggleIcon","toggleIconSlot","value"]})],n),n})(),gD=(()=>{let n=class d3{z;el;constructor(t,r,i){this.z=i,t.detach(),this.el=r.nativeElement,ao(this,this.el,["ionChange"])}static \u0275fac=function(r){return new(r||d3)(N(It),N(_t),N(dt))};static \u0275cmp=je({type:d3,selectors:[["ion-accordion-group"]],inputs:{animated:"animated",disabled:"disabled",expand:"expand",mode:"mode",multiple:"multiple",readonly:"readonly",value:"value"},ngContentSelectors:kt,decls:1,vars:0,template:function(r,i){1&r&&(At(),$t(0))},encapsulation:2,changeDetection:0})};return n=Nt([Lt({inputs:["animated","disabled","expand","mode","multiple","readonly","value"]})],n),n})(),fD=(()=>{let n=class f3{z;el;constructor(t,r,i){this.z=i,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||f3)(N(It),N(_t),N(dt))};static \u0275cmp=je({type:f3,selectors:[["ion-app"]],ngContentSelectors:kt,decls:1,vars:0,template:function(r,i){1&r&&(At(),$t(0))},encapsulation:2,changeDetection:0})};return n=Nt([Lt({methods:["setFocus"]})],n),n})(),wc=(()=>{let n=class p3{z;el;constructor(t,r,i){this.z=i,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||p3)(N(It),N(_t),N(dt))};static \u0275cmp=je({type:p3,selectors:[["ion-avatar"]],ngContentSelectors:kt,decls:1,vars:0,template:function(r,i){1&r&&(At(),$t(0))},encapsulation:2,changeDetection:0})};return n=Nt([Lt({})],n),n})(),ou=(()=>{let n=class m3{z;el;constructor(t,r,i){this.z=i,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||m3)(N(It),N(_t),N(dt))};static \u0275cmp=je({type:m3,selectors:[["ion-badge"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:kt,decls:1,vars:0,template:function(r,i){1&r&&(At(),$t(0))},encapsulation:2,changeDetection:0})};return n=Nt([Lt({inputs:["color","mode"]})],n),n})(),on=(()=>{let n=class y3{z;el;constructor(t,r,i){this.z=i,t.detach(),this.el=r.nativeElement,ao(this,this.el,["ionFocus","ionBlur"])}static \u0275fac=function(r){return new(r||y3)(N(It),N(_t),N(dt))};static \u0275cmp=je({type:y3,selectors:[["ion-button"]],inputs:{buttonType:"buttonType",color:"color",disabled:"disabled",download:"download",expand:"expand",fill:"fill",form:"form",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",shape:"shape",size:"size",strong:"strong",target:"target",type:"type"},ngContentSelectors:kt,decls:1,vars:0,template:function(r,i){1&r&&(At(),$t(0))},encapsulation:2,changeDetection:0})};return n=Nt([Lt({inputs:["buttonType","color","disabled","download","expand","fill","form","href","mode","rel","routerAnimation","routerDirection","shape","size","strong","target","type"]})],n),n})(),Ln=(()=>{let n=class b3{z;el;constructor(t,r,i){this.z=i,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||b3)(N(It),N(_t),N(dt))};static \u0275cmp=je({type:b3,selectors:[["ion-buttons"]],inputs:{collapse:"collapse"},ngContentSelectors:kt,decls:1,vars:0,template:function(r,i){1&r&&(At(),$t(0))},encapsulation:2,changeDetection:0})};return n=Nt([Lt({inputs:["collapse"]})],n),n})(),Jn=(()=>{let n=class S3{z;el;constructor(t,r,i){this.z=i,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||S3)(N(It),N(_t),N(dt))};static \u0275cmp=je({type:S3,selectors:[["ion-card"]],inputs:{button:"button",color:"color",disabled:"disabled",download:"download",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",target:"target",type:"type"},ngContentSelectors:kt,decls:1,vars:0,template:function(r,i){1&r&&(At(),$t(0))},encapsulation:2,changeDetection:0})};return n=Nt([Lt({inputs:["button","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","target","type"]})],n),n})(),To=(()=>{let n=class C3{z;el;constructor(t,r,i){this.z=i,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||C3)(N(It),N(_t),N(dt))};static \u0275cmp=je({type:C3,selectors:[["ion-card-content"]],inputs:{mode:"mode"},ngContentSelectors:kt,decls:1,vars:0,template:function(r,i){1&r&&(At(),$t(0))},encapsulation:2,changeDetection:0})};return n=Nt([Lt({inputs:["mode"]})],n),n})(),oo=(()=>{let n=class T3{z;el;constructor(t,r,i){this.z=i,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||T3)(N(It),N(_t),N(dt))};static \u0275cmp=je({type:T3,selectors:[["ion-card-header"]],inputs:{color:"color",mode:"mode",translucent:"translucent"},ngContentSelectors:kt,decls:1,vars:0,template:function(r,i){1&r&&(At(),$t(0))},encapsulation:2,changeDetection:0})};return n=Nt([Lt({inputs:["color","mode","translucent"]})],n),n})(),gi=(()=>{let n=class w3{z;el;constructor(t,r,i){this.z=i,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||w3)(N(It),N(_t),N(dt))};static \u0275cmp=je({type:w3,selectors:[["ion-card-subtitle"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:kt,decls:1,vars:0,template:function(r,i){1&r&&(At(),$t(0))},encapsulation:2,changeDetection:0})};return n=Nt([Lt({inputs:["color","mode"]})],n),n})(),lo=(()=>{let n=class E3{z;el;constructor(t,r,i){this.z=i,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||E3)(N(It),N(_t),N(dt))};static \u0275cmp=je({type:E3,selectors:[["ion-card-title"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:kt,decls:1,vars:0,template:function(r,i){1&r&&(At(),$t(0))},encapsulation:2,changeDetection:0})};return n=Nt([Lt({inputs:["color","mode"]})],n),n})(),Gm=(()=>{let n=class I3{z;el;constructor(t,r,i){this.z=i,t.detach(),this.el=r.nativeElement,ao(this,this.el,["ionChange","ionFocus","ionBlur"])}static \u0275fac=function(r){return new(r||I3)(N(It),N(_t),N(dt))};static \u0275cmp=je({type:I3,selectors:[["ion-checkbox"]],inputs:{alignment:"alignment",checked:"checked",color:"color",disabled:"disabled",indeterminate:"indeterminate",justify:"justify",labelPlacement:"labelPlacement",mode:"mode",name:"name",value:"value"},ngContentSelectors:kt,decls:1,vars:0,template:function(r,i){1&r&&(At(),$t(0))},encapsulation:2,changeDetection:0})};return n=Nt([Lt({inputs:["alignment","checked","color","disabled","indeterminate","justify","labelPlacement","mode","name","value"]})],n),n})(),ru=(()=>{let n=class D3{z;el;constructor(t,r,i){this.z=i,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||D3)(N(It),N(_t),N(dt))};static \u0275cmp=je({type:D3,selectors:[["ion-chip"]],inputs:{color:"color",disabled:"disabled",mode:"mode",outline:"outline"},ngContentSelectors:kt,decls:1,vars:0,template:function(r,i){1&r&&(At(),$t(0))},encapsulation:2,changeDetection:0})};return n=Nt([Lt({inputs:["color","disabled","mode","outline"]})],n),n})(),Ni=(()=>{let n=class P3{z;el;constructor(t,r,i){this.z=i,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||P3)(N(It),N(_t),N(dt))};static \u0275cmp=je({type:P3,selectors:[["ion-col"]],inputs:{offset:"offset",offsetLg:"offsetLg",offsetMd:"offsetMd",offsetSm:"offsetSm",offsetXl:"offsetXl",offsetXs:"offsetXs",pull:"pull",pullLg:"pullLg",pullMd:"pullMd",pullSm:"pullSm",pullXl:"pullXl",pullXs:"pullXs",push:"push",pushLg:"pushLg",pushMd:"pushMd",pushSm:"pushSm",pushXl:"pushXl",pushXs:"pushXs",size:"size",sizeLg:"sizeLg",sizeMd:"sizeMd",sizeSm:"sizeSm",sizeXl:"sizeXl",sizeXs:"sizeXs"},ngContentSelectors:kt,decls:1,vars:0,template:function(r,i){1&r&&(At(),$t(0))},encapsulation:2,changeDetection:0})};return n=Nt([Lt({inputs:["offset","offsetLg","offsetMd","offsetSm","offsetXl","offsetXs","pull","pullLg","pullMd","pullSm","pullXl","pullXs","push","pushLg","pushMd","pushSm","pushXl","pushXs","size","sizeLg","sizeMd","sizeSm","sizeXl","sizeXs"]})],n),n})(),Sn=(()=>{let n=class M3{z;el;constructor(t,r,i){this.z=i,t.detach(),this.el=r.nativeElement,ao(this,this.el,["ionScrollStart","ionScroll","ionScrollEnd"])}static \u0275fac=function(r){return new(r||M3)(N(It),N(_t),N(dt))};static \u0275cmp=je({type:M3,selectors:[["ion-content"]],inputs:{color:"color",fixedSlotPlacement:"fixedSlotPlacement",forceOverscroll:"forceOverscroll",fullscreen:"fullscreen",scrollEvents:"scrollEvents",scrollX:"scrollX",scrollY:"scrollY"},ngContentSelectors:kt,decls:1,vars:0,template:function(r,i){1&r&&(At(),$t(0))},encapsulation:2,changeDetection:0})};return n=Nt([Lt({inputs:["color","fixedSlotPlacement","forceOverscroll","fullscreen","scrollEvents","scrollX","scrollY"],methods:["getScrollElement","scrollToTop","scrollToBottom","scrollByPoint","scrollToPoint"]})],n),n})(),pD=(()=>{let n=class $3{z;el;constructor(t,r,i){this.z=i,t.detach(),this.el=r.nativeElement,ao(this,this.el,["ionCancel","ionChange","ionFocus","ionBlur"])}static \u0275fac=function(r){return new(r||$3)(N(It),N(_t),N(dt))};static \u0275cmp=je({type:$3,selectors:[["ion-datetime"]],inputs:{cancelText:"cancelText",clearText:"clearText",color:"color",dayValues:"dayValues",disabled:"disabled",doneText:"doneText",firstDayOfWeek:"firstDayOfWeek",formatOptions:"formatOptions",highlightedDates:"highlightedDates",hourCycle:"hourCycle",hourValues:"hourValues",isDateEnabled:"isDateEnabled",locale:"locale",max:"max",min:"min",minuteValues:"minuteValues",mode:"mode",monthValues:"monthValues",multiple:"multiple",name:"name",preferWheel:"preferWheel",presentation:"presentation",readonly:"readonly",showClearButton:"showClearButton",showDefaultButtons:"showDefaultButtons",showDefaultTimeLabel:"showDefaultTimeLabel",showDefaultTitle:"showDefaultTitle",size:"size",titleSelectedDatesFormatter:"titleSelectedDatesFormatter",value:"value",yearValues:"yearValues"},ngContentSelectors:kt,decls:1,vars:0,template:function(r,i){1&r&&(At(),$t(0))},encapsulation:2,changeDetection:0})};return n=Nt([Lt({inputs:["cancelText","clearText","color","dayValues","disabled","doneText","firstDayOfWeek","formatOptions","highlightedDates","hourCycle","hourValues","isDateEnabled","locale","max","min","minuteValues","mode","monthValues","multiple","name","preferWheel","presentation","readonly","showClearButton","showDefaultButtons","showDefaultTimeLabel","showDefaultTitle","size","titleSelectedDatesFormatter","value","yearValues"],methods:["confirm","reset","cancel"]})],n),n})(),Qa=(()=>{let n=class N3{z;el;constructor(t,r,i){this.z=i,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||N3)(N(It),N(_t),N(dt))};static \u0275cmp=je({type:N3,selectors:[["ion-fab"]],inputs:{activated:"activated",edge:"edge",horizontal:"horizontal",vertical:"vertical"},ngContentSelectors:kt,decls:1,vars:0,template:function(r,i){1&r&&(At(),$t(0))},encapsulation:2,changeDetection:0})};return n=Nt([Lt({inputs:["activated","edge","horizontal","vertical"],methods:["close"]})],n),n})(),Es=(()=>{let n=class x3{z;el;constructor(t,r,i){this.z=i,t.detach(),this.el=r.nativeElement,ao(this,this.el,["ionFocus","ionBlur"])}static \u0275fac=function(r){return new(r||x3)(N(It),N(_t),N(dt))};static \u0275cmp=je({type:x3,selectors:[["ion-fab-button"]],inputs:{activated:"activated",closeIcon:"closeIcon",color:"color",disabled:"disabled",download:"download",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",show:"show",size:"size",target:"target",translucent:"translucent",type:"type"},ngContentSelectors:kt,decls:1,vars:0,template:function(r,i){1&r&&(At(),$t(0))},encapsulation:2,changeDetection:0})};return n=Nt([Lt({inputs:["activated","closeIcon","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","show","size","target","translucent","type"]})],n),n})(),hf=(()=>{let n=class k3{z;el;constructor(t,r,i){this.z=i,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||k3)(N(It),N(_t),N(dt))};static \u0275cmp=je({type:k3,selectors:[["ion-footer"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},ngContentSelectors:kt,decls:1,vars:0,template:function(r,i){1&r&&(At(),$t(0))},encapsulation:2,changeDetection:0})};return n=Nt([Lt({inputs:["collapse","mode","translucent"]})],n),n})(),iu=(()=>{let n=class R3{z;el;constructor(t,r,i){this.z=i,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||R3)(N(It),N(_t),N(dt))};static \u0275cmp=je({type:R3,selectors:[["ion-grid"]],inputs:{fixed:"fixed"},ngContentSelectors:kt,decls:1,vars:0,template:function(r,i){1&r&&(At(),$t(0))},encapsulation:2,changeDetection:0})};return n=Nt([Lt({inputs:["fixed"]})],n),n})(),En=(()=>{let n=class L3{z;el;constructor(t,r,i){this.z=i,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||L3)(N(It),N(_t),N(dt))};static \u0275cmp=je({type:L3,selectors:[["ion-header"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},ngContentSelectors:kt,decls:1,vars:0,template:function(r,i){1&r&&(At(),$t(0))},encapsulation:2,changeDetection:0})};return n=Nt([Lt({inputs:["collapse","mode","translucent"]})],n),n})(),un=(()=>{let n=class F3{z;el;constructor(t,r,i){this.z=i,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||F3)(N(It),N(_t),N(dt))};static \u0275cmp=je({type:F3,selectors:[["ion-icon"]],inputs:{color:"color",flipRtl:"flipRtl",icon:"icon",ios:"ios",lazy:"lazy",md:"md",mode:"mode",name:"name",sanitize:"sanitize",size:"size",src:"src"},ngContentSelectors:kt,decls:1,vars:0,template:function(r,i){1&r&&(At(),$t(0))},encapsulation:2,changeDetection:0})};return n=Nt([Lt({inputs:["color","flipRtl","icon","ios","lazy","md","mode","name","sanitize","size","src"]})],n),n})(),Ja=(()=>{let n=class B3{z;el;constructor(t,r,i){this.z=i,t.detach(),this.el=r.nativeElement,ao(this,this.el,["ionImgWillLoad","ionImgDidLoad","ionError"])}static \u0275fac=function(r){return new(r||B3)(N(It),N(_t),N(dt))};static \u0275cmp=je({type:B3,selectors:[["ion-img"]],inputs:{alt:"alt",src:"src"},ngContentSelectors:kt,decls:1,vars:0,template:function(r,i){1&r&&(At(),$t(0))},encapsulation:2,changeDetection:0})};return n=Nt([Lt({inputs:["alt","src"]})],n),n})(),By=(()=>{let n=class U3{z;el;constructor(t,r,i){this.z=i,t.detach(),this.el=r.nativeElement,ao(this,this.el,["ionInfinite"])}static \u0275fac=function(r){return new(r||U3)(N(It),N(_t),N(dt))};static \u0275cmp=je({type:U3,selectors:[["ion-infinite-scroll"]],inputs:{disabled:"disabled",position:"position",threshold:"threshold"},ngContentSelectors:kt,decls:1,vars:0,template:function(r,i){1&r&&(At(),$t(0))},encapsulation:2,changeDetection:0})};return n=Nt([Lt({inputs:["disabled","position","threshold"],methods:["complete"]})],n),n})(),Ys=(()=>{let n=class V3{z;el;constructor(t,r,i){this.z=i,t.detach(),this.el=r.nativeElement,ao(this,this.el,["ionInput","ionChange","ionBlur","ionFocus"])}static \u0275fac=function(r){return new(r||V3)(N(It),N(_t),N(dt))};static \u0275cmp=je({type:V3,selectors:[["ion-input"]],inputs:{autocapitalize:"autocapitalize",autocomplete:"autocomplete",autocorrect:"autocorrect",autofocus:"autofocus",clearInput:"clearInput",clearInputIcon:"clearInputIcon",clearOnEdit:"clearOnEdit",color:"color",counter:"counter",counterFormatter:"counterFormatter",debounce:"debounce",disabled:"disabled",enterkeyhint:"enterkeyhint",errorText:"errorText",fill:"fill",helperText:"helperText",inputmode:"inputmode",label:"label",labelPlacement:"labelPlacement",max:"max",maxlength:"maxlength",min:"min",minlength:"minlength",mode:"mode",multiple:"multiple",name:"name",pattern:"pattern",placeholder:"placeholder",readonly:"readonly",required:"required",shape:"shape",spellcheck:"spellcheck",step:"step",type:"type",value:"value"},ngContentSelectors:kt,decls:1,vars:0,template:function(r,i){1&r&&(At(),$t(0))},encapsulation:2,changeDetection:0})};return n=Nt([Lt({inputs:["autocapitalize","autocomplete","autocorrect","autofocus","clearInput","clearInputIcon","clearOnEdit","color","counter","counterFormatter","debounce","disabled","enterkeyhint","errorText","fill","helperText","inputmode","label","labelPlacement","max","maxlength","min","minlength","mode","multiple","name","pattern","placeholder","readonly","required","shape","spellcheck","step","type","value"],methods:["setFocus","getInputElement"]})],n),n})(),Dn=(()=>{let n=class j3{z;el;constructor(t,r,i){this.z=i,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||j3)(N(It),N(_t),N(dt))};static \u0275cmp=je({type:j3,selectors:[["ion-item"]],inputs:{button:"button",color:"color",detail:"detail",detailIcon:"detailIcon",disabled:"disabled",download:"download",href:"href",lines:"lines",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",target:"target",type:"type"},ngContentSelectors:kt,decls:1,vars:0,template:function(r,i){1&r&&(At(),$t(0))},encapsulation:2,changeDetection:0})};return n=Nt([Lt({inputs:["button","color","detail","detailIcon","disabled","download","href","lines","mode","rel","routerAnimation","routerDirection","target","type"]})],n),n})(),Wm=(()=>{let n=class G3{z;el;constructor(t,r,i){this.z=i,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||G3)(N(It),N(_t),N(dt))};static \u0275cmp=je({type:G3,selectors:[["ion-item-divider"]],inputs:{color:"color",mode:"mode",sticky:"sticky"},ngContentSelectors:kt,decls:1,vars:0,template:function(r,i){1&r&&(At(),$t(0))},encapsulation:2,changeDetection:0})};return n=Nt([Lt({inputs:["color","mode","sticky"]})],n),n})(),hD=(()=>{let n=class q3{z;el;constructor(t,r,i){this.z=i,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||q3)(N(It),N(_t),N(dt))};static \u0275cmp=je({type:q3,selectors:[["ion-item-option"]],inputs:{color:"color",disabled:"disabled",download:"download",expandable:"expandable",href:"href",mode:"mode",rel:"rel",target:"target",type:"type"},ngContentSelectors:kt,decls:1,vars:0,template:function(r,i){1&r&&(At(),$t(0))},encapsulation:2,changeDetection:0})};return n=Nt([Lt({inputs:["color","disabled","download","expandable","href","mode","rel","target","type"]})],n),n})(),mD=(()=>{let n=class Y3{z;el;constructor(t,r,i){this.z=i,t.detach(),this.el=r.nativeElement,ao(this,this.el,["ionSwipe"])}static \u0275fac=function(r){return new(r||Y3)(N(It),N(_t),N(dt))};static \u0275cmp=je({type:Y3,selectors:[["ion-item-options"]],inputs:{side:"side"},ngContentSelectors:kt,decls:1,vars:0,template:function(r,i){1&r&&(At(),$t(0))},encapsulation:2,changeDetection:0})};return n=Nt([Lt({inputs:["side"]})],n),n})(),Uy=(()=>{let n=class K3{z;el;constructor(t,r,i){this.z=i,t.detach(),this.el=r.nativeElement,ao(this,this.el,["ionDrag"])}static \u0275fac=function(r){return new(r||K3)(N(It),N(_t),N(dt))};static \u0275cmp=je({type:K3,selectors:[["ion-item-sliding"]],inputs:{disabled:"disabled"},ngContentSelectors:kt,decls:1,vars:0,template:function(r,i){1&r&&(At(),$t(0))},encapsulation:2,changeDetection:0})};return n=Nt([Lt({inputs:["disabled"],methods:["getOpenAmount","getSlidingRatio","open","close","closeOpened"]})],n),n})(),co=(()=>{let n=class X3{z;el;constructor(t,r,i){this.z=i,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||X3)(N(It),N(_t),N(dt))};static \u0275cmp=je({type:X3,selectors:[["ion-label"]],inputs:{color:"color",mode:"mode",position:"position"},ngContentSelectors:kt,decls:1,vars:0,template:function(r,i){1&r&&(At(),$t(0))},encapsulation:2,changeDetection:0})};return n=Nt([Lt({inputs:["color","mode","position"]})],n),n})(),Bo=(()=>{let n=class Z3{z;el;constructor(t,r,i){this.z=i,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||Z3)(N(It),N(_t),N(dt))};static \u0275cmp=je({type:Z3,selectors:[["ion-list"]],inputs:{inset:"inset",lines:"lines",mode:"mode"},ngContentSelectors:kt,decls:1,vars:0,template:function(r,i){1&r&&(At(),$t(0))},encapsulation:2,changeDetection:0})};return n=Nt([Lt({inputs:["inset","lines","mode"],methods:["closeSlidingItems"]})],n),n})(),_D=(()=>{let n=class Q3{z;el;constructor(t,r,i){this.z=i,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||Q3)(N(It),N(_t),N(dt))};static \u0275cmp=je({type:Q3,selectors:[["ion-list-header"]],inputs:{color:"color",lines:"lines",mode:"mode"},ngContentSelectors:kt,decls:1,vars:0,template:function(r,i){1&r&&(At(),$t(0))},encapsulation:2,changeDetection:0})};return n=Nt([Lt({inputs:["color","lines","mode"]})],n),n})(),vD=(()=>{let n=class eS{z;el;constructor(t,r,i){this.z=i,t.detach(),this.el=r.nativeElement,ao(this,this.el,["ionWillOpen","ionWillClose","ionDidOpen","ionDidClose"])}static \u0275fac=function(r){return new(r||eS)(N(It),N(_t),N(dt))};static \u0275cmp=je({type:eS,selectors:[["ion-menu"]],inputs:{contentId:"contentId",disabled:"disabled",maxEdgeStart:"maxEdgeStart",menuId:"menuId",side:"side",swipeGesture:"swipeGesture",type:"type"},ngContentSelectors:kt,decls:1,vars:0,template:function(r,i){1&r&&(At(),$t(0))},encapsulation:2,changeDetection:0})};return n=Nt([Lt({inputs:["contentId","disabled","maxEdgeStart","menuId","side","swipeGesture","type"],methods:["isOpen","isActive","open","close","toggle","setOpen"]})],n),n})(),ar=(()=>{let n=class cS{z;el;constructor(t,r,i){this.z=i,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||cS)(N(It),N(_t),N(dt))};static \u0275cmp=je({type:cS,selectors:[["ion-progress-bar"]],inputs:{buffer:"buffer",color:"color",mode:"mode",reversed:"reversed",type:"type",value:"value"},ngContentSelectors:kt,decls:1,vars:0,template:function(r,i){1&r&&(At(),$t(0))},encapsulation:2,changeDetection:0})};return n=Nt([Lt({inputs:["buffer","color","mode","reversed","type","value"]})],n),n})(),zy=(()=>{let n=class dS{z;el;constructor(t,r,i){this.z=i,t.detach(),this.el=r.nativeElement,ao(this,this.el,["ionFocus","ionBlur"])}static \u0275fac=function(r){return new(r||dS)(N(It),N(_t),N(dt))};static \u0275cmp=je({type:dS,selectors:[["ion-radio"]],inputs:{alignment:"alignment",color:"color",disabled:"disabled",justify:"justify",labelPlacement:"labelPlacement",mode:"mode",name:"name",value:"value"},ngContentSelectors:kt,decls:1,vars:0,template:function(r,i){1&r&&(At(),$t(0))},encapsulation:2,changeDetection:0})};return n=Nt([Lt({inputs:["alignment","color","disabled","justify","labelPlacement","mode","name","value"]})],n),n})(),Vy=(()=>{let n=class uS{z;el;constructor(t,r,i){this.z=i,t.detach(),this.el=r.nativeElement,ao(this,this.el,["ionChange"])}static \u0275fac=function(r){return new(r||uS)(N(It),N(_t),N(dt))};static \u0275cmp=je({type:uS,selectors:[["ion-radio-group"]],inputs:{allowEmptySelection:"allowEmptySelection",compareWith:"compareWith",name:"name",value:"value"},ngContentSelectors:kt,decls:1,vars:0,template:function(r,i){1&r&&(At(),$t(0))},encapsulation:2,changeDetection:0})};return n=Nt([Lt({inputs:["allowEmptySelection","compareWith","name","value"]})],n),n})(),yD=(()=>{let n=class gS{z;el;constructor(t,r,i){this.z=i,t.detach(),this.el=r.nativeElement,ao(this,this.el,["ionChange","ionInput","ionFocus","ionBlur","ionKnobMoveStart","ionKnobMoveEnd"])}static \u0275fac=function(r){return new(r||gS)(N(It),N(_t),N(dt))};static \u0275cmp=je({type:gS,selectors:[["ion-range"]],inputs:{activeBarStart:"activeBarStart",color:"color",debounce:"debounce",disabled:"disabled",dualKnobs:"dualKnobs",label:"label",labelPlacement:"labelPlacement",max:"max",min:"min",mode:"mode",name:"name",pin:"pin",pinFormatter:"pinFormatter",snaps:"snaps",step:"step",ticks:"ticks",value:"value"},ngContentSelectors:kt,decls:1,vars:0,template:function(r,i){1&r&&(At(),$t(0))},encapsulation:2,changeDetection:0})};return n=Nt([Lt({inputs:["activeBarStart","color","debounce","disabled","dualKnobs","label","labelPlacement","max","min","mode","name","pin","pinFormatter","snaps","step","ticks","value"]})],n),n})(),qm=(()=>{let n=class fS{z;el;constructor(t,r,i){this.z=i,t.detach(),this.el=r.nativeElement,ao(this,this.el,["ionRefresh","ionPull","ionStart"])}static \u0275fac=function(r){return new(r||fS)(N(It),N(_t),N(dt))};static \u0275cmp=je({type:fS,selectors:[["ion-refresher"]],inputs:{closeDuration:"closeDuration",disabled:"disabled",mode:"mode",pullFactor:"pullFactor",pullMax:"pullMax",pullMin:"pullMin",snapbackDuration:"snapbackDuration"},ngContentSelectors:kt,decls:1,vars:0,template:function(r,i){1&r&&(At(),$t(0))},encapsulation:2,changeDetection:0})};return n=Nt([Lt({inputs:["closeDuration","disabled","mode","pullFactor","pullMax","pullMin","snapbackDuration"],methods:["complete","cancel","getProgress"]})],n),n})(),Ym=(()=>{let n=class pS{z;el;constructor(t,r,i){this.z=i,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||pS)(N(It),N(_t),N(dt))};static \u0275cmp=je({type:pS,selectors:[["ion-refresher-content"]],inputs:{pullingIcon:"pullingIcon",pullingText:"pullingText",refreshingSpinner:"refreshingSpinner",refreshingText:"refreshingText"},ngContentSelectors:kt,decls:1,vars:0,template:function(r,i){1&r&&(At(),$t(0))},encapsulation:2,changeDetection:0})};return n=Nt([Lt({inputs:["pullingIcon","pullingText","refreshingSpinner","refreshingText"]})],n),n})(),bD=(()=>{let n=class _S{z;el;constructor(t,r,i){this.z=i,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||_S)(N(It),N(_t),N(dt))};static \u0275cmp=je({type:_S,selectors:[["ion-ripple-effect"]],inputs:{type:"type"},ngContentSelectors:kt,decls:1,vars:0,template:function(r,i){1&r&&(At(),$t(0))},encapsulation:2,changeDetection:0})};return n=Nt([Lt({inputs:["type"],methods:["addRipple"]})],n),n})(),fi=(()=>{let n=class vS{z;el;constructor(t,r,i){this.z=i,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||vS)(N(It),N(_t),N(dt))};static \u0275cmp=je({type:vS,selectors:[["ion-row"]],ngContentSelectors:kt,decls:1,vars:0,template:function(r,i){1&r&&(At(),$t(0))},encapsulation:2,changeDetection:0})};return n=Nt([Lt({})],n),n})(),su=(()=>{let n=class yS{z;el;constructor(t,r,i){this.z=i,t.detach(),this.el=r.nativeElement,ao(this,this.el,["ionInput","ionChange","ionCancel","ionClear","ionBlur","ionFocus"])}static \u0275fac=function(r){return new(r||yS)(N(It),N(_t),N(dt))};static \u0275cmp=je({type:yS,selectors:[["ion-searchbar"]],inputs:{animated:"animated",autocapitalize:"autocapitalize",autocomplete:"autocomplete",autocorrect:"autocorrect",cancelButtonIcon:"cancelButtonIcon",cancelButtonText:"cancelButtonText",clearIcon:"clearIcon",color:"color",debounce:"debounce",disabled:"disabled",enterkeyhint:"enterkeyhint",inputmode:"inputmode",maxlength:"maxlength",minlength:"minlength",mode:"mode",name:"name",placeholder:"placeholder",searchIcon:"searchIcon",showCancelButton:"showCancelButton",showClearButton:"showClearButton",spellcheck:"spellcheck",type:"type",value:"value"},ngContentSelectors:kt,decls:1,vars:0,template:function(r,i){1&r&&(At(),$t(0))},encapsulation:2,changeDetection:0})};return n=Nt([Lt({inputs:["animated","autocapitalize","autocomplete","autocorrect","cancelButtonIcon","cancelButtonText","clearIcon","color","debounce","disabled","enterkeyhint","inputmode","maxlength","minlength","mode","name","placeholder","searchIcon","showCancelButton","showClearButton","spellcheck","type","value"],methods:["setFocus","getInputElement"]})],n),n})(),Hy=(()=>{let n=class bS{z;el;constructor(t,r,i){this.z=i,t.detach(),this.el=r.nativeElement,ao(this,this.el,["ionChange"])}static \u0275fac=function(r){return new(r||bS)(N(It),N(_t),N(dt))};static \u0275cmp=je({type:bS,selectors:[["ion-segment"]],inputs:{color:"color",disabled:"disabled",mode:"mode",scrollable:"scrollable",selectOnFocus:"selectOnFocus",swipeGesture:"swipeGesture",value:"value"},ngContentSelectors:kt,decls:1,vars:0,template:function(r,i){1&r&&(At(),$t(0))},encapsulation:2,changeDetection:0})};return n=Nt([Lt({inputs:["color","disabled","mode","scrollable","selectOnFocus","swipeGesture","value"]})],n),n})(),jy=(()=>{let n=class SS{z;el;constructor(t,r,i){this.z=i,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||SS)(N(It),N(_t),N(dt))};static \u0275cmp=je({type:SS,selectors:[["ion-segment-button"]],inputs:{disabled:"disabled",layout:"layout",mode:"mode",type:"type",value:"value"},ngContentSelectors:kt,decls:1,vars:0,template:function(r,i){1&r&&(At(),$t(0))},encapsulation:2,changeDetection:0})};return n=Nt([Lt({inputs:["disabled","layout","mode","type","value"]})],n),n})(),Gy=(()=>{let n=class CS{z;el;constructor(t,r,i){this.z=i,t.detach(),this.el=r.nativeElement,ao(this,this.el,["ionChange","ionCancel","ionDismiss","ionFocus","ionBlur"])}static \u0275fac=function(r){return new(r||CS)(N(It),N(_t),N(dt))};static \u0275cmp=je({type:CS,selectors:[["ion-select"]],inputs:{cancelText:"cancelText",color:"color",compareWith:"compareWith",disabled:"disabled",expandedIcon:"expandedIcon",fill:"fill",interface:"interface",interfaceOptions:"interfaceOptions",justify:"justify",label:"label",labelPlacement:"labelPlacement",mode:"mode",multiple:"multiple",name:"name",okText:"okText",placeholder:"placeholder",selectedText:"selectedText",shape:"shape",toggleIcon:"toggleIcon",value:"value"},ngContentSelectors:kt,decls:1,vars:0,template:function(r,i){1&r&&(At(),$t(0))},encapsulation:2,changeDetection:0})};return n=Nt([Lt({inputs:["cancelText","color","compareWith","disabled","expandedIcon","fill","interface","interfaceOptions","justify","label","labelPlacement","mode","multiple","name","okText","placeholder","selectedText","shape","toggleIcon","value"],methods:["open"]})],n),n})(),Wy=(()=>{let n=class TS{z;el;constructor(t,r,i){this.z=i,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||TS)(N(It),N(_t),N(dt))};static \u0275cmp=je({type:TS,selectors:[["ion-select-option"]],inputs:{disabled:"disabled",value:"value"},ngContentSelectors:kt,decls:1,vars:0,template:function(r,i){1&r&&(At(),$t(0))},encapsulation:2,changeDetection:0})};return n=Nt([Lt({inputs:["disabled","value"]})],n),n})(),Km=(()=>{let n=class ES{z;el;constructor(t,r,i){this.z=i,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||ES)(N(It),N(_t),N(dt))};static \u0275cmp=je({type:ES,selectors:[["ion-spinner"]],inputs:{color:"color",duration:"duration",name:"name",paused:"paused"},ngContentSelectors:kt,decls:1,vars:0,template:function(r,i){1&r&&(At(),$t(0))},encapsulation:2,changeDetection:0})};return n=Nt([Lt({inputs:["color","duration","name","paused"]})],n),n})(),SD=(()=>{let n=class DS{z;el;constructor(t,r,i){this.z=i,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||DS)(N(It),N(_t),N(dt))};static \u0275cmp=je({type:DS,selectors:[["ion-tab"]],inputs:{component:"component",tab:"tab"},ngContentSelectors:kt,decls:1,vars:0,template:function(r,i){1&r&&(At(),$t(0))},encapsulation:2,changeDetection:0})};return n=Nt([Lt({inputs:["component","tab"],methods:["setActive"]})],n),n})(),Xm=(()=>{let n=class PS{z;el;constructor(t,r,i){this.z=i,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||PS)(N(It),N(_t),N(dt))};static \u0275cmp=je({type:PS,selectors:[["ion-tab-bar"]],inputs:{color:"color",mode:"mode",selectedTab:"selectedTab",translucent:"translucent"},ngContentSelectors:kt,decls:1,vars:0,template:function(r,i){1&r&&(At(),$t(0))},encapsulation:2,changeDetection:0})};return n=Nt([Lt({inputs:["color","mode","selectedTab","translucent"]})],n),n})(),CD=(()=>{let n=class MS{z;el;constructor(t,r,i){this.z=i,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||MS)(N(It),N(_t),N(dt))};static \u0275cmp=je({type:MS,selectors:[["ion-tab-button"]],inputs:{disabled:"disabled",download:"download",href:"href",layout:"layout",mode:"mode",rel:"rel",selected:"selected",tab:"tab",target:"target"},ngContentSelectors:kt,decls:1,vars:0,template:function(r,i){1&r&&(At(),$t(0))},encapsulation:2,changeDetection:0})};return n=Nt([Lt({inputs:["disabled","download","href","layout","mode","rel","selected","tab","target"]})],n),n})(),Ks=(()=>{let n=class $S{z;el;constructor(t,r,i){this.z=i,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||$S)(N(It),N(_t),N(dt))};static \u0275cmp=je({type:$S,selectors:[["ion-text"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:kt,decls:1,vars:0,template:function(r,i){1&r&&(At(),$t(0))},encapsulation:2,changeDetection:0})};return n=Nt([Lt({inputs:["color","mode"]})],n),n})(),qy=(()=>{let n=class AS{z;el;constructor(t,r,i){this.z=i,t.detach(),this.el=r.nativeElement,ao(this,this.el,["ionChange","ionInput","ionBlur","ionFocus"])}static \u0275fac=function(r){return new(r||AS)(N(It),N(_t),N(dt))};static \u0275cmp=je({type:AS,selectors:[["ion-textarea"]],inputs:{autoGrow:"autoGrow",autocapitalize:"autocapitalize",autofocus:"autofocus",clearOnEdit:"clearOnEdit",color:"color",cols:"cols",counter:"counter",counterFormatter:"counterFormatter",debounce:"debounce",disabled:"disabled",enterkeyhint:"enterkeyhint",errorText:"errorText",fill:"fill",helperText:"helperText",inputmode:"inputmode",label:"label",labelPlacement:"labelPlacement",maxlength:"maxlength",minlength:"minlength",mode:"mode",name:"name",placeholder:"placeholder",readonly:"readonly",required:"required",rows:"rows",shape:"shape",spellcheck:"spellcheck",value:"value",wrap:"wrap"},ngContentSelectors:kt,decls:1,vars:0,template:function(r,i){1&r&&(At(),$t(0))},encapsulation:2,changeDetection:0})};return n=Nt([Lt({inputs:["autoGrow","autocapitalize","autofocus","clearOnEdit","color","cols","counter","counterFormatter","debounce","disabled","enterkeyhint","errorText","fill","helperText","inputmode","label","labelPlacement","maxlength","minlength","mode","name","placeholder","readonly","required","rows","shape","spellcheck","value","wrap"],methods:["setFocus","getInputElement"]})],n),n})(),An=(()=>{let n=class xS{z;el;constructor(t,r,i){this.z=i,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||xS)(N(It),N(_t),N(dt))};static \u0275cmp=je({type:xS,selectors:[["ion-title"]],inputs:{color:"color",size:"size"},ngContentSelectors:kt,decls:1,vars:0,template:function(r,i){1&r&&(At(),$t(0))},encapsulation:2,changeDetection:0})};return n=Nt([Lt({inputs:["color","size"]})],n),n})(),In=(()=>{let n=class RS{z;el;constructor(t,r,i){this.z=i,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||RS)(N(It),N(_t),N(dt))};static \u0275cmp=je({type:RS,selectors:[["ion-toolbar"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:kt,decls:1,vars:0,template:function(r,i){1&r&&(At(),$t(0))},encapsulation:2,changeDetection:0})};return n=Nt([Lt({inputs:["color","mode"]})],n),n})(),mf=(()=>{class n extends lD{parentOutlet;outletContent;constructor(t,r,i,s,u,p,m,v){super(t,r,i,s,u,p,m,v),this.parentOutlet=v}static \u0275fac=function(r){return new(r||n)(Ua("name"),Ua("tabs"),N(Sl),N(_t),N(Qo),N(dt),N(dr),N(n,12))};static \u0275cmp=je({type:n,selectors:[["ion-router-outlet"]],viewQuery:function(r,i){if(1&r&&di(VY,7,Gi),2&r){let s;ir(s=sr())&&(i.outletContent=s.first)}},features:[Dt],ngContentSelectors:kt,decls:3,vars:0,consts:[["outletContent",""]],template:function(r,i){1&r&&(At(),Xo(0,null,0),$t(2),Zo())},encapsulation:2})}return n})(),TD=(()=>{class n extends AY{outlet;tabBar;tabBars;tabs;static \u0275fac=(()=>{let t;return function(i){return(t||(t=jo(n)))(i||n)}})();static \u0275cmp=je({type:n,selectors:[["ion-tabs"]],contentQueries:function(r,i,s){if(1&r&&(cc(s,Xm,5),cc(s,Xm,4),cc(s,SD,4)),2&r){let u;ir(u=sr())&&(i.tabBar=u.first),ir(u=sr())&&(i.tabBars=u),ir(u=sr())&&(i.tabs=u)}},viewQuery:function(r,i){if(1&r&&di(HY,5,mf),2&r){let s;ir(s=sr())&&(i.outlet=s.first)}},features:[Dt],ngContentSelectors:GY,decls:6,vars:2,consts:[["tabsInner",""],["outlet",""],[1,"tabs-inner"],["tabs","true",3,"stackWillChange","stackDidChange",4,"ngIf"],[4,"ngIf"],["tabs","true",3,"stackWillChange","stackDidChange"]],template:function(r,i){1&r&&(At(jY),$t(0),I(1,"div",2,0),se(3,WY,2,0,"ion-router-outlet",3)(4,qY,1,0,"ng-content",4),E(),$t(5,1)),2&r&&(C(3),P("ngIf",0===i.tabs.length),C(),P("ngIf",i.tabs.length>0))},dependencies:[Gt,mf],styles:["[_nghost-%COMP%]{display:flex;position:absolute;inset:0;flex-direction:column;width:100%;height:100%;contain:layout size style}.tabs-inner[_ngcontent-%COMP%]{position:relative;flex:1;contain:layout size style}"]})}return n})();const $K={provide:Kr,useExisting:ee(()=>Yy),multi:!0};let Yy=(()=>{class n extends ry{static \u0275fac=(()=>{let t;return function(i){return(t||(t=jo(n)))(i||n)}})();static \u0275dir=Yt({type:n,selectors:[["ion-input","type","number","max","","formControlName",""],["ion-input","type","number","max","","formControl",""],["ion-input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(r,i){2&r&&ys("max",i._enabled?i.max:null)},features:[mo([$K]),Dt]})}return n})();const AK={provide:Kr,useExisting:ee(()=>wD),multi:!0};let wD=(()=>{class n extends iy{static \u0275fac=(()=>{let t;return function(i){return(t||(t=jo(n)))(i||n)}})();static \u0275dir=Yt({type:n,selectors:[["ion-input","type","number","min","","formControlName",""],["ion-input","type","number","min","","formControl",""],["ion-input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(r,i){2&r&&ys("min",i._enabled?i.min:null)},features:[mo([AK]),Dt]})}return n})(),_f=(()=>{class n extends gf{constructor(){super(ff.a)}static \u0275fac=function(r){return new(r||n)};static \u0275prov=St({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),ED=(()=>{class n extends gf{constructor(){super(ff.b)}static \u0275fac=function(r){return new(r||n)};static \u0275prov=St({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Ky=(()=>{class n extends gf{constructor(){super(ff.l)}static \u0275fac=function(r){return new(r||n)};static \u0275prov=St({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),NK=(()=>{class n extends Qq{constructor(){super(LY.m)}static \u0275fac=function(r){return new(r||n)};static \u0275prov=St({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Wr=(()=>{class n extends gf{angularDelegate=rt(uf);injector=rt(Ht);environmentInjector=rt($r);constructor(){super(ff.m)}create(t){return super.create({...t,delegate:this.angularDelegate.create(this.environmentInjector,this.injector,"modal")})}static \u0275fac=function(r){return new(r||n)};static \u0275prov=St({token:n,factory:n.\u0275fac})}return n})();class au extends gf{angularDelegate=rt(uf);injector=rt(Ht);environmentInjector=rt($r);constructor(){super(ff.c)}create(o){return super.create({...o,delegate:this.angularDelegate.create(this.environmentInjector,this.injector,"popover")})}}const xK=(n,o,t)=>()=>{const r=o.defaultView;if(r&&typeof window<"u"){(0,RY.s)({...n,_zoneGate:s=>t.run(s)});const i="__zone_symbol__addEventListener"in o.body?"__zone_symbol__addEventListener":"addEventListener";return function BY(){var n=[];if(typeof window<"u"){var o=window;(!o.customElements||o.Element&&(!o.Element.prototype.closest||!o.Element.prototype.matches||!o.Element.prototype.remove||!o.Element.prototype.getRootNode))&&n.push(_.e(7278).then(_.t.bind(_,2190,23))),("function"!=typeof Object.assign||!Object.entries||!Array.prototype.find||!Array.prototype.includes||!String.prototype.startsWith||!String.prototype.endsWith||o.NodeList&&!o.NodeList.prototype.forEach||!o.fetch||!function(){try{var r=new URL("b","http://a");return r.pathname="c%20d","http://a/c%20d"===r.href&&r.searchParams}catch{return!1}}()||typeof WeakMap>"u")&&n.push(_.e(9329).then(_.t.bind(_,7783,23)))}return Promise.all(n)}().then(()=>zY(r,{exclude:["ion-tabs"],syncQueue:!0,raf:dD,jmp:s=>t.runOutsideAngular(s),ael(s,u,p,m){s[i](u,p,m)},rel(s,u,p,m){s.removeEventListener(u,p,m)}}))}};let _o=(()=>{class n{static forRoot(t={}){return{ngModule:n,providers:[{provide:xy,useValue:t},{provide:Ih,useFactory:xK,multi:!0,deps:[xy,ui,dt]},uf,{provide:cD,useFactory:TY,deps:[Qo]}]}}static \u0275fac=function(r){return new(r||n)};static \u0275mod=bn({type:n});static \u0275inj=mn({providers:[Wr,au],imports:[po]})}return n})();class Zm{}class Qm{}class ls{constructor(o){this.normalizedNames=new Map,this.lazyUpdate=null,o?"string"==typeof o?this.lazyInit=()=>{this.headers=new Map,o.split("\n").forEach(t=>{const r=t.indexOf(":");if(r>0){const i=t.slice(0,r),s=i.toLowerCase(),u=t.slice(r+1).trim();this.maybeSetNormalizedName(i,s),this.headers.has(s)?this.headers.get(s).push(u):this.headers.set(s,[u])}})}:typeof Headers<"u"&&o instanceof Headers?(this.headers=new Map,o.forEach((t,r)=>{this.setHeaderEntries(r,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(o).forEach(([t,r])=>{this.setHeaderEntries(t,r)})}:this.headers=new Map}has(o){return this.init(),this.headers.has(o.toLowerCase())}get(o){this.init();const t=this.headers.get(o.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(o){return this.init(),this.headers.get(o.toLowerCase())||null}append(o,t){return this.clone({name:o,value:t,op:"a"})}set(o,t){return this.clone({name:o,value:t,op:"s"})}delete(o,t){return this.clone({name:o,value:t,op:"d"})}maybeSetNormalizedName(o,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,o)}init(){this.lazyInit&&(this.lazyInit instanceof ls?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(o=>this.applyUpdate(o)),this.lazyUpdate=null))}copyFrom(o){o.init(),Array.from(o.headers.keys()).forEach(t=>{this.headers.set(t,o.headers.get(t)),this.normalizedNames.set(t,o.normalizedNames.get(t))})}clone(o){const t=new ls;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof ls?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([o]),t}applyUpdate(o){const t=o.name.toLowerCase();switch(o.op){case"a":case"s":let r=o.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(o.name,t);const i=("a"===o.op?this.headers.get(t):void 0)||[];i.push(...r),this.headers.set(t,i);break;case"d":const s=o.value;if(s){let u=this.headers.get(t);if(!u)return;u=u.filter(p=>-1===s.indexOf(p)),0===u.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,u)}else this.headers.delete(t),this.normalizedNames.delete(t)}}setHeaderEntries(o,t){const r=(Array.isArray(t)?t:[t]).map(s=>s.toString()),i=o.toLowerCase();this.headers.set(i,r),this.maybeSetNormalizedName(o,i)}forEach(o){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>o(this.normalizedNames.get(t),this.headers.get(t)))}}class OK{encodeKey(o){return ID(o)}encodeValue(o){return ID(o)}decodeKey(o){return decodeURIComponent(o)}decodeValue(o){return decodeURIComponent(o)}}const RK=/%(\d[a-f0-9])/gi,LK={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ID(n){return encodeURIComponent(n).replace(RK,(o,t)=>LK[t]??o)}function Jm(n){return`${n}`}class Ml{constructor(o={}){if(this.updates=null,this.cloneFrom=null,this.encoder=o.encoder||new OK,o.fromString){if(o.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function kK(n,o){const t=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(i=>{const s=i.indexOf("="),[u,p]=-1==s?[o.decodeKey(i),""]:[o.decodeKey(i.slice(0,s)),o.decodeValue(i.slice(s+1))],m=t.get(u)||[];m.push(p),t.set(u,m)}),t}(o.fromString,this.encoder)}else o.fromObject?(this.map=new Map,Object.keys(o.fromObject).forEach(t=>{const r=o.fromObject[t],i=Array.isArray(r)?r.map(Jm):[Jm(r)];this.map.set(t,i)})):this.map=null}has(o){return this.init(),this.map.has(o)}get(o){this.init();const t=this.map.get(o);return t?t[0]:null}getAll(o){return this.init(),this.map.get(o)||null}keys(){return this.init(),Array.from(this.map.keys())}append(o,t){return this.clone({param:o,value:t,op:"a"})}appendAll(o){const t=[];return Object.keys(o).forEach(r=>{const i=o[r];Array.isArray(i)?i.forEach(s=>{t.push({param:r,value:s,op:"a"})}):t.push({param:r,value:i,op:"a"})}),this.clone(t)}set(o,t){return this.clone({param:o,value:t,op:"s"})}delete(o,t){return this.clone({param:o,value:t,op:"d"})}toString(){return this.init(),this.keys().map(o=>{const t=this.encoder.encodeKey(o);return this.map.get(o).map(r=>t+"="+this.encoder.encodeValue(r)).join("&")}).filter(o=>""!==o).join("&")}clone(o){const t=new Ml({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(o),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(o=>this.map.set(o,this.cloneFrom.map.get(o))),this.updates.forEach(o=>{switch(o.op){case"a":case"s":const t=("a"===o.op?this.map.get(o.param):void 0)||[];t.push(Jm(o.value)),this.map.set(o.param,t);break;case"d":if(void 0===o.value){this.map.delete(o.param);break}{let r=this.map.get(o.param)||[];const i=r.indexOf(Jm(o.value));-1!==i&&r.splice(i,1),r.length>0?this.map.set(o.param,r):this.map.delete(o.param)}}}),this.cloneFrom=this.updates=null)}}class FK{constructor(){this.map=new Map}set(o,t){return this.map.set(o,t),this}get(o){return this.map.has(o)||this.map.set(o,o.defaultValue()),this.map.get(o)}delete(o){return this.map.delete(o),this}has(o){return this.map.has(o)}keys(){return this.map.keys()}}function DD(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function PD(n){return typeof Blob<"u"&&n instanceof Blob}function MD(n){return typeof FormData<"u"&&n instanceof FormData}class vf{constructor(o,t,r,i){let s;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=o.toUpperCase(),function BK(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==r?r:null,s=i):s=r,s&&(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.context&&(this.context=s.context),s.params&&(this.params=s.params),this.transferCache=s.transferCache),this.headers??=new ls,this.context??=new FK,this.params){const u=this.params.toString();if(0===u.length)this.urlWithParams=t;else{const p=t.indexOf("?");this.urlWithParams=t+(-1===p?"?":p<t.length-1?"&":"")+u}}else this.params=new Ml,this.urlWithParams=t}serializeBody(){return null===this.body?null:"string"==typeof this.body||DD(this.body)||PD(this.body)||MD(this.body)||function UK(n){return typeof URLSearchParams<"u"&&n instanceof URLSearchParams}(this.body)?this.body:this.body instanceof Ml?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||MD(this.body)?null:PD(this.body)?this.body.type||null:DD(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Ml?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(o={}){const t=o.method||this.method,r=o.url||this.url,i=o.responseType||this.responseType,s=o.transferCache??this.transferCache,u=void 0!==o.body?o.body:this.body,p=o.withCredentials??this.withCredentials,m=o.reportProgress??this.reportProgress;let v=o.headers||this.headers,S=o.params||this.params;const T=o.context??this.context;return void 0!==o.setHeaders&&(v=Object.keys(o.setHeaders).reduce((D,$)=>D.set($,o.setHeaders[$]),v)),o.setParams&&(S=Object.keys(o.setParams).reduce((D,$)=>D.set($,o.setParams[$]),S)),new vf(t,r,u,{params:S,headers:v,context:T,reportProgress:m,responseType:i,withCredentials:p,transferCache:s})}}var $l=function(n){return n[n.Sent=0]="Sent",n[n.UploadProgress=1]="UploadProgress",n[n.ResponseHeader=2]="ResponseHeader",n[n.DownloadProgress=3]="DownloadProgress",n[n.Response=4]="Response",n[n.User=5]="User",n}($l||{});class Xy{constructor(o,t=200,r="OK"){this.headers=o.headers||new ls,this.status=void 0!==o.status?o.status:t,this.statusText=o.statusText||r,this.url=o.url||null,this.ok=this.status>=200&&this.status<300}}class e1 extends Xy{constructor(o={}){super(o),this.type=$l.ResponseHeader}clone(o={}){return new e1({headers:o.headers||this.headers,status:void 0!==o.status?o.status:this.status,statusText:o.statusText||this.statusText,url:o.url||this.url||void 0})}}class Ec extends Xy{constructor(o={}){super(o),this.type=$l.Response,this.body=void 0!==o.body?o.body:null}clone(o={}){return new Ec({body:void 0!==o.body?o.body:this.body,headers:o.headers||this.headers,status:void 0!==o.status?o.status:this.status,statusText:o.statusText||this.statusText,url:o.url||this.url||void 0})}}class lu extends Xy{constructor(o){super(o,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${o.url||"(unknown url)"}`:`Http failure response for ${o.url||"(unknown url)"}: ${o.status} ${o.statusText}`,this.error=o.error||null}}function Zy(n,o){return{body:o,headers:n.headers,context:n.context,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials,transferCache:n.transferCache}}let AD=(()=>{class n{constructor(t){this.handler=t}request(t,r,i={}){let s;if(t instanceof vf)s=t;else{let m,v;m=i.headers instanceof ls?i.headers:new ls(i.headers),i.params&&(v=i.params instanceof Ml?i.params:new Ml({fromObject:i.params})),s=new vf(t,r,void 0!==i.body?i.body:null,{headers:m,context:i.context,params:v,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache})}const u=jt(s).pipe(Wd(m=>this.handler.handle(m)));if(t instanceof vf||"events"===i.observe)return u;const p=u.pipe(Gs(m=>m instanceof Ec));switch(i.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return p.pipe(rn(m=>{if(null!==m.body&&!(m.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return m.body}));case"blob":return p.pipe(rn(m=>{if(null!==m.body&&!(m.body instanceof Blob))throw new Error("Response is not a Blob.");return m.body}));case"text":return p.pipe(rn(m=>{if(null!==m.body&&"string"!=typeof m.body)throw new Error("Response is not a string.");return m.body}));default:return p.pipe(rn(m=>m.body))}case"response":return p;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(t,r={}){return this.request("DELETE",t,r)}get(t,r={}){return this.request("GET",t,r)}head(t,r={}){return this.request("HEAD",t,r)}jsonp(t,r){return this.request("JSONP",t,{params:(new Ml).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,r={}){return this.request("OPTIONS",t,r)}patch(t,r,i={}){return this.request("PATCH",t,Zy(i,r))}post(t,r,i={}){return this.request("POST",t,Zy(i,r))}put(t,r,i={}){return this.request("PUT",t,Zy(i,r))}static{this.\u0275fac=function(r){return new(r||n)(Tt(Zm))}}static{this.\u0275prov=St({token:n,factory:n.\u0275fac})}}return n})();const HK=/^\)\]\}',?\n/;function ND(n){if(n.url)return n.url;const o="X-Request-URL".toLocaleLowerCase();return n.headers.get(o)}let Qy=(()=>{class n{constructor(){this.fetchImpl=rt(GK,{optional:!0})?.fetch??((...t)=>globalThis.fetch(...t)),this.ngZone=rt(dt)}handle(t){return new bo(r=>{const i=new AbortController;return this.doRequest(t,i.signal,r).then(Jy,s=>r.error(new lu({error:s}))),()=>i.abort()})}doRequest(t,r,i){var s=this;return(0,Ge.A)(function*(){const u=s.createRequestInit(t);let p;try{const x=s.ngZone.runOutsideAngular(()=>s.fetchImpl(t.urlWithParams,{signal:r,...u}));(function WK(n){n.then(Jy,Jy)})(x),i.next({type:$l.Sent}),p=yield x}catch(x){return void i.error(new lu({error:x,status:x.status??0,statusText:x.statusText,url:t.urlWithParams,headers:x.headers}))}const m=new ls(p.headers),v=p.statusText,S=ND(p)??t.urlWithParams;let T=p.status,D=null;if(t.reportProgress&&i.next(new e1({headers:m,status:T,statusText:v,url:S})),p.body){const x=p.headers.get("content-length"),k=[],B=p.body.getReader();let L,H,G=0;const ge=typeof Zone<"u"&&Zone.current;yield s.ngZone.runOutsideAngular((0,Ge.A)(function*(){for(;;){const{done:He,value:ze}=yield B.read();if(He)break;if(k.push(ze),G+=ze.length,t.reportProgress){H="text"===t.responseType?(H??"")+(L??=new TextDecoder).decode(ze,{stream:!0}):void 0;const lt=()=>i.next({type:$l.DownloadProgress,total:x?+x:void 0,loaded:G,partialText:H});ge?ge.run(lt):lt()}}}));const Fe=s.concatChunks(k,G);try{const He=p.headers.get("Content-Type")??"";D=s.parseBody(t,Fe,He)}catch(He){return void i.error(new lu({error:He,headers:new ls(p.headers),status:p.status,statusText:p.statusText,url:ND(p)??t.urlWithParams}))}}0===T&&(T=D?200:0),T>=200&&T<300?(i.next(new Ec({body:D,headers:m,status:T,statusText:v,url:S})),i.complete()):i.error(new lu({error:D,headers:m,status:T,statusText:v,url:S}))})()}parseBody(t,r,i){switch(t.responseType){case"json":const s=(new TextDecoder).decode(r).replace(HK,"");return""===s?null:JSON.parse(s);case"text":return(new TextDecoder).decode(r);case"blob":return new Blob([r],{type:i});case"arraybuffer":return r.buffer}}createRequestInit(t){const r={},i=t.withCredentials?"include":void 0;if(t.headers.forEach((s,u)=>r[s]=u.join(",")),t.headers.has("Accept")||(r.Accept="application/json, text/plain, */*"),!t.headers.has("Content-Type")){const s=t.detectContentTypeHeader();null!==s&&(r["Content-Type"]=s)}return{body:t.serializeBody(),method:t.method,headers:r,credentials:i}}concatChunks(t,r){const i=new Uint8Array(r);let s=0;for(const u of t)i.set(u,s),s+=u.length;return i}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275prov=St({token:n,factory:n.\u0275fac})}}return n})();class GK{}function Jy(){}function xD(n,o){return o(n)}function qK(n,o){return(t,r)=>o.intercept(t,{handle:i=>n(i,r)})}const KK=new Pt(""),yf=new Pt(""),OD=new Pt(""),kD=new Pt("",{providedIn:"root",factory:()=>!0});function XK(){let n=null;return(o,t)=>{null===n&&(n=(rt(KK,{optional:!0})??[]).reduceRight(qK,xD));const r=rt(za);if(rt(kD)){const s=r.add();return n(o,t).pipe(Ca(()=>r.remove(s)))}return n(o,t)}}let RD=(()=>{class n extends Zm{constructor(t,r){super(),this.backend=t,this.injector=r,this.chain=null,this.pendingTasks=rt(za),this.contributeToStability=rt(kD)}handle(t){if(null===this.chain){const r=Array.from(new Set([...this.injector.get(yf),...this.injector.get(OD,[])]));this.chain=r.reduceRight((i,s)=>function YK(n,o,t){return(r,i)=>la(t,()=>o(r,s=>n(s,i)))}(i,s,this.injector),xD)}if(this.contributeToStability){const r=this.pendingTasks.add();return this.chain(t,i=>this.backend.handle(i)).pipe(Ca(()=>this.pendingTasks.remove(r)))}return this.chain(t,r=>this.backend.handle(r))}static{this.\u0275fac=function(r){return new(r||n)(Tt(Qm),Tt($r))}}static{this.\u0275prov=St({token:n,factory:n.\u0275fac})}}return n})();const tX=/^\)\]\}',?\n/;let FD=(()=>{class n{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new Ve(-2800,!1);const r=this.xhrFactory;return(r.\u0275loadImpl?io(r.\u0275loadImpl()):jt(null)).pipe(so(()=>new bo(s=>{const u=r.build();if(u.open(t.method,t.urlWithParams),t.withCredentials&&(u.withCredentials=!0),t.headers.forEach((k,B)=>u.setRequestHeader(k,B.join(","))),t.headers.has("Accept")||u.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const k=t.detectContentTypeHeader();null!==k&&u.setRequestHeader("Content-Type",k)}if(t.responseType){const k=t.responseType.toLowerCase();u.responseType="json"!==k?k:"text"}const p=t.serializeBody();let m=null;const v=()=>{if(null!==m)return m;const k=u.statusText||"OK",B=new ls(u.getAllResponseHeaders()),G=function nX(n){return"responseURL"in n&&n.responseURL?n.responseURL:/^X-Request-URL:/m.test(n.getAllResponseHeaders())?n.getResponseHeader("X-Request-URL"):null}(u)||t.url;return m=new e1({headers:B,status:u.status,statusText:k,url:G}),m},S=()=>{let{headers:k,status:B,statusText:G,url:L}=v(),H=null;204!==B&&(H=typeof u.response>"u"?u.responseText:u.response),0===B&&(B=H?200:0);let ge=B>=200&&B<300;if("json"===t.responseType&&"string"==typeof H){const Fe=H;H=H.replace(tX,"");try{H=""!==H?JSON.parse(H):null}catch(He){H=Fe,ge&&(ge=!1,H={error:He,text:H})}}ge?(s.next(new Ec({body:H,headers:k,status:B,statusText:G,url:L||void 0})),s.complete()):s.error(new lu({error:H,headers:k,status:B,statusText:G,url:L||void 0}))},T=k=>{const{url:B}=v(),G=new lu({error:k,status:u.status||0,statusText:u.statusText||"Unknown Error",url:B||void 0});s.error(G)};let D=!1;const $=k=>{D||(s.next(v()),D=!0);let B={type:$l.DownloadProgress,loaded:k.loaded};k.lengthComputable&&(B.total=k.total),"text"===t.responseType&&u.responseText&&(B.partialText=u.responseText),s.next(B)},x=k=>{let B={type:$l.UploadProgress,loaded:k.loaded};k.lengthComputable&&(B.total=k.total),s.next(B)};return u.addEventListener("load",S),u.addEventListener("error",T),u.addEventListener("timeout",T),u.addEventListener("abort",T),t.reportProgress&&(u.addEventListener("progress",$),null!==p&&u.upload&&u.upload.addEventListener("progress",x)),u.send(p),s.next({type:$l.Sent}),()=>{u.removeEventListener("error",T),u.removeEventListener("abort",T),u.removeEventListener("load",S),u.removeEventListener("timeout",T),t.reportProgress&&(u.removeEventListener("progress",$),null!==p&&u.upload&&u.upload.removeEventListener("progress",x)),u.readyState!==u.DONE&&u.abort()}})))}static{this.\u0275fac=function(r){return new(r||n)(Tt(QE))}}static{this.\u0275prov=St({token:n,factory:n.\u0275fac})}}return n})();const eb=new Pt(""),BD=new Pt("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),UD=new Pt("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class zD{}let iX=(()=>{class n{constructor(t,r,i){this.doc=t,this.platform=r,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=jE(t,this.cookieName),this.lastCookieString=t),this.lastToken}static{this.\u0275fac=function(r){return new(r||n)(Tt(ui),Tt(ha),Tt(BD))}}static{this.\u0275prov=St({token:n,factory:n.\u0275fac})}}return n})();function sX(n,o){const t=n.url.toLowerCase();if(!rt(eb)||"GET"===n.method||"HEAD"===n.method||t.startsWith("http://")||t.startsWith("https://"))return o(n);const r=rt(zD).getToken(),i=rt(UD);return null!=r&&!n.headers.has(i)&&(n=n.clone({headers:n.headers.set(i,r)})),o(n)}var Al=function(n){return n[n.Interceptors=0]="Interceptors",n[n.LegacyInterceptors=1]="LegacyInterceptors",n[n.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",n[n.NoXsrfProtection=3]="NoXsrfProtection",n[n.JsonpSupport=4]="JsonpSupport",n[n.RequestsMadeViaParent=5]="RequestsMadeViaParent",n[n.Fetch=6]="Fetch",n}(Al||{});function Ic(n,o){return{\u0275kind:n,\u0275providers:o}}function aX(...n){const o=[AD,FD,RD,{provide:Zm,useExisting:RD},{provide:Qm,useFactory:()=>rt(Qy,{optional:!0})??rt(FD)},{provide:yf,useValue:sX,multi:!0},{provide:eb,useValue:!0},{provide:zD,useClass:iX}];for(const t of n)o.push(...t.\u0275providers);return function Eu(n){return{\u0275providers:n}}(o)}const VD=new Pt("");let cX=(()=>{class n{static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275mod=bn({type:n})}static{this.\u0275inj=mn({providers:[aX(Ic(Al.LegacyInterceptors,[{provide:VD,useFactory:XK},{provide:yf,useExisting:VD,multi:!0}]))]})}}return n})();const Er_baseUrl="https://bs-api-customers.azurewebsites.net/";var vX=_(119),n1=_.n(vX);const cu={SecureStorage:"ionicSecureStorage",IndexedDB:n1().INDEXEDDB,LocalStorage:n1().LOCALSTORAGE},XD={name:"_ionicstorage",storeName:"_ionickv",dbKey:"_ionickey",driverOrder:[cu.SecureStorage,cu.IndexedDB,cu.LocalStorage]};class o1{constructor(o=XD){this._db=null,this._secureStorageDriver=null;const t=Object.assign({},XD,o||{});this._config=t}create(){var o=this;return(0,Ge.A)(function*(){const t=n1().createInstance(o._config);return o._db=t,yield t.setDriver(o._config.driverOrder||[]),o})()}defineDriver(o){var t=this;return(0,Ge.A)(function*(){return o._driver===cu.SecureStorage&&(t._secureStorageDriver=o),n1().defineDriver(o)})()}get driver(){var o;return(null===(o=this._db)||void 0===o?void 0:o.driver())||null}assertDb(){if(!this._db)throw new Error("Database not created. Must call create() first");return this._db}get(o){return this.assertDb().getItem(o)}set(o,t){return this.assertDb().setItem(o,t)}remove(o){return this.assertDb().removeItem(o)}clear(){return this.assertDb().clear()}length(){return this.assertDb().length()}keys(){return this.assertDb().keys()}forEach(o){return this.assertDb().iterate(o)}setEncryptionKey(o){var t;if(!this._secureStorageDriver)throw new Error("@ionic-enterprise/secure-storage not installed. Encryption support not available");null===(t=this._secureStorageDriver)||void 0===t||t.setEncryptionKey(o)}}let Nl=(()=>{class n{storage;storageReady=new or(!1);inited=!1;constructor(t){this.storage=t,this.init()}init(){var t=this;return(0,Ge.A)(function*(){yield t.storage.create(),t.storageReady.next(!0),t.inited=!0})()}get(t,r=null){return this.inited?io(this.storage.get(t)):jt(r)}remove(t){return this.inited?this.storage.remove(t):jt(null)}set(t,r){return this.inited?io(this.storage.set(t,r)):jt(null)}static \u0275fac=function(r){return new(r||n)(Tt(o1))};static \u0275prov=St({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),xi=(()=>{class n{http;storage;constructor(t,r){this.http=t,this.storage=r}getHeader(){let t=new ls;return t=t.set("x-tenant",""),t}get(t){return io(this.storage.get("token")).pipe(so(r=>{let i=this.getHeader();return r&&r.length&&(i=i.set("x-user",r)),this.http.get(t,{headers:i})}))}getType(t){return io(this.storage.get("token")).pipe(so(r=>{let i=this.getHeader();return r&&r.length&&(i=i.set("x-user",r)),this.http.get(t,{headers:i})}))}post(t,r){return io(this.storage.get("token")).pipe(so(i=>{let s=this.getHeader();return i&&i.length&&(s=s.set("x-user",i)),this.http.post(t,r,{headers:s})}))}postType(t,r){return io(this.storage.get("token")).pipe(so(i=>{let s=this.getHeader();return i&&i.length&&(s=s.set("x-user",i)),this.http.post(t,r,{headers:s})}))}static \u0275fac=function(r){return new(r||n)(Tt(AD),Tt(Nl))};static \u0275prov=St({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();const bX={images:{background:{value:"https://barberly.azureedge.net/barberly/images/back-default.jpg",description:""},logo:{value:"https://barberly.azureedge.net/barberly/images/logo-default.png",description:""},icons:{about:{value:"barbershop-2",description:""},appointment:{value:"deadline",description:""},barber:{value:"barbers",description:""},dateandtime:{value:"deadline",description:""},home:{value:"pole",description:""},location:{value:"barbershop-pin",description:""},service:{value:"scissors",description:""},shop:{value:"cosmetic",description:""},loyalty:{value:"gift",description:""}}},theme:{primary:{value:"#ffffff",description:""},secondary:{value:"#000000",description:""},tertiary:{value:"#000000",description:""},medium:{value:"#989aa2",description:""},dark:{value:"#222428",description:""},light:{value:"#f4f5f8",description:""},success:{value:"#10dc60",description:""},warning:{value:"#ffce00",description:""},danger:{value:"#f04141",description:""}},screens:{tabs:{homeTab:{value:"Home",description:""},locationsTab:{value:"Locations",description:""},aboutTab:{value:"About",description:""}},welcome:{toolbarText:{value:"Welcome",description:""},appointmentsButtonText:{value:"Appointments",description:""},barbersButtonText:{value:"Barbers",description:""},servicesButtonText:{value:"Services",description:""},shopButtonText:{value:"Shop",description:""}},locations:{toolbarText:{value:"Barbershops",description:""},bookButtonText:{value:"Book",description:""},moreButtonText:{value:"More",description:""},searchPlaceholderText:{value:"Search",description:""}},location:{toolbarText:{value:"Barbershop",description:""},bookButtonText:{value:"Book Appointment",description:""},mondayText:{value:"Monday",description:""},tuesdayText:{value:"Tuesday",description:""},wednesdayText:{value:"Wednesday",description:""},thursdayText:{value:"Thursday",description:""},fridayText:{value:"Friday",description:""},saturdayText:{value:"Saturday",description:""},sundayText:{value:"Sunday",description:""},closedText:{value:"Closed",description:""}},about:{toolbarText:{value:"About",description:""}},services:{toolbarText:{value:"Services",description:""},searchPlaceholderText:{value:"Search",description:""},moreButtonText:{value:"More",description:""},bookButtonText:{value:"Book",description:""},notFoundText:{value:"No services are available for the provided criteria",description:""},notFoundCardTitle:{value:"No services found",description:""},notFoundCardSubtitle:{value:"No services are available for the provided criteria. Create an entry in the waiting list and receive a notification if the slot becomes available.",description:""},goToWaitingItemButtonText:{value:"To Waiting List",description:""},addOnsLabelText:{value:"Available Add-ons",description:""}},service:{toolbarText:{value:"Service",description:""},bookButtonText:{value:"Book",description:""}},barbers:{toolbarText:{value:"Barbers",description:""},searchPlaceholderText:{value:"Search",description:""},moreButtonText:{value:"More",description:""},bookButtonText:{value:"Book",description:""},notFoundText:{value:"No barbers are available for the provided criteria",description:""},notFoundCardTitle:{value:"No barbers found",description:""},notFoundCardSubtitle:{value:"No barbers are available for the provided criteria. Create an entry in the waiting list and receive a notification if the slot becomes available.",description:""},goToWaitingItemButtonText:{value:"To Waiting List",description:""},nextAvailableLabel:{value:"Next available",description:""}},barber:{bookButtonText:{value:"Book",description:""},lookbookButtonText:{value:"Lookbook",description:""}},bonuses:{toolbarText:{value:"Bonuses",description:""},pointsLabelText:{value:"My bonus points",description:""},pointsDescriptionText:{value:"Collect bonus points when making appointments and buying products",description:""}},bonus:{pointsLabelText:{value:"bonus points",description:""},qrCodeLabelText:{value:"Get the bonus",description:""},notEnoughPointsText:{value:"Not enough bonus points",description:""}},lookbook:{toolbarText:{value:"Lookbook",description:""}},appointments:{toolbarText:{value:"Appointments",description:""},upcomingLabelText:{value:"Upcoming",description:""},pastLabelText:{value:"Past",description:""},waitingListLabelText:{value:"Waiting List",description:""},detailsButtonText:{value:"Details",description:""},cancelButtonText:{value:"Cancel",description:""},feedbackButtonText:{value:"Feedback",description:""},optionAvailableCountText:{value:"Available options",description:""},noWaitingListTitleText:{value:"No Waiting List entries",description:""},noWaitingListSubtitleText:{value:"\u0421an't find the suitable time? Create an entry in the waiting list and receive a notification if the slot becomes available.",description:""},addWaitingListItemButtonText:{value:"Add Waiting List entry",description:""},noUpcommingBookingsTitle:{value:"No appointments found",description:""},noUpcommingBookingsText:{value:"You don't have any upcoming appointments. Or please login with the same phone number that you used to book the appointment.",description:""},noPastBookingsTitle:{value:"No past appointments",description:""},noPastBookingsText:{value:"You don't have any past appointments. Or please login with the same phone number that you used to book the appointment.",description:""},createBookingButtonText:{value:"Book appointment",description:""},changeNotAllowedWarningText:{value:"The appointment cannot be changed. Minimum change notice is:",description:""},notYetConfirmedWarningText:{value:"This is not an appointment yet. Please expect confirmation.",description:""}},appointment:{loginButtonText:{value:"Login",description:""},toolbarText:{value:"Appointment",description:""},locationSelectText:{value:"Location",description:""},barberSelectText:{value:"Barber",description:""},serviceSelectText:{value:"Service",description:""},datetimeSelectText:{value:"Date and time",description:""},nextButtonText:{value:"Next",description:""},bookButtonText:{value:"Book",description:""},updateButtonText:{value:"Update",description:""},payButtonText:{value:"Pay",description:""},cancelNoButton:{value:"No",description:""},cancelYesButton:{value:"Yes",description:""},cancelQuestionText:{value:"Cancel this appointment?",description:""},loginAndPayButtonText:{value:"Login to Pay",description:""},wlButtonText:{value:"Add Waiiting List entry",description:""},wlTitle:{value:"Can't find suitable time?",description:""},statusPaid:{value:"Paid",description:""},statusCanceled:{value:"Canceled",description:""},statusUnconfirmed:{value:"Unconfirmed",description:""},fillAddressLabel:{value:"Fill your address",description:""},moreServicesLabel:{value:"+ Add more services",description:""},noteLabel:{value:"Add any special requests or notes for your appointment:",description:""},notePlaceholder:{value:"enter text",description:""},cancellationPolicyTitle:{value:"Cancellation policy",description:""},cancelForFreeUntilLabel:{value:"Cancel for free until",description:""},feeForCancellationLabel:{value:"Fee for cancellation",description:""},cancellationFeeHours:{value:"hours",description:""},cancellationFeeHour:{value:"hour",description:""},cancellationPolicyAgreeButtonText:{value:"Ok",description:""}},customerAddress:{toolbarText:{value:"Address",description:""},countryInputName:{value:"Country",description:""},receiverHeader:{value:"Receiver",description:""},firstNameInputName:{value:"First Name",description:""},lastNameInputName:{value:"Last Name",description:""},stateInputName:{value:"State",description:""},cityInputName:{value:"City",description:""},zipCodeInputName:{value:"Zip Code",description:""},streetAddressInputName:{value:"Street Address",description:""},saveButtonText:{value:"Save Address",description:""},deliveryDurationText:{value:"Delivery time (days)",description:""}},countrySelect:{toolbarText:{value:"Select country",description:""},searchText:{value:"Search",description:""}},bookingTable:{toolbarText:{value:"Appointment Time",description:""},selectDateText:{value:"Select Date",description:""},selectTimeText:{value:"Select Time",description:""},selectBtnText:{value:"Select Time",description:""},mondayText:{value:"Mn",description:""},tuesdayText:{value:"Tu",description:""},wednesdayText:{value:"We",description:""},thursdayText:{value:"Th",description:""},fridayText:{value:"Fr",description:""},saturdayText:{value:"Sa",description:""},sundayText:{value:"Su",description:""},timeslotNotFoundTitle:{value:"\u0421an't find the suitable time?",description:""},timeslotNotFoundText:{value:"Create an entry in the waiting list and receive a notification if the slot becomes available.",description:""},goToWaitingListItemButtonText:{value:"Create waiting list entry",description:""}},contactDetails:{toolbarText:{value:"Contact Details",description:""},firstNameLabelText:{value:"First Name",description:""},lastNameLabelText:{value:"Last Name",description:""},emailLabelText:{value:"Email",description:""},phoneLabelText:{value:"Phone",description:""},bookBtnText:{value:"Book Appointment",description:""},confirmationCodeLabelText:{value:"Confirmation code (sent by SMS)",description:""},confirmBtnText:{value:"Book Appointment",description:""}},bookingSaved:{toolbarText:{value:"Appointment Saved",description:""},savedTitle:{value:"Congratulations!",description:""},savedRequestTitle:{value:"We've received your request for appointment",description:""},savedSubTitle:{value:"Appointment has been successfully saved!!",description:""},savedBtnText:{value:"Ok",description:""},savedRequestSubTitle:{value:"This is not an appointment yet. Please expect our confirmation.",description:""}},feedback:{toolbarText:{value:"Feedback",description:""},sendButtonText:{value:"Send",description:""}},register:{toolbarText:{value:"Register",description:""},firstNameLabelText:{value:"First Name",description:""},lastNameLabelText:{value:"Last Name",description:""},emailLabelText:{value:"Email",description:""},phoneLabelText:{value:"Phone",description:""},passwordLableText:{value:"Password",description:""},confirmPasswordLableText:{value:"Confirm password",description:""},registerBtnText:{value:"Next",description:""},registerInviteOnlyTitle:{value:"Invite-Only Registration",description:""},registerInviteOnlyDescription:{value:"We value exclusivity and personal connections. Currently, our registration is available only through invitations. If you'd like to join, please reach out to us directly to request an invite. We appreciate your understanding and interest in being a part of our community.",description:""}},confirm:{toolbarText:{value:"Confirm phone number",description:""},confirmationCodeLableText:{value:"Confirmation code",description:""},registerBtnText:{value:"Confirm",description:""},sendSmsBtnText:{value:"Send new SMS",description:""},textCounter:{value:"You can request a new SMS in: ",description:""},textInform:{value:"Confirmation code was sent to your phone number: ",description:""},changePhoneBtnText:{value:"Change phone number",description:""}},login:{toolbarText:{value:"Login",description:""},phoneLabelText:{value:"Phone",description:""},passwordLableText:{value:"Password",description:""},loginBtnText:{value:"Login",description:""},registerBtnText:{value:"Register",description:""},validation:{value:"Phone or password is invalid",description:""},linkResetPassword:{value:"Forgot password?",description:""}},reset:{toolbarText:{value:"Reset Password",description:""},phoneLabelText:{value:"Phone",description:""},newPasswordLableText:{value:"New password",description:""},confirmNewPassword:{value:"Confirm new password",description:""},resetBtnText:{value:"Next",description:""}},userMenu:{welcomeLabel:{value:"Welcome",description:""},mybookingsLabel:{value:"My bookings",description:""},myOrdersLabel:{value:"My orders",description:""},myBonusesLabel:{value:"My Bonuses",description:""},closeAccountBtn:{value:"Close account and remove data",description:""},closeAccountWarning:{value:"You will loose access to your bookings and orders",description:""},logoutBtn:{value:"Logout",description:""}},payTimeMenu:{questionText:{value:"Would you like to pay now or later?",description:""},nowBtn:{value:"Now",description:""},laterBtn:{value:"Later",description:""},cancelBtn:{value:"Cancel",description:""}},tips:{toolbarText:{value:"Tip",description:""},questionText:{value:"Would you like to add a tip?",description:""},noTipsText:{value:"No tip",description:""},customTipLabel:{value:"Enter your own tip",description:""}},paymentCards:{toolbarText:{value:"Select card",description:""},addCardText:{value:"Add payment card",description:""},payLaterTermsText:{value:"We will not charge your card now. But payment card details are required to confirm the appointment",description:""},toCheckoutButtonText:{value:"To checkout",description:""}},newPaymentCard:{toolbarText:{value:"New card",description:""},saveBtn:{value:"Save card",description:""},cardNumberLabelText:{value:"Card number",description:""},cardHolderLabelText:{value:"Card holder",description:""},dateLabelText:{value:"Experation date",description:""},CVCLabelText:{value:"CVC/CVC2",description:""},payLaterTermsText:{value:"We will not charge your card now. But payment card details are required to confirm the appointment",description:""},termsText:{value:"Agree with Terms and Conditions",description:""},cardAddedText:{value:"Card added",description:""},cardAddedToPayLaterText:{value:"Payment card has succefully been added",description:""},cardAddedToPayNowText:{value:"Payment card has succefully been added. Now you can use it for payments in the application.",description:""},failedToAddCardText:{value:"Failed to add payment card",description:""}},termsAndConditions:{toolbarText:{value:"Terms and conditions",description:""},acceptBtn:{value:"Accept",description:""},acceptCheckboxText:{value:"I accept Terms and Conditions",description:""}},deleteCardConfirmMenu:{questionText:{value:"Delete this card?",description:""},yesBtn:{value:"Yes",description:""},noBtn:{value:"No",description:""}},selectCardConfirmMenu:{questionText:{value:"Pay with this card?",description:""},yesBtn:{value:"Yes",description:""},noBtn:{value:"No",description:""}},paymentSummary:{toolbarText:{value:"Payment summary",description:""},summaryText:{value:"Summary",description:""},servicesPriceText:{value:"Services price",description:""},tipsText:{value:"Tips",description:""},bookBtn:{value:"Book",description:""},payAndBookBtn:{value:"Pay and book",description:""},payLaterTermsText:{value:"We will not charge your card now. But payment card details are required to confirm the appointment",description:""},paymentMethodText:{value:"Payment card",description:""},totalPriceText:{value:"Total price",description:""},servicesText:{value:"Services",description:""},payBtn:{value:"Pay",description:""},depositText:{value:"Security deposit",description:""},toPayNowText:{value:"To pay now",description:""}},paymentConfirm:{toolbarText:{value:"Payment",description:""},successTitleText:{value:"Success!",description:""},successSubTitleText:{value:"Payment has succesfully been processed",description:""},errorTitleText:{value:"Payment failed!",description:""},okButtonText:{value:"Ok",description:""}},bookingCancelation:{toolbarText:{value:"Cancel appointment",description:""},cancelationPolicyTitle:{value:"Cancellation rules",description:""},cancelationSummaryTitle:{value:"Cancelation fee",description:""},payLaterCancelationTermsText:{value:"You will not be charged now, but based on barbershop rules you may be charged this amount later",description:""},hours:{value:"hours",description:""},minutes:{value:"minutes",description:""},timeLeftLabel:{value:"Time left",description:""},cancelBtnText:{value:"Cancel",description:""},payAndCancelBtnText:{value:"Pay and cancel",description:""},selectCardBtnText:{value:"Select card",description:""},successCancelationAlertTitle:{value:"Canceled",description:""},successCancelationAlertSubtitle:{value:"Appointment has been canceled",description:""},payAndCancelConfirmTitle:{value:"Pay and cancel this appointment?",description:""},payAndCancelYesBtnText:{value:"Yes",description:""},payAndCancelNoBtnText:{value:"No",description:""}},waitingListItem:{toolbarText:{value:"Waiting list",description:""},locationSelectText:{value:"Location",description:""},barberSelectText:{value:"Barber",description:""},servicesSelectText:{value:"Services",description:""},dateSelectText:{value:"Date",description:""},timeFromSelectText:{value:"Time from",description:""},timeToSelectText:{value:"Time to",description:""},updateButtonText:{value:"Update",description:""},addToWaitingListButtonText:{value:"Add to waiting list",description:""},loginAndAddButtonText:{value:"Login and add to waiting list",description:""},cancelButtonText:{value:"Cancel",description:""},successAddedTitle:{value:"Added to waiting list",description:""},successAddedMessage:{value:"You save successfuly saved the entry to the waiting list. You'll receive a notification if the slot becomes available.",description:""},cancelItemQuestionTitle:{value:"Cancel?",description:""},successCanceledTitle:{value:"Canceled",description:""},successCanceledMessage:{value:"Successfully canceled",description:""},updateConfirmTitle:{value:"Update?",description:""},updateConfirmSubtitle:{value:"You may lose the available time options",description:""},updateConfirmYesText:{value:"Yes",description:""},updateConfirmNoText:{value:"No",description:""}},waitingListItemOptions:{toolbarText:{value:"Available time options",description:""}},productsList:{toolbarText:{value:"Products",description:""},sortingTitle:{value:"Sorting",description:""},filtersTitle:{value:"Filters",description:""},acsendingOrderText:{value:"From lowest price",description:""},descendingOrderText:{value:"From highest price",description:""},defaultOrderText:{value:"Default order",description:""},itemsFoundText:{value:"items found",description:""},applyButtonText:{value:"Apply",description:""},sotringOptionsTitle:{value:"Sotring options",description:""},noProductsFoundText:{value:"No products found for the provided filters",description:""},nameLabel:{value:"Name",description:""},priceLabel:{value:"Price",description:""},productLinesLabel:{value:"Product lines",description:""},productCategoriesLabel:{value:"Product categories",description:""},resetBtnText:{value:"Reset",description:""}},searchingList:{searchPlaceholderText:{value:"Search",description:""},noItemsFoundText:{value:"No items found",description:""}},shared:{yesConfirmText:{value:"Yes",description:""},noConfirmText:{value:"No",description:""}},product:{categoryText:{value:"Category",description:""},lineText:{value:"Line",description:""},inCartText:{value:"In cart",description:""},toCartBtnText:{value:"To cart",description:""},addedToCartAlertText:{value:"added to cart",description:""}},order:{toolbarText:{value:"Order",description:""},cartText:{value:"Cart",description:""},fullPriceText:{value:"Full price",description:""},noItemsInCartTitle:{value:"No items in cart",description:""},selectLocationLabel:{value:"Select location",description:""},goToProductsText:{value:"Go to products",description:""},checkoutButtonText:{value:"Chekout",description:""},placeOrderButtonText:{value:"Place order",description:""},cancelOrderButtonText:{value:"Cancel",description:""},updateOrderButtonText:{value:"Update",description:""},deleteItemQuestionTitle:{value:"Delete?",description:""},deleteItemText:{value:"Delete this item from cart?",description:""},total:{value:"Total",description:""},deliveryMethodSelectText:{value:"Select delivery method",description:""},shippingPriceText:{value:"Shipping price",description:""},failedText:{value:"Failed to save order",description:""},statusDraft:{value:"Waiting for payment",description:""},statusCreated:{value:"We are preparing your order",description:""},statusCanceled:{value:"Cancelled",description:""},statusShipped:{value:"Shipped",description:""},statusReady:{value:"Ready for collection",description:""},statusCompleted:{value:"Completed",description:""}},orders:{toolbarText:{value:"Orders",description:""},noOrdersTitle:{value:"No orders found",description:""},noOrdersMessage:{value:"No orders have yet been created",description:""},startShoppingButtonText:{value:"Start shopping",description:""},paidLabelText:{value:"Paid",description:""}},orderSaved:{toolbarText:{value:"Order Created",description:""},savedTitle:{value:"Congratulations!",description:""},savedSubTitle:{value:"Order has successfully been created!",description:""},savedBtnText:{value:"Ok",description:""}},messages:{appointmentSaveFailed:{value:"Failed to save appointment",description:""},cancellationIsNotAllowed:{value:"Cancellation is not allowed",description:""},cancellationNoticeWarning:{value:"Minimum cancellation notice is:",description:""}}}},SX={about:{value:"barbershop-2",description:""},appointment:{value:"deadline",description:""},barber:{value:"barbers",description:""},dateandtime:{value:"deadline",description:""},home:{value:"pole",description:""},location:{value:"barbershop-pin",description:""},service:{value:"scissors",description:""},shop:{value:"cosmetic",description:""},loyalty:{value:"gift",description:""}};var lr=_(3283);function Ir(n,o){return(n=Da(n)).isDark()?o.light:o.dark}function Da(n){return"string"==typeof n?lr(n).rgb().round():n}function ur(n){return Da(n).rgb().string()}let r1=(()=>{class n{document;storage;brandsIconsMap=new Map([["VISA","visa"],["Visa","visa"],["MASTERCARD","mastercard"],["MasterCard","mastercard"],["DISCOVER","discover"],["Discover","discover"],["DISCOVER_DINERS","diners"],["Diners Club","diners"],["JCB","jcb"],["AMERICAN_EXPRESS","amex"],["American Express","amex"],["CHINA_UNIONPAY","unionpay"],["UnionPay","unionpay"]]);constructor(t,r){this.document=t,this.storage=r,r.get("theme").subscribe(i=>{this.setGlobalCSS(i)})}setTheme(t){const i=function CX(n,o){n.light="#ffffff",n.dark="#000000";const{primary:t,secondary:r,tertiary:i,success:s,warning:u,danger:p,dark:m,medium:v,light:S}=n,T=.1,D=.5,$=Da(t),x=Da(r),B=($.isDark()?!x.isDark():x.isDark())?r:Ir(t,n);return`\n    --ion-background-color: 'transparent';\n    --ion-custom-background-image: ${"url('"+o+"')"};\n    --ion-tab-bar-background: ${t};\n    --ion-tab-bar-background-focused: ${t};\n    --ion-tab-bar-color:${$.isDark()?ur(lr(Ir(t,n)).darken(.25)):ur(lr(t).darken(.5))};\n    --ion-tab-bar-color-selected: ${B};\n    --ion-input-background-color: ${$.isDark()?ur(lr(t).lighten(.7)):lr(t).darken(.15)};\n\n    --ion-color-primary: ${t};\n    --ion-color-primary-rgb: ${ur(t)};\n    --ion-color-primary-contrast: ${Ir(t,n)};\n    --ion-color-primary-contrast-rgb: ${ur(Ir(t,n))};\n    --ion-color-primary-shade:  ${ur(lr(t).darken(T))};\n    --ion-color-primary-tint:  ${ur(lr(t).lighten(D))};\n\n    --ion-color-secondary: ${r};\n    --ion-color-secondary-rgb: ${ur(r)};\n    --ion-color-secondary-contrast: ${Ir(r,n)};\n    --ion-color-secondary-contrast-rgb: ${ur(Ir(r,n))};\n    --ion-color-secondary-shade:  ${lr(r).darken(T)};\n    --ion-color-secondary-tint: ${lr(r).lighten(D)};\n\n    --ion-color-tertiary:  ${i};\n    --ion-color-tertiary-rgb: ${ur(i)};\n    --ion-color-tertiary-contrast: ${Ir(i,n)};\n    --ion-color-tertiary-contrast-rgb: ${ur(Ir(i,n))};\n    --ion-color-tertiary-shade: ${lr(i).darken(T)};\n    --ion-color-tertiary-tint:  ${lr(i).lighten(D)};\n\n    --ion-color-success: ${s};\n    --ion-color-success-rgb: ${ur(s)};\n    --ion-color-success-contrast: ${Ir(s,n)};\n    --ion-color-success-contrast-rgb: ${ur(Ir(s,n))};\n    --ion-color-success-shade: ${lr(s).darken(T)};\n    --ion-color-success-tint: ${lr(s).lighten(D)};\n\n    --ion-color-warning: ${u};\n    --ion-color-warning-rgb: ${ur(u)};\n    --ion-color-warning-contrast: ${Ir(u,n)};\n    --ion-color-warning-contrast-rgb: ${ur(Ir(u,n))};\n    --ion-color-warning-shade: ${lr(u).darken(T)};\n    --ion-color-warning-tint: ${lr(u).lighten(D)};\n\n    --ion-color-danger: ${p};\n    --ion-color-danger-rgb: ${Ir(p,n)};\n    --ion-color-danger-contrast: ${Ir(p,n)};\n    --ion-color-danger-contrast-rgb: ${ur(Ir(p,n))};\n    --ion-color-danger-shade: ${lr(p).darken(T)};\n    --ion-color-danger-tint: ${lr(p).lighten(D)};\n\n    --ion-color-dark: ${m};\n    --ion-color-dark-rgb: ${ur(m)};\n    --ion-color-dark-contrast: ${Ir(m,n)};\n    --ion-color-dark-contrast-rgb: ${ur(Ir(m,n))};\n    --ion-color-dark-shade: ${lr(m).darken(T)};\n    --ion-color-dark-tint: ${lr(m).lighten(D)};\n\n    --ion-color-medium: ${v};\n    --ion-color-medium-rgb: ${ur(v)};\n    --ion-color-medium-contrast: ${Ir(v,n)};\n    --ion-color-medium-contrast-rgb: ${ur(Ir(v,n))};\n    --ion-color-medium-shade: ${lr(v).darken(T)};\n    --ion-color-medium-tint: ${lr(v).lighten(D)};\n\n    --ion-color-light: ${S};\n    --ion-color-light-rgb: ${ur(S)};\n    --ion-color-light-contrast: $${Ir(S,n)};\n    --ion-color-light-contrast-rgb: ${ur(Ir(S,n))};\n    --ion-color-light-shade: ${lr(S).darken(T)};\n    --ion-color-light-tint: ${lr(S).lighten(D)};`}({danger:t.theme.danger.value,dark:t.theme.dark.value,light:t.theme.light.value,medium:t.theme.medium.value,primary:t.theme.primary.value,secondary:t.theme.secondary.value,tertiary:t.theme.tertiary.value,success:"#25D366",warning:t.theme.warning.value},t.images.background.value);this.setGlobalCSS(i),this.storage.set("theme",i)}getCSSVariableValue(t){return getComputedStyle(document.documentElement).getPropertyValue(t).trim()}getPrimaryColor(t="rgb"){const r=Da(this.getCSSVariableValue("--ion-color-primary"));return this.getColorByMode(r,t)}getSecondaryColor(t="rgb"){const r=Da(this.getCSSVariableValue("--ion-color-secondary"));return this.getColorByMode(r,t)}getPrimaryColorContrast(t="rgb"){const r=Da(this.getCSSVariableValue("--ion-color-primary-contrast"));return this.getColorByMode(r,t)}getSecondaryColorContrast(t="rgb"){const r=Da(this.getCSSVariableValue("--ion-color-secondary-contrast"));return this.getColorByMode(r,t)}getPrimaryColorShade(t="rgb"){const r=Da(this.getCSSVariableValue("--ion-color-primary-shade"));return this.getColorByMode(r,t)}getDangerColor(t="rgb"){const r=Da(this.getCSSVariableValue("--ion-color-danger"));return this.getColorByMode(r,t)}getCardBrandIconName(t){return t&&this.brandsIconsMap.get(t)||"card-outline"}getColorByMode(t,r){return"rgb"===r?t.rgb().string():t.hex()}setGlobalCSS(t){this.document.documentElement.style.cssText=t}static \u0275fac=function(r){return new(r||n)(Tt(ui),Tt(Nl))};static \u0275prov=St({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),ei=(()=>{class n{http;activatedRoute;themeService;storage;serviceUrl=Er_baseUrl+"api/v2/organizations";selectedLanguage;languageSource=new or("defaultLanguage");language$=this.languageSource.asObservable();currentLanguageStorageKey="lang";simpleLocales=["sv","fr","de","it","ru","es","nl","pt","el","da","zh","ja","ro","uk","nb"];organization;changingLanguage;constructor(t,r,i,s){this.http=t,this.activatedRoute=r,this.themeService=i,this.storage=s}initSettings(t){t&&(t.settings||(t.settings={...bX}),t.settings.images.icons||(t.settings.images.icons=SX),this.themeService.setTheme(t.settings),this.updateCachedLanguage(t.languageId),this.organization=t)}get(t=null){return io(this.activatedRoute.queryParams).pipe(so(r=>io(this.updateCachedLanguage(r?.lang??t??"en")).pipe(so(s=>this.getLanguageConfig(s)))))}getCountries(){return this.http.getType(this.serviceUrl+"/countries")}getCachedLanguage(){return this.selectedLanguage?jt(this.selectedLanguage):this.storage.get(this.currentLanguageStorageKey,"en").pipe(so(t=>this.selectedLanguage=t),Jr(t=>"en"))||jt("en")}updateCurrentLanguageAndConfig(t){return io(this.updateCachedLanguage(t)).pipe(so(r=>this.getLanguageConfig(r)),Wn(r=>this.initSettings(r)))}getDateFormat(){return"United States of America"==this.organization.country||"Canada"==this.organization.country?"MMM dd, yyyy":"dd.MM.yyyy"}getCurrentLocale(){return function yX(n,o){const t="object"==typeof o;return new Promise((r,i)=>{let u,s=!1;n.subscribe({next:p=>{u=p,s=!0},error:i,complete:()=>{s?r(u):t?r(o.defaultValue):i(new Gd)}})})}(this.getCachedLanguage().pipe(rn(t=>{if(t||(t="en"),"en"==(t=t.toLowerCase())){if(!this.organization)return"en";switch(this.organization.country){case"Canada":return"en-CA";case"Australia":return"en-AU";case"New Zealand":return"en-NZ";case"United States of America":return"en";default:return"en-GB"}}return"pt-br"==t?"pt-BR":this.simpleLocales.indexOf(t)>-1?t:"fr"==t?"fr-FR":"es"==t?"es-ES":"fi"==t?"fi-FI":"no"==t?"nb-NO":"sv"==t?"sv-SE":"uk"==t?"uk-UA":"it"==t?"it-IT":"nl"==t?"nl-NL":"da"==t?"da-DK":"zh"==t?"zh-CN":"ro"==t?"ro-RO":"en-GB"})))}getLanguageConfig(t){return this.http.getType(this.serviceUrl+(t?`?lang=${t}`:""))}updateCachedLanguage(t){return this.selectedLanguage=t,this.languageSource.next(t),this.storage.set(this.currentLanguageStorageKey,t)||jt(t)}static \u0275fac=function(r){return new(r||n)(Tt(xi),Tt(dr),Tt(r1),Tt(Nl))};static \u0275prov=St({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),TX=(()=>{class n{popoverController;title;subtitle;yesText="Yes";noText="No";constructor(t){this.popoverController=t}ngOnInit(){}onConfirm(){this.popoverController.dismiss(!0)}onDecline(){this.popoverController.dismiss(!1)}static \u0275fac=function(r){return new(r||n)(N(au))};static \u0275cmp=je({type:n,selectors:[["app-confirm-popover"]],inputs:{title:"title",subtitle:"subtitle",yesText:"yesText",noText:"noText"},decls:11,vars:4,consts:[[1,"popover"],["color","secondary","expand","block",3,"click"],["color","tertiary","expand","block",3,"click"]],template:function(r,i){1&r&&(I(0,"ion-card",0)(1,"ion-card-header")(2,"ion-card-title"),z(3),E(),I(4,"ion-card-subtitle"),z(5),E()(),I(6,"ion-card-content")(7,"ion-button",1),re("click",function(){return i.onConfirm()}),z(8),E(),I(9,"ion-button",2),re("click",function(){return i.onDecline()}),z(10),E()()()),2&r&&(C(3),Re(i.title),C(2),Re(i.subtitle),C(3),Te(" ",i.yesText,""),C(2),Te(" ",i.noText,""))},dependencies:[on,Jn,To,oo,gi,lo]})}return n})(),gr=(()=>{class n{http;storage;serviceUrl=Er_baseUrl+"api/account";currentUser;booking;phoneNumber;currentRegistrationRequest;currentResetRequest;userKey="currentUser";tokenKey="token";constructor(t,r){this.http=t,this.storage=r,this.getCustomer().subscribe(i=>this.currentUser=i)}logOut(){this.storage.remove(this.userKey),this.storage.remove(this.tokenKey),this.currentUser=null}setUser(t){if(t)return this.setCustomer(t.customer),this.setUserToken(t.token)}setUserToken(t){return this.storage.set(this.tokenKey,t)}isAuthorized(){return!!this.currentUser}getToken(){return this.storage.get(this.tokenKey)}setCustomer(t){var r=this;return(0,Ge.A)(function*(){yield r.storage.set(r.userKey,t).toPromise(),r.currentUser=t})()}getCustomer(){return this.storage.get(this.userKey)}getInvite(t){return this.http.getType(`${this.serviceUrl}/${t}/invite`)}register(t){return this.http.post(this.serviceUrl+"/register",t)}remove(t){return this.http.get(this.serviceUrl+"/"+t+"/remove")}confirmPhone(t){return this.http.postType(this.serviceUrl+"/register/confirm",t)}isInviteOnly(){return this.http.getType(this.serviceUrl+"/register/invite-only")}logIn(t){return this.http.postType(this.serviceUrl+"/login",t)}getCurrentUserFromAPi(){return this.http.getType(this.serviceUrl+"/current-user")}reset(t){return this.http.post(this.serviceUrl+"/password/reset",t)}resetPasswordConfirmCode(t){return this.http.postType(this.serviceUrl+"/password/reset/confirm",t)}static \u0275fac=function(r){return new(r||n)(Tt(xi),Tt(Nl))};static \u0275prov=St({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();class Nn{injector;get orgService(){return this.injector.get(ei)}get navCtrl(){return this.injector.get(Za)}get settingsReady(){return!!this.orgService.organization&&!!this.orgService.organization.settings&&!!this.orgService.organization.settings.screens}organizationPromise;loader;_loaderInstance;inProgress=!1;get isIOSDesign(){return this.injector.get(Dl).is("ios")}constructor(o){this.injector=o,this.orgService.organization?this.organizationPromise=jt(this.orgService.organization):this.Initialize()}Initialize(o=null){this.organizationPromise=this.orgService.get();const t=this.injector.get(Nl);this.organizationPromise.subscribe({next:r=>{this.orgService.initSettings(r),t.set("organization",r).subscribe(()=>{this.completeEvent(o)})},error:r=>{t.get("organization").subscribe({next:i=>{i?this.orgService.initSettings(i):this.networkError(),this.completeEvent(o)},complete:()=>{this.completeEvent(o)}})}})}doSalonRefresh(o){var t=this;return(0,Ge.A)(function*(){t.Initialize(o)})()}showLoading(){var o=this;return(0,Ge.A)(function*(){!o._loaderInstance&&!o.loader&&(o.loader=o.injector.get(Ky).create({cssClass:"custom-loading"}).then(t=>(o._loaderInstance=t,o._loaderInstance.present(),o._loaderInstance.onDidDismiss().then(()=>{o._loaderInstance=null,o.loader=null}),o._loaderInstance)),o.inProgress=!0)})()}hideLoading(){var o=this;return(0,Ge.A)(function*(){o._loaderInstance?(o._loaderInstance.dismiss(),o._loaderInstance=null):o.loader&&o.loader.then(t=>{t.dismiss(),o._loaderInstance=null}),o.inProgress=!1})()}networkError(){var o=this;return(0,Ge.A)(function*(){return yield o.presentAlert("Network error","Check internet connection and try again")})()}presentAlert(o,t){var r=this;return(0,Ge.A)(function*(){yield(yield r.injector.get(_f).create({header:"Error",subHeader:o,message:t,buttons:["OK"]})).present()})()}presentPopUp(o,t,r){var i=this;return(0,Ge.A)(function*(){yield(yield i.injector.get(_f).create({header:o,subHeader:t,message:r,buttons:["OK"]})).present()})()}presentError(o){var t=this;return(0,Ge.A)(function*(){const r=t.getErrorMessage(o);return yield t.presentPopUp(null,null,r)})()}presentSuccessAlert(o,t){var r=this;return(0,Ge.A)(function*(){yield(yield r.injector.get(_f).create({header:"Success",subHeader:o,message:t,buttons:["OK"]})).present()})()}completeEvent(o){return(0,Ge.A)(function*(){o&&o.target&&o.target.complete instanceof Function&&o.target.complete()})()}showUserMenu(o){var t=this;return(0,Ge.A)(function*(){yield t.injector.get(gr).getToken().subscribe(r=>{t.navCtrl.navigateForward(r?"user":"login")},()=>{t.navCtrl.navigateForward("login")})})()}showConfirmPopUp(o,t,r="",i=this.orgService.organization.settings.screens.shared.yesConfirmText.value,s=this.orgService.organization.settings.screens.shared.noConfirmText.value){var u=this;return(0,Ge.A)(function*(){const m=yield u.injector.get(au).create({component:TX,event:o,showBackdrop:!0,componentProps:{title:t,subtitle:r,yesText:i,noText:s}});yield m.present();const{data:v}=yield m.onDidDismiss();return!!v})()}getErrorMessage(o){return o?.error?.message??"Network error"}}function wX(n,o){if(1&n){const t=Me();I(0,"ion-item",6)(1,"ion-label"),z(2),E(),I(3,"ion-checkbox",13),Vn("ngModelChange",function(i){const s=le(t).$implicit;return Gn(s.checked,i)||(s.checked=i),ce(i)}),E()()}if(2&n){const t=o.$implicit;C(2),Re(t.name),C(),zn("ngModel",t.checked)}}function EX(n,o){if(1&n&&(I(0,"ion-item")(1,"ion-label"),z(2),E()()),2&n){const t=M(3);C(2),Re(t.orgService.organization.settings.screens.searchingList.noItemsFoundText.value)}}function IX(n,o){if(1&n&&(Xo(0),I(1,"ion-list"),se(2,wX,4,2,"ion-item",12)(3,EX,3,1,"ion-item",1),E(),Zo()),2&n){const t=M(2);C(2),P("ngForOf",t.filteredItems),C(),P("ngIf",!(null!=t.filteredItems&&t.filteredItems.length))}}function DX(n,o){if(1&n&&(I(0,"ion-item")(1,"ion-label"),z(2),E(),oe(3,"ion-radio",15),E()),2&n){const t=o.$implicit;C(2),Re(t.name),C(),P("value",t.id)}}function PX(n,o){if(1&n&&(I(0,"ion-item")(1,"ion-label"),z(2),E()()),2&n){const t=M(3);C(2),Re(t.orgService.organization.settings.screens.searchingList.noItemsFoundText.value)}}function MX(n,o){if(1&n){const t=Me();I(0,"ion-radio-group",13),Vn("ngModelChange",function(i){le(t);const s=M(2);return Gn(s.selectedItemId,i)||(s.selectedItemId=i),ce(i)}),I(1,"ion-list"),se(2,DX,4,2,"ion-item",14)(3,PX,3,1,"ion-item",1),E()()}if(2&n){const t=M(2);zn("ngModel",t.selectedItemId),C(2),P("ngForOf",t.filteredItems),C(),P("ngIf",!(null!=t.filteredItems&&t.filteredItems.length))}}function $X(n,o){if(1&n){const t=Me();Xo(0),I(1,"ion-header")(2,"ion-toolbar",2)(3,"ion-buttons",3)(4,"ion-button",4),re("click",function(){return le(t),ce(M().closeModal())}),oe(5,"ion-icon",5),E()(),I(6,"ion-title"),z(7),E()()(),I(8,"ion-item",6)(9,"ion-searchbar",7),re("ionInput",function(i){return le(t),ce(M().onSearch(i))}),E()(),I(10,"ion-content",6),se(11,IX,4,2,"ng-container",8)(12,MX,4,3,"ng-template",null,0,k2),E(),I(14,"ion-footer",9)(15,"ion-button",10),re("click",function(){return le(t),ce(M().onApplyFilters())}),z(16),E(),I(17,"ion-button",11),re("click",function(){return le(t),ce(M().onResetToDefaults())}),z(18),E()(),Zo()}if(2&n){const t=M2(13),r=M();C(7),Re(r.title),C(2),P("placeholder",r.orgService.organization.settings.screens.searchingList.searchPlaceholderText.value),C(2),P("ngIf",r.multiple)("ngIfElse",t),C(4),P("disabled",!r.canApply),C(),Te(" ",r.orgService.organization.settings.screens.productsList.applyButtonText.value," "),C(2),Te(" ",r.orgService.organization.settings.screens.productsList.resetBtnText.value," ")}}let ZD=(()=>{class n extends Nn{injector;modalController;title;items;multiple=!0;sortIntoGroups=!1;selectedItemId;initialSelectedItemId;filteredItems;get canApply(){return this.multiple?this.initialItems?.some((t,r)=>t.checked!==this.items[r]?.checked):this.initialSelectedItemId!==this.selectedItemId}initialItems;constructor(t,r){super(t),this.injector=t,this.modalController=r}ngOnInit(){this.initItems()}initItems(){this.items=this.copyItems(this.items),this.initialItems=this.copyItems(this.items),this.filteredItems=this.items,this.multiple||(this.selectedItemId=this.items.find(t=>t.checked)?.id,this.initialSelectedItemId=this.selectedItemId)}trackByIdFn(t,r){return r.id}onApplyFilters(){const t=this.multiple?this.items.filter(r=>r.checked):[this.items.find(r=>r.id===this.selectedItemId)];return this.closeModal(t.filter(r=>!!r))}onResetToDefaults(){this.selectedItemId=null,this.items=this.copyItems(this.initialItems).map(t=>({...t,checked:!1})),this.filteredItems=this.items}closeModal(t=null){return this.modalController.dismiss(t)}onSearch(t){const r=t.detail.value?.toLowerCase();this.filteredItems=this.items.filter(i=>i.name?.toLowerCase()?.includes(r))}copyItems(t){return t.map(r=>({...r}))}static \u0275fac=function(r){return new(r||n)(N(Ht),N(Wr))};static \u0275cmp=je({type:n,selectors:[["app-searching-list"]],inputs:{title:"title",items:"items",multiple:"multiple",sortIntoGroups:"sortIntoGroups"},features:[Dt],decls:1,vars:1,consts:[["radioTemplate",""],[4,"ngIf"],["color","secondary"],["slot","start"],[3,"click"],["name","close"],["color","primary"],["color","primary","animated","true","how-clear-button","always",3,"ionInput","placeholder"],[4,"ngIf","ngIfElse"],["color","primary",1,"filters-footer"],["color","success","expand","full",3,"click","disabled"],["expand","full","color","secondary",3,"click"],["color","primary",4,"ngFor","ngForOf"],[3,"ngModelChange","ngModel"],[4,"ngFor","ngForOf"],[3,"value"]],template:function(r,i){1&r&&se(0,$X,19,7,"ng-container",1),2&r&&P("ngIf",null==i.orgService.organization||null==i.orgService.organization.settings?null:i.orgService.organization.settings.screens)},dependencies:[fo,Gt,Xr,Zr,on,Ln,Gm,Sn,hf,En,un,Dn,co,Bo,zy,Vy,su,An,In,jm,Pl,bi]})}return n})();const AX=[{path:"",component:ZD}];let NX=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275mod=bn({type:n});static \u0275inj=mn({imports:[po,Io,_o,Jo.forChild(AX)]})}return n})(),tb=(()=>{class n{http;serviceUrl=Er_baseUrl+"api/bonuses";availableBonuses=0;constructor(t){this.http=t}getBonuses(){return this.http.getType(this.serviceUrl)}countBonuses(){return this.http.getType(this.serviceUrl+"/count")}getBonusCard(){return this.http.getType(this.serviceUrl+"/card")}static \u0275fac=function(r){return new(r||n)(Tt(xi))};static \u0275prov=St({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var xX=_(8314);function OX(n,o){if(1&n&&oe(0,"canvas",1),2&n){const t=M();b2(t.styleClass),P("qrCode",t.value)("qrCodeErrorCorrectionLevel",t.errorCorrectionLevel)("qrCodeCenterImageSrc",t.centerImageSrc)("qrCodeCenterImageWidth",t.centerImageSize)("qrCodeCenterImageHeight",t.centerImageSize)("qrCodeMargin",t.margin)("width",t.size)("height",t.size)("ngStyle",t.style)("darkColor",t.darkColor)("lightColor",t.lightColor)}}const QD=/^#(?:[0-9a-fA-F]{3,4}){1,2}$/;let kX=(()=>{class n{static{this.DEFAULT_ERROR_CORRECTION_LEVEL="M"}static{this.DEFAULT_CENTER_IMAGE_SIZE=40}constructor(t){this.viewContainerRef=t,this.errorCorrectionLevel=n.DEFAULT_ERROR_CORRECTION_LEVEL,this.darkColor="#000000FF",this.lightColor="#FFFFFFFF",this.margin=16}ngOnChanges(){var t=this;return(0,Ge.A)(function*(){if(!t.value)return;t.version&&t.version>40?(console.warn("[qrCode] max version is 40, clamping"),t.version=40):t.version&&t.version<1?(console.warn("[qrCode] min version is 1, clamping"),t.version=1):void 0!==t.version&&isNaN(t.version)&&(console.warn("[qrCode] version should be set to a number, defaulting to auto"),t.version=void 0);const r=t.viewContainerRef.element.nativeElement;if(!r)return;const i=r.getContext("2d");i&&i.clearRect(0,0,i.canvas.width,i.canvas.height);const s=t.errorCorrectionLevel??n.DEFAULT_ERROR_CORRECTION_LEVEL,u=QD.test(t.darkColor)?t.darkColor:void 0,p=QD.test(t.lightColor)?t.lightColor:void 0;yield xX.toCanvas(r,t.value,{version:t.version,errorCorrectionLevel:s,width:t.width,margin:t.margin,color:{dark:u,light:p}});const m=t.centerImageSrc,v=JD(t.centerImageWidth,n.DEFAULT_CENTER_IMAGE_SIZE),S=JD(t.centerImageHeight,n.DEFAULT_CENTER_IMAGE_SIZE);if(m&&i){t.centerImage||(t.centerImage=new Image(v,S));const T=t.centerImage;m!==t.centerImage.src&&(T.src=m),v!==t.centerImage.width&&(T.width=v),S!==t.centerImage.height&&(T.height=S);const D=()=>{i.drawImage(T,r.width/2-v/2,r.height/2-S/2,v,S)};T.onload=D,T.complete&&D()}})()}static{this.\u0275fac=function(r){return new(r||n)(N(Gi))}}static{this.\u0275dir=Yt({type:n,selectors:[["canvas","qrCode",""]],inputs:{value:[0,"qrCode","value"],version:[0,"qrCodeVersion","version"],errorCorrectionLevel:[0,"qrCodeErrorCorrectionLevel","errorCorrectionLevel"],width:"width",height:"height",darkColor:"darkColor",lightColor:"lightColor",centerImageSrc:[0,"qrCodeCenterImageSrc","centerImageSrc"],centerImageWidth:[0,"qrCodeCenterImageWidth","centerImageWidth"],centerImageHeight:[0,"qrCodeCenterImageHeight","centerImageHeight"],margin:[0,"qrCodeMargin","margin"]},features:[wi]})}}return n})();function JD(n,o){return void 0===n||""===n?o:"string"==typeof n?parseInt(n,10):n}let RX=(()=>{class n{static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275cmp=je({type:n,selectors:[["qr-code"]],inputs:{value:"value",size:"size",style:"style",styleClass:"styleClass",darkColor:"darkColor",lightColor:"lightColor",errorCorrectionLevel:"errorCorrectionLevel",centerImageSrc:"centerImageSrc",centerImageSize:"centerImageSize",margin:"margin"},decls:1,vars:1,consts:[[3,"qrCode","qrCodeErrorCorrectionLevel","qrCodeCenterImageSrc","qrCodeCenterImageWidth","qrCodeCenterImageHeight","qrCodeMargin","width","height","class","ngStyle","darkColor","lightColor"],[3,"qrCode","qrCodeErrorCorrectionLevel","qrCodeCenterImageSrc","qrCodeCenterImageWidth","qrCodeCenterImageHeight","qrCodeMargin","width","height","ngStyle","darkColor","lightColor"]],template:function(r,i){1&r&&se(0,OX,1,13,"canvas",0),2&r&&r9(i.value?0:-1)},dependencies:[Jh,kX],encapsulation:2})}}return n})(),LX=(()=>{class n{static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275mod=bn({type:n})}static{this.\u0275inj=mn({imports:[po]})}}return n})();function FX(n,o){if(1&n){const t=Me();I(0,"ion-header")(1,"ion-toolbar",1)(2,"ion-buttons",2)(3,"ion-button",3),re("click",function(){return le(t),ce(M().closeModal())}),oe(4,"ion-icon",4),E()(),I(5,"ion-title"),z(6),E()()()}if(2&n){const t=M();C(6),Re(t.bonus.name)}}function BX(n,o){if(1&n&&(I(0,"ion-item",11)(1,"ion-label",12),z(2),E()()),2&n){const t=M(2);P("color",t.color),C(2),Co("",t.bonus.pointsNeeded," ",t.orgService.organization.settings.screens.bonus.pointsLabelText.value,"")}}function UX(n,o){1&n&&oe(0,"ion-img",13),2&n&&P("src",M(2).bonus.photo)}function zX(n,o){if(1&n&&(I(0,"ion-item",5)(1,"ion-card-content",14),z(2),E()()),2&n){const t=M(2);C(2),Te(" ",t.bonus.description," ")}}function VX(n,o){if(1&n&&(I(0,"ion-item",5)(1,"ion-card-header",15)(2,"ion-card-title",16),z(3),E(),I(4,"ion-card-subtitle",17),oe(5,"qr-code",18),E()()()),2&n){const t=M(2);C(3),Re(t.orgService.organization.settings.screens.bonus.qrCodeLabelText.value),C(2),P("value",t.qrCode)("size",250)("errorCorrectionLevel","M")}}function HX(n,o){if(1&n&&(I(0,"ion-card",19)(1,"ion-card-content")(2,"ion-text",20),z(3),E()()()),2&n){const t=M(2);C(3),Te(" ",t.orgService.organization.settings.screens.bonus.notEnoughPointsText.value," ")}}function jX(n,o){if(1&n&&(I(0,"ion-content")(1,"ion-item",5)(2,"ion-card-header")(3,"ion-card-title",6),z(4),E()()(),se(5,BX,3,3,"ion-item",7)(6,UX,1,1,"ion-img",8)(7,zX,3,1,"ion-item",9)(8,VX,6,4,"ion-item",9)(9,HX,4,1,"ion-card",10),E()),2&n){const t=M();C(4),Re(t.bonus.name),C(),P("ngIf",t.bonus.pointsNeeded>0),C(),P("ngIf",t.bonus.photo),C(),P("ngIf",t.bonus.description),C(),P("ngIf",t.qrCode),C(),P("ngIf",!t.canGet)}}let eP=(()=>{class n extends Nn{injector;modalController;accountService;bonus;points;qrCode;canGet;color="warning";constructor(t,r,i,s){super(t),this.injector=t,this.modalController=i,this.accountService=s,this.bonus=r.get("bonus"),this.points=r.get("points"),this.canGet=this.bonus.pointsNeeded<=this.points,this.canGet&&(this.color="success",this.initQrCode())}ngOnInit(){}initQrCode(){this.accountService.getCustomer().subscribe(t=>{this.qrCode=JSON.stringify({code:this.bonus.code,userId:t.customerId})})}closeModal(){this.modalController.dismiss()}static \u0275fac=function(r){return new(r||n)(N(Ht),N(ky),N(Wr),N(gr))};static \u0275cmp=je({type:n,selectors:[["app-bonus"]],features:[Dt],decls:2,vars:2,consts:[[4,"ngIf"],["color","secondary"],["slot","start"],[3,"click"],["name","close"],["color","primary"],[1,"wrap"],[3,"color",4,"ngIf"],[3,"src",4,"ngIf"],["color","primary",4,"ngIf"],["class","screen-item center","color","warning",4,"ngIf"],[3,"color"],[1,"w-100","center"],[3,"src"],[1,"justify"],[1,"w-100"],[1,"wrap","center"],[1,"center"],[3,"value","size","errorCorrectionLevel"],["color","warning",1,"screen-item","center"],[1,"warning-text"]],template:function(r,i){1&r&&se(0,FX,7,1,"ion-header",0)(1,jX,10,6,"ion-content",0),2&r&&(P("ngIf",i.orgService.organization&&i.orgService.organization.settings&&i.orgService.organization.settings.screens&&i.bonus),C(),P("ngIf",i.orgService.organization&&i.orgService.organization.settings&&i.orgService.organization.settings.screens&&i.bonus))},dependencies:[Gt,on,Ln,Jn,To,oo,gi,lo,Sn,En,un,Ja,Dn,co,Ks,An,In,RX]})}return n})();class bf{id;locationId;location;locationAddress;employeeId;employee;serviceIds;services;servicesConfig;timeSlot;state;customer;paymentTime;address;isDraft;note;byDirectLink}class tP{id;name;description;photo;price;duration;isExtraOnly;defaultCategoryId;extras;selected}var xl=function(n){return n[n.Unknown=0]="Unknown",n[n.SquareUp=1]="SquareUp",n[n.Stripe=2]="Stripe",n[n.SumUp=3]="SumUp",n}(xl||{}),nb=function(n){return n[n.Unconfirmed=0]="Unconfirmed",n[n.Confirmed=1]="Confirmed",n[n.Canceled=2]="Canceled",n[n.Completed=3]="Completed",n}(nb||{}),Pa=function(n){return n[n.Descending=0]="Descending",n[n.Ascending=1]="Ascending",n[n.Default=2]="Default",n}(Pa||{}),nP=function(n){return n[n.Created=1]="Created",n[n.Confirmed=2]="Confirmed",n[n.Completed=3]="Completed",n[n.Canceled=4]="Canceled",n[n.Draft=5]="Draft",n}(nP||{}),Ol=function(n){return n[n.Unknown=0]="Unknown",n[n.Successful=1]="Successful",n[n.Failed=2]="Failed",n[n.Pending=3]="Pending",n[n.Canceled=4]="Canceled",n[n.InProgress=5]="InProgress",n[n.Security=6]="Security",n}(Ol||{});let kl=(()=>{class n{constructor(){}BookingState=nb;PaymentProvider=xl;SotringOrder=Pa;OrderState=nP;PaymentState=Ol;static \u0275fac=function(r){return new(r||n)};static \u0275prov=St({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Sf=(()=>{class n{http;serviceUrl=Er_baseUrl+"api/services";constructor(t){this.http=t}getServices(){return this.http.getType(this.serviceUrl)}getServiceExtras(t){return this.http.getType(this.serviceUrl+"/"+t+"/extras")}getService(t){return this.http.getType(this.serviceUrl+"/"+t)}getServicesWithCategories(){return this.http.getType(this.serviceUrl+"/v3")}getBarberServices(t,r){return this.http.postType(this.serviceUrl+"/barbers",{ServiceIds:t,EmployeeId:r})}updateServicesPrices(t,r,i,s){return this.http.postType(this.serviceUrl+"/prices",{ServiceIds:t,EmployeeId:r,LocationId:i,TimeSlot:s})}getSelectedServices(t){return this.http.postType(this.serviceUrl+"/selected",{ServiceIds:t})}static \u0275fac=function(r){return new(r||n)(Tt(xi))};static \u0275prov=St({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),qn=(()=>{class n{http;enums;servicesService;serviceUrl=Er_baseUrl+"api/bookings";booking;payTimeStateSelected;provider;keepBooking=!1;changedBookingId;bookingIdToCancel;constructor(t,r,i){this.http=t,this.enums=r,this.servicesService=i}voidBooking(){this.changedBookingId=null,(!this.keepBooking||(this.keepBooking=!1,!this.booking))&&(this.booking=new bf)}updateLocation(t,r=!0){t&&(this.booking||(this.booking=new bf),this.booking.locationId!==t.id&&(this.changedBookingId=this.booking.id,this.booking.address=null,this.booking.locationId=t.id,this.booking.location=t,this.booking.serviceIds=null,this.booking.services=null,this.booking.servicesConfig=null,r&&(this.booking.employee=null,this.booking.employeeId=null),this.booking.timeSlot=null))}addService(t,r=null,i=null){this.initServicesIfNull(),!(this.booking.serviceIds.indexOf(t.id)>-1)&&(this.changedBookingId=this.booking.id,this.booking.serviceIds.push(t.id),this.booking.services.push(t),this.booking.servicesConfig.push({serviceId:t.id,categoryId:r,parentServiceId:i}))}removeService(t){this.initServicesIfNull(),this.changedBookingId=this.booking.id,this.booking.services=this.booking.services.filter(r=>r.id!==t.id),this.booking.serviceIds=this.booking.serviceIds.filter(r=>r!==t.id),this.booking.servicesConfig=this.booking.servicesConfig.filter(r=>r.serviceId!==t.id),this.booking.servicesConfig.forEach(r=>{if(r.parentServiceId==t.id){var i=new tP;i.id=r.serviceId,this.removeService(i)}})}initServicesIfNull(){this.booking.serviceIds||(this.booking.serviceIds=[]),this.booking.services||(this.booking.services=[]),this.booking.servicesConfig||(this.booking.servicesConfig=[])}voidServices(){this.changedBookingId=this.booking.id,this.booking.serviceIds=[],this.booking.services=[]}bookingChanged(){this.booking?.id&&(this.changedBookingId=this.booking.id)}updateBarber(t){return this.booking||(this.booking=new bf),this.booking.employeeId===t.id?jt():(this.changedBookingId=this.booking.id,this.booking.employee=t,this.booking.employeeId=t.id,this.updateServicesPrices().pipe(rn(()=>{}),Jr(()=>jt(void 0))))}removeBarber(){return this.booking.employeeId=null,this.booking.employee=null,this.updateServicesPrices().pipe(rn(()=>{}),Jr(()=>jt(void 0)))}updateServicesPrices(){return this.booking.serviceIds?this.servicesService.updateServicesPrices(this.booking.serviceIds,this.booking.employeeId,this.booking.locationId,this.booking.timeSlot).pipe(Wn(t=>{t&&t.length&&(this.voidServices(),t.forEach(r=>this.addService(r)))}),Jr(t=>mc(()=>new Error("Error updating service prices")))):jt()}getBarberId(){return this.booking?this.booking.employeeId:null}getLocationId(){return this.booking?this.booking.locationId:null}getServiceIds(){return this.booking?this.booking.serviceIds:null}updateTimeSlot(t){return this.booking.timeSlot=t,this.changedBookingId=this.booking.id,this.updateServicesPrices().pipe(rn(()=>{}),Jr(()=>jt(void 0)))}updateCustomer(t){this.booking.customer=t}updateAddress(t){this.booking.address=t,this.changedBookingId=this.booking.id}updatePayTimeState(t){this.payTimeStateSelected=t}getTimeSlot(){return this.booking?this.booking.timeSlot:null}get hasChanges(){return this.booking.id&&this.booking.id===this.changedBookingId}getLocation(t,r){let i=this.serviceUrl+"/location";return i+=this.getParameter("serviceId",t,!0),i+=this.getParameter("employeeId",r,!t),this.http.getType(i)}getServices(){const t={ServiceIds:this.booking.serviceIds,BookingId:this.booking.id,EmployeeId:this.booking.employeeId,TimeSlot:this.booking.timeSlot},r=this.getUrlWithLocation()+"services";return this.http.postType(r,t)}getServicesWithCategories(){return this.http.postType(this.serviceUrl+"/v3/location/"+this.booking.locationId+"/services",{selectedServices:this.booking.servicesConfig,bookingId:this.booking.id,employeeId:this.booking.employeeId,timeSlot:this.booking.timeSlot})}getStylists(){const t=this.getUrlWithLocation()+"employees";return this.http.postType(t,{ServiceIds:this.booking.serviceIds,BookingId:this.booking.id,TimeSlot:this.booking.timeSlot})}getDates(t,r){const i=this.getUrlWithLocation()+t+"/"+r+"/dates?supportsWeekOption=true";return this.http.postType(i,{ServiceIds:this.booking.serviceIds,BookingId:this.booking.id,EmployeeId:this.booking.employeeId})}saveBooking(){return this.http.postType(this.serviceUrl+"/v2/save",this.booking).pipe(Wn(t=>this.booking.id=t.id))}confirmBooking(t){return this.http.postType(this.serviceUrl+"/confirm",t)}cancelBooking(t){return this.http.postType(this.serviceUrl+"/"+t+"/cancel",null)}getBookings(t,r){return t?this.http.getType(this.serviceUrl+"/customer/"+t+"?upcoming="+r):(new bf)[0]}getBooking(t){return this.http.getType(this.serviceUrl+"/"+t)}clientNotesActivated(){return this.http.getType(this.serviceUrl+"/has-notes")}checkIfCanCancel(t,r){return this.http.getType(this.serviceUrl+"/"+t+"/can-cancel?lang="+r)}checkIfCanEdit(t,r){return this.http.getType(this.serviceUrl+"/"+t+"/can-edit?lang="+r)}checkIfMustRegister(){return this.http.getType(this.serviceUrl+"/must-register")}isBookingRequest(){return this.booking?this.http.getType(this.serviceUrl+"/"+this.booking.id+"/is-request"):jt(!1)}getFullServicesPrice(){return this.booking&&this.booking.services?this.booking.services.reduce((t,r)=>t+r.price,0):-1}canEdit(){return!(this.booking&&this.booking.id&&this.booking.timeSlot&&(this.booking.state!==this.enums.BookingState.Confirmed&&this.booking.state!==this.enums.BookingState.Unconfirmed||this.booking.paymentTime))}canReview(){return!!(this.booking&&this.booking.id&&this.booking.timeSlot)&&(this.booking.state===this.enums.BookingState.Completed||this.booking.state===this.enums.BookingState.Confirmed)}getBookingCancelationData(t){return this.http.getType(this.serviceUrl+"/"+t+"/cancel")}getBookingCancelationPolicy(t){return this.http.postType(this.serviceUrl+"/cancellation-policy",t)}getUrlWithLocation(){return this.serviceUrl+"/v2/location/"+this.booking.locationId+"/"}getParameter(t,r,i){return r?(i?"?":"&")+t+"="+r:""}getBySpecialId(t){return this.http.getType(this.serviceUrl+"/special/"+t)}getPredefined(){return this.http.getType(this.serviceUrl+"/predefined/generate")}static \u0275fac=function(r){return new(r||n)(Tt(xi),Tt(kl),Tt(Sf))};static \u0275prov=St({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function GX(n,o){if(1&n&&(I(0,"ion-select-option",3),z(1),E()),2&n){const t=o.$implicit;P("value",t),C(),Re(t.toUpperCase())}}function WX(n,o){if(1&n){const t=Me();I(0,"ion-select",1),re("ionChange",function(i){return le(t),ce(M().onLangChange(i))}),se(1,GX,2,2,"ion-select-option",2),E()}if(2&n){const t=M();P("value",t.selectedLanguage),C(),P("ngForOf",t.getAllLangs())}}let oP=(()=>{class n extends Nn{injector;get selectedLanguage(){return this.orgService.organization.languageId}constructor(t){super(t),this.injector=t}ngOnInit(){}getAllLangs(){return this.orgService.organization.activatedLanguages||[]}onLangChange(t){const r=t.detail.value;this.orgService.changingLanguage=!0,this.orgService.updateCurrentLanguageAndConfig(r).pipe(Wn(()=>{this.orgService.changingLanguage=!1})).subscribe({error:i=>{this.presentAlert("Failed to change language",i.message)}})}static \u0275fac=function(r){return new(r||n)(N(Ht))};static \u0275cmp=je({type:n,selectors:[["app-language-switch"]],features:[Dt],decls:1,vars:1,consts:[["class","ml-10","interface","popover",3,"value","ionChange",4,"ngIf"],["interface","popover",1,"ml-10",3,"ionChange","value"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(r,i){if(1&r&&se(0,WX,2,2,"ion-select",0),2&r){let s;P("ngIf",(null==(s=i.getAllLangs())?null:s.length)>1)}},dependencies:[Gy,Wy,Pl,fo,Gt]})}return n})();function qX(n,o){if(1&n){const t=Me();I(0,"ion-header",1)(1,"ion-toolbar",2)(2,"ion-title",3),re("click",function(){return le(t),ce(M().navCtrl.navigateForward("tabs/home"))}),z(3),E(),I(4,"ion-buttons",4)(5,"ion-button",5),re("click",function(){return le(t),ce(M().addBooking())}),oe(6,"ion-icon",6),E(),I(7,"ion-button",5),re("click",function(){return le(t),ce(M().navCtrl.navigateForward("bookings"))}),z(8),E(),I(9,"ion-button",5),re("click",function(){return le(t),ce(M().navCtrl.navigateForward("stylists"))}),z(10),E(),I(11,"ion-button",5),re("click",function(){return le(t),ce(M().navCtrl.navigateForward("services"))}),z(12),E(),I(13,"ion-button",5),re("click",function(){return le(t),ce(M().navCtrl.navigateForward("tabs/locations"))}),z(14),E(),I(15,"ion-button",5),re("click",function(){return le(t),ce(M().navCtrl.navigateForward("tabs/about"))}),z(16),E(),oe(17,"app-language-switch"),I(18,"ion-button",5),re("click",function(i){return le(t),ce(M().showUserMenu(i))}),oe(19,"ion-icon",7),E()()()()}if(2&n){const t=M();C(3),Re(t.orgService.organization.name),C(2),P("disabled",t.orgService.changingLanguage),C(2),P("disabled",t.orgService.changingLanguage),C(),Te(" ",t.orgService.organization.settings.screens.welcome.appointmentsButtonText.value," "),C(),P("disabled",t.orgService.changingLanguage),C(),Te(" ",t.orgService.organization.settings.screens.welcome.barbersButtonText.value," "),C(),P("disabled",t.orgService.changingLanguage),C(),Te(" ",t.orgService.organization.settings.screens.welcome.servicesButtonText.value," "),C(),P("disabled",t.orgService.changingLanguage),C(),Te(" ",t.orgService.organization.settings.screens.tabs.locationsTab.value," "),C(),P("disabled",t.orgService.changingLanguage),C(),Te(" ",t.orgService.organization.settings.screens.tabs.aboutTab.value," "),C(2),P("disabled",t.orgService.changingLanguage)("disabled",t.orgService.changingLanguage)}}let Uo=(()=>{class n{orgService;navCtrl;popoverController;bookingService;accountService;constructor(t,r,i,s,u){this.orgService=t,this.navCtrl=r,this.popoverController=i,this.bookingService=s,this.accountService=u}addBooking(){this.bookingService.voidBooking(),this.navCtrl.navigateRoot("/booking")}showUserMenu(t){var r=this;return(0,Ge.A)(function*(){r.accountService.getToken().subscribe(i=>{r.navCtrl.navigateForward(i?"user":"login")},()=>{r.navCtrl.navigateForward("login")})})()}static \u0275fac=function(r){return new(r||n)(N(ei),N(Za),N(au),N(qn),N(gr))};static \u0275cmp=je({type:n,selectors:[["app-smart-bar"]],decls:1,vars:1,consts:[["class","web-item",4,"ngIf"],[1,"web-item"],["color","secondary"],[1,"pointer",3,"click"],["slot","primary"],[3,"click","disabled"],["name","add"],["name","person-circle-outline"]],template:function(r,i){1&r&&se(0,qX,20,14,"ion-header",0),2&r&&P("ngIf",i.orgService.organization&&i.orgService.organization.settings&&i.orgService.organization.settings.screens)},dependencies:[on,Ln,En,un,An,In,Gt,oP]})}return n})();function YX(n,o){1&n&&oe(0,"ion-img",6),2&n&&P("src",M().bonus.photo)}function KX(n,o){1&n&&oe(0,"ion-icon",7)}function XX(n,o){if(1&n&&(I(0,"ion-badge",8),z(1),E()),2&n){const t=M();P("color",t.color),C(),Re(t.bonus.pointsNeeded)}}let ZX=(()=>{class n{color="warning";bonus;points=0;constructor(){}ngOnInit(){this.bonus.pointsNeeded<=this.points&&(this.color="success")}static \u0275fac=function(r){return new(r||n)};static \u0275cmp=je({type:n,selectors:[["app-bonus-item"]],inputs:{bonus:"bonus",points:"points"},decls:8,vars:4,consts:[["color","primary"],["slot","start"],[3,"src",4,"ngIf"],["size","large","name","gift",4,"ngIf"],[1,"wrap"],["slot","end",3,"color",4,"ngIf"],[3,"src"],["size","large","name","gift"],["slot","end",3,"color"]],template:function(r,i){1&r&&(I(0,"ion-item",0)(1,"ion-avatar",1),se(2,YX,1,1,"ion-img",2)(3,KX,1,0,"ion-icon",3),E(),I(4,"ion-card-header")(5,"ion-card-title",4),z(6),E()(),se(7,XX,2,2,"ion-badge",5),E()),2&r&&(C(2),P("ngIf",i.bonus.photo),C(),P("ngIf",!i.bonus.photo),C(3),Re(i.bonus.name),C(),P("ngIf",i.bonus.pointsNeeded>0))},dependencies:[wc,ou,oo,lo,un,Ja,Dn,Gt],styles:["ion-icon[_ngcontent-%COMP%]{padding-right:0!important}"]})}return n})();function QX(n,o){if(1&n){const t=Me();I(0,"ion-header")(1,"ion-toolbar",1)(2,"ion-buttons",2)(3,"ion-button",3),re("click",function(){return le(t),ce(M().navCtrl.back())}),oe(4,"ion-icon",4),E()(),I(5,"ion-title"),z(6),E()(),oe(7,"app-smart-bar"),E()}if(2&n){const t=M();C(6),Re(t.orgService.organization.settings.screens.bonuses.toolbarText.value)}}function JX(n,o){if(1&n){const t=Me();I(0,"app-bonus-item",9),re("click",function(){const i=le(t).$implicit;return ce(M(2).showBonus(i))}),E()}if(2&n){const t=o.$implicit,r=M(2);P("bonus",t)("points",r.bonusPoints)}}function eZ(n,o){if(1&n&&(I(0,"ion-content")(1,"ion-list",5)(2,"ion-item",6)(3,"ion-card-header")(4,"ion-card-title",7),z(5),E(),I(6,"ion-card-subtitle"),z(7),E()()(),se(8,JX,1,2,"app-bonus-item",8),E()()),2&n){const t=M();C(5),Co(" ",t.orgService.organization.settings.screens.bonuses.pointsLabelText.value,": ",t.bonusPoints," "),C(2),Re(t.orgService.organization.settings.screens.bonuses.pointsDescriptionText.value),C(),P("ngForOf",t.bonuses)}}let rP=(()=>{class n extends Nn{injector;bonusesService;accountService;modalController;bonuses;bonusCard;constructor(t,r,i,s){super(t),this.injector=t,this.bonusesService=r,this.accountService=i,this.modalController=s}ngOnInit(){this.start()}ionViewWillEnter(){var t=this;return(0,Ge.A)(function*(){t.start()})()}start(){this.accountService.getToken().pipe(Wn(t=>{if(!t)throw this.navCtrl.navigateRoot("tabs/home"),new Error("No token found")}),Jr(t=>(console.error(t),[]))).subscribe(()=>{this.init()})}init(){this.showLoading().then(()=>{Ug({bonuses:this.bonusesService.getBonuses(),bonusCard:this.bonusesService.getBonusCard()}).pipe(Ca(()=>this.hideLoading())).subscribe(t=>{this.bonuses=t.bonuses,this.bonusCard=t.bonusCard})})}get bonusPoints(){return this.bonusCard?.pointsCurrent??0}showBonus(t){var r=this;return(0,Ge.A)(function*(){const i=yield r.modalController.create({component:eP,componentProps:{bonus:t,points:r.bonusCard.pointsCurrent}});return i.onDidDismiss().then(()=>{r.init(),r.bonusesService.countBonuses().subscribe(s=>r.bonusesService.availableBonuses=s)}),yield i.present()})()}static \u0275fac=function(r){return new(r||n)(N(Ht),N(tb),N(gr),N(Wr))};static \u0275cmp=je({type:n,selectors:[["app-bonuses"]],features:[Dt],decls:2,vars:2,consts:[[4,"ngIf"],["color","secondary",1,"mobile-item"],["slot","start"],[3,"click"],["name","arrow-back"],[1,"screen-item"],["color","primary"],[1,"mb-10"],[3,"bonus","points","click",4,"ngFor","ngForOf"],[3,"click","bonus","points"]],template:function(r,i){1&r&&se(0,QX,8,1,"ion-header",0)(1,eZ,9,4,"ion-content",0),2&r&&(P("ngIf",i.orgService.organization&&i.orgService.organization.settings&&i.orgService.organization.settings.screens),C(),P("ngIf",i.orgService.organization&&i.orgService.organization.settings&&i.orgService.organization.settings.screens))},dependencies:[fo,Gt,on,Ln,oo,gi,lo,Sn,En,un,Dn,Bo,An,In,Uo,ZX]})}return n})(),cs=(()=>{class n{http;injector;constructor(t,r){this.http=t,this.injector=r}baseUrl=Er_baseUrl+"api/v2/payments";tips;sourse;providerIdToEnumMap=new Map([["9bb240bc-25de-4100-aa84-0cf53117f9d4",xl.SquareUp],["df548a66-8902-438e-bcdc-b4e40fd7eeeb",xl.Stripe],["003c742e-c3f7-4bf9-88db-9114ebd3b672",xl.SumUp]]);updateTips(t){this.tips=null==t||t<0?0:t}getTips(){return this.tips||0}updateSource(t){this.sourse=t}getSource(){return this.sourse}createPaymentCard(t,r=null){let i=this.baseUrl+"/cards";return r&&(i+="?employeeId="+r),this.http.postType(i,t)}createPayment(t){return t.tip=this.tips||null,this.http.postType(this.baseUrl,t).pipe(Wn(()=>{this.tips=null,this.sourse=null}))}getPayment(t){return this.http.getType(this.baseUrl+"/"+t)}getCheckout(t,r){return this.http.getType(this.baseUrl+"/process-result/"+t+"?isAuthorization="+r)}createOrderPayment(t){return this.http.postType(this.baseUrl+"/order",t).pipe(Wn(()=>{this.tips=null,this.sourse=null}))}deleteCard(t){return this.http.post(this.baseUrl+"/cards/delete",{cardId:t})}getAllUserCards(t=null){let r=this.baseUrl+"/cards";return t&&(r+="?employeeId="+t),this.http.getType(r)}getPaymentProviderAppId(){return this.getPaymentProviderDetails().pipe(rn(t=>t?t.applicationCode:null))}getPaymentProviderPublicKey(){return this.getPaymentProviderDetails().pipe(rn(t=>t?t.key:null))}getPaymentProviderEnum(){return this.getPaymentProviderDetails().pipe(rn(t=>this.providerIdToEnumMap.get(t.paymentProviderId)??xl.Unknown))}getTermsAndConditions(t=null){let r=this.baseUrl+"/terms";return t&&(r+="?employeeId="+t),this.http.getType(r).pipe(rn(i=>i.newCardTermsAndConditions))}getEmployeeProviderData(t){let r=Er_baseUrl+"api/providers/employee";return t&&(r+="?employeeId="+t),this.http.getType(r)}getSquarePaymentProviderDetails(){const t=this.injector.get(qn),r=t.getBarberId(),i=t.getLocationId();let s=this.baseUrl+"/provider/location";const u=!!r;return u&&(s+="?employeeId="+r),i&&(s+=(u?"&":"?")+"locationId="+i),this.http.getType(s)}getPaymentProviderDetails(){const t=this.injector.get(qn).getBarberId();let r=this.baseUrl+"/provider";return t&&(r+="?employeeId="+t),this.http.getType(r)}static \u0275fac=function(r){return new(r||n)(Tt(xi),Tt(Ht))};static \u0275prov=St({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),i1=(()=>{class n{http;serviceUrl=Er_baseUrl+"api/locations";constructor(t){this.http=t}getLocations(){return this.http.getType(this.serviceUrl)}getLocation(t){return this.http.getType(this.serviceUrl+"/"+t)}getWorkSchedule(t){return this.http.getType(this.serviceUrl+"/"+t+"/week")}getAmenities(t,r){return this.http.postType(this.serviceUrl+"/amenities?lang="+t,r)}static \u0275fac=function(r){return new(r||n)(Tt(xi))};static \u0275prov=St({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function tZ(n,o){if(1&n){const t=Me();I(0,"ion-card",1)(1,"ion-card-header")(2,"ion-card-title"),z(3),E()(),I(4,"ion-card-content")(5,"ion-button",2),re("click",function(){return le(t),ce(M().onNowClick())}),z(6),E(),I(7,"ion-button",2),re("click",function(){return le(t),ce(M().onLaterClick())}),z(8),E(),I(9,"ion-button",3),re("click",function(){return le(t),ce(M().onCancelClick())}),z(10),E()()()}if(2&n){const t=M();C(3),Re(t.orgService.organization.settings.screens.payTimeMenu.questionText.value),C(3),Te(" ",t.orgService.organization.settings.screens.payTimeMenu.nowBtn.value,""),C(2),Te(" ",t.orgService.organization.settings.screens.payTimeMenu.laterBtn.value,""),C(2),Te(" ",t.orgService.organization.settings.screens.payTimeMenu.cancelBtn.value,"")}}let nZ=(()=>{class n{orgService;popoverController;constructor(t,r){this.orgService=t,this.popoverController=r}ngOnInit(){}onNowClick(){this.popoverController.dismiss("now")}onLaterClick(){this.popoverController.dismiss("later")}onCancelClick(){this.popoverController.dismiss(null)}static \u0275fac=function(r){return new(r||n)(N(ei),N(au))};static \u0275cmp=je({type:n,selectors:[["app-pay-time"]],decls:1,vars:1,consts:[["class","popover",4,"ngIf"],[1,"popover"],["color","secondary","expand","block",3,"click"],["color","tertiary","expand","block",1,"ion-margin-top","ion-margin-bottom",3,"click"]],template:function(r,i){1&r&&se(0,tZ,11,4,"ion-card",0),2&r&&P("ngIf",i.orgService.organization&&i.orgService.organization.settings)},dependencies:[on,Jn,To,oo,lo,Gt]})}return n})();var Lr=function(n){return n[n.PayNow=0]="PayNow",n[n.PayLater=1]="PayLater",n[n.PayNowOrLater=2]="PayNowOrLater",n[n.PaymentOptional=3]="PaymentOptional",n}(Lr||{});class iP{id;location;employee;services;servicesConfig;date;timeFrom;timeTo;options}let s1=(()=>{class n{constructor(){}getTimeDisplayFormat(t){return t?"hh:mm a":"HH:mm"}normalizeDate(t,r=!0){t.setSeconds(0),t.setMilliseconds(0),r&&t.setHours(t.getHours()-t.getTimezoneOffset()/60)}toStringDate(t){var r=new Date(t);return r.getFullYear()+"-"+this.to2Numbers(r.getMonth()+1)+"-"+this.to2Numbers(r.getDate())}to2Numbers(t){let r="";return t<10&&(r="0"),r+t}static \u0275fac=function(r){return new(r||n)};static \u0275prov=St({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),du=(()=>{class n{http;servicesService;accountService;utils;serviceUrl=Er_baseUrl+"api/waitinglist";bookingApiUrl=Er_baseUrl+"api/bookings";item;constructor(t,r,i,s){this.http=t,this.servicesService=r,this.accountService=i,this.utils=s,this.voidItem()}voidItem(){this.item=new iP,this.item.services=[],this.item.employee=null,this.item.date=new Date(Date.now()).toISOString(),this.item.location=null,this.item.id=null}getItem(){return this.item}getItemById(t){return this.http.getType(this.serviceUrl+"/"+t)}setItem(t){this.item=t}getItems(){return this.http.getType(this.serviceUrl)}saveItem(t=this.item){const r=t.id?this.serviceUrl+"/update":this.serviceUrl;return io(this.mapItemToDTO(t)).pipe(so(i=>this.http.postType(r,i)))}cancelItem(t=this.item){return this.http.post(`${this.serviceUrl}/${t.id}/cancel`,{})}updateBarber(t,r){r.employee?.id!=t.id&&(r.employee=t,r.services&&r.services.length&&this.servicesService.getBarberServices(this.getServicesIds(r),t.id).subscribe(i=>{i&&i.length&&(r.services=[],i.forEach(s=>this.addService(s)))}))}updateLocation(t){this.item.location=t,this.item.services=[],this.item.servicesConfig=[],this.item.employee=null}addService(t,r=null,i=null){null==this.item.services&&(this.item.services=[]),this.item.services.push(t),this.item.servicesConfig||(this.item.servicesConfig=[]),this.item.servicesConfig.push({serviceId:t.id,categoryId:r,parentServiceId:i})}removeService(t){null==this.item.services&&(this.item.services=[]),this.item.services=this.item.services.filter(r=>r.id!==t.id),this.item.servicesConfig=this.item.servicesConfig.filter(r=>r.serviceId!==t.id),this.item.servicesConfig.forEach(r=>{if(r.parentServiceId==t.id){var i=new tP;i.id=r.serviceId,this.removeService(i)}})}updateDate(t){this.item.date=new Date(t).toISOString()}updateTimeFrom(t){this.item.timeFrom="string"==typeof t?this.mapDateToMinutesTime(t):t}updateTimeTo(t){this.item.timeTo="string"==typeof t?this.mapDateToMinutesTime(t):t}mapDateToMinutesTime(t){return 60*(t=new Date(t)).getHours()+t.getMinutes()}mapMinutesTimeToDate(t){if(null==t)return new Date(0);const r=Math.floor(t/60),i=t%60,s=new Date(Date.now());return s.setHours(r),s.setMinutes(i),s}mapBookingToWaitingItem(t){return{location:{...t.location},services:[...t.services||[]],date:t.timeSlot&&t.timeSlot.date&&new Date(t.timeSlot.date).toISOString()||(new Date).toISOString(),employee:t.employee?{...t.employee}:null,servicesConfig:{...t.servicesConfig}}}getBarbers(t=this.item){const r=this.getBookingUrlWithLocation()+"employees",s={ServiceIds:this.getServicesIds(t)};return this.http.postType(r,s)}getServicesWithCategories(){return this.http.postType(this.bookingApiUrl+"/v3/location/"+this.item.location.id+"/services",{selectedServices:this.item?.servicesConfig,employeeId:this.item.employee?.id})}canCancel(t=this.item){return!!t.id}canUpdate(t=this.item){return!!t.id}hasAvailableOptions(t=this.item){return t.id&&t.options&&!!t.options.length}getServicesIds(t){return Array.isArray(t.services)?t.services.map(r=>r.id):[]}mapItemToDTO(t){var r=this;return(0,Ge.A)(function*(){const i=yield r.accountService.getCustomer().toPromise();return{id:t.id,date:r.utils.toStringDate(t.date),employeeId:t.employee&&t.employee.id,serviceIds:r.getServicesIds(t),timeFrom:t.timeFrom,timeTo:t.timeTo,locationId:t.location&&t.location.id,customerId:i.customerId,servicesConfig:t.servicesConfig}})()}getBookingUrlWithLocation(){return this.bookingApiUrl+"/v2/location/"+this.item.location.id+"/"}static \u0275fac=function(r){return new(r||n)(Tt(xi),Tt(Sf),Tt(gr),Tt(s1))};static \u0275prov=St({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function uu(n,o){const t="object"==typeof o;return new Promise((r,i)=>{const s=new qr({next:u=>{r(u),s.unsubscribe()},error:i,complete:()=>{t?r(o.defaultValue):i(new Gd)}});n.subscribe(s)})}let a1=(()=>{class n{http;serviceUrl=Er_baseUrl+"api/stylists";constructor(t){this.http=t}getStylists(){return this.http.getType(this.serviceUrl)}getStylist(t){return this.http.getType(this.serviceUrl+"/"+t)}getStylistLookbook(t){return this.http.getType(this.serviceUrl+"/"+t+"/lookbook")}getStylistNextAvailability(t,r,i,s){return this.http.postType(this.serviceUrl+"/"+t+"/availability?lang="+s,{locationId:r,serviceIds:i})}static \u0275fac=function(r){return new(r||n)(Tt(xi))};static \u0275prov=St({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();class oZ{creditCardRequired;paymentPolicy;isTipsEnabled;depositSizePercentages;tipsValues}function rZ(n,o){if(1&n&&(I(0,"ion-label",8)(1,"h1",9),z(2),E()()),2&n){const t=M(2);C(2),Re(t.settings.screens.appointment.cancellationPolicyTitle.value)}}function iZ(n,o){if(1&n&&(I(0,"ion-item",10),oe(1,"ion-icon",11),I(2,"ion-label",12),z(3),E()()),2&n){const t=M(2);C(3),Re(t.cancellationData.cancellationPolicy)}}function sZ(n,o){if(1&n&&(I(0,"h2"),z(1),E()),2&n){const t=M(3);C(),Te(" ",t.settings.screens.appointment.cancelForFreeUntilLabel.value,":")}}function aZ(n,o){if(1&n&&(I(0,"ion-item",10),oe(1,"ion-icon",13),I(2,"ion-label",14),se(3,sZ,2,1,"h2",15),I(4,"p"),z(5),E()()()),2&n){const t=M(2);C(3),P("ngIf",t.settings.screens.appointment.cancelForFreeUntilLabel),C(2),Co("",t.cancellationData.freeCancelTillTime," ",t.cancellationData.freeCancelTillDate,"")}}function lZ(n,o){if(1&n&&(I(0,"ion-cal")(1,"h2"),z(2),E()()),2&n){const t=M(3);C(2),Te(" ",t.settings.screens.appointment.feeForCancellationLabel.value,":")}}function cZ(n,o){if(1&n&&(I(0,"span"),z(1),E()),2&n){const t=M(4);C(),Re(t.settings.screens.appointment.cancellationFeeHours.value)}}function dZ(n,o){if(1&n&&(I(0,"span"),z(1),E()),2&n){const t=M(4);C(),Re(t.settings.screens.appointment.cancellationFeeHour.value)}}function uZ(n,o){if(1&n&&(I(0,"ion-row")(1,"ion-col"),z(2),se(3,cZ,2,1,"span",15)(4,dZ,2,1,"span",15),E(),I(5,"ion-col"),z(6),E()()),2&n){const t=o.$implicit,r=M(3);C(2),Te("< ",t.hours," "),C(),P("ngIf",r.settings.screens.appointment.cancellationFeeHours&&1!=t.hours),C(),P("ngIf",r.settings.screens.appointment.cancellationFeeHour&&1==t.hours),C(2),Te("",t.percentAmount," %")}}function gZ(n,o){if(1&n&&(I(0,"ion-item",10),oe(1,"ion-icon",16),I(2,"ion-label",14)(3,"ion-grid")(4,"ion-row"),se(5,lZ,3,1,"ion-cal",15),E(),se(6,uZ,7,4,"ion-row",17),E()()()),2&n){const t=M(2);C(5),P("ngIf",t.settings.screens.appointment.feeForCancellationLabel),C(),P("ngForOf",t.cancellationData.cancellationValues)}}function fZ(n,o){if(1&n){const t=Me();I(0,"ion-content",1)(1,"ion-item",2),se(2,rZ,3,1,"ion-label",3),I(3,"ion-button",4),re("click",function(){return le(t),ce(M().declinePolicy())}),oe(4,"ion-icon",5),E()(),se(5,iZ,4,1,"ion-item",6)(6,aZ,6,3,"ion-item",6)(7,gZ,7,2,"ion-item",6),I(8,"ion-button",7),re("click",function(){return le(t),ce(M().agreeToPolicy())}),z(9),E()()}if(2&n){const t=M();C(2),P("ngIf",t.settings.screens.appointment.cancellationPolicyTitle),C(3),P("ngIf",t.cancellationData.cancellationPolicy),C(),P("ngIf",t.cancellationData.freeCancelTillTime),C(),P("ngIf",t.cancellationData.cancellationValues&&t.cancellationData.cancellationValues.length),C(2),Re((null==t.settings.screens.appointment.cancellationPolicyAgreeButtonText?null:t.settings.screens.appointment.cancellationPolicyAgreeButtonText.value)||"Ok")}}let pZ=(()=>{class n{modalController;cancellationData;settings;constructor(t){this.modalController=t}agreeToPolicy(){var t=this;return(0,Ge.A)(function*(){yield t.modalController.dismiss({agree:!0})})()}declinePolicy(){var t=this;return(0,Ge.A)(function*(){yield t.modalController.dismiss({agree:!1})})()}static \u0275fac=function(r){return new(r||n)(N(Wr))};static \u0275cmp=je({type:n,selectors:[["app-cancellation-modal"]],inputs:{cancellationData:"cancellationData",settings:"settings"},decls:1,vars:1,consts:[["class","padding","color","primary",4,"ngIf"],["color","primary",1,"padding"],["color","secondary",1,"pointer"],["class","ion-text-wrap header color-secondary-contrast",4,"ngIf"],["color","secondary","slot","end",3,"click"],["name","close"],["color","primary",4,"ngIf"],["color","success","expand","full",3,"click"],[1,"ion-text-wrap","header","color-secondary-contrast"],[1,"title"],["color","primary"],["name","info","slot","start"],[1,"ion-text-wrap","policy-text"],["name","deadline","slot","start"],[1,"ion-text-wrap"],[4,"ngIf"],["name","warning","slot","start"],[4,"ngFor","ngForOf"]],template:function(r,i){1&r&&se(0,fZ,10,5,"ion-content",0),2&r&&P("ngIf",i.settings)},dependencies:[on,Ni,Sn,iu,un,Dn,co,fi,fo,Gt],styles:[".color-secondary-contrast[_ngcontent-%COMP%]{color:var(--ion-color-secondary-contrast)!important}.policy-text[_ngcontent-%COMP%]{max-height:150px!important;overflow-y:scroll!important}"]})}return n})();var hn=function(n){return n[n.State=0]="State",n[n.Transition=1]="Transition",n[n.Sequence=2]="Sequence",n[n.Group=3]="Group",n[n.Animate=4]="Animate",n[n.Keyframes=5]="Keyframes",n[n.Style=6]="Style",n[n.Trigger=7]="Trigger",n[n.Reference=8]="Reference",n[n.AnimateChild=9]="AnimateChild",n[n.AnimateRef=10]="AnimateRef",n[n.Query=11]="Query",n[n.Stagger=12]="Stagger",n}(hn||{});const el="*";function Xs(n,o){return{type:hn.Trigger,name:n,definitions:o,options:{}}}function Zs(n,o=null){return{type:hn.Animate,styles:o,timings:n}}function cr(n){return{type:hn.Style,styles:n,offset:null}}function mZ(n,o,t){return{type:hn.State,name:n,styles:o,options:t}}function Qs(n,o,t=null){return{type:hn.Transition,expr:n,animation:o,options:t}}function gu(n,o,t=null){return{type:hn.Query,selector:n,animation:o,options:t}}function fu(n,o){return{type:hn.Stagger,timings:n,animation:o}}class Cf{constructor(o=0,t=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=o+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(o=>o()),this._onDoneFns=[])}onStart(o){this._originalOnStartFns.push(o),this._onStartFns.push(o)}onDone(o){this._originalOnDoneFns.push(o),this._onDoneFns.push(o)}onDestroy(o){this._onDestroyFns.push(o)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(o=>o()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(o=>o()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(o){this._position=this.totalTime?o*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(o){const t="start"==o?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}}class sP{constructor(o){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=o;let t=0,r=0,i=0;const s=this.players.length;0==s?queueMicrotask(()=>this._onFinish()):this.players.forEach(u=>{u.onDone(()=>{++t==s&&this._onFinish()}),u.onDestroy(()=>{++r==s&&this._onDestroy()}),u.onStart(()=>{++i==s&&this._onStart()})}),this.totalTime=this.players.reduce((u,p)=>Math.max(u,p.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(o=>o()),this._onDoneFns=[])}init(){this.players.forEach(o=>o.init())}onStart(o){this._onStartFns.push(o)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(o=>o()),this._onStartFns=[])}onDone(o){this._onDoneFns.push(o)}onDestroy(o){this._onDestroyFns.push(o)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(o=>o.play())}pause(){this.players.forEach(o=>o.pause())}restart(){this.players.forEach(o=>o.restart())}finish(){this._onFinish(),this.players.forEach(o=>o.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(o=>o.destroy()),this._onDestroyFns.forEach(o=>o()),this._onDestroyFns=[])}reset(){this.players.forEach(o=>o.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(o){const t=o*this.totalTime;this.players.forEach(r=>{const i=r.totalTime?Math.min(1,t/r.totalTime):1;r.setPosition(i)})}getPosition(){const o=this.players.reduce((t,r)=>null===t||r.totalTime>t.totalTime?r:t,null);return null!=o?o.getPosition():0}beforeDestroy(){this.players.forEach(o=>{o.beforeDestroy&&o.beforeDestroy()})}triggerCallback(o){const t="start"==o?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}}function SZ(n,o){1&n&&oe(0,"div",2),2&n&&gh("background-image","url("+M().photo+")")}function CZ(n,o){if(1&n&&(I(0,"div",3),oe(1,"ion-icon",4),E()),2&n){const t=M();C(),P("name",t.default)}}let l1=(()=>{class n{photo;default;constructor(){}ngOnInit(){}static \u0275fac=function(r){return new(r||n)};static \u0275cmp=je({type:n,selectors:[["app-avatar"]],inputs:{photo:"photo",default:"default"},decls:2,vars:2,consts:[["class","avatar-box",3,"background-image",4,"ngIf"],["slot","start","class","no-avatar-box ",4,"ngIf"],[1,"avatar-box"],["slot","start",1,"no-avatar-box"],["size","large",3,"name"]],template:function(r,i){1&r&&se(0,SZ,1,2,"div",0)(1,CZ,2,1,"div",1),2&r&&(P("ngIf",i.photo),C(),P("ngIf",!i.photo))},dependencies:[un,Gt],styles:[".avatar-box[_ngcontent-%COMP%]{width:67px;height:67px;background-size:cover;background-position:center center;border-radius:10px}.no-avatar-box[_ngcontent-%COMP%]{width:67px;height:67px;background-color:var(--ion-color-secondary)!important;border-radius:10px;display:table-cell;text-align:center;vertical-align:middle}.no-avatar-box[_ngcontent-%COMP%]   ion-icon[_ngcontent-%COMP%]{color:var(--ion-color-secondary-contrast)!important}"]})}return n})();function TZ(n,o){if(1&n&&oe(0,"app-avatar",7),2&n){const t=M();P("photo",t.stylist.photo)("default",t.orgService.organization.settings.images.icons.barber.value)}}function wZ(n,o){if(1&n&&(I(0,"p",8),z(1),I(2,"span"),z(3),E()()),2&n){const t=M();C(),Te(" ",null==t.orgService.organization.settings.screens.barbers.nextAvailableLabel?null:t.orgService.organization.settings.screens.barbers.nextAvailableLabel.value,": "),C(),P("@fadeIn",t.availability),C(),Re(t.availability?t.availability:"-")}}function EZ(n,o){if(1&n){const t=Me();I(0,"ion-button",9),re("click",function(){return le(t),ce(M().onClose.emit())}),oe(1,"ion-icon",10),E()}}let c1=(()=>{class n{orgService;bookingService;stylistService;stylist;onClose=new $n;showCloseButton;disabled=!1;displayAvailability;hideImage=!1;availability;subscriptions=new Wt;constructor(t,r,i){this.orgService=t,this.bookingService=r,this.stylistService=i}ngOnInit(){setTimeout(()=>this.getAvailability(),0)}ngOnDestroy(){setTimeout(()=>this.subscriptions.unsubscribe(),0)}getAvailability(){if(!this.displayAvailability)return;const t=this.orgService.getCachedLanguage().subscribe(r=>{const i=this.bookingService.getLocationId(),s=this.bookingService.getServiceIds(),u=this.stylistService.getStylistNextAvailability(this.stylist.id,i,s,r).subscribe(p=>{this.availability=p});this.subscriptions.add(u)});this.subscriptions.add(t)}static \u0275fac=function(r){return new(r||n)(N(ei),N(qn),N(a1))};static \u0275cmp=je({type:n,selectors:[["app-stylist-item"]],inputs:{stylist:"stylist",showCloseButton:"showCloseButton",disabled:"disabled",displayAvailability:"displayAvailability",hideImage:"hideImage"},outputs:{onClose:"onClose"},decls:9,vars:8,consts:[["color","primary",1,"pointer",3,"disabled","detail"],["slot","start",3,"photo","default",4,"ngIf"],[1,"ion-text-wrap","header"],[1,"subtitle"],[1,"title"],["class","description ion-text-wrap mt-5",4,"ngIf"],["slot","end",3,"click",4,"ngIf"],["slot","start",3,"photo","default"],[1,"description","ion-text-wrap","mt-5"],["slot","end",3,"click"],["name","close"]],template:function(r,i){1&r&&(I(0,"ion-item",0),se(1,TZ,1,2,"app-avatar",1),I(2,"ion-label",2)(3,"p",3),z(4),E(),I(5,"h1",4),z(6),E(),se(7,wZ,4,3,"p",5),E(),se(8,EZ,2,0,"ion-button",6),E()),2&r&&(P("disabled",i.disabled)("detail",!i.showCloseButton&&!i.hideImage),C(),P("ngIf",!i.hideImage),C(3),Re(i.stylist.title),C(2),Co("",i.stylist.firstName," ",i.stylist.lastName,""),C(),P("ngIf",i.displayAvailability&&(null==i.orgService.organization.settings.screens.barbers.nextAvailableLabel?null:i.orgService.organization.settings.screens.barbers.nextAvailableLabel.value)),C(),P("ngIf",i.showCloseButton))},dependencies:[on,un,Dn,co,Gt,l1],data:{animation:[Xs("fadeIn",[mZ("void",cr({opacity:0})),Qs("void => *",[Zs("500ms ease-in")])])]}})}return n})();function DZ(n,o){if(1&n&&(I(0,"td")(1,"div",3),z(2),E()()),2&n){const t=M();C(2),Te(" ",t.rating," ")}}function PZ(n,o){1&n&&oe(0,"div"),2&n&&function e9(n,o,t){Us(es,ba,Id(it(),n,o,t),!0)}("brb-star ",o.$implicit.class,"")}function MZ(n,o){if(1&n&&(I(0,"td")(1,"div",4),z(2),E()()),2&n){const t=M();C(2),Te(" (",t.reviews,") ")}}let rb=(()=>{class n{stars=null;rating;reviews;onlyStars;constructor(){this.updateStars()}ngOnInit(){this.updateStars()}updateStars(){const t=[];for(let i=0;i<5;i++)if(this.rating>=i+1)t.push({class:"brb-star-filled"});else if(this.rating>i&&this.rating<i+1){const s=this.rating-i;t.push(s>.71?{class:"brb-star-filled"}:s>=.29?{class:"brb-star-half-filled"}:{class:""})}else t.push({class:""});this.stars=t}static \u0275fac=function(r){return new(r||n)};static \u0275cmp=je({type:n,selectors:[["location-rating"]],inputs:{rating:"rating",reviews:"reviews",onlyStars:"onlyStars"},decls:6,vars:3,consts:[[4,"ngIf"],[1,"stars"],[3,"class",4,"ngFor","ngForOf"],[1,"mr-5"],[1,"ml-5"]],template:function(r,i){1&r&&(I(0,"table")(1,"tr"),se(2,DZ,3,1,"td",0),I(3,"td",1),se(4,PZ,1,3,"div",2),E(),se(5,MZ,3,1,"td",0),E()()),2&r&&(C(2),P("ngIf",!i.onlyStars),C(2),P("ngForOf",i.stars),C(),P("ngIf",!i.onlyStars))},dependencies:[fo,Gt],styles:[".brb-star-filled[_ngcontent-%COMP%]{background-image:url(/assets/icons/star.png);width:16px;height:16px;display:table-cell!important;background-size:contain;background-repeat:no-repeat;margin-top:auto!important;margin-bottom:auto!important}.barb-star-half-filled[_ngcontent-%COMP%]{background-image:url(/assets/icons/half-star.png);width:16px;height:16px;display:table-cell!important;background-size:contain;background-repeat:no-repeat;margin-top:auto!important;margin-bottom:auto!important}.stars[_ngcontent-%COMP%]{text-align:center!important;vertical-align:middle!important}.brb-star[_ngcontent-%COMP%]{margin-top:auto!important;margin-bottom:auto!important}"]})}return n})();function $Z(n,o){if(1&n&&oe(0,"app-avatar",8),2&n){const t=M();P("photo",t.location.photoUrl)("default",t.orgService.organization.settings.images.icons.location.value)}}function AZ(n,o){if(1&n&&(I(0,"span"),z(1),E()),2&n){const t=M();C(),Te("",t.location.streetAddress," ")}}function NZ(n,o){if(1&n&&(I(0,"span"),z(1),E()),2&n){const t=M();C(),Co("",t.location.city," ",t.location.zipCode,"")}}function xZ(n,o){if(1&n&&oe(0,"location-rating",9),2&n){const t=M();P("rating",t.location.rating)("reviews",t.location.userRatingsTotal)}}let d1=(()=>{class n{orgService;location;disabled=!1;isFromBooking=!1;hideArrow=!1;hideStreetAddress=!1;constructor(t){this.orgService=t}ngOnInit(){}static \u0275fac=function(r){return new(r||n)(N(ei))};static \u0275cmp=je({type:n,selectors:[["app-location-item"]],inputs:{location:"location",disabled:"disabled",isFromBooking:"isFromBooking",hideArrow:"hideArrow",hideStreetAddress:"hideStreetAddress"},decls:10,vars:7,consts:[["color","primary",1,"pointer",3,"disabled","detail"],["slot","start",3,"photo","default",4,"ngIf"],[1,"ion-text-wrap","header"],[1,"subtitle","mb-10"],[1,"title"],[4,"ngIf"],[1,"mt-10"],[3,"rating","reviews",4,"ngIf"],["slot","start",3,"photo","default"],[3,"rating","reviews"]],template:function(r,i){1&r&&(I(0,"ion-item",0),se(1,$Z,1,2,"app-avatar",1),I(2,"ion-label",2)(3,"p",3),z(4),E(),I(5,"h1",4),se(6,AZ,2,1,"span",5)(7,NZ,2,2,"span",5),E(),I(8,"div",6),se(9,xZ,1,2,"location-rating",7),E()()()),2&r&&(P("disabled",i.disabled)("detail",!i.hideArrow),C(),P("ngIf",i.orgService.organization&&i.orgService.organization.settings),C(3),Te(" ",i.location.name," "),C(2),P("ngIf",!i.hideStreetAddress&&i.location.streetAddress),C(),P("ngIf",!i.location.isMobile),C(2),P("ngIf",i.location.rating))},dependencies:[Dn,co,Gt,l1,rb]})}return n})();function OZ(n,o){if(1&n&&(I(0,"span",14),oe(1,"i",15),z(2),E()),2&n){const t=M(2);C(2),Re(t.service.duration)}}function kZ(n,o){1&n&&oe(0,"i",17)}function RZ(n,o){if(1&n&&(I(0,"span"),se(1,kZ,1,0,"i",16),z(2),Go(3,"currency"),E()),2&n){const t=M(2);C(),P("ngIf",!(null!=t.orgService.organization&&t.orgService.organization.currency)),C(),Te(" ",xr(3,2,t.service.price,"",null==t.orgService.organization?null:t.orgService.organization.currency),"")}}function LZ(n,o){if(1&n){const t=Me();I(0,"ion-button",18),re("click",function(){return le(t),ce(M(2).onClose.emit())}),oe(1,"ion-icon",19),E()}}function FZ(n,o){1&n&&oe(0,"ion-icon",20)}function BZ(n,o){1&n&&oe(0,"ion-icon",21)}function UZ(n,o){1&n&&oe(0,"ion-icon",22)}function zZ(n,o){if(1&n&&(I(0,"ion-item",3),oe(1,"app-avatar",4),I(2,"ion-label",5)(3,"h1",6),z(4),E(),I(5,"p",7),se(6,OZ,3,1,"span",8)(7,RZ,4,6,"span",9),E()(),se(8,LZ,2,0,"ion-button",10)(9,FZ,1,0,"ion-icon",11)(10,BZ,1,0,"ion-icon",12)(11,UZ,1,0,"ion-icon",13),E()),2&n){const t=M();P("disabled",t.disabled),C(),P("photo",t.service.photo)("default",t.orgService.organization.settings.images.icons.service.value),C(3),Re(t.service.name),C(2),P("ngIf",t.service.duration),C(),P("ngIf",t.service.price),C(),P("ngIf",t.showCloseButton),C(),P("ngIf",t.selected&&t.isFromBooking),C(),P("ngIf",!t.selected&&t.isFromBooking),C(),P("ngIf",!t.isFromBooking&&!t.showCloseButton)}}function VZ(n,o){if(1&n&&oe(0,"app-service-item",25),2&n){const t=o.$implicit,r=M(2);P("service",t)("isExtra",!0)("disabled",r.disabled)("isFromBooking",!1)("@simpleFade",void 0)}}function HZ(n,o){if(1&n&&(I(0,"ion-list",23),se(1,VZ,1,5,"app-service-item",24),E()),2&n){const t=M();C(),P("ngForOf",t.extras)}}function jZ(n,o){if(1&n&&(I(0,"span",14),oe(1,"i",15),z(2),E()),2&n){const t=M(2);C(2),Re(t.service.duration)}}function GZ(n,o){1&n&&oe(0,"i",17)}function WZ(n,o){if(1&n&&(I(0,"span"),se(1,GZ,1,0,"i",16),z(2),Go(3,"currency"),E()),2&n){const t=M(2);C(),P("ngIf",!(null!=t.orgService.organization&&t.orgService.organization.currency)),C(),Te(" ",xr(3,2,t.service.price,"",null==t.orgService.organization?null:t.orgService.organization.currency),"")}}function qZ(n,o){1&n&&oe(0,"ion-icon",20)}function YZ(n,o){1&n&&oe(0,"ion-icon",21)}function KZ(n,o){if(1&n&&(I(0,"ion-item",26),oe(1,"ion-icon",27),I(2,"ion-label",5)(3,"p",28),z(4),E(),I(5,"p",29),se(6,jZ,3,1,"span",8)(7,WZ,4,6,"span",9),E()(),se(8,qZ,1,0,"ion-icon",11)(9,YZ,1,0,"ion-icon",12),E()),2&n){const t=M();P("disabled",t.disabled),C(4),Re(t.service.name),C(2),P("ngIf",t.service.duration),C(),P("ngIf",t.service.price),C(),P("ngIf",t.selected&&t.isFromBooking),C(),P("ngIf",!t.selected&&t.isFromBooking)}}let ib=(()=>{class n{orgService;service;extras;onClose=new $n;showCloseButton;disabled=!1;selected;isFromBooking;isExtra;constructor(t){this.orgService=t}ngOnInit(){this.orgService.organization.currency||(this.orgService.organization.currency="")}static \u0275fac=function(r){return new(r||n)(N(ei))};static \u0275cmp=je({type:n,selectors:[["app-service-item"]],inputs:{service:"service",extras:"extras",showCloseButton:"showCloseButton",disabled:"disabled",selected:"selected",isFromBooking:"isFromBooking",isExtra:"isExtra"},outputs:{onClose:"onClose"},decls:3,vars:3,consts:[["color","primary","lines","full","class","pointer",3,"disabled",4,"ngIf"],["class","mt-0 pt-0 pb-0",4,"ngIf"],["lines","none","class","extra pointer",3,"disabled",4,"ngIf"],["color","primary","lines","full",1,"pointer",3,"disabled"],["slot","start",3,"photo","default"],[1,"ion-text-wrap","header"],[1,"title"],[1,"subtitle","mt-10"],["class","mr-15",4,"ngIf"],[4,"ngIf"],["slot","end",3,"click",4,"ngIf"],["slot","end","name","checkbox-outline",4,"ngIf"],["slot","end","name","stop-outline",4,"ngIf"],["slot","end","name","arrow-forward",4,"ngIf"],[1,"mr-15"],[1,"flaticon-clock","mr-5"],["class","flaticon-wallet mr-5",4,"ngIf"],[1,"flaticon-wallet","mr-5"],["slot","end",3,"click"],["name","close"],["slot","end","name","checkbox-outline"],["slot","end","name","stop-outline"],["slot","end","name","arrow-forward"],[1,"mt-0","pt-0","pb-0"],[3,"service","isExtra","disabled","isFromBooking",4,"ngFor","ngForOf"],[3,"service","isExtra","disabled","isFromBooking"],["lines","none",1,"extra","pointer",3,"disabled"],["slot","start","name","add",1,"logo"],[1,"subtitle"],[1,"subtitle","mt-5"]],template:function(r,i){1&r&&se(0,zZ,12,10,"ion-item",0)(1,HZ,2,1,"ion-list",1)(2,KZ,10,6,"ion-item",2),2&r&&(P("ngIf",!i.isExtra),C(),P("ngIf",i.extras&&i.extras.length),C(),P("ngIf",i.isExtra&&i.service))},dependencies:[on,un,Dn,co,Bo,fo,Gt,n,l1,Ts],styles:[".extra[_ngcontent-%COMP%]{background-color:var(--ion-color-primary-tint)!important;color:var(--ion-color-primary-contrast)!important}.extra[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{margin-left:70px!important;color:var(--ion-color-primary-contrast)!important;font-size:16px!important}.extra[_ngcontent-%COMP%]   .subtitle[_ngcontent-%COMP%]{color:var(--ion-color-primary-contrast)!important}"],data:{animation:[Xs("simpleFade",[Qs(":enter",[cr({opacity:0}),Zs("300ms",cr({opacity:1}))])])]}})}return n})();const XZ=["script"];function ZZ(n,o){if(1&n){const t=Me();I(0,"ion-header")(1,"ion-toolbar",2)(2,"ion-buttons",3)(3,"ion-button",4),re("click",function(){return le(t),ce(M().goBack())}),oe(4,"ion-icon",5),E()(),I(5,"ion-title"),z(6),E(),I(7,"ion-buttons",6)(8,"ion-button",4),re("click",function(i){return le(t),ce(M().showUserMenu(i))}),oe(9,"ion-icon",7),E()()(),oe(10,"app-smart-bar"),E()}if(2&n){const t=M();C(6),Re(t.orgService.organization.settings.screens.appointment.toolbarText.value)}}function QZ(n,o){if(1&n&&(I(0,"ion-item",26),oe(1,"ion-icon",27),I(2,"ion-label",28),z(3),E()()),2&n){const t=M(2);C(3),Co(" ",t.orgService.organization.settings.screens.appointments.changeNotAllowedWarningText.value," ",t.timeToEdit," ")}}function JZ(n,o){if(1&n&&(I(0,"ion-item",26),oe(1,"ion-icon",27),I(2,"ion-label",28),z(3),E()()),2&n){const t=M(2);C(3),Te(" ",t.orgService.organization.settings.screens.appointments.notYetConfirmedWarningText.value," ")}}function eQ(n,o){if(1&n){const t=Me();I(0,"ion-item",29),re("click",function(){return le(t),ce(M(2).navigateTo("locations"))}),oe(1,"ion-icon",30),I(2,"ion-card-header")(3,"ion-card-title",31),z(4),E()()()}if(2&n){const t=M(2);P("detail",!0),C(),P("name",t.orgService.organization.settings.images.icons.location.value),C(3),Te(" ",t.orgService.organization.settings.screens.appointment.locationSelectText.value," ")}}function tQ(n,o){if(1&n){const t=Me();I(0,"app-location-item",32),re("click",function(){return le(t),ce(M(2).navigateTo("locations"))}),E()}if(2&n){const t=M(2);P("disabled",t.bookingLoading)("hideStreetAddress",t.hideStreetAddress&&(!t.booking.id||t.booking.id&&t.booking.state==t.enums.BookingState.Unconfirmed))("isFromBooking",!0)("hideArrow",!t.canEdit||t.editTimeIsOver||!t.locations||t.locations.length<2)("location",t.booking.location)}}function nQ(n,o){if(1&n){const t=Me();I(0,"ion-item",33),re("click",function(){return le(t),ce(M(2).navigateTo("address"))}),oe(1,"app-avatar",34),I(2,"ion-card-header",35)(3,"ion-card-title",31),z(4),E()()()}if(2&n){const t=M(2);P("color",t.addressIsValid?"primary":"danger")("detail",!t.editTimeIsOver&&t.canEdit)("disabled",t.bookingLoading),C(),P("default",null==t.orgService.organization.settings.images.icons.location?null:t.orgService.organization.settings.images.icons.location.value),C(3),Te(" ",t.orgService.organization.settings.screens.appointment.fillAddressLabel.value," ")}}function oQ(n,o){if(1&n){const t=Me();I(0,"ion-button",41),re("click",function(){return le(t),ce(M(3).booking.address=null)}),oe(1,"ion-icon",42),E()}}function rQ(n,o){if(1&n){const t=Me();I(0,"ion-item",36),re("click",function(){return le(t),ce(M(2).navigateTo("address"))}),oe(1,"ion-icon",37),I(2,"ion-card-header")(3,"ion-card-subtitle",38),z(4),E(),I(5,"ion-card-title",39),z(6),E()(),se(7,oQ,2,0,"ion-button",40),E()}if(2&n){const t=M(2);P("disabled",t.bookingLoading),C(),P("name",t.orgService.organization.settings.images.icons.location.value),C(3),Co(" ",t.booking.address.city,", ",t.booking.address.country," "),C(2),Re(t.booking.address.streetAddress),C(),P("ngIf",t.canEdit&&!t.editTimeIsOver)}}function iQ(n,o){if(1&n){const t=Me();I(0,"ion-item",43),re("click",function(){return le(t),ce(M(2).navigateTo("barber"))}),oe(1,"ion-icon",37),I(2,"ion-card-header")(3,"ion-card-title",31),z(4),E()()()}if(2&n){const t=M(2);P("color",t.barberIsValid?"primary":"danger")("detail",!0)("disabled",t.bookingLoading),C(),P("name",t.orgService.organization.settings.images.icons.barber.value),C(3),Te(" ",t.orgService.organization.settings.screens.appointment.barberSelectText.value," ")}}function sQ(n,o){if(1&n){const t=Me();I(0,"app-stylist-item",44),re("click",function(){return le(t),ce(M(2).navigateTo("barber"))})("onClose",function(){return le(t),ce(M(2).removeBarber())}),E()}if(2&n){const t=M(2);P("disabled",t.bookingLoading)("stylist",t.booking.employee)("showCloseButton",t.canEdit&&!t.editTimeIsOver)}}function aQ(n,o){if(1&n){const t=Me();I(0,"ion-item",43),re("click",function(){return le(t),ce(M(2).navigateTo("service"))}),oe(1,"ion-icon",37),I(2,"ion-card-header")(3,"ion-card-title",31),z(4),E()()()}if(2&n){const t=M(2);P("color",t.serviceIsValid?"primary":"danger")("detail",!0)("disabled",t.bookingLoading),C(),P("name",t.orgService.organization.settings.images.icons.service.value),C(3),Te(" ",t.orgService.organization.settings.screens.appointment.serviceSelectText.value," ")}}function lQ(n,o){if(1&n){const t=Me();I(0,"app-service-item",46),re("click",function(){le(t);const i=M().$implicit;return ce(M(2).navigateTo("service",i.id))})("onClose",function(){le(t);const i=M().$implicit;return ce(M(2).bookingService.removeService(i))}),E()}if(2&n){const t=M().$implicit,r=M(2);P("disabled",r.bookingLoading)("extras",r.getExtras(t.id))("showCloseButton",r.canEdit&&!r.editTimeIsOver)("service",t)}}function cQ(n,o){if(1&n&&(I(0,"span"),se(1,lQ,1,4,"app-service-item",45),E()),2&n){const t=o.$implicit,r=M(2);C(),P("ngIf",!r.isExtra(t.id))}}function dQ(n,o){if(1&n){const t=Me();I(0,"ion-item",47),re("click",function(){return le(t),ce(M(2).navigateTo("service"))}),I(1,"ion-label",48),z(2),E()()}if(2&n){const t=M(2);C(2),Re(t.orgService.organization.settings.screens.appointment.moreServicesLabel.value)}}function uQ(n,o){if(1&n){const t=Me();I(0,"ion-item",33),re("click",function(){return le(t),ce(M(2).navigateTo("table"))}),oe(1,"ion-icon",37),I(2,"ion-card-header")(3,"ion-card-title",31),z(4),E()()()}if(2&n){const t=M(2);P("color",t.dateIsValid?"primary":"danger")("detail",!0)("disabled",t.bookingLoading),C(),P("name",t.orgService.organization.settings.images.icons.dateandtime.value),C(3),Te(" ",t.orgService.organization.settings.screens.appointment.datetimeSelectText.value," ")}}function gQ(n,o){if(1&n){const t=Me();I(0,"ion-button",54),re("click",function(i){le(t);const s=M(3);return i.stopPropagation(),ce(s.bookingService.updateTimeSlot(null))}),oe(1,"ion-icon",42),E()}}function fQ(n,o){if(1&n){const t=Me();I(0,"ion-item",36),re("click",function(){return le(t),ce(M(2).navigateTo("table"))}),oe(1,"app-avatar",34),I(2,"ion-label",49)(3,"p",50)(4,"span",51),z(5),E(),z(6),E(),I(7,"h1",52),z(8),E()(),se(9,gQ,2,0,"ion-button",53),E()}if(2&n){const t=M(2);P("disabled",t.bookingLoading),C(),P("default",t.orgService.organization.settings.images.icons.dateandtime.value),C(4),Te("",t.booking.timeSlot.time,","),C(),Te(" ",t.formatTimeSlot(t.booking.timeSlot,"EEEE")," "),C(2),Re(t.formatTimeSlot(t.booking.timeSlot,"mediumDate")),C(),P("ngIf",t.booking.timeSlot&&t.canEdit&&!t.editTimeIsOver)}}function pQ(n,o){if(1&n&&(I(0,"ion-item",57),oe(1,"i",58),I(2,"span",59),z(3),E()()),2&n){const t=M(3);C(3),Re(t.orgService.organization.settings.screens.appointment.statusCanceled.value)}}function hQ(n,o){if(1&n&&(I(0,"ion-item",60),oe(1,"i",61),I(2,"span",59),z(3),E()()),2&n){const t=M(3);C(3),Re(t.orgService.organization.settings.screens.appointment.statusPaid.value)}}function mQ(n,o){if(1&n&&(Xo(0),se(1,pQ,4,1,"ion-item",55)(2,hQ,4,1,"ion-item",56),Zo()),2&n){const t=M(2);C(),P("ngIf",t.booking.state==t.enums.BookingState.Canceled),C(),P("ngIf",t.booking.paymentTime&&t.booking.state!=t.enums.BookingState.Canceled)}}function _Q(n,o){if(1&n){const t=Me();I(0,"ion-item",62),oe(1,"app-avatar",63),I(2,"ion-grid")(3,"ion-row")(4,"ion-col"),z(5),E()(),I(6,"ion-row")(7,"ion-col")(8,"ion-textarea",64),Vn("ngModelChange",function(i){le(t);const s=M(2);return Gn(s.booking.note,i)||(s.booking.note=i),ce(i)}),re("change",function(){return le(t),ce(M(2).bookingService.bookingChanged())}),E()()()()()}if(2&n){const t=M(2);C(5),Te(" ",t.orgService.organization.settings.screens.appointment.noteLabel.value,""),C(3),P("disabled",!t.canEdit||t.editTimeIsOver),zn("ngModel",t.booking.note),P("autoGrow",!0)("placeholder",null==t.orgService.organization.settings.screens.appointment.notePlaceholder?null:t.orgService.organization.settings.screens.appointment.notePlaceholder.value)}}function vQ(n,o){if(1&n){const t=Me();I(0,"ion-button",65),re("click",function(){return le(t),ce(M(2).book())}),z(1),E()}if(2&n){const t=M(2);P("disabled",!t.booking.locationId||t.saving||!t.canEdit||t.editTimeIsOver),C(),Te(" ",t.buttonText," ")}}function yQ(n,o){if(1&n){const t=Me();I(0,"ion-button",66),re("click",function(){return le(t),ce(M(2).updateBooking())}),z(1),E()}if(2&n){const t=M(2);P("disabled",t.editDisabled),C(),Te(" ",t.orgService.organization.settings.screens.appointment.updateButtonText.value," ")}}function bQ(n,o){if(1&n){const t=Me();I(0,"ion-button",67),re("click",function(){return le(t),ce(M(2).onPayLaterForExistingBooking())}),z(1),E()}if(2&n){const t=M(2);P("disabled",!t.booking.locationId||t.saving||!t.canEdit||t.bookingService.hasChanges),C(),Te(" ",t.orgService.organization.settings.screens.appointment.payButtonText.value||"Pay"," ")}}function SQ(n,o){if(1&n){const t=Me();I(0,"ion-button",68),re("click",function(){le(t);const i=M(2);return ce(i.onCancelBooking(i.booking.id))}),z(1),E()}if(2&n){const t=M(2);P("disabled",!t.canEdit||t.saving),C(),Te(" ",t.orgService.organization.settings.screens.appointments.cancelButtonText.value," ")}}function CQ(n,o){if(1&n){const t=Me();I(0,"ion-button",69),re("click",function(){return le(t),ce(M(2).review())}),z(1),E()}if(2&n){const t=M(2);C(),Te(" ",t.orgService.organization.settings.screens.appointments.feedbackButtonText.value," ")}}function TQ(n,o){if(1&n){const t=Me();I(0,"ion-card",70)(1,"ion-card-header",71)(2,"ion-card-subtitle"),z(3),E()(),I(4,"ion-card-content")(5,"ion-button",72),re("click",function(){return le(t),ce(M(2).onGoToWaitingItem())}),z(6),E()()()}if(2&n){const t=M(2);C(3),Re(t.orgService.organization.settings.screens.appointment.wlTitle.value),C(3),Te(" ",t.orgService.organization.settings.screens.appointment.wlButtonText.value," ")}}function wQ(n,o){if(1&n&&(I(0,"span")(1,"ion-list",8),se(2,QZ,4,2,"ion-item",9)(3,JZ,4,1,"ion-item",9)(4,eQ,5,3,"ion-item",10)(5,tQ,1,5,"app-location-item",11)(6,nQ,5,5,"ion-item",12)(7,rQ,8,6,"ion-item",13)(8,iQ,5,5,"ion-item",14)(9,sQ,1,3,"app-stylist-item",15)(10,aQ,5,5,"ion-item",14)(11,cQ,2,1,"span",16)(12,dQ,3,1,"ion-item",17)(13,uQ,5,5,"ion-item",12)(14,fQ,10,6,"ion-item",13)(15,mQ,3,2,"ng-container",1)(16,_Q,9,5,"ion-item",18),E(),se(17,vQ,2,2,"ion-button",19)(18,yQ,2,2,"ion-button",20),I(19,"p",21),se(20,bQ,2,2,"ion-button",22)(21,SQ,2,2,"ion-button",23)(22,CQ,2,1,"ion-button",24),E(),se(23,TQ,7,2,"ion-card",25),E()),2&n){const t=M();C(2),P("ngIf",t.editTimeIsOver&&(null==t.orgService.organization.settings.screens.appointments.changeNotAllowedWarningText?null:t.orgService.organization.settings.screens.appointments.changeNotAllowedWarningText.value)),C(),P("ngIf",t.booking&&t.booking.id&&t.booking.state==t.enums.BookingState.Unconfirmed&&(null==t.orgService.organization.settings.screens.appointments.notYetConfirmedWarningText?null:t.orgService.organization.settings.screens.appointments.notYetConfirmedWarningText.value)),C(),P("ngIf",!t.booking.location),C(),P("ngIf",t.booking.location),C(),P("ngIf",t.booking.location&&t.booking.location.isMobile&&!t.booking.address&&t.orgService.organization.settings.screens.appointment.fillAddressLabel),C(),P("ngIf",t.booking.location&&t.booking.location.isMobile&&t.booking.address),C(),P("ngIf",!t.booking.employee),C(),P("ngIf",t.booking.employee),C(),P("ngIf",!t.booking.services||!t.booking.services.length),C(),P("ngForOf",t.booking.services),C(),P("ngIf",t.booking.services&&t.booking.services.length&&t.orgService.organization.settings.screens.appointment.moreServicesLabel),C(),P("ngIf",!t.booking.timeSlot),C(),P("ngIf",t.booking.timeSlot),C(),P("ngIf",t.booking&&t.booking.id),C(),P("ngIf",t.orgService.organization.settings.screens.appointment.noteLabel&&t.checkedNotesActivationStatus&&t.notesActivated&&t.booking&&(t.booking.timeSlot||t.booking.employee||(null==t.booking.services?null:t.booking.services.length))),C(),P("ngIf",!t.booking.id),C(),P("ngIf",t.booking&&t.booking.id),C(2),P("ngIf",t.canShowPayButton),C(),P("ngIf",t.booking.id),C(),P("ngIf",t.bookingService.canReview()),C(),P("ngIf",!t.orgService.organization.waitlistDisabled&&t.orgService.organization.settings.screens.appointment.wlTitle&&t.orgService.organization.settings.screens.appointment.wlTitle.value&&t.orgService.organization.settings.screens.appointment.wlButtonText&&t.orgService.organization.settings.screens.appointment.wlButtonText.value&&t.shouldShowWaitingListCard())}}let sb=(()=>{class n extends Nn{injector;bookingService;locationsService;accountService;actionSheet;enums;popoverController;paymentsService;waitingListService;stylistsService;route;modalController;booking;canEdit;bookingLoading=!0;isToken;buttonText;saving;tips;provider;addressIsValid=!0;serviceIsValid=!0;dateIsValid=!0;barberIsValid=!0;locale="en";editTimeIsOver=!1;timeToEdit;locations;notesActivated=!1;checkedNotesActivationStatus=!1;hideStreetAddress=!1;scriptContainer;constructor(t,r,i,s,u,p,m,v,S,T,D,$){super(t),this.injector=t,this.bookingService=r,this.locationsService=i,this.accountService=s,this.actionSheet=u,this.enums=p,this.popoverController=m,this.paymentsService=v,this.waitingListService=S,this.stylistsService=T,this.route=D,this.modalController=$}ionViewWillEnter(){this.bookingService.keepBooking&&this.book(),this.loadBooking(),this.initButtonText()}ngOnInit(){var t=this;return(0,Ge.A)(function*(){t.booking=t.bookingService.booking,t.booking||(t.bookingService.voidBooking(),t.booking=t.bookingService.booking),t.checkIfCanEdit(),yield t.checkIfNotesAreActivated(),t.organizationPromise.subscribe(r=>t.hideStreetAddress=r.streetAddressHidden)})()}ngAfterViewInit(){this.appendScript()}get editDisabled(){return!this.bookingService.hasChanges||!this.booking.locationId||!this.booking.customer||!this.canEdit||this.editTimeIsOver||this.saving}checkIfCanEdit(){var t=this;const r=this.bookingService.booking?.id;r&&this.orgService.getCachedLanguage().subscribe(i=>{this.bookingService.checkIfCanEdit(r,i).subscribe(function(){var s=(0,Ge.A)(function*(u){u.canDo||(t.timeToEdit=u.noticeValue,t.editTimeIsOver=!0)});return function(u){return s.apply(this,arguments)}}())})}checkIfNotesAreActivated(){var t=this;return(0,Ge.A)(function*(){yield t.showLoading(),t.bookingService.clientNotesActivated().pipe(Ca((0,Ge.A)(function*(){t.checkedNotesActivationStatus=!0,yield t.hideLoading()}))).subscribe({next:r=>{t.notesActivated=r},error:r=>{console.error(r)}})})()}initButtonText(){this.orgService.organization&&this.orgService.organization.settings?(this.orgService.getCurrentLocale().then(t=>this.locale=t),this.initBookButton(this.orgService.organization)):this.organizationPromise.subscribe(t=>{this.orgService.getCurrentLocale().then(r=>this.locale=r),this.orgService.initSettings(t),this.initBookButton(t)})}initBookButton(t){Ug([this.accountService.getToken(),this.ensureThatProviderIsLoaded(),this.bookingService.checkIfMustRegister()]).subscribe(r=>{const i=r[0],s=r[2];let u=this.provider?.bookingPaymentSettings;if(u||(u=new oZ,u.creditCardRequired=!1),i||!s)return u.creditCardRequired?u.paymentPolicy===Lr.PaymentOptional?i?void(this.buttonText=t.settings.screens.appointment.bookButtonText.value):void(this.buttonText=t.settings.screens.appointment.nextButtonText.value):i?void(this.buttonText=t.settings.screens.appointment.bookButtonText.value):void(this.buttonText=t.settings.screens.appointment.loginButtonText.value):i?void(this.buttonText=t.settings.screens.appointment.bookButtonText.value):void(this.buttonText=t.settings.screens.appointment.nextButtonText.value);this.buttonText=t.settings.screens.appointment.loginButtonText.value})}hasLocationAndLoadingFinished(){return this.booking.locationId&&!this.bookingLoading&&this.canEdit}ensureThatProviderIsLoaded(){if(this.provider)return jt(this.provider);const t=this.paymentsService.getEmployeeProviderData(this.booking.employeeId);return t.subscribe(r=>{this.provider=r,this.bookingService.provider=this.provider}),t}removeBarber(){this.bookingService.removeBarber(),this.initButtonText()}get canShowPayButton(){return this.booking.id&&this.provider?.bookingPaymentSettings?.creditCardRequired&&this.provider.bookingPaymentSettings.paymentPolicy!==Lr.PayNow&&!this.booking.paymentTime}loadBooking(){const t=this.route.snapshot.paramMap.get("tid");if(t)this.bookingService.getBySpecialId(t).subscribe(r=>{r.byDirectLink=!0,this.bookingService.booking=r,this.booking=r,this.bookingLoading=!1,this.canEdit=this.bookingService.canEdit()},()=>{this.navCtrl.navigateForward("bookings")});else{this.booking=this.bookingService.booking,this.booking||(this.booking=new bf,this.bookingService.booking=this.booking);const r=this.booking.id||this.booking.employeeId?null:this.route.snapshot.paramMap.get("stylistId");if(r)return void this.initWithDefaultBookingId(r);"true"==this.route.snapshot.queryParamMap.get("predefined")?this.bookingService.getPredefined().subscribe(s=>{s.id=null,this.booking=s,this.bookingService.booking=s,this.bookingLoading=!1}):this.initLocationsAndBarbers()}}initLocationsAndBarbers(){this.locationsService.getLocations().subscribe(t=>{this.locations=t,this.booking.location?(this.canEdit=this.bookingService.canEdit(),this.booking.employeeId||this.setPossibleDefaultBarber()):this.setDefaultLocation(),this.bookingLoading=!1})}initWithDefaultBookingId(t){t&&(this.canEdit=!0,this.stylistsService.getStylists().subscribe(r=>{if(!r||!r.length)return void this.initLocationsAndBarbers();let i=null;i=1==r.length?r[0]:r.find(s=>s.directBookingId==t),i?(this.bookingService.updateBarber(i),this.booking.employee=i,this.booking.employeeId=i.id,this.locationsService.getLocations().subscribe(s=>{if(this.locations=s,!s||!s.length)return void this.initLocationsAndBarbers();let u=null;u=1==this.locations.length?this.locations[0]:s.find(p=>p.id==i.defaultLocationId),u?(this.bookingService.updateLocation(u,!1),this.booking.locationId=u.id,this.booking.location=u,this.bookingLoading=!1):this.initLocationsAndBarbers()},()=>{this.initLocationsAndBarbers()})):this.initLocationsAndBarbers()},()=>{this.initLocationsAndBarbers()}))}setPossibleDefaultBarber(){this.bookingService.getStylists().subscribe(t=>{if(t&&1===t.length){const r=t[0];this.booking.employee=r,this.booking.employeeId=r.id,this.bookingService.updateBarber(r)}})}setDefaultLocation(){if(1==this.locations.length)return this.bookingService.updateLocation(this.locations[0]),this.canEdit=this.bookingService.canEdit(),void this.setPossibleDefaultBarber();this.locations.length>1&&this.navigateTo("locations")}formatTimeSlot(t,r){return Wh(t.date,r,this.locale)}navigateTo(t,r=null){if(!this.bookingService.booking?.id||this.canEdit&&!this.editTimeIsOver)if("locations"!==t)"service"!==t?"barber"!==t?"table"!==t?"address"!==t||this.navCtrl.navigateForward("address"):this.navCtrl.navigateForward("table"):this.navCtrl.navigateForward("stylists",{state:{isFromBooking:!0}}):this.navCtrl.navigateForward("services",{state:{isFromBooking:!0,selectedServiceIdFromBookingPage:r}});else{if(!this.locations||this.locations.length<2)return;this.navCtrl.navigateForward("locations",{state:{isFromBooking:!0}})}else console.log(this.canEdit)}review(){this.navCtrl.navigateForward("feedback",{state:{bookingId:this.booking.id}})}validateBooking(){return this.dateIsValid=!!this.booking.timeSlot,this.serviceIsValid=!!this.booking.serviceIds&&!!this.booking.serviceIds.length,this.addressIsValid=this.booking.location&&!this.booking.location.isMobile||!!this.booking.address,this.provider&&this.provider.hasIndividualPayments&&(this.barberIsValid=!!this.booking.employeeId),this.dateIsValid&&this.serviceIsValid&&this.addressIsValid&&this.barberIsValid}book(t=!1){var r=this;return(0,Ge.A)(function*(){if(r.validateBooking())if(yield r.ensureUserAuthenticated()){if(!t)return void(yield r.confirmCancellationPolicy());if(r.bookingService.booking.id&&r.provider.bookingPaymentSettings.creditCardRequired)return void(yield r.onPayLaterForExistingBooking());r.provider.bookingPaymentSettings.creditCardRequired?r.provider.bookingPaymentSettings.paymentPolicy===Lr.PayNowOrLater?yield r.showPayTimePopover():r.provider.bookingPaymentSettings.paymentPolicy===Lr.PayNow?yield r.onPayTimeSelected("now"):r.provider.bookingPaymentSettings.paymentPolicy===Lr.PayLater?yield r.onPayTimeSelected("later"):yield r.proceedWithBooking():yield r.proceedWithBooking()}else r.bookingService.checkIfMustRegister().subscribe(function(){var s=(0,Ge.A)(function*(u){if(u)r.navCtrl.navigateForward("login");else if(r.provider.bookingPaymentSettings.creditCardRequired)if(r.provider.bookingPaymentSettings.paymentPolicy!==Lr.PaymentOptional||r.bookingService.booking.id)r.navCtrl.navigateForward("login");else{if(!t)return void(yield r.confirmCancellationPolicy());yield r.proceedWithBooking()}else{if(!t)return void(yield r.confirmCancellationPolicy());r.navCtrl.navigateForward("customer")}});return function(u){return s.apply(this,arguments)}}())})()}confirmCancellationPolicy(){var t=this;return(0,Ge.A)(function*(){try{const r=yield uu(t.bookingService.getBookingCancelationPolicy(t.booking.timeSlot));if(!r.mustConfirmCancellationPolicy)return void(yield t.book(!0));yield t.presentCancellationModal(r)}catch{yield t.book(!0)}})()}proceedWithBooking(){var t=this;return(0,Ge.A)(function*(){try{yield t.showLoading(),(yield t.saveBooking())&&(yield t.navCtrl.navigateRoot("saved"))}catch(r){console.error("An error occurred while saving the booking:",r)}finally{yield t.hideLoading()}})()}presentCancellationModal(t){var r=this;return(0,Ge.A)(function*(){const i=yield r.modalController.create({component:pZ,componentProps:{cancellationData:t,settings:r.orgService.organization.settings},initialBreakpoint:.85,breakpoints:[0,.5,.85,1]});yield i.present();const{data:s}=yield i.onDidDismiss();s&&s.agree&&r.book(!0)})()}ensureUserAuthenticated(){var t=this;return(0,Ge.A)(function*(){return new Promise((r,i)=>{const s=t.accountService.getToken().subscribe({next:u=>{r(!!u),s.unsubscribe()},error:u=>{console.error("Error fetching token",u),i(u)}})})})()}updateBooking(){var t=this;return(0,Ge.A)(function*(){t.validateBooking()&&!t.editDisabled&&(t.booking.byDirectLink||(yield t.ensureUserAuthenticated())?(yield t.saveBooking())&&(t.bookingService.changedBookingId=null,yield t.presentSuccessAlert(t.orgService.organization.settings.screens.bookingSaved.savedTitle.value,t.orgService.organization.settings.screens.bookingSaved.savedSubTitle.value)):yield t.navCtrl.navigateForward("customer"))})()}saveBooking(){var t=this;return(0,Ge.A)(function*(){try{if(!t.booking.byDirectLink){const i=yield uu(t.accountService.getCustomer());if(!i)return yield t.navCtrl.navigateForward("customer"),!1;t.bookingService.updateCustomer(i)}t.saving=!0,t.canEdit=!1,yield t.showLoading();const r=yield uu(t.bookingService.saveBooking());return!!r.succeded||(yield t.presentAlert(t.orgService.organization.settings.screens.messages?.appointmentSaveFailed?.value,r.error),t.canEdit=!0,t.saving=!1,!1)}catch(r){const i=r.error&&r.error.message||r.error;return yield t.presentAlert(t.orgService.organization.settings.screens.messages?.appointmentSaveFailed?.value,i),!1}finally{yield t.hideLoading(),t.canEdit=!0,t.saving=!1}})()}showPayTimePopover(){var t=this;return(0,Ge.A)(function*(){const r=yield t.popoverController.create({component:nZ,showBackdrop:!0,cssClass:"pay-time-popover"});yield r.present();const{data:i}=yield r.onDidDismiss();i&&t.onPayTimeSelected(i)})()}isExtra(t){if(!this.bookingService.booking.servicesConfig)return!1;for(let r=0;r<this.bookingService.booking.servicesConfig.length;r++){const i=this.bookingService.booking.servicesConfig[r];if(i.serviceId==t)return!!i.parentServiceId}return!1}getExtras(t){var r=[];if(!this.bookingService.booking.servicesConfig)return r;for(let i=0;i<this.bookingService.booking.servicesConfig.length;i++){const s=this.bookingService.booking.servicesConfig[i];if(s.parentServiceId==t){const u=this.bookingService.booking.services.find(p=>p.id==s.serviceId);u&&r.push(u)}}return r}onPayTimeSelected(t){var r=this;return(0,Ge.A)(function*(){r.bookingLoading=!0,r.saving=!0,yield r.showLoading();const i={next:(s=(0,Ge.A)(function*(u){r.bookingService.updatePayTimeState("now"===t?Lr.PayNow:Lr.PayLater);const p=r.provider.bookingPaymentSettings.isTipsEnabled&&r.provider.bookingPaymentSettings.tipsValues.length,m=u&&u.length>0,S=(yield uu(r.paymentsService.getPaymentProviderEnum()))===xl.SumUp;S&&m&&r.paymentsService.updateSource(u[0]),p?yield r.navCtrl.navigateForward("tips",{state:{isDirectPayment:S}}):S?yield r.navCtrl.navigateForward("payment-summary"):m?yield r.navCtrl.navigateForward("payment-cards"):yield r.navCtrl.navigateForward("payment-cards/new")}),function(p){return s.apply(this,arguments)}),error:function(){var s=(0,Ge.A)(function*(u){yield r.navCtrl.navigateForward("payment-cards")});return function(p){return s.apply(this,arguments)}}(),complete:()=>{}};var s;r.paymentsService.getAllUserCards(r.bookingService.booking.employeeId).pipe(Ca((0,Ge.A)(function*(){r.bookingLoading=!1,r.saving=!1,yield r.hideLoading()}))).subscribe(i)})()}onPayLaterForExistingBooking(){var t=this;return(0,Ge.A)(function*(){(yield t.ensureUserAuthenticated())?yield t.onPayTimeSelected("now"):t.navCtrl.navigateForward("login")})()}presentActionSheet(){var t=this;return(0,Ge.A)(function*(){yield(yield t.actionSheet.create({buttons:[{text:"Cancel",role:"destructive",cssClass:"danger",handler:()=>{}},{text:"Close",role:"cancel"}]})).present()})()}onCancelBooking(t){var r=this;this.orgService.getCachedLanguage().subscribe(i=>{this.bookingService.checkIfCanCancel(t,i).subscribe(function(){var s=(0,Ge.A)(function*(u){if(u.canDo)return r.bookingService.bookingIdToCancel=t,void r.navCtrl.navigateForward("cancel");yield r.presentPopUp(r.orgService.organization.settings.screens.messages?.cancellationIsNotAllowed?.value,"",r.orgService.organization.settings.screens.messages?.cancellationNoticeWarning?.value+" "+u.noticeValue)});return function(u){return s.apply(this,arguments)}}())})}shouldShowWaitingListCard(){return this.booking&&!this.booking.timeSlot&&!this.booking.id&&!this.saving&&!this.bookingLoading}onGoToWaitingItem(){const t=this.waitingListService.mapBookingToWaitingItem(this.booking);this.waitingListService.setItem(t),this.navCtrl.navigateForward("waiting-list-item")}appendScript(){const t=document.createElement("script");t.src="https://web.squarecdn.com/v1/square.js",t.type="text/javascript",this.scriptContainer.nativeElement.appendChild(t)}goBack(){this.bookingService.booking=null,this.navCtrl.navigateBack("bookings")}static \u0275fac=function(r){return new(r||n)(N(Ht),N(qn),N(i1),N(gr),N(ED),N(kl),N(au),N(cs),N(du),N(a1),N(dr),N(Wr))};static \u0275cmp=je({type:n,selectors:[["app-booking"]],viewQuery:function(r,i){if(1&r&&di(XZ,5),2&r){let s;ir(s=sr())&&(i.scriptContainer=s.first)}},features:[Dt],decls:5,vars:2,consts:[["script",""],[4,"ngIf"],["color","secondary",1,"mobile-item"],["slot","start"],[3,"click"],["name","arrow-back"],["slot","primary"],["name","person-circle-outline"],[1,"screen-item"],["color","warning",4,"ngIf"],["color","primary","class","pointer",3,"detail","click",4,"ngIf"],[3,"disabled","hideStreetAddress","isFromBooking","hideArrow","location","click",4,"ngIf"],["class","pointer",3,"color","detail","disabled","click",4,"ngIf"],["color","primary","class","pointer",3,"disabled","click",4,"ngIf"],["class","pointer pt-0 pb-0",3,"color","detail","disabled","click",4,"ngIf"],[3,"disabled","stylist","showCloseButton","click","onClose",4,"ngIf"],[4,"ngFor","ngForOf"],["class","shade-item ion-text-center pointer","lines","none","color","secondary",3,"click",4,"ngIf"],["color","primary",4,"ngIf"],["class","screen-item","expand","full","color","success",3,"disabled","click",4,"ngIf"],["class","screen-item","color","secondary","expand","full",3,"disabled","click",4,"ngIf"],[1,"ion-text-center"],["class","screen-item","color","success",3,"disabled","click",4,"ngIf"],["color","danger",3,"disabled","click",4,"ngIf"],["color","secondary",3,"click",4,"ngIf"],["color","primary","class","screen-item top-margin",4,"ngIf"],["color","warning"],["size","large","slot","start","name","warning"],[1,"ion-text-wrap","text-black"],["color","primary",1,"pointer",3,"click","detail"],["size","large","slot","start",3,"name"],[1,"btn-title"],[3,"click","disabled","hideStreetAddress","isFromBooking","hideArrow","location"],[1,"pointer",3,"click","color","detail","disabled"],["slot","start",3,"default"],["color","primary",1,"pl-0"],["color","primary",1,"pointer",3,"click","disabled"],["slot","start","size","large",3,"name"],[1,"mt-10"],[1,"wrap"],["slot","end",3,"click",4,"ngIf"],["slot","end",3,"click"],["name","close"],[1,"pointer","pt-0","pb-0",3,"click","color","detail","disabled"],[3,"click","onClose","disabled","stylist","showCloseButton"],[3,"disabled","extras","showCloseButton","service","click","onClose",4,"ngIf"],[3,"click","onClose","disabled","extras","showCloseButton","service"],["lines","none","color","secondary",1,"shade-item","ion-text-center","pointer",3,"click"],[1,"color-secondary-contrast"],[1,"ion-text-wrap","header"],[1,"subtitle","mb-10"],[1,"mr-5"],[1,"title"],["size","small","slot","end",3,"click",4,"ngIf"],["size","small","slot","end",3,"click"],["color","danger",4,"ngIf"],["color","success",4,"ngIf"],["color","danger"],[1,"flaticon-forbidden","mr-5"],[1,"uppercase"],["color","success"],[1,"flaticon-coins","mr-5"],["color","primary"],["slot","start","default","note"],[1,"mb-10",3,"ngModelChange","change","disabled","ngModel","autoGrow","placeholder"],["expand","full","color","success",1,"screen-item",3,"click","disabled"],["color","secondary","expand","full",1,"screen-item",3,"click","disabled"],["color","success",1,"screen-item",3,"click","disabled"],["color","danger",3,"click","disabled"],["color","secondary",3,"click"],["color","primary",1,"screen-item","top-margin"],[1,"text-center"],["color","secondary","expand","full",3,"click"]],template:function(r,i){1&r&&(se(0,ZZ,11,1,"ion-header",1),I(1,"ion-content"),se(2,wQ,24,21,"span",1),E(),oe(3,"div",null,0)),2&r&&(P("ngIf",i.orgService.organization&&i.orgService.organization.settings&&i.orgService.organization.settings.screens),C(2),P("ngIf",i.orgService.organization&&i.orgService.organization.settings&&i.orgService.organization.settings.screens))},dependencies:[fo,Gt,Xr,Zr,on,Ln,Jn,To,oo,gi,lo,Ni,Sn,iu,En,un,Dn,co,Bo,fi,qy,An,In,bi,c1,d1,ib,Uo,l1],styles:[".text-center[_ngcontent-%COMP%]{text-align:center!important}.top-margin[_ngcontent-%COMP%]{margin-top:40px!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.btn-title[_ngcontent-%COMP%]{font-weight:400!important;font-size:22px!important}.shade-item[_ngcontent-%COMP%]{background-color:var(--ion-color-primary-tint)!important;color:var(--ion-color-primary-contrast)!important}.color-secondary-contrast[_ngcontent-%COMP%]{color:var(--ion-color-secondary-contrast)!important}ion-textarea.note[_ngcontent-%COMP%]{--color: var(--ion-color-primary-contrast);--placeholder-color: var(--ion-color-primary-contrast);--placeholder-opacity: .8}"]})}return n})();function EQ(n,o){1&n&&oe(0,"ion-icon",10)}function IQ(n,o){if(1&n&&oe(0,"ion-icon",11),2&n){const t=M(2);P("name",t.themeService.getCardBrandIconName(t.card.cardBrand))}}function DQ(n,o){if(1&n){const t=Me();I(0,"ion-col",12),re("click",function(i){return le(t),ce(M(2).onSelect(i))}),I(1,"ion-label")(2,"div",13)(3,"p",14),z(4),E()()()()}if(2&n){const t=M(2);C(4),Te(" ***",t.card.last4," ")}}function PQ(n,o){if(1&n&&(I(0,"ion-col",15)(1,"ion-label")(2,"div",13)(3,"p",16),oe(4,"ion-icon",17),z(5),E()()()()),2&n){const t=M(2);C(5),Te(" ",t.orgService.organization.settings.screens.paymentCards.addCardText.value," ")}}function MQ(n,o){if(1&n){const t=Me();I(0,"ion-icon",18),re("click",function(i){return le(t),ce(M(2).onDeleteCard(i))}),E()}}function $Q(n,o){if(1&n&&(I(0,"ion-card",2)(1,"ion-row")(2,"ion-col",3)(3,"div",4),se(4,EQ,1,0,"ion-icon",5)(5,IQ,1,1,"ion-icon",6),E()(),se(6,DQ,5,1,"ion-col",7)(7,PQ,6,1,"ion-col",8)(8,MQ,1,0,"ion-icon",9),E()()),2&n){const t=M();va("contrast",t.contrast),P("disabled",t.disabled),C(4),P("ngIf",t.isPlaceholderToAdd),C(),P("ngIf",!t.isPlaceholderToAdd),C(),P("ngIf",!t.isPlaceholderToAdd),C(),P("ngIf",t.isPlaceholderToAdd),C(),P("ngIf",t.canDelete&&!t.isPlaceholderToAdd)}}let u1=(()=>{class n{orgService;themeService;card;canDelete=!0;canSelect=!0;isPlaceholderToAdd=!1;disabled=!1;contrast=!1;delete=new $n;select=new $n;constructor(t,r){this.orgService=t,this.themeService=r}ngOnInit(){}onDeleteCard(t){this.canDelete&&!this.isPlaceholderToAdd&&this.delete.emit(t)}onSelect(t){this.canSelect&&!this.isPlaceholderToAdd&&this.select.emit(t)}static \u0275fac=function(r){return new(r||n)(N(ei),N(r1))};static \u0275cmp=je({type:n,selectors:[["app-payment-card"]],inputs:{card:"card",canDelete:"canDelete",canSelect:"canSelect",isPlaceholderToAdd:"isPlaceholderToAdd",disabled:"disabled",contrast:"contrast"},outputs:{delete:"delete",select:"select"},decls:2,vars:1,consts:[[1,"wrapper"],["color","primary","class","",3,"contrast","disabled",4,"ngIf"],["color","primary",1,"",3,"disabled"],["size","4"],[1,"payment-card-thumdnail"],["name","add-card","class","payment-card-icon-add",4,"ngIf"],["class","payment-card-icon",3,"name",4,"ngIf"],["size","8",3,"click",4,"ngIf"],["size","8",4,"ngIf"],["name","close","class","payment-card-close-icon ion-padding",3,"click",4,"ngIf"],["name","add-card",1,"payment-card-icon-add"],[1,"payment-card-icon",3,"name"],["size","8",3,"click"],[1,"payment-card-code"],[1,"ion-text-center","payment-card-code-value"],["size","8"],[1,"ion-text-center","payment-card-code-value","ion-padding-end"],["name","add-outline"],["name","close",1,"payment-card-close-icon","ion-padding",3,"click"]],template:function(r,i){1&r&&(I(0,"div",0),se(1,$Q,9,8,"ion-card",1),E()),2&r&&(C(),P("ngIf",i.card||i.isPlaceholderToAdd))},dependencies:[Jn,Ni,un,co,fi,Gt],styles:[".payment-card[_ngcontent-%COMP%]{position:relative}.payment-card-thumdnail[_ngcontent-%COMP%]{display:flex;justify-content:space-around}.payment-card-code[_ngcontent-%COMP%]{height:100%;display:flex;justify-content:center;flex-direction:column}.payment-card-code-value[_ngcontent-%COMP%]{font-size:1.3rem}.payment-card-close-icon[_ngcontent-%COMP%]{position:absolute;font-size:1.3em;right:0}.payment-card-icon[_ngcontent-%COMP%]{font-size:80px}.payment-card-icon-add[_ngcontent-%COMP%]{font-size:65px}ion-card.contrast[_ngcontent-%COMP%]{box-shadow:0 1px 1px 1px var(--ion-color-primary-contrast)}.wrapper[_ngcontent-%COMP%]{max-width:400px;margin-left:auto;margin-right:auto}"]})}return n})();function AQ(n,o){if(1&n&&(I(0,"ion-row")(1,"ion-col"),z(2),E(),I(3,"ion-col"),z(4),E()()),2&n){const t=M().$implicit,r=M(2);C(2),Co("< ",t.hours," ",r.orgService.organization.settings.screens.bookingCancelation.hours.value,""),C(2),Te("",t.percentAmount," %")}}function NQ(n,o){if(1&n&&(Xo(0),se(1,AQ,5,3,"ion-row",0),Zo()),2&n){const t=o.$implicit;C(),P("ngIf",t.isActive)}}function xQ(n,o){if(1&n&&(Xo(0),I(1,"ion-card",1)(2,"ion-card-header")(3,"ion-card-title"),z(4),E()(),I(5,"ion-card-content"),se(6,NQ,2,1,"ng-container",2),E()(),Zo()),2&n){const t=M();C(4),Te(" ",t.orgService.organization.settings.screens.bookingCancelation.cancelationPolicyTitle.value," "),C(2),P("ngForOf",t.cancelationPolicy.cancellationValues)}}let OQ=(()=>{class n extends Nn{injector;cancelationPolicy;constructor(t){super(t),this.injector=t}ngOnInit(){}static \u0275fac=function(r){return new(r||n)(N(Ht))};static \u0275cmp=je({type:n,selectors:[["app-cancelation-policy"]],inputs:{cancelationPolicy:"cancelationPolicy"},features:[Dt],decls:1,vars:1,consts:[[4,"ngIf"],["color","primary"],[4,"ngFor","ngForOf"]],template:function(r,i){1&r&&se(0,xQ,7,2,"ng-container",0),2&r&&P("ngIf",i.orgService.organization&&i.orgService.organization.settings&&i.cancelationPolicy)},dependencies:[Jn,To,oo,lo,Ni,fi,fo,Gt]})}return n})();const kQ=["script"];function RQ(n,o){1&n&&oe(0,"ion-progress-bar",8)}function LQ(n,o){if(1&n){const t=Me();Xo(0),I(1,"ion-card",9)(2,"ion-card-header")(3,"ion-card-title"),z(4),E()(),I(5,"ion-card-content")(6,"ion-button",10),re("click",function(){return le(t),ce(M(3).onCancelBooking())}),z(7),E(),I(8,"ion-button",11),re("click",function(){return le(t),ce(M(3).goBack())}),z(9),E()()(),Zo()}if(2&n){const t=M(3);C(),P("disabled",t.cancelationLoading),C(3),Te(" ",t.orgService.organization.settings.screens.appointment.cancelQuestionText.value," "),C(3),Te(" ",t.orgService.organization.settings.screens.appointment.cancelYesButton.value," "),C(2),Te(" ",t.orgService.organization.settings.screens.appointment.cancelNoButton.value," ")}}function FQ(n,o){if(1&n&&(Xo(0),I(1,"ion-text"),z(2),E(),Zo()),2&n){const t=M(4);C(2),Te(" ",t.orgService.organization.settings.screens.bookingCancelation.payLaterCancelationTermsText.value," ")}}function BQ(n,o){if(1&n){const t=Me();I(0,"ion-card",14)(1,"ion-card-header")(2,"ion-card-title"),z(3),E()(),I(4,"ion-card-content")(5,"div",17)(6,"app-payment-card",18),re("click",function(){return le(t),ce(M(4).onSelectCard())}),E()()()()}if(2&n){const t=M(4);C(3),Re(t.orgService.organization.settings.screens.paymentSummary.paymentMethodText.value),C(3),P("card",t.paymentsService.getSource())("contrast",!0)("canDelete",!1)}}function UQ(n,o){if(1&n){const t=Me();I(0,"ion-button",19),re("click",function(i){return le(t),ce(M(4).confirmCancel(i))}),z(1),E()}if(2&n){const t=M(4);P("disabled",t.cancelationLoading),C(),Te(" ",t.orgService.organization.settings.screens.bookingCancelation.cancelBtnText.value," ")}}function zQ(n,o){if(1&n){const t=Me();I(0,"ion-button",21),re("click",function(){return le(t),ce(M(5).onSelectCard())}),z(1),E()}if(2&n){const t=M(5);P("disabled",t.cancelationLoading),C(),Te(" ",t.orgService.organization.settings.screens.bookingCancelation.selectCardBtnText.value," ")}}function VQ(n,o){if(1&n){const t=Me();I(0,"ion-button",21),re("click",function(i){return le(t),ce(M(5).confirmPayAndCancel(i))}),z(1),E()}if(2&n){const t=M(5);P("disabled",t.cancelationLoading),C(),Te(" ",t.orgService.organization.settings.screens.bookingCancelation.payAndCancelBtnText.value," ")}}function HQ(n,o){if(1&n&&(Xo(0),se(1,zQ,2,2,"ion-button",20)(2,VQ,2,2,"ion-button",20),Zo()),2&n){const t=M(4);C(),P("ngIf",!t.cardSelected()),C(),P("ngIf",t.cardSelected())}}function jQ(n,o){if(1&n&&(Xo(0),I(1,"ion-row")(2,"ion-col",12),oe(3,"app-cancelation-policy",13),E(),I(4,"ion-col",12)(5,"ion-card",14)(6,"ion-card-header")(7,"ion-card-title"),z(8),Go(9,"currency"),E(),I(10,"ion-card-subtitle"),z(11),E()(),I(12,"ion-card-content"),se(13,FQ,3,1,"ng-container",1),E()()()(),se(14,BQ,7,4,"ion-card",15)(15,UQ,2,2,"ion-button",16)(16,HQ,3,2,"ng-container",1),Zo()),2&n){const t=M(3);C(3),P("cancelationPolicy",t.cancelationPolicy),C(5),Rd(" ",t.orgService.organization.settings.screens.bookingCancelation.cancelationSummaryTitle.value,": ",xr(9,10,t.cancelationPolicy.cancellationFee,"","")," (",t.cancelationPolicy.cancellationFeePercentage," %) "),C(3),Co(" ",t.orgService.organization.settings.screens.bookingCancelation.timeLeftLabel.value,": ",t.getHoursAndMinutesLeftText(t.cancelationPolicy.minutesLeft)," "),C(2),P("ngIf",t.shouldPayLater()),C(),P("ngIf",t.cardSelected()),C(),P("ngIf",!t.shouldPayNow()),C(),P("ngIf",t.shouldPayNow())}}function GQ(n,o){if(1&n&&(Xo(0),se(1,LQ,10,4,"ng-container",1)(2,jQ,17,14,"ng-container",1),Zo()),2&n){const t=M(2);C(),P("ngIf",t.canCancelForFree()),C(),P("ngIf",!t.canCancelForFree())}}function WQ(n,o){if(1&n){const t=Me();Xo(0),I(1,"ion-header")(2,"ion-toolbar",2)(3,"ion-buttons",3)(4,"ion-button",4),re("click",function(){return le(t),ce(M().navCtrl.navigateBack("bookings"))}),oe(5,"ion-icon",5),E()(),I(6,"ion-title"),z(7),E()(),oe(8,"app-smart-bar"),E(),se(9,RQ,1,0,"ion-progress-bar",6),I(10,"ion-content")(11,"div",7),se(12,GQ,3,2,"ng-container",1),E()(),Zo()}if(2&n){const t=M();C(7),Re(t.orgService.organization.settings.screens.bookingCancelation.toolbarText.value),C(2),P("ngIf",t.policyLoading||t.cancelationLoading),C(3),P("ngIf",t.cancelationPolicy)}}let qQ=(()=>{class n extends Nn{injector;bookingService;paymentsService;acoountService;cancelationPolicy;policyLoading;cancelationLoading;bookingId;scriptContainer;constructor(t,r,i,s){super(t),this.injector=t,this.bookingService=r,this.paymentsService=i,this.acoountService=s}ngOnInit(){this.bookingId=this.bookingService.bookingIdToCancel,this.bookingId?this.loadCancelationPolicy(this.bookingId):this.goBack()}ngAfterViewInit(){this.appendScript()}canCancelForFree(){return this.cancelationPolicy&&this.cancelationPolicy.canCancelForFree}shouldPayLater(){return!this.canCancelForFree()&&!this.cancelationPolicy.payNow}shouldPayNow(){return!this.canCancelForFree()&&this.cancelationPolicy.payNow}cardSelected(){return!!this.paymentsService.getSource()}confirmCancel(t){var r=this;return(0,Ge.A)(function*(){(yield r.showConfirmPopUp(t,r.orgService.organization.settings.screens.appointment.cancelQuestionText.value,"",r.orgService.organization.settings.screens.appointment.cancelYesButton.value,r.orgService.organization.settings.screens.appointment.cancelNoButton.value))&&r.onCancelBooking()})()}confirmPayAndCancel(t){var r=this;return(0,Ge.A)(function*(){(yield r.showConfirmPopUp(t,r.orgService.organization.settings.screens.bookingCancelation.payAndCancelConfirmTitle.value,"",r.orgService.organization.settings.screens.bookingCancelation.payAndCancelYesBtnText.value,r.orgService.organization.settings.screens.bookingCancelation.payAndCancelNoBtnText.value))&&r.onPayAndCancel()})()}onCancelBooking(){var t=this;this.cancelationLoading||(this.cancelationLoading=!0,this.bookingService.cancelBooking(this.bookingId).pipe(Wn(()=>this.cancelationLoading=!1)).subscribe(function(){var r=(0,Ge.A)(function*(i){i.success?(t.bookingService.booking&&(t.bookingService.booking.state=nb.Canceled),yield t.alertSuccessCancel(),t.goBack()):yield t.presentAlert("Failed to Cancel",i.error)});return function(i){return r.apply(this,arguments)}}(),r=>{this.presentAlert("Failed to Cancel",r.error&&r.error.message)}))}onPayAndCancel(){this.cancelationLoading=!0,this.payForCancelation().subscribe(t=>{this.cancelationLoading=!1,t&&this.onCancelBooking()})}payForCancelation(){const t={amount:this.cancelationPolicy.cancellationFee,bookingId:this.bookingId,sourceId:this.paymentsService.getSource().cardId};return this.paymentsService.createPayment(t).pipe(Jr(r=>(this.presentAlert("Payment error",r.error&&r.error.message),jt(null))))}onSelectCard(){var t=this;return(0,Ge.A)(function*(){(yield t.acoountService.getToken())?(t.bookingService.payTimeStateSelected=Lr.PayNow,t.navCtrl.navigateForward("payment-cards")):t.navCtrl.navigateForward("login")})()}getHoursAndMinutesLeftText(t){const{h:r,m:i}=this.getHoursAndMinutesFromMinutes(t);return`${r} ${this.orgService.organization.settings.screens.bookingCancelation.hours.value} ${i} ${this.orgService.organization.settings.screens.bookingCancelation.minutes.value}`}getHoursAndMinutesFromMinutes(t){return{h:Math.floor(t/60),m:t%60}}alertSuccessCancel(){return this.presentSuccessAlert(this.orgService.organization.settings.screens.bookingCancelation.successCancelationAlertTitle.value,this.orgService.organization.settings.screens.bookingCancelation.successCancelationAlertSubtitle.value)}loadCancelationPolicy(t){this.policyLoading=!0,this.bookingService.getBookingCancelationData(t).subscribe(r=>{this.cancelationPolicy=r,this.policyLoading=!1})}goBack(){this.navCtrl.navigateBack("bookings")}appendScript(){const t=document.createElement("script");t.src="https://js.squareup.com/v2/paymentform",t.type="text/javascript",this.scriptContainer.nativeElement.appendChild(t)}static \u0275fac=function(r){return new(r||n)(N(Ht),N(qn),N(cs),N(gr))};static \u0275cmp=je({type:n,selectors:[["app-cancel"]],viewQuery:function(r,i){if(1&r&&di(kQ,5),2&r){let s;ir(s=sr())&&(i.scriptContainer=s.first)}},features:[Dt],decls:3,vars:1,consts:[["script",""],[4,"ngIf"],["color","secondary",1,"mobile-item"],["slot","start"],[3,"click"],["name","arrow-back"],["type","indeterminate","color","secondary",4,"ngIf"],[1,"screen-item"],["type","indeterminate","color","secondary"],["color","primary",3,"disabled"],["expand","block","color","secondary",3,"click"],["expand","block","color","tertiary",3,"click"],["size","12","sizeSm","12","sizeMd","6"],[3,"cancelationPolicy"],["color","primary"],["color","primary",4,"ngIf"],["color","danger","expand","full",3,"disabled","click",4,"ngIf"],[1,"pointer"],[3,"click","card","contrast","canDelete"],["color","danger","expand","full",3,"click","disabled"],["color","secondary","expand","full",3,"disabled","click",4,"ngIf"],["color","secondary","expand","full",3,"click","disabled"]],template:function(r,i){1&r&&(se(0,WQ,13,3,"ng-container",1),oe(1,"div",null,0)),2&r&&P("ngIf",i.orgService.organization&&i.orgService.organization.settings)},dependencies:[Gt,on,Ln,Jn,To,oo,gi,lo,Ni,Sn,En,un,ar,fi,Ks,An,In,Uo,u1,OQ,Ts]})}return n})();class ab{customerId;firstName;lastName;email;phoneNumber}class YQ{id;confirmationCode;customerId;isNew}class g1{code;phone}const lP=[{name:"Israel",dialCode:"+972",code:"IL"},{name:"Afghanistan",dialCode:"+93",code:"AF"},{name:"Albania",dialCode:"+355",code:"AL"},{name:"Algeria",dialCode:"+213",code:"DZ"},{name:"AmericanSamoa",dialCode:"+1684",code:"AS"},{name:"Andorra",dialCode:"+376",code:"AD"},{name:"Angola",dialCode:"+244",code:"AO"},{name:"Anguilla",dialCode:"+1264",code:"AI"},{name:"Antigua and Barbuda",dialCode:"+1268",code:"AG"},{name:"Argentina",dialCode:"+54",code:"AR"},{name:"Armenia",dialCode:"+374",code:"AM"},{name:"Aruba",dialCode:"+297",code:"AW"},{name:"Australia",dialCode:"+61",code:"AU"},{name:"Austria",dialCode:"+43",code:"AT"},{name:"Azerbaijan",dialCode:"+994",code:"AZ"},{name:"Bahamas",dialCode:"+1242",code:"BS"},{name:"Bahrain",dialCode:"+973",code:"BH"},{name:"Bangladesh",dialCode:"+880",code:"BD"},{name:"Barbados",dialCode:"+1246",code:"BB"},{name:"Belarus",dialCode:"+375",code:"BY"},{name:"Belgium",dialCode:"+32",code:"BE"},{name:"Belize",dialCode:"+501",code:"BZ"},{name:"Benin",dialCode:"+229",code:"BJ"},{name:"Bermuda",dialCode:"+1441",code:"BM"},{name:"Bhutan",dialCode:"+975",code:"BT"},{name:"Bosnia and Herzegovina",dialCode:"+387",code:"BA"},{name:"Botswana",dialCode:"+267",code:"BW"},{name:"Brazil",dialCode:"+55",code:"BR"},{name:"British Indian Ocean Territory",dialCode:"+246",code:"IO"},{name:"Bulgaria",dialCode:"+359",code:"BG"},{name:"Burkina Faso",dialCode:"+226",code:"BF"},{name:"Burundi",dialCode:"+257",code:"BI"},{name:"Cambodia",dialCode:"+855",code:"KH"},{name:"Cameroon",dialCode:"+237",code:"CM"},{name:"Canada",dialCode:"+1",code:"CA"},{name:"Cape Verde",dialCode:"+238",code:"CV"},{name:"Cayman Islands",dialCode:"+345",code:"KY"},{name:"Central African Republic",dialCode:"+236",code:"CF"},{name:"Chad",dialCode:"+235",code:"TD"},{name:"Chile",dialCode:"+56",code:"CL"},{name:"China",dialCode:"+86",code:"CN"},{name:"Christmas Island",dialCode:"+61",code:"CX"},{name:"Colombia",dialCode:"+57",code:"CO"},{name:"Comoros",dialCode:"+269",code:"KM"},{name:"Congo",dialCode:"+242",code:"CG"},{name:"Cook Islands",dialCode:"+682",code:"CK"},{name:"Costa Rica",dialCode:"+506",code:"CR"},{name:"Croatia",dialCode:"+385",code:"HR"},{name:"Cuba",dialCode:"+53",code:"CU"},{name:"Cyprus",dialCode:"+537",code:"CY"},{name:"Czech Republic",dialCode:"+420",code:"CZ"},{name:"Denmark",dialCode:"+45",code:"DK"},{name:"Djibouti",dialCode:"+253",code:"DJ"},{name:"Dominica",dialCode:"+1767",code:"DM"},{name:"Dominican Republic",dialCode:"+1849",code:"DO"},{name:"Ecuador",dialCode:"+593",code:"EC"},{name:"Egypt",dialCode:"+20",code:"EG"},{name:"El Salvador",dialCode:"+503",code:"SV"},{name:"Equatorial Guinea",dialCode:"+240",code:"GQ"},{name:"Eritrea",dialCode:"+291",code:"ER"},{name:"Estonia",dialCode:"+372",code:"EE"},{name:"Ethiopia",dialCode:"+251",code:"ET"},{name:"Faroe Islands",dialCode:"+298",code:"FO"},{name:"Fiji",dialCode:"+679",code:"FJ"},{name:"Finland",dialCode:"+358",code:"FI"},{name:"France",dialCode:"+33",code:"FR"},{name:"French Guiana",dialCode:"+594",code:"GF"},{name:"French Polynesia",dialCode:"+689",code:"PF"},{name:"Gabon",dialCode:"+241",code:"GA"},{name:"Gambia",dialCode:"+220",code:"GM"},{name:"Georgia",dialCode:"+995",code:"GE"},{name:"Germany",dialCode:"+49",code:"DE"},{name:"Ghana",dialCode:"+233",code:"GH"},{name:"Gibraltar",dialCode:"+350",code:"GI"},{name:"Greece",dialCode:"+30",code:"GR"},{name:"Greenland",dialCode:"+299",code:"GL"},{name:"Grenada",dialCode:"+1473",code:"GD"},{name:"Guadeloupe",dialCode:"+590",code:"GP"},{name:"Guam",dialCode:"+1671",code:"GU"},{name:"Guatemala",dialCode:"+502",code:"GT"},{name:"Guinea",dialCode:"+224",code:"GN"},{name:"Guinea-Bissau",dialCode:"+245",code:"GW"},{name:"Guyana",dialCode:"+595",code:"GY"},{name:"Haiti",dialCode:"+509",code:"HT"},{name:"Honduras",dialCode:"+504",code:"HN"},{name:"Hungary",dialCode:"+36",code:"HU"},{name:"Iceland",dialCode:"+354",code:"IS"},{name:"India",dialCode:"+91",code:"IN"},{name:"Indonesia",dialCode:"+62",code:"ID"},{name:"Iraq",dialCode:"+964",code:"IQ"},{name:"Ireland",dialCode:"+353",code:"IE"},{name:"Israel",dialCode:"+972",code:"IL"},{name:"Italy",dialCode:"+39",code:"IT"},{name:"Jamaica",dialCode:"+1876",code:"JM"},{name:"Japan",dialCode:"+81",code:"JP"},{name:"Jordan",dialCode:"+962",code:"JO"},{name:"Kazakhstan",dialCode:"+77",code:"KZ"},{name:"Kenya",dialCode:"+254",code:"KE"},{name:"Kiribati",dialCode:"+686",code:"KI"},{name:"Kuwait",dialCode:"+965",code:"KW"},{name:"Kyrgyzstan",dialCode:"+996",code:"KG"},{name:"Latvia",dialCode:"+371",code:"LV"},{name:"Lebanon",dialCode:"+961",code:"LB"},{name:"Lesotho",dialCode:"+266",code:"LS"},{name:"Liberia",dialCode:"+231",code:"LR"},{name:"Liechtenstein",dialCode:"+423",code:"LI"},{name:"Lithuania",dialCode:"+370",code:"LT"},{name:"Luxembourg",dialCode:"+352",code:"LU"},{name:"Madagascar",dialCode:"+261",code:"MG"},{name:"Malawi",dialCode:"+265",code:"MW"},{name:"Malaysia",dialCode:"+60",code:"MY"},{name:"Maldives",dialCode:"+960",code:"MV"},{name:"Mali",dialCode:"+223",code:"ML"},{name:"Malta",dialCode:"+356",code:"MT"},{name:"Marshall Islands",dialCode:"+692",code:"MH"},{name:"Martinique",dialCode:"+596",code:"MQ"},{name:"Mauritania",dialCode:"+222",code:"MR"},{name:"Mauritius",dialCode:"+230",code:"MU"},{name:"Mayotte",dialCode:"+262",code:"YT"},{name:"Mexico",dialCode:"+52",code:"MX"},{name:"Monaco",dialCode:"+377",code:"MC"},{name:"Mongolia",dialCode:"+976",code:"MN"},{name:"Montenegro",dialCode:"+382",code:"ME"},{name:"Montserrat",dialCode:"+1664",code:"MS"},{name:"Morocco",dialCode:"+212",code:"MA"},{name:"Myanmar",dialCode:"+95",code:"MM"},{name:"Namibia",dialCode:"+264",code:"NA"},{name:"Nauru",dialCode:"+674",code:"NR"},{name:"Nepal",dialCode:"+977",code:"NP"},{name:"Netherlands",dialCode:"+31",code:"NL"},{name:"Netherlands Antilles",dialCode:"+599",code:"AN"},{name:"New Caledonia",dialCode:"+687",code:"NC"},{name:"New Zealand",dialCode:"+64",code:"NZ"},{name:"Nicaragua",dialCode:"+505",code:"NI"},{name:"Niger",dialCode:"+227",code:"NE"},{name:"Nigeria",dialCode:"+234",code:"NG"},{name:"Niue",dialCode:"+683",code:"NU"},{name:"Norfolk Island",dialCode:"+672",code:"NF"},{name:"Northern Mariana Islands",dialCode:"+1670",code:"MP"},{name:"Norway",dialCode:"+47",code:"NO"},{name:"Oman",dialCode:"+968",code:"OM"},{name:"Pakistan",dialCode:"+92",code:"PK"},{name:"Palau",dialCode:"+680",code:"PW"},{name:"Panama",dialCode:"+507",code:"PA"},{name:"Papua New Guinea",dialCode:"+675",code:"PG"},{name:"Paraguay",dialCode:"+595",code:"PY"},{name:"Peru",dialCode:"+51",code:"PE"},{name:"Philippines",dialCode:"+63",code:"PH"},{name:"Poland",dialCode:"+48",code:"PL"},{name:"Portugal",dialCode:"+351",code:"PT"},{name:"Puerto Rico",dialCode:"+1939",code:"PR"},{name:"Qatar",dialCode:"+974",code:"QA"},{name:"Romania",dialCode:"+40",code:"RO"},{name:"Rwanda",dialCode:"+250",code:"RW"},{name:"Samoa",dialCode:"+685",code:"WS"},{name:"San Marino",dialCode:"+378",code:"SM"},{name:"Saudi Arabia",dialCode:"+966",code:"SA"},{name:"Senegal",dialCode:"+221",code:"SN"},{name:"Serbia",dialCode:"+381",code:"RS"},{name:"Seychelles",dialCode:"+248",code:"SC"},{name:"Sierra Leone",dialCode:"+232",code:"SL"},{name:"Singapore",dialCode:"+65",code:"SG"},{name:"Slovakia",dialCode:"+421",code:"SK"},{name:"Slovenia",dialCode:"+386",code:"SI"},{name:"Solomon Islands",dialCode:"+677",code:"SB"},{name:"South Africa",dialCode:"+27",code:"ZA"},{name:"South Georgia and the South Sandwich Islands",dialCode:"+500",code:"GS"},{name:"Spain",dialCode:"+34",code:"ES"},{name:"Sri Lanka",dialCode:"+94",code:"LK"},{name:"Sudan",dialCode:"+249",code:"SD"},{name:"Suriname",dialCode:"+597",code:"SR"},{name:"Swaziland",dialCode:"+268",code:"SZ"},{name:"Sweden",dialCode:"+46",code:"SE"},{name:"Switzerland",dialCode:"+41",code:"CH"},{name:"Tajikistan",dialCode:"+992",code:"TJ"},{name:"Thailand",dialCode:"+66",code:"TH"},{name:"Togo",dialCode:"+228",code:"TG"},{name:"Tokelau",dialCode:"+690",code:"TK"},{name:"Tonga",dialCode:"+676",code:"TO"},{name:"Trinidad and Tobago",dialCode:"+1868",code:"TT"},{name:"Tunisia",dialCode:"+216",code:"TN"},{name:"Turkey",dialCode:"+90",code:"TR"},{name:"Turkmenistan",dialCode:"+993",code:"TM"},{name:"Turks and Caicos Islands",dialCode:"+1649",code:"TC"},{name:"Tuvalu",dialCode:"+688",code:"TV"},{name:"Uganda",dialCode:"+256",code:"UG"},{name:"Ukraine",dialCode:"+380",code:"UA"},{name:"United Arab Emirates",dialCode:"+971",code:"AE"},{name:"United Kingdom",dialCode:"+44",code:"GB"},{name:"United States",dialCode:"+1",code:"US"},{name:"Uruguay",dialCode:"+598",code:"UY"},{name:"Uzbekistan",dialCode:"+998",code:"UZ"},{name:"Vanuatu",dialCode:"+678",code:"VU"},{name:"Wallis and Futuna",dialCode:"+681",code:"WF"},{name:"Yemen",dialCode:"+967",code:"YE"},{name:"Zambia",dialCode:"+260",code:"ZM"},{name:"Zimbabwe",dialCode:"+263",code:"ZW"},{name:"Bolivia, Plurinational State of",dialCode:"+591",code:"BO"},{name:"Brunei Darussalam",dialCode:"+673",code:"BN"},{name:"Cocos (Keeling) Islands",dialCode:"+61",code:"CC"},{name:"Congo, The Democratic Republic of the",dialCode:"+243",code:"CD"},{name:"Cote d'Ivoire",dialCode:"+225",code:"CI"},{name:"Falkland Islands (Malvinas)",dialCode:"+500",code:"FK"},{name:"Guernsey",dialCode:"+44",code:"GG"},{name:"Holy See (Vatican City State)",dialCode:"+379",code:"VA"},{name:"Hong Kong",dialCode:"+852",code:"HK"},{name:"Iran, Islamic Republic of",dialCode:"+98",code:"IR"},{name:"Isle of Man",dialCode:"+44",code:"IM"},{name:"Jersey",dialCode:"+44",code:"JE"},{name:"Korea, Democratic People's Republic of",dialCode:"+850",code:"KP"},{name:"Korea, Republic of",dialCode:"+82",code:"KR"},{name:"Lao People's Democratic Republic",dialCode:"+856",code:"LA"},{name:"Libyan Arab Jamahiriya",dialCode:"+218",code:"LY"},{name:"Macao",dialCode:"+853",code:"MO"},{name:"Macedonia, The Former Yugoslav Republic of",dialCode:"+389",code:"MK"},{name:"Micronesia, Federated States of",dialCode:"+691",code:"FM"},{name:"Moldova, Republic of",dialCode:"+373",code:"MD"},{name:"Mozambique",dialCode:"+258",code:"MZ"},{name:"Palestinian Territory, Occupied",dialCode:"+970",code:"PS"},{name:"Pitcairn",dialCode:"+872",code:"PN"},{name:"R\xe9union",dialCode:"+262",code:"RE"},{name:"Russia",dialCode:"+7",code:"RU"},{name:"Saint Barth\xe9lemy",dialCode:"+590",code:"BL"},{name:"Saint Helena, Ascension and Tristan Da Cunha",dialCode:"+290",code:"SH"},{name:"Saint Kitts and Nevis",dialCode:"+1869",code:"KN"},{name:"Saint Lucia",dialCode:"+1758",code:"LC"},{name:"Saint Martin",dialCode:"+590",code:"MF"},{name:"Saint Pierre and Miquelon",dialCode:"+508",code:"PM"},{name:"Saint Vincent and the Grenadines",dialCode:"+1784",code:"VC"},{name:"Sao Tome and Principe",dialCode:"+239",code:"ST"},{name:"Somalia",dialCode:"+252",code:"SO"},{name:"Svalbard and Jan Mayen",dialCode:"+47",code:"SJ"},{name:"Syrian Arab Republic",dialCode:"+963",code:"SY"},{name:"Taiwan, Province of China",dialCode:"+886",code:"TW"},{name:"Tanzania, United Republic of",dialCode:"+255",code:"TZ"},{name:"Timor-Leste",dialCode:"+670",code:"TL"},{name:"Venezuela, Bolivarian Republic of",dialCode:"+58",code:"VE"},{name:"Viet Nam",dialCode:"+84",code:"VN"},{name:"Virgin Islands, British",dialCode:"+1284",code:"VG"},{name:"Virgin Islands, U.S.",dialCode:"+1340",code:"VI"}];function KQ(n,o){if(1&n){const t=Me();I(0,"ion-item",11),re("click",function(){const i=le(t).$implicit;return ce(M(2).closeModal(i))}),I(1,"ion-label"),z(2),E()()}if(2&n){const t=o.$implicit;C(2),Rd("",t.dialCode," - (",t.code,") ",t.name,"")}}function XQ(n,o){if(1&n){const t=Me();I(0,"ion-content",5)(1,"ion-list",6)(2,"ion-item",5)(3,"ion-searchbar",7),re("ionInput",function(i){return le(t),ce(M().search(i))}),E()(),se(4,KQ,3,3,"ion-item",8),E(),I(5,"ion-fab",9)(6,"ion-fab-button",10),re("click",function(){return le(t),ce(M().closeModal())}),oe(7,"ion-icon",3),E()()()}if(2&n){const t=M();C(3),P("placeholder",t.orgService.organization.settings.screens.barbers.searchPlaceholderText.value),C(),P("ngForOf",t.filteredCountries)}}let ZQ=(()=>{class n{modalController;orgService;allCountries;filteredCountries;constructor(t,r){this.modalController=t,this.orgService=r}ionViewWillEnter(){var t=this;return(0,Ge.A)(function*(){t.allCountries=lP.sort((i,s)=>i.name>s.name?1:-1),t.filteredCountries=t.allCountries})()}closeModal(t=null){this.modalController.dismiss(t)}search(t){this.filteredCountries=this.allCountries.filter(r=>(r.code+r.dialCode+r.name).toLowerCase().indexOf(t.detail.value.toLowerCase())>-1)}static \u0275fac=function(r){return new(r||n)(N(Wr),N(ei))};static \u0275cmp=je({type:n,selectors:[["app-codes"]],decls:6,vars:1,consts:[["color","secondary",1,"mobile-item"],["slot","start"],[3,"click"],["name","close"],["color","primary",4,"ngIf"],["color","primary"],[1,"screen-item"],["color","primary","animated","true","how-clear-button","always",3,"ionInput","placeholder"],["color","primary","button","",3,"click",4,"ngFor","ngForOf"],["vertical","bottom","horizontal","center","slot","fixed"],["color","secondary","size","large",3,"click"],["color","primary","button","",3,"click"]],template:function(r,i){1&r&&(I(0,"ion-header")(1,"ion-toolbar",0)(2,"ion-buttons",1)(3,"ion-button",2),re("click",function(){return i.closeModal()}),oe(4,"ion-icon",3),E()()()(),se(5,XQ,8,2,"ion-content",4)),2&r&&(C(5),P("ngIf",i.orgService.organization&&i.orgService.organization.settings&&i.orgService.organization.settings.screens))},dependencies:[fo,Gt,on,Ln,Sn,Qa,Es,En,un,Dn,co,Bo,su,In,bi]})}return n})();var cP=_(6347);const QQ=n=>({"input-invalid":n});function JQ(n,o){if(1&n){const t=Me();I(0,"ion-button",3),re("click",function(){return le(t),ce(M().showCodesModal())}),z(1),oe(2,"ion-icon",4),E()}if(2&n){const t=M();C(),Co(" (",t.selectedCountry.code,") ",t.selectedCountry.dialCode," ")}}let f1=(()=>{class n{modalController;orgService;disabled;phoneNumber;placeholder;isInvalid;label;inputModelChange=new $n;validationChange=new $n;countries;selectedCountry;constructor(t,r){this.modalController=t,this.orgService=r}ngOnInit(){var t=this;return(0,Ge.A)(function*(){t.countries=lP,yield t.initCountry(),t.initPlaceholder()})()}initPlaceholder(){var t=this;return(0,Ge.A)(function*(){if(t.selectedCountry){const r=cP.PhoneNumberUtil.getInstance(),i=r.getExampleNumber(t.selectedCountry.code.toLowerCase()),s=r.format(i,cP.PhoneNumberFormat.E164);t.placeholder=s.replace(t.selectedCountry.dialCode,"")}})()}initCountry(){var t=this;return(0,Ge.A)(function*(){t.phoneNumber.code=t.normalizePhone(t.phoneNumber.code),t.phoneNumber.code&&("+1"===t.phoneNumber.code?t.orgService.organization&&(t.selectedCountry=t.countries.find("Canada"===t.orgService.organization.country?r=>"CA"===r.code:r=>"US"===r.code)):"+44"===t.phoneNumber.code?t.orgService.organization&&(t.selectedCountry=t.countries.find("United Kingdom of Great Britain and Northern Ireland"===t.orgService.organization.country?r=>"GB"===r.code:r=>r.code===t.phoneNumber.code)):t.selectedCountry=t.countries.find(r=>r.dialCode===t.phoneNumber.code)),t.selectedCountry||(t.selectedCountry=t.countries.find(r=>"US"===r.code),t.phoneNumber.code=t.selectedCountry.dialCode),t.phoneNumber.phone=t.normalizePhone(t.phoneNumber.phone),t.phoneNumber.phone&&(t.phoneNumber.phone.startsWith("+")||(t.phoneNumber.phone="+"+t.phoneNumber.phone),t.phoneNumber.phone=t.phoneNumber.phone.startsWith(t.phoneNumber.code)?t.phoneNumber.phone.substring(t.phoneNumber.code.length):t.phoneNumber.phone.substring(1))})()}handleInput(){this.phoneNumber.phone&&(this.phoneNumber.phone=this.normalizePhone(this.phoneNumber.phone),this.phoneNumber.phone=this.phoneNumber.phone.replace(/\D/g,""))}showCodesModal(){var t=this;return(0,Ge.A)(function*(){const r=yield t.modalController.create({component:ZQ});return r.onDidDismiss().then(i=>{const s=i.data;if(s){const u=t.countries.find(p=>p.code===s.code);u&&(t.selectedCountry=u,t.phoneNumber.code=u.dialCode,t.initPlaceholder())}}),yield r.present()})()}normalizePhone(t){return t&&t.trim().replace(" ","").replace("-","").replace("(","").replace(")","").replace("*","")}static \u0275fac=function(r){return new(r||n)(N(Wr),N(ei))};static \u0275cmp=je({type:n,selectors:[["app-phone-input"]],inputs:{disabled:"disabled",phoneNumber:"phoneNumber",placeholder:"placeholder",isInvalid:"isInvalid",label:"label"},outputs:{inputModelChange:"inputModelChange",validationChange:"validationChange"},decls:6,vars:9,consts:[["size","auto",1,"align-center"],["class","code-btn","fill","expand",3,"click",4,"ngIf"],["inputmode","tel","labelPlacement","stacked","clearInput","true","autocorrect","off","autocomplete","off",3,"ngModelChange","ionInput","ionBlur","label","ngClass","disabled","ngModel","placeholder"],["fill","expand",1,"code-btn",3,"click"],["name","caret-down-outline"]],template:function(r,i){1&r&&(I(0,"ion-grid")(1,"ion-row")(2,"ion-col",0),se(3,JQ,3,2,"ion-button",1),E(),I(4,"ion-col")(5,"ion-input",2),Vn("ngModelChange",function(u){return Gn(i.phoneNumber.phone,u)||(i.phoneNumber.phone=u),u}),re("ionInput",function(){return i.handleInput()})("ionBlur",function(){return i.handleInput()}),E()()()()),2&r&&(C(3),P("ngIf",i.selectedCountry),C(2),yi("label","",i.label,":"),P("ngClass",Lo(7,QQ,i.isInvalid))("disabled",i.disabled),zn("ngModel",i.phoneNumber.phone),P("placeholder",i.placeholder))},dependencies:[on,Ni,iu,un,Ys,fi,bi,Cs,Gt,Xr,Zr],styles:[".code-btn[_ngcontent-%COMP%]{color:var(--ion-primary-contrast)!important}.align-center[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}"]})}return n})();const lb=n=>({"input-invalid":n});function eJ(n,o){if(1&n){const t=Me();I(0,"ion-header")(1,"ion-toolbar",1)(2,"ion-buttons",2)(3,"ion-button",3),re("click",function(){return le(t),ce(M().navCtrl.navigateBack("booking"))}),oe(4,"ion-icon",4),E()(),I(5,"ion-title"),z(6),E()(),oe(7,"app-smart-bar"),E()}if(2&n){const t=M();C(6),Re(t.orgService.organization.settings.screens.contactDetails.toolbarText.value)}}function tJ(n,o){if(1&n){const t=Me();I(0,"app-phone-input",14),re("change",function(){return le(t),ce(M(2).phoneValidate())}),E()}if(2&n){const t=M(2);P("label",t.orgService.organization.settings.screens.contactDetails.phoneLabelText.value)("disabled",t.saving)("phoneNumber",t.phone)("isInvalid",!t.phoneIsValid)("placeholder",t.orgService.organization.settings.screens.contactDetails.phoneLabelText.value)}}function nJ(n,o){1&n&&oe(0,"ion-progress-bar",15)}function oJ(n,o){if(1&n){const t=Me();I(0,"ion-item",5)(1,"ion-label",16),z(2),E(),I(3,"ion-input",17),Vn("ngModelChange",function(i){le(t);const s=M(2);return Gn(s.confirmationCode,i)||(s.confirmationCode=i),ce(i)}),E()()}if(2&n){const t=M(2);C(2),Te(" ",t.orgService.organization.settings.screens.contactDetails.confirmationCodeLabelText.value,""),C(),zn("ngModel",t.confirmationCode)}}function rJ(n,o){if(1&n){const t=Me();I(0,"ion-button",18),re("click",function(){return le(t),ce(M(2).confirmCustomer())}),z(1),E()}if(2&n){const t=M(2);P("disabled",!t.confirmationCode),C(),Te(" ",t.orgService.organization.settings.screens.contactDetails.confirmBtnText.value,"")}}function iJ(n,o){if(1&n){const t=Me();I(0,"ion-button",19),re("click",function(){return le(t),ce(M(2).bookAppointment())}),z(1),E()}if(2&n){const t=M(2);P("disabled",t.saving),C(),Re(t.booking.id?t.orgService.organization.settings.screens.appointment.updateButtonText.value:t.orgService.organization.settings.screens.contactDetails.bookBtnText.value)}}function sJ(n,o){if(1&n){const t=Me();I(0,"ion-content")(1,"ion-item",5)(2,"ion-input",6),re("change",function(){return le(t),ce(M().firstNameValidate())}),Vn("ngModelChange",function(i){le(t);const s=M();return Gn(s.customer.firstName,i)||(s.customer.firstName=i),ce(i)}),E()(),I(3,"ion-item",5)(4,"ion-input",7),re("change",function(){return le(t),ce(M().lastNameValidate())}),Vn("ngModelChange",function(i){le(t);const s=M();return Gn(s.customer.lastName,i)||(s.customer.lastName=i),ce(i)}),E()(),I(5,"ion-item",5)(6,"ion-input",8),re("change",function(){return le(t),ce(M().emailValidate())}),Vn("ngModelChange",function(i){le(t);const s=M();return Gn(s.customer.email,i)||(s.customer.email=i),ce(i)}),E()(),I(7,"ion-item",5),se(8,tJ,1,5,"app-phone-input",9),E(),se(9,nJ,1,0,"ion-progress-bar",10)(10,oJ,4,2,"ion-item",11)(11,rJ,2,2,"ion-button",12)(12,iJ,2,2,"ion-button",13),E()}if(2&n){const t=M();C(2),yi("label","",t.orgService.organization.settings.screens.contactDetails.firstNameLabelText.value,":"),P("disabled",t.saving)("ngClass",Lo(27,lb,!t.firstNameIsValid))("clearInput",!0)("autocomplete",!1)("autofocus",!0),zn("ngModel",t.customer.firstName),C(2),yi("label","",t.orgService.organization.settings.screens.contactDetails.lastNameLabelText.value,":"),P("disabled",t.saving)("ngClass",Lo(29,lb,!t.lastNameIsValid))("clearInput",!0)("autocomplete",!1),zn("ngModel",t.customer.lastName),C(2),yi("label","",t.orgService.organization.settings.screens.contactDetails.emailLabelText.value,":"),P("clearInput",!0)("autocomplete",!1)("disabled",t.saving)("ngClass",Lo(31,lb,!t.emailIsValid)),zn("ngModel",t.customer.email),C(2),P("ngIf",t.phone),C(),P("ngIf",t.saving),C(),P("ngIf",t.confirmationBooking&&!t.confirmationBooking.isConfirmed),C(),P("ngIf",t.confirmationBooking&&!t.confirmationBooking.isConfirmed),C(),P("ngIf",!t.confirmationBooking)}}let aJ=(()=>{class n extends Nn{injector;bookingService;accountService;customer;confirmationBooking;confirmationCode;saving;booking;phone;firstNameIsValid=!0;lastNameIsValid=!0;emailIsValid=!0;phoneIsValid=!0;constructor(t,r,i){super(t),this.injector=t,this.bookingService=r,this.accountService=i,this.customer=new ab,this.booking=this.bookingService.booking,(!this.booking||!this.booking.location)&&this.navCtrl.navigateRoot("/booking"),this.saving=!1,this.accountService.getCustomer().subscribe(s=>{this.phone=new g1,this.phone.code=this.orgService.organization.phoneCode,this.customer=s,this.customer?this.phone.phone=s.phoneNumber:this.customer=new ab})}firstNameValidate(){return this.firstNameIsValid=!!this.customer.firstName,this.firstNameIsValid}lastNameValidate(){return this.lastNameIsValid=!!this.customer.lastName,this.lastNameIsValid}phoneValidate(){return this.phoneIsValid=!!this.phone.phone&&this.phone.phone.length>=6,this.phoneIsValid}emailValidate(){return this.emailIsValid=/\S+@\S+\.\S+/.test(this.customer.email),this.emailIsValid}bookAppointment(){var t=this;return(0,Ge.A)(function*(){t.voidValidation();let r=!1;t.firstNameValidate()||(r=!0),t.lastNameValidate()||(r=!0),t.phoneValidate()||(r=!0),t.emailValidate()||(r=!0),!r&&(t.saving=!0,t.customer.phoneNumber=t.phone.code+t.phone.phone,t.bookingService.updateCustomer(t.customer),t.bookingService.saveBooking().subscribe(function(){var i=(0,Ge.A)(function*(s){if(!s.succeded)return t.saving=!1,void(yield t.presentAlert("Failed to save appointment",s.error));t.bookingService.changedBookingId=null,t.customer.customerId=s.customerId,t.accountService.setCustomer(t.customer),t.confirmationBooking=s,t.saving=!1,t.confirmationBooking.isConfirmed&&t.navCtrl.navigateRoot("/saved")});return function(s){return i.apply(this,arguments)}}(),i=>{t.saving=!1,t.presentAlert("Failed to book appointment",i.error.message||"Please try again")},()=>{t.saving=!1}))})()}confirmCustomer(){var t=this;return(0,Ge.A)(function*(){const r=new YQ;r.customerId=t.confirmationBooking.customerId,r.isNew=t.confirmationBooking.isNew,r.id=t.confirmationBooking.id,r.confirmationCode=t.confirmationCode,t.bookingService.confirmBooking(r).subscribe(function(){var i=(0,Ge.A)(function*(s){s.success?t.navCtrl.navigateRoot("/saved"):yield t.presentAlert("Failed to confirm",s.error)});return function(s){return i.apply(this,arguments)}}(),()=>{t.networkError()})})()}onFirstNameChanged(){this.firstNameIsValid=!0}onLastNameChanged(){this.lastNameIsValid=!0}onEmailChanged(){this.emailIsValid=!0}voidValidation(){this.firstNameIsValid=!0,this.lastNameIsValid=!0,this.emailIsValid=!0,this.phoneIsValid=!0}static \u0275fac=function(r){return new(r||n)(N(Ht),N(qn),N(gr))};static \u0275cmp=je({type:n,selectors:[["app-customer"]],features:[Dt],decls:2,vars:2,consts:[[4,"ngIf"],["color","secondary",1,"mobile-item"],["slot","start"],[3,"click"],["name","arrow-back"],["color","primary",1,"screen-item"],["labelPlacement","stacked",1,"mb-10","mt-10",3,"change","ngModelChange","label","disabled","ngClass","clearInput","autocomplete","autofocus","ngModel"],["labelPlacement","stacked",1,"mb-10",3,"change","ngModelChange","label","disabled","ngClass","clearInput","autocomplete","ngModel"],["labelPlacement","stacked","type","email",3,"change","ngModelChange","label","clearInput","autocomplete","disabled","ngClass","ngModel"],["name","phone",3,"label","disabled","phoneNumber","isInvalid","placeholder","change",4,"ngIf"],["type","indeterminate","color","primary",4,"ngIf"],["color","primary","class","screen-item",4,"ngIf"],["class","screen-item","color","success","expand","full",3,"disabled","click",4,"ngIf"],["class","screen-item","color","success","expand","full","size","large",3,"disabled","click",4,"ngIf"],["name","phone",3,"change","label","disabled","phoneNumber","isInvalid","placeholder"],["type","indeterminate","color","primary"],["position","stacked"],["type","number",3,"ngModelChange","ngModel"],["color","success","expand","full",1,"screen-item",3,"click","disabled"],["color","success","expand","full","size","large",1,"screen-item",3,"click","disabled"]],template:function(r,i){1&r&&se(0,eJ,8,1,"ion-header",0)(1,sJ,13,33,"ion-content",0),2&r&&(P("ngIf",i.orgService.organization&&i.orgService.organization.settings&&i.orgService.organization.settings.screens),C(),P("ngIf",i.customer&&i.orgService.organization&&i.orgService.organization.settings&&i.orgService.organization.settings.screens))},dependencies:[Cs,Gt,Xr,Zr,on,Ln,Sn,En,un,Ys,Dn,co,ar,An,In,pf,bi,Uo,f1],styles:[".phone-width[_ngcontent-%COMP%]{width:100px!important}"]})}return n})();function lJ(n,o){if(1&n&&(I(0,"ion-header")(1,"ion-toolbar",2)(2,"ion-title"),z(3),E()(),oe(4,"app-smart-bar"),E()),2&n){const t=M();C(3),Re(t.orgService.organization.settings.screens.bookingSaved.toolbarText.value)}}function cJ(n,o){if(1&n&&(I(0,"ion-card-title"),z(1),E()),2&n){const t=M(2);C(),Te("",t.orgService.organization.settings.screens.bookingSaved.savedTitle.value," ")}}function dJ(n,o){if(1&n&&(I(0,"ion-card-title"),z(1),E()),2&n){const t=M(2);C(),Re(t.orgService.organization.settings.screens.bookingSaved.savedRequestTitle.value)}}function uJ(n,o){if(1&n&&(I(0,"ion-card-subtitle"),z(1),E()),2&n){const t=M(2);C(),Te(" ",t.orgService.organization.settings.screens.bookingSaved.savedSubTitle.value,"")}}function gJ(n,o){if(1&n&&(I(0,"ion-card-subtitle"),z(1),E()),2&n){const t=M(2);C(),Re(t.orgService.organization.settings.screens.bookingSaved.savedRequestSubTitle.value)}}function fJ(n,o){if(1&n){const t=Me();I(0,"ion-content",3)(1,"ion-card",4)(2,"ion-card-header",5),se(3,cJ,2,1,"ion-card-title",0)(4,dJ,2,1,"ion-card-title",0),E(),I(5,"ion-card-content",5),se(6,uJ,2,1,"ion-card-subtitle",0)(7,gJ,2,1,"ion-card-subtitle",0),E(),I(8,"ion-card-content")(9,"ion-button",6),re("click",function(){return le(t),ce(M().navCtrl.navigateRoot("bookings"))}),z(10),E()()()()}if(2&n){const t=M();C(3),P("ngIf",!t.isRequest),C(),P("ngIf",t.isRequest),C(2),P("ngIf",!t.isRequest),C(),P("ngIf",t.isRequest),C(3),Te(" ",t.orgService.organization.settings.screens.bookingSaved.savedBtnText.value,"")}}let pJ=(()=>{class n extends Nn{injector;isRequest;constructor(t){super(t),this.injector=t}ngOnInit(){this.injector.get(qn).isBookingRequest().subscribe(r=>{this.isRequest=r,this.injector.get(qn).voidBooking()},()=>{this.injector.get(qn).voidBooking()})}static \u0275fac=function(r){return new(r||n)(N(Ht))};static \u0275cmp=je({type:n,selectors:[["app-saved"]],features:[Dt],decls:2,vars:2,consts:[[4,"ngIf"],["padding-top","",4,"ngIf"],["color","secondary",1,"mobile-item"],["padding-top",""],["color","primary",1,"screen-item"],[1,"center"],["expand","block","color","secondary",3,"click"]],template:function(r,i){1&r&&se(0,lJ,5,1,"ion-header",0)(1,fJ,11,5,"ion-content",1),2&r&&(P("ngIf",i.orgService.organization&&i.orgService.organization.settings&&i.orgService.organization.settings.screens),C(),P("ngIf",i.orgService.organization&&i.orgService.organization.settings&&i.orgService.organization.settings.screens))},dependencies:[Gt,on,Jn,To,oo,gi,lo,Sn,En,An,In,Uo]})}return n})(),hJ=(()=>{class n{http;serviceUrl=Er_baseUrl+"api/feedbacks";constructor(t){this.http=t}postBookingFeedback(t,r){return this.http.postType(this.serviceUrl+"/booking",{bookingId:t,text:r})}static \u0275fac=function(r){return new(r||n)(Tt(xi))};static \u0275prov=St({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function mJ(n,o){if(1&n){const t=Me();I(0,"ion-header")(1,"ion-toolbar",2)(2,"ion-buttons",3)(3,"ion-button",4),re("click",function(){return le(t),ce(M().closeModal())}),oe(4,"ion-icon",5),E()(),I(5,"ion-title"),z(6),E()()()}if(2&n){const t=M();C(6),Re(t.orgService.organization.settings.screens.feedback.toolbarText.value)}}function _J(n,o){if(1&n){const t=Me();I(0,"ion-content",6)(1,"ion-card",7)(2,"ion-card-header")(3,"ion-card-title",8),z(4),E()(),I(5,"ion-card-content")(6,"ion-textarea",9),Vn("ngModelChange",function(i){le(t);const s=M();return Gn(s.text,i)||(s.text=i),ce(i)}),E()(),I(7,"ion-card-content")(8,"ion-button",10),re("click",function(){return le(t),ce(M().postFeedback())}),z(9),E()()()()}if(2&n){const t=M();C(4),Te("",t.orgService.organization.settings.screens.feedback.toolbarText.value," "),C(2),zn("ngModel",t.text),C(2),P("disabled",!t.text),C(),Te(" ",t.orgService.organization.settings.screens.feedback.sendButtonText.value,"")}}let p1=(()=>{class n extends Nn{injector;bookingService;feedbackService;route;router;text;bookingId;constructor(t,r,i,s,u){super(t),this.injector=t,this.bookingService=r,this.feedbackService=i,this.route=s,this.router=u}ngOnInit(){this.init()}init(){const t=this.route.snapshot.paramMap.get("tid");if(t)this.bookingService.getBySpecialId(t).subscribe(r=>{this.bookingId=r.id},()=>{this.navCtrl.navigateForward("bookings")});else{if(this.router.getCurrentNavigation().extras.state){const r=this.router.getCurrentNavigation().extras.state;this.bookingId=r.bookingId}this.bookingId||this.navCtrl.navigateForward("bookings")}}postFeedback(){this.feedbackService.postBookingFeedback(this.bookingId,this.text).subscribe(t=>{t.success?this.closeModal():this.presentAlert("Failed to save feedback",t.error)},()=>this.networkError())}presentAlert(t,r){var i=this;return(0,Ge.A)(function*(){yield i.presentPopUp(null,t,r)})()}closeModal(){this.navCtrl.navigateBack("bookings")}static \u0275fac=function(r){return new(r||n)(N(Ht),N(qn),N(hJ),N(dr),N(Qo))};static \u0275cmp=je({type:n,selectors:[["app-feedback"]],features:[Dt],decls:2,vars:2,consts:[[4,"ngIf"],["class","ion-padding",4,"ngIf"],["color","secondary"],["slot","start"],[3,"click"],["name","arrow-back"],[1,"ion-padding"],["color","primary",1,"screen-item"],[1,"wrap"],["autofocus","true","rows","8",3,"ngModelChange","ngModel"],["color","secondary","expand","block",3,"click","disabled"]],template:function(r,i){1&r&&se(0,mJ,7,1,"ion-header",0)(1,_J,10,4,"ion-content",1),2&r&&(P("ngIf",i.orgService.organization&&i.orgService.organization.settings&&i.orgService.organization.settings.screens),C(),P("ngIf",i.orgService.organization&&i.orgService.organization.settings&&i.orgService.organization.settings.screens))},dependencies:[Gt,Xr,Zr,on,Ln,Jn,To,oo,lo,Sn,En,un,qy,An,In,bi]})}return n})();function vJ(n,o){if(1&n){const t=Me();I(0,"ion-button",9),re("click",function(){const i=le(t).$implicit;return ce(M(2).onSlotSelected(i))}),z(1),E()}if(2&n){const t=o.$implicit;C(),Te(" ",t.timeSlot.time," ")}}function yJ(n,o){if(1&n&&(I(0,"ion-card-content",7),se(1,vJ,2,1,"ion-button",8),E()),2&n){const t=M();C(),P("ngForOf",t.item.options)}}function bJ(n,o){if(1&n){const t=Me();I(0,"ion-button",9),re("click",function(){const i=le(t).$implicit;return ce(M(3).onSlotSelected(i))}),z(1),E()}if(2&n){const t=o.$implicit;C(),Te(" ",t.timeSlot.time," ")}}function SJ(n,o){if(1&n&&(I(0,"span",11)(1,"ion-card-title",12),z(2),E(),I(3,"div",13),se(4,bJ,2,1,"ion-button",8),E()()),2&n){const t=o.$implicit,r=M(2);C(2),Co(" ",t.firstName," ",t.lastName," "),C(2),P("ngForOf",r.getBarberOptions(t))}}function CJ(n,o){if(1&n&&(I(0,"ion-card-content"),se(1,SJ,5,3,"span",10),E()),2&n){const t=M();C(),P("ngForOf",t.getAllBarbers())}}let TJ=(()=>{class n extends Nn{injector;modalController;bookingService;item;barbersOptionsMap;barbers;constructor(t,r,i){super(t),this.injector=t,this.modalController=r,this.bookingService=i}ngOnInit(){this.fillBarbersOptionsMapFromOptions()}fillBarbersOptionsMapFromOptions(){if(this.shouldShowBarbers()&&(this.barbersOptionsMap=new Map,this.barbers=[],this.item&&this.item.options))for(const t of this.item.options){const r=t.employee.id,i=this.barbersOptionsMap.get(r);i?this.barbersOptionsMap.set(r,i.concat(t)):(this.barbers.push(t.employee),this.barbersOptionsMap.set(r,[t]))}}getAllBarbers(){return this.barbers}getBarberOptions(t){return this.barbersOptionsMap.get(t.id)}closeModal(){this.modalController.dismiss()}shouldShowBarbers(){return!this.item.employee}onSlotSelected(t){this.bookingService.booking={...t,id:void 0},this.navCtrl.navigateBack("/booking"),this.closeModal()}static \u0275fac=function(r){return new(r||n)(N(Ht),N(Wr),N(qn))};static \u0275cmp=je({type:n,selectors:[["app-waiting-list-item-options"]],inputs:{item:"item"},features:[Dt],decls:11,vars:3,consts:[["color","secondary",1,"mobile-item"],["slot","start"],[3,"click"],["name","close"],["color","primary"],["class","timeslots-container",4,"ngIf"],[4,"ngIf"],[1,"timeslots-container"],["color","secondary",3,"click",4,"ngFor","ngForOf"],["color","secondary",3,"click"],["class","mb-15 mt-5",4,"ngFor","ngForOf"],[1,"mb-15","mt-5"],[1,"mb-5"],[1,"timeslots-container","mb-15"]],template:function(r,i){1&r&&(I(0,"ion-header")(1,"ion-toolbar",0)(2,"ion-buttons",1)(3,"ion-button",2),re("click",function(){return i.closeModal()}),oe(4,"ion-icon",3),E()(),I(5,"ion-title"),z(6),E()()(),I(7,"ion-content")(8,"ion-card",4),se(9,yJ,2,1,"ion-card-content",5)(10,CJ,2,1,"ion-card-content",6),E()()),2&r&&(C(6),Re(null==i.orgService.organization||null==i.orgService.organization.settings||null==i.orgService.organization.settings.screens||null==i.orgService.organization.settings.screens.waitingListItemOptions||null==i.orgService.organization.settings.screens.waitingListItemOptions.toolbarText?null:i.orgService.organization.settings.screens.waitingListItemOptions.toolbarText.value),C(3),P("ngIf",i.item.employee),C(),P("ngIf",!i.item.employee))},dependencies:[fo,Gt,on,Ln,Jn,To,lo,Sn,En,un,An,In],styles:[".timeslots-container[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fill,minmax(90px,1fr));gap:8px}ion-label[_ngcontent-%COMP%]{color:var(--ion-color-primary-contrast)!important}"]})}return n})();class cb extends Nn{injector;get waitingListService(){return this.injector.get(du)}constructor(o){super(o),this.injector=o}onAvailableOptionsClick(o){this.waitingListService.hasAvailableOptions(o)&&this.openOptionsModal(o)}confirmCancel(o){var t=this;return(0,Ge.A)(function*(){return t.showConfirmPopUp(o,t.orgService.organization.settings.screens.waitingListItem.cancelItemQuestionTitle.value)})()}onCalcel(o,t){var r=this;return(0,Ge.A)(function*(){try{yield r.waitingListService.cancelItem(t).toPromise(),yield r.presentSuccessAlert(r.orgService.organization.settings.screens.waitingListItem.successCanceledTitle.value,r.orgService.organization.settings.screens.waitingListItem.successCanceledMessage.value)}catch{r.presentAlert("Failed to cancel","Try again later")}})()}openOptionsModal(o){var t=this;return(0,Ge.A)(function*(){yield(yield t.injector.get(Wr).create({component:TJ,componentProps:{item:o}})).present()})()}}function wJ(n,o){if(1&n&&(I(0,"h1",11),z(1),E()),2&n){const t=o.$implicit;C(),Re(t.name)}}function EJ(n,o){if(1&n&&(I(0,"p",12),oe(1,"i",13),z(2),E()),2&n){const t=M(2);C(2),Co("",null==t.item.employee?null:t.item.employee.firstName," ",null==t.item.employee?null:t.item.employee.lastName," ")}}function IJ(n,o){if(1&n){const t=Me();I(0,"ion-chip",14),re("click",function(i){le(t);const s=M(2);return ce(s.onAvailableOptionsClickDecorated(i,s.item))}),I(1,"ion-label"),z(2),E()()}if(2&n){const t=M(2);P("outline",!0),C(2),Co(" ",t.orgService.organization.settings.screens.appointments.optionAvailableCountText.value,": ",t.item.options.length," ")}}function DJ(n,o){if(1&n&&(I(0,"ion-item",1)(1,"ion-label",2)(2,"p",3),oe(3,"i",4),I(4,"span",5),z(5),Go(6,"date"),E(),oe(7,"i",6),z(8),Go(9,"date"),Go(10,"date"),E(),se(11,wJ,2,1,"h1",7)(12,EJ,3,2,"p",8),I(13,"p",9),se(14,IJ,3,3,"ion-chip",10),E()()()),2&n){const t=M();P("disabled",t.disabled)("button",t.clickable),C(5),Re(Ld(6,8,t.item.date,"dd MMM yyyy")),C(3),Co(" ",Ld(9,11,t.getMappedTimeFrom(),t.getTimePickerFormat())," - ",Ld(10,14,t.getMappedTimeTo(),t.getTimePickerFormat())," "),C(3),P("ngForOf",t.item.services),C(),P("ngIf",t.item.employee),C(2),P("ngIf",t.waitingListService.hasAvailableOptions(t.item)&&t.showOptions)}}let PJ=(()=>{class n extends cb{injector;dateTimeService;item;disabled=!1;showOptions=!0;clickable=!0;constructor(t,r){super(t),this.injector=t,this.dateTimeService=r}ngOnInit(){}getTimePickerFormat(){return this.orgService.organization&&this.orgService.organization.settings?this.dateTimeService.getTimeDisplayFormat(this.orgService.organization.is12HoursTimeFormat):""}getMappedTimeFrom(){const t=this.waitingListService.mapMinutesTimeToDate(this.item.timeFrom);return this.dateTimeService.normalizeDate(t,!1),t.toISOString()}getMappedTimeTo(){const t=this.waitingListService.mapMinutesTimeToDate(this.item.timeTo);return this.dateTimeService.normalizeDate(t,!1),t.toISOString()}onAvailableOptionsClickDecorated(t,r){t.stopPropagation(),this.onAvailableOptionsClick(r)}static \u0275fac=function(r){return new(r||n)(N(Ht),N(s1))};static \u0275cmp=je({type:n,selectors:[["app-waiting-list-item"]],inputs:{item:"item",disabled:"disabled",showOptions:"showOptions",clickable:"clickable"},features:[Dt],decls:1,vars:1,consts:[["color","primary",3,"disabled","button",4,"ngIf"],["color","primary",3,"disabled","button"],[1,"ion-text-wrap","header"],[1,"description","mb-10"],[1,"flaticon-calendar","mr-5"],[1,"mr-15"],[1,"flaticon-clock","mr-5"],["class","title mb-10",4,"ngFor","ngForOf"],["class","subtitle mt-15",4,"ngIf"],[1,"mt-15"],["color","success",3,"outline","click",4,"ngIf"],[1,"title","mb-10"],[1,"subtitle","mt-15"],[1,"flaticon-hair","mr-5"],["color","success",3,"click","outline"]],template:function(r,i){1&r&&se(0,DJ,15,17,"ion-item",0),2&r&&P("ngIf",i.orgService.organization.settings.screens.appointments.optionAvailableCountText)},dependencies:[ru,Dn,co,fo,Gt,em]})}return n})();const MJ=["bookingsList"];function $J(n,o){if(1&n&&(I(0,"ion-title"),z(1),E()),2&n){const t=M();C(),Te(" ",t.orgService.organization.settings.screens.appointments.toolbarText.value,"")}}function AJ(n,o){if(1&n&&(I(0,"ion-segment-button",20),z(1),E()),2&n){const t=M(2);C(),Te(" ",t.orgService.organization.settings.screens.appointments.waitingListLabelText.value," ")}}function NJ(n,o){if(1&n){const t=Me();I(0,"ion-item",15)(1,"ion-segment",16),re("ionChange",function(i){return le(t),ce(M().onTabChanged(i))}),I(2,"ion-segment-button",17),z(3),E(),I(4,"ion-segment-button",18),z(5),E(),se(6,AJ,2,1,"ion-segment-button",19),E()()}if(2&n){const t=M();C(),P("value",t.tabSelected),C(2),Te(" ",t.orgService.organization.settings.screens.appointments.upcomingLabelText.value," "),C(2),Te(" ",t.orgService.organization.settings.screens.appointments.pastLabelText.value," "),C(),P("ngIf",!t.orgService.organization.waitlistDisabled&&t.hasCustomer)}}function xJ(n,o){if(1&n){const t=Me();I(0,"ion-card",21)(1,"ion-card-header")(2,"ion-card-title"),z(3),E()(),I(4,"ion-card-content"),z(5),E(),I(6,"ion-card-content")(7,"ion-button",13),re("click",function(){return le(t),ce(M().onAdd())}),z(8),E()()()}if(2&n){const t=M();C(3),Te(" ",t.orgService.organization.settings.screens.appointments.noPastBookingsTitle.value," "),C(2),Te(" ",t.orgService.organization.settings.screens.appointments.noPastBookingsText.value," "),C(3),Te(" ",t.orgService.organization.settings.screens.appointments.createBookingButtonText.value," ")}}function OJ(n,o){if(1&n){const t=Me();I(0,"ion-card",21)(1,"ion-card-header")(2,"ion-card-title"),z(3),E()(),I(4,"ion-card-content"),z(5),E(),I(6,"ion-card-content")(7,"ion-button",13),re("click",function(){return le(t),ce(M().onAdd())}),z(8),E()()()}if(2&n){const t=M();C(3),Te(" ",t.orgService.organization.settings.screens.appointments.noUpcommingBookingsTitle.value," "),C(2),Te(" ",t.orgService.organization.settings.screens.appointments.noUpcommingBookingsText.value," "),C(3),Te(" ",t.orgService.organization.settings.screens.appointments.createBookingButtonText.value," ")}}function kJ(n,o){if(1&n&&(I(0,"h1",38),z(1),E()),2&n){const t=o.$implicit;C(),Re(t.name)}}function RJ(n,o){if(1&n&&(I(0,"ion-chip",39),oe(1,"i",40),I(2,"span",41),z(3),E()()),2&n){const t=M(3);P("outline",!0),C(3),Re(t.orgService.organization.settings.screens.appointment.statusCanceled.value)}}function LJ(n,o){if(1&n&&(I(0,"ion-chip",42),oe(1,"i",43),I(2,"span",41),z(3),E()()),2&n){const t=M(3);P("outline",!0),C(3),Re(t.orgService.organization.settings.screens.appointment.statusPaid.value)}}function FJ(n,o){if(1&n&&(I(0,"ion-chip",44),oe(1,"ion-icon",45),I(2,"span",41),z(3),E()()),2&n){const t=M(3);P("outline",!0),C(3),Re(t.orgService.organization.settings.screens.appointment.statusUnconfirmed.value)}}function BJ(n,o){if(1&n){const t=Me();I(0,"ion-item-option",46),re("click",function(){le(t);const i=M().$implicit;return ce(M(2).onCancelBooking(i))}),z(1),E()}if(2&n){const t=M(3);C(),Te(" ",t.orgService.organization.settings.screens.appointments.cancelButtonText.value,"")}}function UJ(n,o){if(1&n){const t=Me();I(0,"ion-item-sliding")(1,"ion-item",24),re("click",function(){const i=le(t).$implicit;return ce(M(2).selectBooking(i))}),I(2,"ion-label",25)(3,"p",26)(4,"span",27),z(5),E(),z(6),E(),se(7,kJ,2,1,"h1",28),I(8,"p",29),oe(9,"ion-icon",30),z(10),E(),I(11,"p"),se(12,RJ,4,2,"ion-chip",31)(13,LJ,4,2,"ion-chip",32)(14,FJ,4,2,"ion-chip",33),E()(),oe(15,"ion-icon",34),E(),I(16,"ion-item-options")(17,"ion-item-option",35),re("click",function(){const i=le(t).$implicit;return ce(M(2).selectBooking(i))}),z(18),E(),I(19,"ion-item-option",36),re("click",function(){const i=le(t).$implicit;return ce(M(2).feedback(i))}),z(20),E(),se(21,BJ,2,1,"ion-item-option",37),E()()}if(2&n){const t=o.$implicit,r=M(2);C(5),Re(t.timeSlot.time),C(),Co(" ",r.formatTimeSlot(t.timeSlot,"mediumDate"),", ",r.formatTimeSlot(t.timeSlot,"EEEE")," "),C(),P("ngForOf",t.services),C(2),P("name",r.orgService.organization.settings.images.icons.barber.value),C(),Co(" ",null==t.employee?null:t.employee.firstName," ",null==t.employee?null:t.employee.lastName," "),C(2),P("ngIf",t.state==r.enums.BookingState.Canceled),C(),P("ngIf",t.paymentTime&&t.state!=r.enums.BookingState.Canceled),C(),P("ngIf",t.state==r.enums.BookingState.Unconfirmed&&(null==r.orgService.organization.settings.screens.appointment.statusUnconfirmed?null:r.orgService.organization.settings.screens.appointment.statusUnconfirmed.value)),C(4),Te(" ",r.orgService.organization.settings.screens.appointments.detailsButtonText.value,""),C(2),Te(" ",r.orgService.organization.settings.screens.appointments.feedbackButtonText.value,""),C(),P("ngIf",r.canCancelBooking(t))}}function zJ(n,o){if(1&n&&(I(0,"ion-list",22,0),se(2,UJ,22,13,"ion-item-sliding",23),E()),2&n){const t=M();P("@listAnimation",t.bookings.length),C(2),P("ngForOf",t.bookings)}}function VJ(n,o){if(1&n){const t=Me();I(0,"ion-card",49)(1,"ion-card-header")(2,"ion-card-title"),z(3),E()(),I(4,"ion-card-content"),z(5),E(),I(6,"ion-card-content")(7,"ion-button",13),re("click",function(){return le(t),ce(M(2).onAdd())}),z(8),E()()()}if(2&n){const t=M(2);C(3),Te(" ",t.orgService.organization.settings.screens.appointments.noWaitingListTitleText.value," "),C(2),Te(" ",t.orgService.organization.settings.screens.appointments.noWaitingListSubtitleText.value," "),C(3),Te(" ",t.orgService.organization.settings.screens.appointments.addWaitingListItemButtonText.value," ")}}function HJ(n,o){if(1&n){const t=Me();I(0,"app-waiting-list-item",51),re("click",function(){const i=le(t).$implicit;return ce(M(3).goToWaitingItem(i))}),E()}2&n&&P("item",o.$implicit)}function jJ(n,o){if(1&n&&(I(0,"div"),se(1,HJ,1,1,"app-waiting-list-item",50),E()),2&n){const t=M(2);P("@listAnimation",t.waitingItems.length),C(),P("ngForOf",t.waitingItems)}}function GJ(n,o){if(1&n&&(I(0,"ion-list",47),se(1,VJ,9,3,"ion-card",48)(2,jJ,2,2,"div",5),E()),2&n){const t=M();C(),P("ngIf",!(t.bookingsLoading||t.waitingItems&&t.waitingItems.length)),C(),P("ngIf",t.waitingItems)}}let WJ=(()=>{class n extends cb{injector;bookingService;accountService;alertController;enums;modalController;route;bookings;waitingItems;showUpcoming;showBackButton;bookingsLoading;tabSelected;locale="en";hasCustomer=!1;bookingsList;constructor(t,r,i,s,u,p,m){super(t),this.injector=t,this.bookingService=r,this.accountService=i,this.alertController=s,this.enums=u,this.modalController=p,this.route=m}ngOnInit(){var t=this;return(0,Ge.A)(function*(){t.initLocale(),t.checkCustomer(),t.route.queryParams.subscribe(r=>{const i=r.tab||"upcoming";setTimeout(()=>t.onGoToTab(i),0)})})()}ngOnUpdate(){var t=this;return(0,Ge.A)(function*(){t.checkCustomer()})()}checkCustomer(){this.accountService.getCustomer().subscribe(t=>{setTimeout(()=>this.hasCustomer=!!t)})}onTabChanged(t){this.onGoToTab(t.detail.value)}initLocale(){this.orgService.organization&&this.orgService.organization.settings?this.orgService.getCurrentLocale().then(t=>this.locale=t):this.organizationPromise.subscribe(t=>{this.orgService.getCurrentLocale().then(r=>this.locale=r),this.orgService.initSettings(t)})}formatTimeSlot(t,r){return Wh(t.date,r,this.locale)}onGoToTab(t){this.bookingsLoading=!0,this.tabSelected=t,this.showLoading().then(()=>{let r;"past"==t?r=this.getBookings(!1):"waiting"==t?r=this.getWaitingItems():(r=this.getBookings(!0),this.tabSelected="upcomming"),r.subscribe({error:()=>{this.bookingsLoading=!1,this.hideLoading()},complete:()=>{this.bookingsLoading=!1,this.hideLoading()}})})}getBookings(t){return this.accountService.getCustomer().pipe(so(r=>r&&r.customerId?this.bookingService.getBookings(r.customerId,t):jt(null)),Wn(r=>{r&&(this.bookings=r,this.scrollListToTop())}))}getWaitingItems(t=null){return this.accountService.getCustomer().pipe(so(r=>r&&r.customerId?this.waitingListService.getItems():jt(null)),Wn(r=>{r&&(this.waitingItems=r)}))}selectBooking(t){this.bookingService.booking=t,this.navCtrl.navigateForward("/booking")}onAdd(){this.shouldShowBookings()?this.addBooking():this.addWaitingItem()}addWaitingItem(){this.waitingListService.voidItem(),this.navCtrl.navigateForward("waiting-list-item")}goToWaitingItem(t){this.navCtrl.navigateForward("waiting-list/"+t.id)}addBooking(){this.bookingService.voidBooking(),this.navCtrl.navigateRoot("/booking")}scrollListToTop(){this.bookingsList&&this.bookingsList.el.scrollIntoView()}onCancelBooking(t){this.bookingService.booking=t,this.bookingService.bookingIdToCancel=t.id,this.navCtrl.navigateForward("cancel")}canCancelBooking(t){const r=this.bookingService.booking;this.bookingService.booking=t;const i=this.bookingService.canEdit()&&!t.paymentTime;return this.bookingService.booking=r,i}onCalcelWaitingItem(t,r){var i=()=>super.onCalcel,s=this;return(0,Ge.A)(function*(){(yield s.confirmCancel(t))&&(s.bookingsLoading=!0,yield i().call(s,t,r),s.bookingsLoading=!1,s.getWaitingItems())})()}presentAlert(t,r){var i=this;return(0,Ge.A)(function*(){yield(yield i.alertController.create({header:"Error",subHeader:t,message:r,buttons:["OK"]})).present()})()}feedback(t){var r=this;return(0,Ge.A)(function*(){return yield(yield r.modalController.create({component:p1,componentProps:{bookingId:t.id}})).present()})()}shouldShowBookings(){return"past"===this.tabSelected||"upcomming"===this.tabSelected}shouldShowUpcommingNotFoundCard(){return!("upcomming"!==this.tabSelected||this.bookingsLoading||this.bookings&&0!==this.bookings?.length)}shouldShowPastNotFoundCard(){return!("past"!==this.tabSelected||this.bookingsLoading||this.bookings&&0!==this.bookings?.length)}shoulShowWaitingList(){return"waiting"===this.tabSelected}static \u0275fac=function(r){return new(r||n)(N(Ht),N(qn),N(gr),N(_f),N(kl),N(Wr),N(dr))};static \u0275cmp=je({type:n,selectors:[["app-bookings"]],viewQuery:function(r,i){if(1&r&&di(MJ,5),2&r){let s;ir(s=sr())&&(i.bookingsList=s.first)}},features:[Dt],decls:19,vars:6,consts:[["bookingsList",""],["color","secondary",1,"mobile-item"],["slot","start"],[3,"click"],["slot","icon-only","name","arrow-back"],[4,"ngIf"],["slot","primary"],["slot","icon-only","name","person-circle-outline"],["color","primary","class","screen-item",4,"ngIf"],["class","screen-item ion-text-center","color","primary",4,"ngIf"],["class","screen-item",4,"ngIf"],["class","screen-item ion-text-center",4,"ngIf"],["vertical","bottom","horizontal","center","slot","fixed"],["color","secondary",3,"click"],["name","add"],["color","primary",1,"screen-item"],[3,"ionChange","value"],["value","upcomming"],["value","past"],["value","waiting",4,"ngIf"],["value","waiting"],["color","primary",1,"screen-item","ion-text-center"],[1,"screen-item"],[4,"ngFor","ngForOf"],["color","primary",3,"click"],[1,"ion-text-wrap","header"],[1,"description","mb-5"],[1,"mr-10"],["class","title",4,"ngFor","ngForOf"],[1,"subtitle","mt-10"],[1,"mr-5",3,"name"],["class","mt-10","color","danger",3,"outline",4,"ngIf"],["color","success",3,"outline",4,"ngIf"],["color","warning",3,"outline",4,"ngIf"],["slot","end","name","arrow-forward"],["size","small","color","secondary",3,"click"],["size","small","color","tertiary",3,"click"],["size","small","color","danger",3,"click",4,"ngIf"],[1,"title"],["color","danger",1,"mt-10",3,"outline"],[1,"flaticon-forbidden","mr-5"],[1,"uppercase"],["color","success",3,"outline"],[1,"flaticon-coins","mr-5"],["color","warning",3,"outline"],["name","warning","slot","start",1,"mr-5"],["size","small","color","danger",3,"click"],[1,"screen-item","ion-text-center"],["color","primary",4,"ngIf"],["color","primary"],[3,"item","click",4,"ngFor","ngForOf"],[3,"click","item"]],template:function(r,i){1&r&&(I(0,"ion-header")(1,"ion-toolbar",1)(2,"ion-buttons",2)(3,"ion-button",3),re("click",function(){return i.navCtrl.navigateBack("tabs/home")}),oe(4,"ion-icon",4),E()(),se(5,$J,2,1,"ion-title",5),I(6,"ion-buttons",6)(7,"ion-button",3),re("click",function(u){return i.showUserMenu(u)}),oe(8,"ion-icon",7),E()()(),oe(9,"app-smart-bar"),E(),I(10,"ion-content"),se(11,NJ,7,4,"ion-item",8)(12,xJ,9,3,"ion-card",9)(13,OJ,9,3,"ion-card",9)(14,zJ,3,2,"ion-list",10)(15,GJ,3,2,"ion-list",11),I(16,"ion-fab",12)(17,"ion-fab-button",13),re("click",function(){return i.onAdd()}),oe(18,"ion-icon",14),E()()()),2&r&&(C(5),P("ngIf",i.settingsReady),C(6),P("ngIf",i.settingsReady),C(),P("ngIf",i.settingsReady&&i.shouldShowPastNotFoundCard()),C(),P("ngIf",i.settingsReady&&i.shouldShowUpcommingNotFoundCard()),C(),P("ngIf",i.settingsReady&&i.shouldShowBookings()&&i.bookings),C(),P("ngIf",i.settingsReady&&!i.orgService.organization.waitlistDisabled&&i.shoulShowWaitingList()&&i.hasCustomer))},dependencies:[fo,Gt,on,Ln,Jn,To,oo,lo,ru,Sn,Qa,Es,En,un,Dn,hD,mD,Uy,co,Bo,Hy,jy,An,In,Pl,Uo,PJ],styles:[".segment-button-checked[_ngcontent-%COMP%]{background-color:var(--ion-color-secondary)!important;color:var(--ion-color-secondary-contrast)!important}"],data:{animation:[Xs("listAnimation",[Qs("* <=> *",[gu(":enter",[cr({opacity:0,transform:"translateY(-15px)"}),fu("50ms",Zs("400ms ease-out",cr({opacity:1,transform:"translateY(0px)"})))],{optional:!0})])])]}})}return n})();function qJ(n,o){if(1&n){const t=Me();I(0,"ion-header")(1,"ion-toolbar",1)(2,"ion-buttons",2)(3,"ion-button",3),re("click",function(){return le(t),ce(M().goBack())}),oe(4,"ion-icon",4),E()(),I(5,"ion-title"),z(6),E()(),oe(7,"app-smart-bar"),E()}if(2&n){const t=M();C(6),Re(t.orgService.organization.settings.screens.confirm.toolbarText.value)}}function YJ(n,o){if(1&n&&(I(0,"div",13),z(1),E()),2&n){const t=M(2);C(),Co(" ",t.orgService.organization.settings.screens.confirm.textCounter.value,"",t.nextSmsWaitSec," sec ")}}function KJ(n,o){1&n&&oe(0,"ion-progress-bar",14)}function XJ(n,o){if(1&n){const t=Me();I(0,"ion-content")(1,"ion-card",5)(2,"ion-card-content")(3,"ion-item",5)(4,"ion-input",6),Vn("ngModelChange",function(i){le(t);const s=M();return Gn(s.confirmCode,i)||(s.confirmCode=i),ce(i)}),E()(),I(5,"ion-item",5)(6,"ion-label",7),z(7),E()(),I(8,"ion-button",8),re("click",function(){return le(t),ce(M().confirm())}),z(9),E(),I(10,"ion-button",9),re("click",function(){return le(t),ce(M().sendSmsAgain())}),z(11),E(),I(12,"ion-button",10),re("click",function(){return le(t),ce(M().goBack())}),z(13),E(),se(14,YJ,2,2,"div",11),E(),se(15,KJ,1,0,"ion-progress-bar",12),E()()}if(2&n){const t=M();C(4),yi("label","",t.orgService.organization.settings.screens.confirm.confirmationCodeLableText.value,":"),zn("ngModel",t.confirmCode),C(3),Co(" ",t.orgService.organization.settings.screens.confirm.textInform.value,"",t.accountService.phoneNumber," "),C(),P("disabled",!t.confirmCode||t.saving),C(),Re(t.orgService.organization.settings.screens.confirm.registerBtnText.value),C(),P("disabled",t.nextSmsWaitSec>0||t.saving),C(),Re(t.orgService.organization.settings.screens.confirm.sendSmsBtnText.value),C(),P("disabled",t.saving),C(),Re(t.orgService.organization.settings.screens.confirm.changePhoneBtnText.value),C(),P("ngIf",t.nextSmsWaitSec>0),C(),P("ngIf",t.saving)}}let dP=(()=>{class n extends Nn{injector;accountService;bookingService;confirmCode;saving;nextSmsWaitSec;timerId;isResetProcess;constructor(t,r,i){super(t),this.injector=t,this.accountService=r,this.bookingService=i,this.accountService.currentRegistrationRequest||(this.accountService.currentResetRequest?this.isResetProcess=!0:this.navCtrl.navigateRoot(""))}ngOnInit(){this.saving=!1,this.startTimerForSmsRequest()}confirm(){const t={confirmationCode:this.confirmCode,phoneNumber:this.accountService.phoneNumber};this.saving=!0,(this.isResetProcess?this.accountService.resetPasswordConfirmCode(t):this.accountService.confirmPhone(t)).toPromise().then(i=>{this.saving=!1,this.accountService.setUser(i),this.accountService.currentRegistrationRequest=null,this.accountService.currentResetRequest=null,this.accountService.phoneNumber=null,this.bookingService.booking?(this.bookingService.keepBooking=!0,this.navCtrl.navigateRoot("booking")):this.navCtrl.navigateRoot("")},i=>(this.saving=!1,this.presentAlert(this.orgService.organization.settings.screens.confirm.confirmationCodeLableText.value,i.error.message)))}sendSmsAgain(){this.nextSmsWaitSec>0||(this.saving=!0,(this.isResetProcess?this.accountService.reset(this.accountService.currentResetRequest):this.accountService.register(this.accountService.currentRegistrationRequest)).toPromise().then(()=>{this.saving=!1,this.startTimerForSmsRequest()},r=>(this.saving=!1,this.presentAlert("SMS",r.error.message))))}goBack(){this.navCtrl.navigateBack(this.isResetProcess?"reset":"register")}startTimerForSmsRequest(){this.nextSmsWaitSec=60;const t=setInterval(()=>{this.nextSmsWaitSec--},1e3);setTimeout(()=>{clearInterval(t)},6e4)}static \u0275fac=function(r){return new(r||n)(N(Ht),N(gr),N(qn))};static \u0275cmp=je({type:n,selectors:[["app-confirm"]],features:[Dt],decls:2,vars:2,consts:[[4,"ngIf"],["color","secondary",1,"mobile-item"],["slot","start"],[3,"click"],["name","arrow-back"],["color","primary",1,"screen-item"],["autocomplete","false","autocorrect","false","labelPlacement","stacked","autofocus","true","clearInput","true","inputmode","numeric","max","999999","placeholder","123456","type","number",3,"ngModelChange","label","ngModel"],[1,"ion-text-wrap"],["expand","block","color","success",3,"click","disabled"],["expand","block","color","secondary",3,"click","disabled"],["expand","block",3,"click","disabled"],["class","text-small",4,"ngIf"],["type","indeterminate","color","secondary",4,"ngIf"],[1,"text-small"],["type","indeterminate","color","secondary"]],template:function(r,i){1&r&&se(0,qJ,8,1,"ion-header",0)(1,XJ,16,13,"ion-content",0),2&r&&(P("ngIf",i.orgService.organization&&i.orgService.organization.settings&&i.orgService.organization.settings.screens),C(),P("ngIf",i.orgService.organization&&i.orgService.organization.settings&&i.orgService.organization.settings.screens))},dependencies:[Gt,Xr,Zr,on,Ln,Jn,To,Sn,En,un,Ys,Dn,co,ar,An,In,pf,Yy,Uo]})}return n})();class ZJ{id;customerId;streetAddress;city;state;country;zipCode;firstName;lastName}class QJ{number;id;state;createdOn;customerId;deliveryMethod;totalPrice;items;deliveryPrice;isPayed;isDraft}let Is=(()=>{class n{http;enums;serviceUrl=Er_baseUrl+"api/orders";order;constructor(t,r){this.http=t,this.enums=r}voidOrder(){this.order=new QJ,this.order.items=[],this.order.totalPrice=0}saveOrder(){return this.http.postType(this.serviceUrl,this.order)}getOrders(){return this.http.getType(this.serviceUrl)}setOrder(t){this.order=t}setDraft(){this.order&&(this.order.isDraft=!0)}addToCart(t){if(this.order||this.voidOrder(),!this.order.id||this.canEdit()){for(const r of this.order.items)if(r.product.id===t.id){if(r.count>=t.quantity)return;return r.count+=1,void this.updatePrice()}this.order.items.push({count:1,product:t}),this.updatePrice()}}removeFromCart(t){if(this.order&&(!this.order.id||this.canEdit())){for(const r of this.order.items)t.id===r.product.id&&(r.count-=1,r.count<=0&&(this.order.items=this.order.items.filter(i=>i.product.id!==t.id)));this.updatePrice()}}productIsInCart(t){return!!this.order?.items?.filter(r=>r.product.id===t)?.length}getCartCount(){return this.order?.items?.length?this.order.items.length:0}getCartItems(){return this.order?.items??[]}updateLocation(t){!this.order||!this.order.deliveryMethod||this.order.deliveryMethod.isShipping||(this.order.deliveryMethod.location=t)}updateAddress(t){var r=this;return(0,Ge.A)(function*(){!r.order||!r.order.deliveryMethod||!r.order.deliveryMethod.isShipping||(r.order.deliveryMethod.address=t,yield r.updateDeliveryPrice())})()}updateDeliveryMethod(t){this.order||this.voidOrder(),t.shippingCountry=t.countries[0],this.order.deliveryMethod=t,t.isShipping||(this.order.deliveryPrice=0)}updateDeliveryPrice(){if(!(this.order?.deliveryMethod&&this.order?.deliveryMethod?.isShipping&&this.order?.deliveryMethod?.address&&this.order?.items?.length))return;const t=[];this.order.items.forEach(i=>t.push({productId:i.product.id,count:i.count})),this.http.postType(Er_baseUrl+"api/delivery/price",{country:this.order.deliveryMethod.shippingCountry.country,items:t}).subscribe(i=>this.order.deliveryPrice=i.price)}updateCustomer(t){this.order.customerId=t.customerId}updatePrice(){if(this.order&&this.order.items&&(this.order.totalPrice=0,this.order.items.forEach(t=>{this.order.totalPrice+=t.product.price*t.count}),this.order.deliveryMethod?.isShipping)){if(!this.order.items.length)return void(this.order.deliveryPrice=0);this.updateDeliveryPrice()}}getOrderStateDescription(t,r,i){return r===this.enums.OrderState.Draft?t.screens.order.statusDraft.value:r===this.enums.OrderState.Created?t.screens.order.statusCreated.value:r===this.enums.OrderState.Confirmed?i?t.screens.order.statusShipped.value:t.screens.order.statusReady.value:r===this.enums.OrderState.Canceled?t.screens.order.statusCanceled.value:t.screens.order.statusCompleted.value}cancelOrder(){return this.http.get(this.serviceUrl+"/"+this.order.id+"/cancel")}canCancel(){return!(!this.order||!this.order.id||this.order.isPayed)&&(this.order.deliveryMethod.isShipping?this.order.state===this.enums.OrderState.Created||this.order.state===this.enums.OrderState.Draft:this.order.state===this.enums.OrderState.Created||this.order.state===this.enums.OrderState.Draft||this.order.state===this.enums.OrderState.Confirmed)}canEdit(){return!this.order||!this.order.id||!(this.order.isPayed||this.order.state===this.enums.OrderState.Canceled||this.order.state===this.enums.OrderState.Completed||this.order.state===this.enums.OrderState.Confirmed)}static \u0275fac=function(r){return new(r||n)(Tt(xi),Tt(kl))};static \u0275prov=St({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();class JJ{name}function eee(n,o){1&n&&oe(0,"ion-progress-bar",11)}function tee(n,o){if(1&n){const t=Me();I(0,"ion-item",2),re("click",function(){const i=le(t).$implicit;return ce(M().closeModal(i))}),I(1,"ion-card-header")(2,"ion-card-title",12),z(3),E()(),oe(4,"ion-icon",13),E()}if(2&n){const t=o.$implicit;C(3),Te("",t.name," ")}}let nee=(()=>{class n extends Nn{injector;modalController;ordersService;countries=[];filteredCountries=[];loading=!1;isFromOrder;constructor(t,r,i){super(t),this.injector=t,this.modalController=r,this.ordersService=i}ngOnInit(){this.loading=!0,this.isFromOrder?(this.ordersService.order.deliveryMethod.countries.forEach(t=>{const r=new JJ;r.name=t.country,this.countries.push(r)}),this.filteredCountries=this.countries,this.loading=!1):this.orgService.getCountries().subscribe(t=>{this.countries=t,this.filteredCountries=this.countries,this.loading=!1})}closeModal(t=null){this.modalController.dismiss(t)}search(t){this.filteredCountries=this.countries.filter(r=>r.name.toLowerCase().indexOf(t.detail.value.toLowerCase())>-1)}static \u0275fac=function(r){return new(r||n)(N(Ht),N(Wr),N(Is))};static \u0275cmp=je({type:n,selectors:[["app-countries"]],features:[Dt],decls:16,vars:4,consts:[["color","secondary",1,"mobile-item"],["slot","start"],[3,"click"],["name","close"],["color","primary"],[1,"screen-item"],["color","primary","animated","true","how-clear-button","always",3,"ionInput","placeholder"],["type","indeterminate","color","secondary",4,"ngIf"],[3,"click",4,"ngFor","ngForOf"],["vertical","bottom","horizontal","center","slot","fixed"],["color","secondary","size","large",3,"click"],["type","indeterminate","color","secondary"],[1,"wrap"],["slot","end","name","arrow-forward"]],template:function(r,i){1&r&&(I(0,"ion-header")(1,"ion-toolbar",0)(2,"ion-buttons",1)(3,"ion-button",2),re("click",function(){return i.closeModal()}),oe(4,"ion-icon",3),E()(),I(5,"ion-title"),z(6),E()()(),I(7,"ion-content",4)(8,"ion-list",5)(9,"ion-item",4)(10,"ion-searchbar",6),re("ionInput",function(u){return i.search(u)}),E()(),se(11,eee,1,0,"ion-progress-bar",7)(12,tee,5,1,"ion-item",8),E(),I(13,"ion-fab",9)(14,"ion-fab-button",10),re("click",function(){return i.closeModal()}),oe(15,"ion-icon",3),E()()()),2&r&&(C(6),Re(i.orgService.organization.settings.screens.countrySelect.toolbarText.value),C(4),P("placeholder",i.orgService.organization.settings.screens.countrySelect.searchText.value),C(),P("ngIf",i.loading),C(),P("ngForOf",i.filteredCountries))},dependencies:[fo,Gt,on,Ln,oo,lo,Sn,Qa,Es,En,un,Dn,Bo,ar,su,An,In,bi]})}return n})(),oee=(()=>{class n{modalController;ordersService;country;isFromOrder=!1;constructor(t,r){this.modalController=t,this.ordersService=r}ngOnInit(){}showCountriesModal(){var t=this;return(0,Ge.A)(function*(){const r=yield t.modalController.create({component:nee,componentProps:{isFromOrder:t.isFromOrder}});return r.onDidDismiss().then(i=>{const s=i.data;s&&(t.country=s.name,t.isFromOrder&&(t.ordersService.order.deliveryMethod.shippingCountry=t.ordersService.order.deliveryMethod.countries.find(u=>u.country===s.name)))}),yield r.present()})()}static \u0275fac=function(r){return new(r||n)(N(Wr),N(Is))};static \u0275cmp=je({type:n,selectors:[["app-country-input"]],inputs:{country:"country",isFromOrder:"isFromOrder"},decls:4,vars:1,consts:[["fill","expand",1,"code-btn",3,"click"],[1,"country"],["name","caret-down-outline"]],template:function(r,i){1&r&&(I(0,"ion-button",0),re("click",function(){return i.showCountriesModal()}),I(1,"span",1),z(2),E(),oe(3,"ion-icon",2),E()),2&r&&(C(2),Re(i.country))},dependencies:[on,un],styles:[".code-btn[_ngcontent-%COMP%]{color:var(--ion-primary-contrast)!important}.code-btn[_ngcontent-%COMP%]   ion-icon[_ngcontent-%COMP%]{margin-left:10px!important}.code-btn[_ngcontent-%COMP%]   .country[_ngcontent-%COMP%]{font-size:16px!important}"]})}return n})();const Tf=n=>({"input-invalid":n});function ree(n,o){if(1&n){const t=Me();I(0,"ion-header")(1,"ion-toolbar",10)(2,"ion-buttons",11)(3,"ion-button",12),re("click",function(){return le(t),ce(M().closeModal())}),oe(4,"ion-icon",13),E()(),I(5,"ion-title"),z(6),E()()()}if(2&n){const t=M();C(6),Re(t.orgService.organization.settings.screens.customerAddress.toolbarText.value)}}function iee(n,o){if(1&n){const t=Me();I(0,"ion-list",14)(1,"ion-list-header",14),z(2),E(),I(3,"ion-item",2)(4,"ion-label"),z(5),E(),I(6,"ion-input",7),re("change",function(){return le(t),ce(M().firstNameValidate())}),Vn("ngModelChange",function(i){le(t);const s=M();return Gn(s.address.firstName,i)||(s.address.firstName=i),ce(i)}),E()(),I(7,"ion-item",15)(8,"ion-label"),z(9),E(),I(10,"ion-input",7),re("change",function(){return le(t),ce(M().lastNameValidate())}),Vn("ngModelChange",function(i){le(t);const s=M();return Gn(s.address.lastName,i)||(s.address.lastName=i),ce(i)}),E()()()}if(2&n){const t=M();C(2),Te(" ",t.orgService.organization.settings.screens.customerAddress.receiverHeader.value,": "),C(3),Te("",t.orgService.organization.settings.screens.customerAddress.firstNameInputName.value,":"),C(),P("ngClass",Lo(7,Tf,!t.firstNameIsValid)),zn("ngModel",t.address.firstName),C(3),Te("",t.orgService.organization.settings.screens.customerAddress.lastNameInputName.value,":"),C(),P("ngClass",Lo(9,Tf,!t.lastNameIsValid)),zn("ngModel",t.address.lastName)}}function see(n,o){if(1&n&&(I(0,"ion-item",2)(1,"ion-avatar",11),oe(2,"ion-icon",16),E(),I(3,"ion-card-header")(4,"ion-label",17),z(5),E()()()),2&n){const t=M();C(5),Co(" ",t.orgService.organization.settings.screens.customerAddress.deliveryDurationText.value,": ",t.ordersService.order.deliveryMethod.shippingCountry.deliveryDays,"")}}let uP=(()=>{class n extends Nn{modalController;injector;bookingService;ordersService;address;countryValid=!0;cityValid=!0;streetAddressValid=!0;zipCodeValid=!0;firstNameIsValid=!0;lastNameIsValid=!0;isFromOrder;constructor(t,r,i,s){super(r),this.modalController=t,this.injector=r,this.bookingService=i,this.ordersService=s,this.address=new ZJ}ngOnInit(){if(this.isFromOrder)this.ordersService.order.deliveryMethod.address?this.address=this.ordersService.order.deliveryMethod.address:(this.address.country=this.ordersService.order.deliveryMethod.countries[0].country,this.ordersService.order.deliveryMethod.shippingCountry=this.ordersService.order.deliveryMethod.countries[0],this.injector.get(gr).getCustomer().subscribe(t=>{this.address.firstName=t.firstName,this.address.lastName=t.lastName}));else if(this.bookingService.booking.address)this.address=this.bookingService.booking.address;else if(this.bookingService.booking.location){const t=this.bookingService.booking.location;this.address.country=t.country,this.address.city=t.city,this.address.state=t.state}}addAddress(){this.voidValidation();let t=!1;this.countryValidate()||(t=!0),this.cityValidate()||(t=!0),this.streetAddressValidate()||(t=!0),this.isFromOrder&&(this.zipCodeValidate()||(t=!0),this.firstNameValidate()||(t=!0),this.lastNameValidate()||(t=!0)),!t&&(this.isFromOrder?(this.ordersService.order.deliveryMethod.shippingCountry&&(this.address.country=this.ordersService.order.deliveryMethod.shippingCountry.country),this.ordersService.updateAddress(this.address)):this.bookingService.updateAddress(this.address),this.closeModal())}closeModal(){this.isFromOrder?this.modalController.dismiss():this.navCtrl.navigateBack("booking")}countryValidate(){return this.countryValid=!!this.address.country,this.countryValid}zipCodeValidate(){return this.zipCodeValid=!!this.address.zipCode,this.zipCodeValid}firstNameValidate(){return this.firstNameIsValid=!!this.address.firstName,this.firstNameIsValid}lastNameValidate(){return this.lastNameIsValid=!!this.address.lastName,this.lastNameIsValid}cityValidate(){return this.cityValid=!!this.address.city,this.cityValid}streetAddressValidate(){return this.streetAddressValid=!!this.address.streetAddress,this.streetAddressValid}voidValidation(){this.countryValid=!0,this.cityValid=!0,this.streetAddressValid=!0,this.zipCodeValid=!0,this.firstNameIsValid=!0,this.lastNameIsValid=!0}static \u0275fac=function(r){return new(r||n)(N(Wr),N(Ht),N(qn),N(Is))};static \u0275cmp=je({type:n,selectors:[["app-customer-address"]],features:[Dt],decls:26,vars:24,consts:[[4,"ngIf"],["color","primary",4,"ngIf"],["color","primary",1,"screen-item"],["position","fixed"],[3,"country","isFromOrder"],["color","primary","class","screen-item",4,"ngIf"],["clearInput","",3,"ngModelChange","ngModel"],["clearInput","",3,"change","ngModelChange","ngClass","ngModel"],["clearInput","",3,"ngModelChange","ngModel","ngClass"],["color","success","expand","full","size","large",1,"screen-item",3,"click"],["color","secondary",1,"mobile-item"],["slot","start"],[3,"click"],["name","close"],["color","primary"],["color","primary",1,"screen-item","mb-15"],["name","delivery-time",1,"font-size-30"],[1,"primary-contrast"]],template:function(r,i){1&r&&(se(0,ree,7,1,"ion-header",0),I(1,"ion-content"),se(2,iee,11,11,"ion-list",1),I(3,"ion-item",2)(4,"ion-label",3),z(5),E(),oe(6,"app-country-input",4),E(),se(7,see,6,2,"ion-item",5),I(8,"ion-item",2)(9,"ion-label",3),z(10),E(),I(11,"ion-input",6),Vn("ngModelChange",function(u){return Gn(i.address.state,u)||(i.address.state=u),u}),E()(),I(12,"ion-item",2)(13,"ion-label",3),z(14),E(),I(15,"ion-input",7),re("change",function(){return i.cityValidate()}),Vn("ngModelChange",function(u){return Gn(i.address.city,u)||(i.address.city=u),u}),E()(),I(16,"ion-item",2)(17,"ion-label",3),z(18),E(),I(19,"ion-input",8),Vn("ngModelChange",function(u){return Gn(i.address.zipCode,u)||(i.address.zipCode=u),u}),E()(),I(20,"ion-item",2)(21,"ion-label"),z(22),E(),I(23,"ion-input",7),re("change",function(){return i.streetAddressValidate()}),Vn("ngModelChange",function(u){return Gn(i.address.streetAddress,u)||(i.address.streetAddress=u),u}),E()(),I(24,"ion-button",9),re("click",function(){return i.addAddress()}),z(25),E()()),2&r&&(P("ngIf",i.orgService.organization&&i.orgService.organization.settings&&i.orgService.organization.settings.screens),C(2),P("ngIf",i.isFromOrder),C(3),Te("",i.orgService.organization.settings.screens.customerAddress.countryInputName.value,": "),C(),P("country",i.address.country)("isFromOrder",i.isFromOrder),C(),P("ngIf",i.isFromOrder&&(null==i.ordersService.order?null:i.ordersService.order.deliveryMethod)&&i.ordersService.order.deliveryMethod.shippingCountry),C(3),Te("",i.orgService.organization.settings.screens.customerAddress.stateInputName.value,": "),C(),zn("ngModel",i.address.state),C(3),Te("",i.orgService.organization.settings.screens.customerAddress.cityInputName.value,": "),C(),P("ngClass",Lo(18,Tf,!i.cityValid)),zn("ngModel",i.address.city),C(3),Te("",i.orgService.organization.settings.screens.customerAddress.zipCodeInputName.value,": "),C(),zn("ngModel",i.address.zipCode),P("ngClass",Lo(20,Tf,!i.zipCodeValid)),C(3),Te("",i.orgService.organization.settings.screens.customerAddress.streetAddressInputName.value,":"),C(),P("ngClass",Lo(22,Tf,!i.streetAddressValid)),zn("ngModel",i.address.streetAddress),C(2),Te("",i.orgService.organization.settings.screens.customerAddress.saveButtonText.value," "))},dependencies:[Cs,Gt,Xr,Zr,wc,on,Ln,oo,Sn,En,un,Ys,Dn,co,Bo,_D,An,In,bi,oee]})}return n})();var h1=_(5083);const wf=(0,h1.F3)("Browser",{web:()=>_.e(4786).then(_.bind(_,4786)).then(n=>new n.BrowserWeb)}),aee=["googlescript"],lee=["callback"],cee=["mapElement"];let dee=(()=>{class n{orgService;scriptContainer;scriptCallback;mapNativeElement;location;mapInitialized=!1;constructor(t){this.orgService=t}ngAfterViewInit(){if(this.location.latitude&&this.location.longitude)if(this.mapInitialized)this.initializeMap();else try{this.appendCallback(),this.appendScript()}catch(t){console.error("Error loading Google Maps:",t)}}appendCallback(){const t=`function googleReady() {\n      const map = new google.maps.Map(document.getElementById("map"), {\n        center: { lat: ${this.location.latitude}, lng: ${this.location.longitude} },\n        zoom: 17,\n        mapId: '2b9971ef9d4b51e'\n      });\n  \n      const marker = new google.maps.marker.AdvancedMarkerElement({\n        position: { lat: ${this.location.latitude}, lng: ${this.location.longitude} },\n        map: map,\n      });\n    }`,r=document.createElement("script");r.text=t,this.scriptCallback.nativeElement.appendChild(r)}appendScript(){if(document.querySelector('script[src*="maps.googleapis.com"]'))this.initializeMap();else try{const t=document.createElement("script");t.src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBVlRb39aAvz8v4kmt6pDgqJTT2sQLxuws&callback=googleReady&libraries=marker&loading=async",t.type="text/javascript",t.async=!0,t.defer=!0,this.scriptContainer.nativeElement.appendChild(t),this.mapInitialized=!0}catch(t){console.error("Error appending Google Maps script:",t)}}initializeMap(){const t=new google.maps.Map(document.getElementById("map"),{center:{lat:this.location.latitude,lng:this.location.longitude},zoom:17,mapId:"2b9971ef9d4b51e"});new google.maps.marker.AdvancedMarkerElement({position:{lat:this.location.latitude,lng:this.location.longitude},map:t})}static \u0275fac=function(r){return new(r||n)(N(ei))};static \u0275cmp=je({type:n,selectors:[["app-map"]],viewQuery:function(r,i){if(1&r&&(di(aee,5),di(lee,5),di(cee,5)),2&r){let s;ir(s=sr())&&(i.scriptContainer=s.first),ir(s=sr())&&(i.scriptCallback=s.first),ir(s=sr())&&(i.mapNativeElement=s.first)}},inputs:{location:"location"},decls:5,vars:0,consts:[["googlescript",""],["callback",""],["id","map",1,"map"]],template:function(r,i){1&r&&oe(0,"div",2)(1,"div",null,0)(3,"div",null,1)},styles:[".map[_ngcontent-%COMP%]{height:100%;width:98%;border-radius:10px;margin-left:10px}"]})}return n})();function uee(n,o){1&n&&oe(0,"location-rating",9),2&n&&P("rating",M().$implicit.rating)("reviews",0)("onlyStars",!0)}function gee(n,o){if(1&n){const t=Me();I(0,"ion-card",3),re("click",function(){const i=le(t).$implicit;return ce(i.expanded=!i.expanded)}),I(1,"ion-card-content")(2,"b",4),z(3),E(),I(4,"div",5),oe(5,"brb-rating",6),se(6,uee,1,3,"location-rating",7),E(),I(7,"p",8),z(8),E()()()}if(2&n){const t=o.$implicit,r=M(2);C(3),Re(t.author_name),C(3),P("ngIf",t.rating),C(),va("expanded",t.expanded),C(),Te(" ",r.getTruncatedText(t.text,t.expanded)," ")}}function fee(n,o){if(1&n&&(I(0,"section")(1,"div",1),se(2,gee,9,5,"ion-card",2),E()()),2&n){const t=M();C(2),P("ngForOf",t.reviews)}}let pee=(()=>{class n{reviews;constructor(){}getTruncatedText(t,r){return r||!t?t:t.length>130?t.substring(0,130)+"...":t}static \u0275fac=function(r){return new(r||n)};static \u0275cmp=je({type:n,selectors:[["location-reviews"]],inputs:{reviews:"reviews"},decls:1,vars:1,consts:[[4,"ngIf"],[1,"brb-reviews"],["color","secondary","class","review-box",3,"click",4,"ngFor","ngForOf"],["color","secondary",1,"review-box",3,"click"],[1,"mb-5"],[1,"mb-10"],["rate","item.rating"],[3,"rating","reviews","onlyStars",4,"ngIf"],[1,"description"],[3,"rating","reviews","onlyStars"]],template:function(r,i){1&r&&se(0,fee,3,1,"section",0),2&r&&P("ngIf",i.reviews)},dependencies:[Jn,To,fo,Gt,rb],styles:[".brb-reviews[_ngcontent-%COMP%]{display:flex;overflow-x:auto;white-space:nowrap;align-items:flex-start}.brb-reviews[_ngcontent-%COMP%]   .review-box[_ngcontent-%COMP%]{display:flex;margin-right:10px;flex-direction:column;justify-content:flex-start;width:220px;box-sizing:border-box;flex:0 0 auto;white-space:normal}.brb-reviews[_ngcontent-%COMP%]   .review-box[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%]{max-height:54px;overflow:hidden;text-overflow:ellipsis;line-height:1.1!important;font-size:12px!important}.brb-reviews[_ngcontent-%COMP%]   .review-box[_ngcontent-%COMP%]   .description.expanded[_ngcontent-%COMP%]{max-height:none;white-space:normal}"]})}return n})();const hee=n=>({"card-with-header":n}),mee=n=>({"background-image":n});function _ee(n,o){if(1&n){const t=Me();I(0,"ion-header")(1,"ion-toolbar",2)(2,"ion-buttons",3)(3,"ion-button",4),re("click",function(){return le(t),ce(M().closeModal())}),oe(4,"ion-icon",5),E()(),I(5,"ion-title"),z(6),E()()()}if(2&n){const t=M();C(6),Re(t.orgService.organization.settings.screens.location.toolbarText.value)}}function vee(n,o){if(1&n){const t=Me();I(0,"ion-fab",17)(1,"ion-fab-button",18),re("click",function(){return le(t),ce(M(2).closeModal())}),oe(2,"ion-icon",5),E()()}}function yee(n,o){if(1&n&&oe(0,"div",19),2&n){const t=M(2);P("ngStyle",Lo(2,mee,"url("+t.barbershop.photoUrl+")"))("@fadeInAnimation",void 0)}}function bee(n,o){if(1&n&&(I(0,"ion-card-subtitle"),oe(1,"location-rating",20),E()),2&n){const t=M(2);C(),P("rating",t.barbershop.rating)("reviews",t.barbershop.userRatingsTotal)}}function See(n,o){if(1&n&&(I(0,"ion-card-subtitle"),z(1),E()),2&n){const t=M(2);C(),Te(" ",t.barbershop.streetAddress," ")}}function Cee(n,o){1&n&&oe(0,"app-map",25),2&n&&P("location",M(3).barbershop)("@fadeInAnimation",void 0)}function Tee(n,o){if(1&n&&(I(0,"span"),z(1),E()),2&n){const t=M(4);C(),Te("",t.barbershop.streetAddress," ")}}function wee(n,o){if(1&n&&(I(0,"p",30),z(1),E()),2&n){const t=M(4);C(),Te(" ",t.barbershop.howToFindInformation," ")}}function Eee(n,o){if(1&n){const t=Me();I(0,"ion-item",26),re("click",function(){return le(t),ce(M(3).openMaps())}),I(1,"ion-label",27)(2,"p",28),se(3,Tee,2,1,"span",0),z(4),E(),se(5,wee,2,1,"p",29),E()()}if(2&n){const t=M(3);P("@fadeInAnimation",void 0),C(3),P("ngIf",!t.hideStreetAddress&&t.barbershop.streetAddress),C(),Rd("",t.barbershop.city," ",t.barbershop.zipCode," ",t.barbershop.country,""),C(),P("ngIf",t.barbershop.howToFindInformation)}}function Iee(n,o){if(1&n){const t=Me();I(0,"ion-item",31),re("click",function(){le(t);const i=M(3);return ce(i.callPhoneNumber(i.barbershop.phoneNumber))}),I(1,"ion-label",27),z(2),E()()}if(2&n){const t=M(3);P("@fadeInAnimation",void 0),C(2),Te(" ",t.barbershop.phoneNumber," ")}}function Dee(n,o){if(1&n&&(I(0,"ion-grid")(1,"ion-row")(2,"ion-col",21),se(3,Cee,1,2,"app-map",22),E(),I(4,"ion-col",23),se(5,Eee,6,6,"ion-item",11)(6,Iee,3,2,"ion-item",24),E()()()),2&n){const t=M(2);C(3),P("ngIf",!t.barbershop.isMobile&&t.barbershop.latitude&&t.barbershop.longitude),C(2),P("ngIf",!t.barbershop.isMobile),C(),P("ngIf",t.barbershop.phoneNumber)}}function Pee(n,o){if(1&n&&(I(0,"span"),z(1),E()),2&n){const t=M(3);C(),Te("",t.barbershop.streetAddress," ")}}function Mee(n,o){if(1&n&&(I(0,"span"),z(1),E()),2&n){const t=M(3);C(),Re(t.barbershop.country)}}function $ee(n,o){if(1&n&&(I(0,"p",30),z(1),E()),2&n){const t=M(3);C(),Te(" ",t.barbershop.howToFindInformation," ")}}function Aee(n,o){if(1&n){const t=Me();I(0,"ion-item",26),re("click",function(){return le(t),ce(M(2).openMaps())}),oe(1,"ion-icon",32),I(2,"ion-label",27)(3,"p",28),se(4,Pee,2,1,"span",0),z(5),se(6,Mee,2,1,"span",0),E(),se(7,$ee,2,1,"p",29),E()()}if(2&n){const t=M(2);P("@fadeInAnimation",void 0),C(4),P("ngIf",!t.hideStreetAddress&&t.barbershop.streetAddress&&!t.barbershop.isMobile),C(),Co("",t.barbershop.city," ",t.barbershop.zipCode," "),C(),P("ngIf",!t.barbershop.isMobile),C(),P("ngIf",t.barbershop.howToFindInformation)}}function Nee(n,o){if(1&n&&(I(0,"ion-item",33),oe(1,"ion-icon",34),I(2,"ion-label",27)(3,"p",35),z(4),E()()()),2&n){const t=M(2);P("@fadeInAnimation",void 0),C(4),Te(" ",t.barbershop.parkingInformation," ")}}function xee(n,o){if(1&n){const t=Me();I(0,"ion-item",26),re("click",function(){le(t);const i=M(2);return ce(i.callPhoneNumber(i.barbershop.phoneNumber))}),oe(1,"ion-icon",36),I(2,"ion-label",27),z(3),E()()}if(2&n){const t=M(2);P("@fadeInAnimation",void 0),C(3),Te(" ",t.barbershop.phoneNumber," ")}}function Oee(n,o){if(1&n&&(I(0,"ion-chip",39),oe(1,"ion-icon",40),I(2,"ion-label"),z(3),E()()),2&n){const t=o.$implicit;C(3),Re(t)}}function kee(n,o){if(1&n&&(I(0,"ion-item",33)(1,"p",37),se(2,Oee,4,1,"ion-chip",38),E()()),2&n){const t=M(2);C(2),P("ngForOf",t.amenities)}}function Ree(n,o){1&n&&oe(0,"location-reviews",41),2&n&&P("reviews",M(2).barbershop.reviews)}function Lee(n,o){if(1&n&&(I(0,"ion-label"),z(1),E()),2&n){const t=o.$implicit;C(),Re(t.workingFrameString)}}function Fee(n,o){if(1&n&&(I(0,"td"),se(1,Lee,2,1,"ion-label",45),E()),2&n){const t=M().$implicit;C(),P("ngForOf",t.workingFrames)}}function Bee(n,o){if(1&n&&(I(0,"td")(1,"ion-label"),z(2),E()()),2&n){const t=M(4);C(2),Re(t.orgService.organization.settings.screens.location.closedText.value)}}function Uee(n,o){if(1&n&&(I(0,"tr")(1,"td")(2,"ion-label",46),z(3),E()(),se(4,Fee,2,1,"td",0)(5,Bee,3,1,"td",0),E()),2&n){const t=o.$implicit,r=M(3);C(3),Te("",r.getDayName(t.dayOfWeek),":"),C(),P("ngIf",t.isWorkingDay),C(),P("ngIf",!t.isWorkingDay)}}function zee(n,o){if(1&n&&(I(0,"ion-item",33)(1,"ion-avatar",42),oe(2,"i",43),E(),I(3,"ion-card-header",44)(4,"ion-card-subtitle")(5,"table"),se(6,Uee,6,3,"tr",45),E()()()()),2&n){const t=M(2);C(6),P("ngForOf",t.schedule)}}function Vee(n,o){if(1&n){const t=Me();I(0,"ion-list",6),se(1,vee,3,0,"ion-fab",7)(2,yee,1,4,"div",8),I(3,"ion-card",9)(4,"ion-card-header",10)(5,"ion-card-title"),z(6),E(),se(7,bee,2,2,"ion-card-subtitle",0)(8,See,2,1,"ion-card-subtitle",0),E()(),se(9,Dee,7,3,"ion-grid",0)(10,Aee,8,6,"ion-item",11)(11,Nee,5,2,"ion-item",12)(12,xee,4,2,"ion-item",13)(13,kee,3,1,"ion-item",12)(14,Ree,1,1,"location-reviews",14)(15,zee,7,1,"ion-item",12),I(16,"div",15)(17,"ion-button",16),re("click",function(){return le(t),ce(M().book())}),z(18),E()()()}if(2&n){const t=M();C(),P("ngIf",t.barbershop.photoUrl),C(),P("ngIf",t.barbershop.photoUrl),C(),P("ngClass",Lo(15,hee,!!t.barbershop.photoUrl))("@fadeInAnimation",void 0),C(3),Re(t.barbershop.name),C(),P("ngIf",t.barbershop.rating),C(),P("ngIf",t.barbershop.isMobile&&t.barbershop.streetAddress),C(),P("ngIf",!t.barbershop.isMobile&&t.barbershop.latitude&&t.barbershop.longitude),C(),P("ngIf",!t.barbershop.latitude||!t.barbershop.longitude||t.barbershop.isMobile),C(),P("ngIf",t.barbershop.parkingInformation),C(),P("ngIf",t.barbershop.phoneNumber&&(t.barbershop.isMobile||!t.barbershop.latitude||!t.barbershop.longitude)),C(),P("ngIf",t.amenities&&t.amenities.length),C(),P("ngIf",t.barbershop.reviews),C(),P("ngIf",t.schedule&&t.orgService.organization.settings.screens.location.mondayText&&t.orgService.organization.settings.screens.location.mondayText.value),C(3),Te(" ",t.orgService.organization.settings.screens.location.bookButtonText.value," ")}}let db=(()=>{class n extends Nn{injector;dateTimeService;router;route;bookingService;locationService;googleLoaded;barbershop;schedule=[];timeFormat;amenities;hideStreetAddress=!1;constructor(t,r,i,s,u,p){super(t),this.injector=t,this.dateTimeService=r,this.router=i,this.route=s,this.bookingService=u,this.locationService=p}ngOnInit(){var t=this;return(0,Ge.A)(function*(){t.timeFormat=t.getTimePickerFormat(),t.organizationPromise.subscribe(r=>t.hideStreetAddress=r.streetAddressHidden)})()}ionViewWillEnter(){var t=this;return(0,Ge.A)(function*(){const r=t.route.snapshot.paramMap.get("id");yield t.showLoading(),t.locationService.getLocation(r).subscribe(function(){var i=(0,Ge.A)(function*(s){t.resolveAmenities(s.amenities),t.barbershop=s,t.initSchedule(),yield t.hideLoading()});return function(s){return i.apply(this,arguments)}}(),function(){var i=(0,Ge.A)(function*(s){yield t.hideLoading()});return function(s){return i.apply(this,arguments)}}())})()}resolveAmenities(t){!t||!t.length||this.orgService.getCachedLanguage().subscribe(r=>{this.locationService.getAmenities(r,t).subscribe(i=>{this.amenities=i})})}getTimePickerFormat(){return this.orgService.organization&&this.orgService.organization.settings?this.dateTimeService.getTimeDisplayFormat(this.orgService.organization.is12HoursTimeFormat):""}closeModal(){this.navCtrl.navigateBack(1!=this.orgService.organization.locationsCount?"locations":"tabs/home")}getDayName(t){return 7===t?this.orgService.organization.settings.screens.location.sundayText.value:1===t?this.orgService.organization.settings.screens.location.mondayText.value:2===t?this.orgService.organization.settings.screens.location.tuesdayText.value:3===t?this.orgService.organization.settings.screens.location.wednesdayText.value:4===t?this.orgService.organization.settings.screens.location.thursdayText.value:5===t?this.orgService.organization.settings.screens.location.fridayText.value:6===t?this.orgService.organization.settings.screens.location.saturdayText.value:""}book(){this.bookingService.voidBooking(),this.bookingService.updateLocation(this.barbershop),this.navCtrl.navigateRoot("booking")}initSchedule(){this.locationService.getWorkSchedule(this.barbershop.id).subscribe(t=>{this.schedule=t,this.schedule.map(r=>{r.isWorkingDay&&r.workingFrames.map(i=>{i.workingFrameString="hh:mm a"==this.timeFormat?this.init12FormatHours(i.startHour)+":"+this.addLeadingZeroToNumber(i.startMinute)+(i.startHour>=12?" PM":" AM")+" - "+this.init12FormatHours(i.endHour)+":"+this.addLeadingZeroToNumber(i.endMinute)+(i.endHour>=12?" PM":" AM"):this.addLeadingZeroToNumber(i.startHour)+":"+this.addLeadingZeroToNumber(i.startMinute)+" - "+this.addLeadingZeroToNumber(i.endHour)+":"+this.addLeadingZeroToNumber(i.endMinute)})})})}init12FormatHours(t){return 0==t?"12":(t>12&&(t-=12),t<10?"0"+t.toString():t.toString())}addLeadingZeroToNumber(t){return t<10?"0"+t.toString():t.toString()}callPhoneNumber(t){window.location.href="tel:"+t}openMaps(){var t=this;return(0,Ge.A)(function*(){const i=[t.barbershop.streetAddress,t.barbershop.city,t.barbershop.zipCode].filter(p=>p&&""!==p.trim()).join(", "),u=`https://www.google.com/maps/search/?api=1&query=${encodeURIComponent(`${t.barbershop.name}, ${i}`)}`;yield wf.open({url:u})})()}static \u0275fac=function(r){return new(r||n)(N(Ht),N(s1),N(Qo),N(dr),N(qn),N(i1))};static \u0275cmp=je({type:n,selectors:[["app-location"]],features:[Dt],decls:3,vars:2,consts:[[4,"ngIf"],["class","screen-item bg-primary",4,"ngIf"],["color","secondary"],["slot","start"],[3,"click"],["name","arrow-back"],[1,"screen-item","bg-primary"],["vertical","top","horizontal","start",4,"ngIf"],["class","mt-0 mb-0 photo-container",3,"ngStyle",4,"ngIf"],["color","secondary",3,"ngClass"],[1,"secondary-contrast"],["color","primary","class","pointer","detail","true",3,"click",4,"ngIf"],["color","primary",4,"ngIf"],["color","primary","detail","true","class","pointer",3,"click",4,"ngIf"],[3,"reviews",4,"ngIf"],[1,"text-center","mt-15","mb-15"],["color","success",3,"click"],["vertical","top","horizontal","start"],["size","small","color","secondary",3,"click"],[1,"mt-0","mb-0","photo-container",3,"ngStyle"],[3,"rating","reviews"],["size","5"],["class","map",3,"location",4,"ngIf"],["size","7"],["color","primary","detail","true","detailIcon","phone-call","class","pointer",3,"click",4,"ngIf"],[1,"map",3,"location"],["color","primary","detail","true",1,"pointer",3,"click"],[1,"ion-text-wrap","header"],[1,"subtitle"],["class","description ion-text-wrap mt-5",4,"ngIf"],[1,"description","ion-text-wrap","mt-5"],["color","primary","detail","true","detailIcon","phone-call",1,"pointer",3,"click"],["slot","start","name","map"],["color","primary"],["slot","start","name","parking"],[1,"description","ion-text-wrap"],["slot","start","name","phone-call"],[1,"ion-text-wrap"],["class","chip",4,"ngFor","ngForOf"],[1,"chip"],["name","check"],[3,"reviews"],["slot","start",1,"clock"],[1,"flaticon-clock","font-size-30"],[1,"schedule"],[4,"ngFor","ngForOf"],[1,"mr-20"]],template:function(r,i){1&r&&(se(0,_ee,7,1,"ion-header",0),I(1,"ion-content"),se(2,Vee,19,17,"ion-list",1),E()),2&r&&(P("ngIf",i.settingsReady&&i.barbershop&&!i.barbershop.photoUrl),C(2),P("ngIf",i.settingsReady&&i.barbershop))},dependencies:[Cs,fo,Gt,Jh,wc,on,Ln,Jn,oo,gi,lo,ru,Ni,Sn,Qa,Es,iu,En,un,Dn,co,Bo,fi,An,In,dee,rb,pee],styles:[".clock[_ngcontent-%COMP%]{position:absolute!important;top:20px!important}.schedule[_ngcontent-%COMP%]{margin-left:46px!important}.schedule[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{vertical-align:top!important;padding-bottom:10px!important}.chip[_ngcontent-%COMP%]{background-color:var(--ion-color-primary-tint)!important;color:var(--ion-color-primary-contrast)!important}.chip[_ngcontent-%COMP%]   ion-icon[_ngcontent-%COMP%]{color:var(--ion-color-primary-contrast)!important}.photo-container[_ngcontent-%COMP%]{height:250px;background-size:cover;background-position:center;background-repeat:no-repeat}.bg-primary[_ngcontent-%COMP%]{background-color:var(--ion-color-primary)!important}.card-with-header[_ngcontent-%COMP%]{margin-top:-50px!important;max-width:400px!important}"],data:{animation:[Xs("fadeInAnimation",[Qs(":enter",[cr({opacity:0}),Zs("500ms",cr({opacity:1}))])])]}})}return n})();function Hee(n,o){if(1&n){const t=Me();I(0,"ion-buttons",5)(1,"ion-button",6),re("click",function(){return le(t),ce(M(2).closeModal())}),oe(2,"ion-icon",7),E()()}}function jee(n,o){if(1&n&&(I(0,"ion-header")(1,"ion-toolbar",3),se(2,Hee,3,0,"ion-buttons",4),I(3,"ion-title"),z(4),E()(),oe(5,"app-smart-bar"),E()),2&n){const t=M();C(2),P("ngIf",!t.isFromOrder),C(2),Re(t.orgService.organization.settings.screens.locations.toolbarText.value)}}function Gee(n,o){if(1&n){const t=Me();I(0,"ion-searchbar",10),re("ionInput",function(i){return le(t),ce(M(2).search(i))}),E()}2&n&&P("placeholder",M(2).orgService.organization.settings.screens.locations.searchPlaceholderText.value)}function Wee(n,o){if(1&n&&(I(0,"ion-item",8),se(1,Gee,1,1,"ion-searchbar",9),E()),2&n){const t=M();C(),P("ngIf",t.orgService.organization&&t.orgService.organization.settings&&t.orgService.organization.settings.screens)}}function qee(n,o){if(1&n){const t=Me();I(0,"app-location-item",12),re("click",function(){const i=le(t).$implicit;return ce(M(2).showLocation(i))}),E()}if(2&n){const t=o.$implicit,r=M(2);P("location",t)("hideStreetAddress",r.hideStreetAddress)}}function Yee(n,o){if(1&n&&(I(0,"div"),se(1,qee,1,2,"app-location-item",11),E()),2&n){const t=M();P("@listAnimation",t.filteredLocations.length),C(),P("ngForOf",t.filteredLocations)}}let ub=(()=>{class n extends Nn{injector;router;storage;locationsService;bookingService;waitingListService;ordersService;locations;filteredLocations;isFromBooking;isFromOrder;isFromWaitingListItem;hideStreetAddress=!1;constructor(t,r,i,s,u,p,m){super(t),this.injector=t,this.router=r,this.storage=i,this.locationsService=s,this.bookingService=u,this.waitingListService=p,this.ordersService=m}ngOnInit(){var t=this;return(0,Ge.A)(function*(){yield t.init()})()}init(){var t=this;return(0,Ge.A)(function*(){const r=history.state;t.isFromBooking=r.isFromBooking??!1,t.isFromWaitingListItem=r.isFromWaitingListItem??!1,t.isFromOrder=r.isFromOrder??!1,t.organizationPromise.subscribe(i=>t.hideStreetAddress=i.streetAddressHidden),yield t.getLocations()})()}getLocations(){var t=this;return(0,Ge.A)(function*(){yield t.showLoading(),t.locationsService.getLocations().subscribe(function(){var r=(0,Ge.A)(function*(i){t.locations=i,t.filteredLocations=i,t.storage.set("locations",i),yield t.hideLoading()});return function(i){return r.apply(this,arguments)}}(),(0,Ge.A)(function*(){t.storage.get("locations").subscribe(function(){var r=(0,Ge.A)(function*(i){i&&i.length?(t.locations=i,yield t.hideLoading()):yield t.hideLoading()});return function(i){return r.apply(this,arguments)}}(),(0,Ge.A)(function*(){yield t.hideLoading()}))}))})()}book(t){if(this.isFromOrder)return this.ordersService.updateLocation(t),void this.closeModal();this.bookingService.voidBooking(),this.bookingService.updateLocation(t),this.navCtrl.navigateRoot("booking")}showLocation(t){const r=history.state;return this.isFromBooking=r.isFromBooking??!1,this.isFromWaitingListItem=r.isFromWaitingListItem??!1,this.isFromOrder=r.isFromOrder??!1,this.isFromOrder?(this.ordersService.updateLocation(t),void this.closeModal()):this.isFromBooking?(this.bookingService.updateLocation(t),void this.closeModal()):this.isFromWaitingListItem?(this.waitingListService.updateLocation(t),void this.closeModal()):void this.navCtrl.navigateForward(["location",t.id],{state:{location:t}})}closeModal(){if(this.isFromBooking)return this.bookingService.booking?.locationId?void this.navCtrl.navigateBack("booking"):void this.book(this.locations[0]);this.isFromWaitingListItem?this.navCtrl.navigateBack("waiting-list-item"):this.isFromOrder?this.navCtrl.navigateBack("order"):this.navCtrl.navigateForward("")}search(t){this.filteredLocations=this.locations.filter(r=>(r.city+r.name+r.country+r.zipCode+r.streetAddress).toLowerCase().indexOf(t.detail.value.toLowerCase())>-1)}static \u0275fac=function(r){return new(r||n)(N(Ht),N(Qo),N(Nl),N(i1),N(qn),N(du),N(Is))};static \u0275cmp=je({type:n,selectors:[["app-locations"]],features:[Dt],decls:5,vars:3,consts:[[4,"ngIf"],[1,"screen-item"],["color","primary",4,"ngIf"],["color","secondary",1,"mobile-item"],["slot","start",4,"ngIf"],["slot","start"],[3,"click"],["name","arrow-back"],["color","primary"],["color","primary","animated","true","how-clear-button","always",3,"placeholder","ionInput",4,"ngIf"],["color","primary","animated","true","how-clear-button","always",3,"ionInput","placeholder"],[3,"location","hideStreetAddress","click",4,"ngFor","ngForOf"],[3,"click","location","hideStreetAddress"]],template:function(r,i){1&r&&(se(0,jee,6,2,"ion-header",0),I(1,"ion-content")(2,"ion-list",1),se(3,Wee,2,1,"ion-item",2)(4,Yee,2,2,"div",0),E()()),2&r&&(P("ngIf",i.orgService.organization&&i.orgService.organization.settings&&i.orgService.organization.settings.screens),C(3),P("ngIf",i.locations&&i.locations.length>8),C(),P("ngIf",i.filteredLocations))},dependencies:[fo,Gt,on,Ln,Sn,En,un,Dn,Bo,su,An,In,bi,d1,Uo],data:{animation:[Xs("listAnimation",[Qs("* <=> *",[gu(":enter",[cr({opacity:0,transform:"translateY(-15px)"}),fu("50ms",Zs("400ms ease-out",cr({opacity:1,transform:"translateY(0px)"})))],{optional:!0})])])]}})}return n})();const Kee=n=>({"input-invalid":n});function Xee(n,o){1&n&&oe(0,"ion-progress-bar",7)}function Zee(n,o){if(1&n){const t=Me();I(0,"ion-header")(1,"ion-toolbar",2)(2,"ion-buttons",3)(3,"ion-button",4),re("click",function(){return le(t),ce(M().navCtrl.back())}),oe(4,"ion-icon",5),E()(),I(5,"ion-title"),z(6),E(),se(7,Xee,1,0,"ion-progress-bar",6),E(),oe(8,"app-smart-bar"),E()}if(2&n){const t=M();C(6),Re(t.orgService.organization.settings.screens.login.toolbarText.value),C(),P("ngIf",t.saving)}}function Qee(n,o){if(1&n){const t=Me();I(0,"app-phone-input",17),re("change",function(){return le(t),ce(M(2).phoneValidate())}),E()}if(2&n){const t=M(2);P("label",t.orgService.organization.settings.screens.login.phoneLabelText.value)("disabled",t.saving)("phoneNumber",t.phone)("isInvalid",!t.phoneIsValid)("clearInput",!0)("placeholder",t.orgService.organization.settings.screens.login.phoneLabelText.value)}}function Jee(n,o){if(1&n){const t=Me();I(0,"ion-content",8)(1,"ion-list",9)(2,"ion-item",10),se(3,Qee,1,6,"app-phone-input",11),E(),I(4,"ion-item",12)(5,"ion-input",13),re("change",function(){return le(t),ce(M().passwordValidate())}),Vn("ngModelChange",function(i){le(t);const s=M();return Gn(s.password,i)||(s.password=i),ce(i)}),E()()(),I(6,"ion-button",14),re("click",function(){return le(t),ce(M().logIn())}),z(7),E(),I(8,"ion-button",15),re("click",function(){return le(t),ce(M().navCtrl.navigateForward("register"))}),z(9),E(),I(10,"ion-button",16),re("click",function(){return le(t),ce(M().navCtrl.navigateForward("reset"))}),z(11),E()()}if(2&n){const t=M();C(3),P("ngIf",t.orgService.organization&&t.phone),C(2),yi("label","",t.orgService.organization.settings.screens.login.passwordLableText.value,":"),P("disabled",t.saving)("ngClass",Lo(13,Kee,!t.passwordIsValid))("clearInput",!0),zn("ngModel",t.password),C(),P("disabled",t.saving),C(),Te(" ",t.orgService.organization.settings.screens.login.loginBtnText.value,""),C(),P("disabled",t.saving),C(),Te(" ",t.orgService.organization.settings.screens.login.registerBtnText.value,""),C(),P("disabled",t.saving),C(),Te(" ",t.orgService.organization.settings.screens.login.linkResetPassword.value,"")}}let gP=(()=>{class n extends Nn{injector;accountService;bookingService;password;customer;saving;phone;phoneIsValid=!0;passwordIsValid=!0;userLogin;constructor(t,r,i){super(t),this.injector=t,this.accountService=r,this.bookingService=i}ngOnInit(){this.phone=new g1,this.orgService.organization?this.phone.code=this.orgService.organization.phoneCode:this.organizationPromise.toPromise().then(t=>{this.phone.code=t.phoneCode})}phoneValidate(){return this.phoneIsValid=!!this.phone.phone&&this.phone.phone.length>=6,this.phoneIsValid}passwordValidate(){return this.passwordIsValid=!!this.password&&this.password.length>=6,this.passwordIsValid}hasErrors(){let t=!1;return this.phoneValidate()||(t=!0),this.passwordValidate()||(t=!0),t}voidValidation(){this.phoneIsValid=!0,this.passwordIsValid=!0}logIn(){this.voidValidation(),!this.hasErrors()&&(this.userLogin={username:this.phone.code+this.phone.phone,password:this.password},this.saving=!0,this.accountService.logIn(this.userLogin).subscribe(t=>{this.accountService.setUser(t),this.saving=!1,this.bookingService.booking?(this.bookingService.keepBooking=!0,this.navCtrl.navigateRoot("booking")):this.navCtrl.back()},()=>{this.saving=!1,this.presentAlert(this.orgService.organization.settings.screens.login.toolbarText.value,this.orgService.organization.settings.screens.login.validation.value)}))}static \u0275fac=function(r){return new(r||n)(N(Ht),N(gr),N(qn))};static \u0275cmp=je({type:n,selectors:[["app-login"]],features:[Dt],decls:2,vars:2,consts:[[4,"ngIf"],["class","padding",4,"ngIf"],["color","secondary",1,"mobile-item"],["slot","start"],[3,"click"],["name","arrow-back"],["type","indeterminate",4,"ngIf"],["type","indeterminate"],[1,"padding"],[1,"screen-item"],["color","primary","lines","none",1,"screen-item"],["class","mt-10 mb-10","name","phone",3,"label","disabled","phoneNumber","isInvalid","clearInput","placeholder","change",4,"ngIf"],["color","primary","lines","none"],["labelPlacement","stacked","placeholder","*********","autocomplete","off","type","password",1,"mb-10",3,"change","ngModelChange","disabled","label","ngClass","clearInput","ngModel"],["expand","full","color","success",1,"screen-item",3,"click","disabled"],["color","secondary","expand","full",1,"screen-item",3,"click","disabled"],["expand","full",1,"screen-item",3,"click","disabled"],["name","phone",1,"mt-10","mb-10",3,"change","label","disabled","phoneNumber","isInvalid","clearInput","placeholder"]],template:function(r,i){1&r&&se(0,Zee,9,2,"ion-header",0)(1,Jee,12,15,"ion-content",1),2&r&&(P("ngIf",i.orgService.organization&&i.orgService.organization.settings&&i.orgService.organization.settings.screens),C(),P("ngIf",i.orgService.organization&&i.orgService.organization.settings&&i.orgService.organization.settings.screens))},dependencies:[Cs,Gt,Xr,Zr,on,Ln,Sn,En,un,Ys,Dn,Bo,ar,An,In,bi,Uo,f1],styles:[".error[_ngcontent-%COMP%]{border-bottom:2px solid var(--ion-color-danger)}.errorMessage[_ngcontent-%COMP%]{color:red}.width-100[_ngcontent-%COMP%]{width:80px!important}"]})}return n})(),m1=(()=>{class n extends Nn{injector;termsAccepted;cardProcessing;formLoading;isOrder=!1;constructor(t){super(t),this.injector=t}ngOnInit(){this.isOrder=!this.injector.get(qn).booking}getPayBtnText(){const t=this.injector.get(ei).organization;return t&&t.settings&&t.settings.screens?t.settings.screens.newPaymentCard.saveBtn.value:""}onCardSuccess(t){const r="string"==typeof t?{cardNonce:t}:{cardDetail:t};let i=null;this.isOrder||(i=this.injector.get(qn).getBarberId());const s=this.injector.get(cs);this.cardProcessing=!0,s.createPaymentCard(r,i).subscribe(u=>{this.cardProcessing=!1,s.updateSource(u),this.onCardAdded()},u=>{this.cardProcessing=!1,this.alertCardErrors([u.error])})}alertCardErrors(t){return setTimeout(()=>{this.cardProcessing=!1,this.formLoading=!1}),this.presentAlert(this.orgService.organization.settings.screens.newPaymentCard.failedToAddCardText.value,t.map(r=>r.message).join(".\n"))}onCardAdded(){if(this.isOrder)this.navCtrl.navigateBack("payment-summary-order");else{const t=this.injector.get(qn);t.payTimeStateSelected===Lr.PayNow?(this.presentSuccessAlert(this.orgService.organization.settings.screens.newPaymentCard.cardAddedText.value,this.orgService.organization.settings.screens.newPaymentCard.cardAddedToPayNowText.value),this.navCtrl.navigateBack("payment-summary")):t.payTimeStateSelected===Lr.PayLater?(this.presentSuccessAlert(this.orgService.organization.settings.screens.newPaymentCard.cardAddedText.value,this.orgService.organization.settings.screens.newPaymentCard.cardAddedToPayLaterText.value),this.navCtrl.navigateForward("payment-summary")):(this.presentSuccessAlert(this.orgService.organization.settings.screens.newPaymentCard.cardAddedText.value,this.orgService.organization.settings.screens.newPaymentCard.cardAddedToPayNowText.value),this.navCtrl.navigateBack("payment-cards",{state:{isOrder:this.isOrder}}))}}static \u0275fac=function(r){return new(r||n)(N(Ht))};static \u0275cmp=je({type:n,selectors:[["app-square-card"]],inputs:{termsAccepted:"termsAccepted"},features:[Dt],decls:0,vars:0,template:function(r,i){},encapsulation:2})}return n})();function ete(n,o){1&n&&oe(0,"ion-progress-bar",7)}function tte(n,o){if(1&n){const t=Me();Xo(0),I(1,"ion-text"),oe(2,"div",8),E(),I(3,"ion-item",9)(4,"ion-label"),z(5),E(),I(6,"ion-checkbox",10),Vn("ngModelChange",function(i){le(t);const s=M();return Gn(s.checked,i)||(s.checked=i),ce(i)}),E()(),I(7,"ion-button",11),re("click",function(){return le(t),ce(M().onAccept())}),z(8),E(),Zo()}if(2&n){const t=M();C(2),P("innerHTML",t.termsHTML,oT),C(3),Re(t.orgService.organization.settings.screens.termsAndConditions.acceptCheckboxText.value),C(),zn("ngModel",t.checked),C(),P("disabled",t.termsLoading||!t.checked),C(),Te(" ",t.orgService.organization.settings.screens.termsAndConditions.acceptBtn.value,"")}}let nte=(()=>{class n extends Nn{injector;modalController;paymentsService;termsHTML;termsLoading;checked;isAccepted;constructor(t,r,i){super(t),this.injector=t,this.modalController=r,this.paymentsService=i}ngOnInit(){this.termsLoading=!0,this.checked=this.isAccepted;const t=this.injector.get(qn).getBarberId();this.paymentsService.getTermsAndConditions(t).subscribe(r=>{this.termsHTML=r},r=>{this.networkError(),this.navCtrl.back()},()=>{this.termsLoading=!1})}onAccept(){this.modalController.dismiss(!0)}static \u0275fac=function(r){return new(r||n)(N(Ht),N(Wr),N(cs))};static \u0275cmp=je({type:n,selectors:[["app-terms-and-conditions"]],inputs:{isAccepted:"isAccepted"},features:[Dt],decls:12,vars:3,consts:[["color","secondary",1,"mobile-item"],["slot","start"],[3,"click"],["name","arrow-back"],["color","primary",1,"screen-item"],["type","indeterminate","color","secondary",4,"ngIf"],[4,"ngIf"],["type","indeterminate","color","secondary"],[3,"innerHTML"],["color","primary"],["color","secondary","checked","false",1,"checkbox",3,"ngModelChange","ngModel"],["color","secondary","expand","block","type","submit",3,"click","disabled"]],template:function(r,i){1&r&&(I(0,"ion-header")(1,"ion-toolbar",0)(2,"ion-buttons",1)(3,"ion-button",2),re("click",function(){return i.modalController.dismiss()}),oe(4,"ion-icon",3),E()(),I(5,"ion-title"),z(6),E()()(),I(7,"ion-content")(8,"ion-card",4),se(9,ete,1,0,"ion-progress-bar",5),I(10,"ion-card-content"),se(11,tte,9,5,"ng-container",6),E()()()),2&r&&(C(6),Re(i.orgService.organization.settings.screens.termsAndConditions.toolbarText.value),C(3),P("ngIf",i.termsLoading),C(2),P("ngIf",!i.termsLoading))},dependencies:[Gt,Xr,Zr,on,Ln,Jn,To,Gm,Sn,En,un,Dn,co,ar,Ks,An,In,jm],styles:[".checkbox[_ngcontent-%COMP%]{border:1px solid var(--ion-color-secondary)}.ios[_ngcontent-%COMP%]   .checkbox[_ngcontent-%COMP%]{border-radius:50%}.custom-checkbox-row[_ngcontent-%COMP%]{width:100%}"]})}return n})();function ote(n,o){if(1&n){const t=Me();I(0,"ion-text",1),re("click",function(){return le(t),ce(M().openTermsAndConditionsModal())}),I(1,"ion-row")(2,"ion-col",2),z(3),E(),I(4,"ion-col",3)(5,"ion-checkbox",4),Vn("ngModelChange",function(i){le(t);const s=M();return Gn(s.isAccepted,i)||(s.isAccepted=i),ce(i)}),E()()()()}if(2&n){const t=M();C(3),Te(" ",t.orgService.organization.settings.screens.newPaymentCard.termsText.value," "),C(2),zn("ngModel",t.isAccepted)}}let rte=(()=>{class n{orgService;modalController;accept=new $n;isAccepted;constructor(t,r){this.orgService=t,this.modalController=r}ngOnInit(){this.onAccept(!0)}onAccept(t){this.isAccepted=t,this.accept.emit(t)}openTermsAndConditionsModal(){var t=this;return(0,Ge.A)(function*(){const r=yield t.modalController.create({component:nte,componentProps:{isAccepted:t.isAccepted}});yield r.present();const{data:i}=yield r.onDidDismiss();t.onAccept(i)})()}static \u0275fac=function(r){return new(r||n)(N(ei),N(Wr))};static \u0275cmp=je({type:n,selectors:[["app-terms-and-condition"]],outputs:{accept:"accept"},decls:1,vars:1,consts:[[3,"click",4,"ngIf"],[3,"click"],["size","11"],["size","1",1,"ion-text-center","checkbox-wrapper"],[3,"ngModelChange","ngModel"]],template:function(r,i){1&r&&se(0,ote,6,2,"ion-text",0),2&r&&P("ngIf",i.orgService.organization&&i.orgService.organization.settings)},dependencies:[Gm,Ni,fi,Ks,jm,Gt,Xr,Zr],styles:[".checkbox-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center}"]})}return n})();function ite(n,o){1&n&&oe(0,"ion-progress-bar",6)}function ste(n,o){1&n&&(I(0,"div",7),oe(1,"ion-spinner",8),E())}let ate=(()=>{class n extends m1{injector;themeService;paymentsService;loadingCtrl;constructor(t,r,i,s){super(t),this.injector=t,this.themeService=r,this.paymentsService=i,this.loadingCtrl=s}ngOnInit(){this.showLoader(),this.formLoading=!0,this.orgService.organization&&this.orgService.organization.settings?this.initCardForm():this.organizationPromise.toPromise().then(t=>{this.orgService.initSettings(t),this.initCardForm()})}initCardForm(){this.paymentsService.getSquarePaymentProviderDetails().subscribe(t=>{this.onOrganisationLoaded(t.applicationCode,t.merchantLocationId),this.formLoading=!1},()=>{this.formLoading=!1})}showLoader(){var t=this;return(0,Ge.A)(function*(){(yield t.loadingCtrl.create({duration:2e3})).present()})()}card;onOrganisationLoaded(t,r){var i=this;return(0,Ge.A)(function*(){let s=window.Square.payments(t,r);i.card=yield s.card(),yield i.card.attach("#card-container")})()}onCardSaved(t){var r=this;return(0,Ge.A)(function*(){t.preventDefault(),yield r.tokenize()})()}tokenize(){var t=this;return(0,Ge.A)(function*(){const r=yield t.card.tokenize();"OK"!==r.status?t.alertCardErrors(r.errors):t.onCardSuccess(r.token)})()}cardNonceResponseReceived(t,r){this.formLoading=!1,t?this.alertCardErrors(t):this.onCardSuccess(r)}paymentFormLoaded(){setTimeout(()=>{this.formLoading=!1},0)}static \u0275fac=function(r){return new(r||n)(N(Ht),N(r1),N(cs),N(Ky))};static \u0275cmp=je({type:n,selectors:[["app-square-card"]],features:[Dt],decls:7,vars:4,consts:[["type","indeterminate","color","secondary",4,"ngIf"],["id","form-container",1,"form-wrapper"],["class","loader-wrapper ion-padding",4,"ngIf"],["id","payment-form"],["id","card-container"],["color","success","expand","block","type","submit","id","card-button",1,"button-credit-card",3,"click","disabled"],["type","indeterminate","color","secondary"],[1,"loader-wrapper","ion-padding"],["color","secondary"]],template:function(r,i){1&r&&(se(0,ite,1,0,"ion-progress-bar",0),I(1,"div",1),se(2,ste,2,0,"div",2),I(3,"form",3),oe(4,"div",4),I(5,"ion-button",5),re("click",function(u){return i.onCardSaved(u)}),z(6),E()()()),2&r&&(P("ngIf",i.formLoading||i.cardProcessing),C(2),P("ngIf",i.formLoading),C(3),P("disabled",i.cardProcessing||i.formLoading||!i.termsAccepted),C(),Te(" ",i.getPayBtnText()," "))},dependencies:[Gt,vm,lm,Wg,on,ar,Km],styles:[".form-wrapper[_ngcontent-%COMP%]{min-height:160px;position:relative}.loader-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;height:160px}"]})}return n})();function lte(n,o){1&n&&oe(0,"ion-progress-bar",9)}let cte=(()=>{class n extends m1{injector;themeService;paymentService;stripe;cardNumberElement;cardExpiryElement;cardCVCElement;constructor(t,r,i){super(t),this.injector=t,this.themeService=r,this.paymentService=i}ngOnInit(){this.formLoading=!0}ngAfterViewInit(){this.paymentService.getPaymentProviderPublicKey().pipe(so(t=>io(this.initForm(t))),Wn(()=>this.formLoading=!1)).subscribe(()=>{},t=>{this.alertCardErrors([t])})}onSaveCard(){this.formLoading=!0,this.setFormEnabledState(!1),this.stripe.createToken(this.cardNumberElement).then(({error:t,token:r})=>{this.formLoading=!1,r?this.onTokenRecieved(r):this.alertCardErrors([t]),this.formLoading=!1,this.setFormEnabledState(!0)},()=>{this.formLoading=!1})}initForm(t){var r=this;return(0,Ge.A)(function*(){r.stripe=Stripe(t);const i=r.stripe.elements(),s=r.getStylesForInputs(),u=i.create("cardNumber",{style:s}),p=i.create("cardExpiry",{style:s}),m=i.create("cardCvc",{style:s});u.mount("#card-number"),p.mount("#card-exp-date"),m.mount("#card-cvc"),yield Promise.all([r.createPromiseFromReadyEvent(u),r.createPromiseFromReadyEvent(p),r.createPromiseFromReadyEvent(m)]),r.cardNumberElement=u,r.cardExpiryElement=p,r.cardCVCElement=m})()}onTokenRecieved(t){this.onCardSuccess(t.id)}createPromiseFromReadyEvent(t){return new Promise(r=>{t.on("ready",i=>{r(i)})})}getStylesForInputs(){return{base:{fontSize:"14px",lineHeight:"22px",color:this.themeService.getPrimaryColorContrast()},invalid:{color:this.themeService.getDangerColor()}}}setFormEnabledState(t){const r={disabled:!t};this.cardNumberElement.update(r),this.cardCVCElement.update(r),this.cardExpiryElement.update(r)}static \u0275fac=function(r){return new(r||n)(N(Ht),N(r1),N(cs))};static \u0275cmp=je({type:n,selectors:[["app-stripe-card"]],features:[Dt],decls:11,vars:3,consts:[["color","primary",1,"ion-padding"],["type","indeterminate","color","secondary",4,"ngIf"],["id","form-container",1,"form-wrapper"],["id","card"],[1,"ion-margin-bottom"],["id","card-number",1,"stripe-input"],["id","card-exp-date",1,"stripe-input","ion-margin-end"],["id","card-cvc",1,"stripe-input","ion-margin-start"],["color","secondary","expand","block","type","submit",3,"click","disabled"],["type","indeterminate","color","secondary"]],template:function(r,i){1&r&&(I(0,"ion-card",0),se(1,lte,1,0,"ion-progress-bar",1),I(2,"div",2)(3,"form",3)(4,"ion-row",4),oe(5,"ion-col",5),E(),I(6,"ion-row",4),oe(7,"ion-col",6)(8,"ion-col",7),E(),I(9,"ion-button",8),re("click",function(){return i.onSaveCard()}),z(10),E()()()()),2&r&&(C(),P("ngIf",i.formLoading),C(8),P("disabled",i.formLoading||!i.termsAccepted),C(),Te(" ",i.getPayBtnText()," "))},dependencies:[Gt,vm,lm,Wg,on,Jn,Ni,ar,fi],styles:[".stripe-input[_ngcontent-%COMP%]{box-shadow:inset 0 -5px 2px -4px var(--ion-color-primary-shade);padding:10px;color:var(--ion-color-primary-contrast)!important}",".form-wrapper[_ngcontent-%COMP%]{min-height:160px;position:relative}.loader-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;height:160px}"]})}return n})();const dte=(n,o)=>({error:n,disabled:o}),gb=n=>({error:n});function ute(n,o){if(1&n&&(I(0,"ion-button",11),z(1),E()),2&n){const t=M();P("disabled",t.cardProcessing||!t.termsAccepted||t.cardForm.invalid),C(),Te(" ",t.getPayBtnText(),"")}}function gte(n,o){1&n&&oe(0,"ion-progress-bar",12)}let fP=(()=>{class n extends m1{injector;cardForm;cardNumberSeparator=" ";subscriptions;hideButton=!1;cardChanged=new $n;constructor(t){super(t),this.injector=t}get numberControl(){return this.cardForm.get("number")}get cvvControl(){return this.cardForm.get("cvv")}get dateControl(){return this.cardForm.get("date")}get nameControl(){return this.cardForm.get("name")}get zipControl(){return this.cardForm.get("zip")}ngOnInit(){this.initCardForm(),this.subscribeOnInputsChanges()}initCardForm(){this.cardForm=new fm({name:new pc("",[ss.required,ss.maxLength(100)]),number:new pc("",[ss.required,ss.minLength(19),ss.maxLength(19)]),cvv:new pc(null,[ss.required,ss.minLength(3),ss.maxLength(4)]),date:new pc("",[ss.required,ss.minLength(5),ss.maxLength(5),this.dateValidator()]),zip:new pc("",[ss.minLength(3),ss.maxLength(12)])})}subscribeOnInputsChanges(){this.subscriptions=[],this.subscriptions.push(this.numberControl.valueChanges.pipe(rn(t=>this.unmaskNumber(t))).subscribe(t=>{const r=this.maskNumber(t);this.numberControl.setValue(r,{emitEvent:!1}),this.notifyOnChange()})),this.subscriptions.push(this.dateControl.valueChanges.pipe(rn(t=>this.unmaskDate(t))).subscribe(t=>{const r=this.maskDate(t);this.dateControl.setValue(r,{emitEvent:!1}),this.notifyOnChange()})),this.subscriptions.push(this.nameControl.valueChanges.subscribe(()=>this.notifyOnChange())),this.subscriptions.push(this.cvvControl.valueChanges.subscribe(()=>this.notifyOnChange())),this.subscriptions.push(this.zipControl.valueChanges.subscribe(()=>this.notifyOnChange()))}notifyOnChange(){if(!this.cardChanged)return;const t=this.cardForm.valid,r={valid:t,card:t?this.createCardDetailsFromFormValue(this.cardForm.value):null};this.cardChanged.emit(r)}onSubmit(t){if(!this.cardForm.valid)return;const r=this.createCardDetailsFromFormValue(this.cardForm.value);this.onCardSuccess(r)}createCardDetailsFromFormValue(t){const[r,i]=t.date.split("/");return{number:this.unmaskNumber(t.number),cardHolderName:t.name,cvv:t.cvv,expMonth:r,expirationYear:i,zip:t.zip}}maskString(t,r){let i="",s=0;for(let u=0;u<r.length;u++)if(r[u]instanceof RegExp||!(s<t.length)){if(!(r[u]instanceof RegExp&&r[u].test(t[s])))break;i+=t[s++]}else i+=r[u];return i}maskNumber(t){return this.maskString(t,[/\d/,/\d/,/\d/,/\d/,this.cardNumberSeparator,/\d/,/\d/,/\d/,/\d/,this.cardNumberSeparator,/\d/,/\d/,/\d/,/\d/,this.cardNumberSeparator,/\d/,/\d/,/\d/,/\d/])}unmaskNumber(t){return t.replace(new RegExp(this.cardNumberSeparator,"g"),"")}maskDate(t){return this.maskString(t,[/\d/,/\d/,"/",/\d/,/\d/])}unmaskDate(t){return t.replace(new RegExp("/","g"),"")}dateValidator(){return t=>{const r=new Date,[i,s]=(t?.value).split("/").map(v=>parseInt(v,10)),u={dateValidation:!1};if(!i||!s)return u;const p=r.getFullYear()%100;return p<=s&&(r.getMonth()+1<=i||s>p)&&i<=12?null:u}}ngOnDestroy(){this.subscriptions.forEach(t=>t.unsubscribe())}static \u0275fac=function(r){return new(r||n)(N(Ht))};static \u0275cmp=je({type:n,selectors:[["app-sumup-card"]],inputs:{hideButton:"hideButton"},outputs:{cardChanged:"cardChanged"},features:[Dt],decls:18,vars:35,consts:[["color","primary",1,"screen-item"],[3,"submit","formGroup"],["color","primary"],["labelPlacement","stacked","formControlName","name",3,"ngClass","label","clearInput"],["labelPlacement","stacked","inputmode","decimal","formControlName","number","placeholder","1234 5678 8484 5454",3,"label","ngClass","clearInput"],["size","6"],["labelPlacement","stacked","inputmode","decimal","formControlName","date","placeholder","12/34",3,"label","clearInput"],["labelPlacement","stacked","inputmode","decimal","formControlName","cvv","placeholder","321","maxlength","3",3,"ngClass","label","clearInput"],["label","Postal code","labelPlacement","stacked","placeholder","01001","formControlName","zip",3,"ngClass","clearInput"],["color","secondary","expand","block","type","submit",3,"disabled",4,"ngIf"],["type","indeterminate","color","secondary",4,"ngIf"],["color","secondary","expand","block","type","submit",3,"disabled"],["type","indeterminate","color","secondary"]],template:function(r,i){1&r&&(I(0,"ion-card",0)(1,"ion-card-content")(2,"form",1),re("submit",function(u){return i.onSubmit(u)}),I(3,"ion-item",2),oe(4,"ion-input",3),E(),I(5,"ion-item",0),oe(6,"ion-input",4),E(),I(7,"ion-row")(8,"ion-col",5)(9,"ion-item",0),oe(10,"ion-input",6),E()(),I(11,"ion-col",5)(12,"ion-item",0),oe(13,"ion-input",7),E()()(),I(14,"ion-item",0),oe(15,"ion-input",8),E(),se(16,ute,2,2,"ion-button",9),E()()(),se(17,gte,1,0,"ion-progress-bar",10)),2&r&&(C(2),P("formGroup",i.cardForm),C(2),P("ngClass",O2(26,dte,i.nameControl.invalid&&i.nameControl.dirty,i.cardProcessing))("label",i.orgService.organization.settings.screens.newPaymentCard.cardHolderLabelText.value)("clearInput",!0),C(2),va("disabled",i.cardProcessing),P("label",i.orgService.organization.settings.screens.newPaymentCard.cardNumberLabelText.value)("ngClass",Lo(29,gb,i.numberControl.invalid&&i.numberControl.dirty))("clearInput",!0),C(4),va("disabled",i.cardProcessing)("error",i.dateControl.invalid&&i.dateControl.dirty),P("label",i.orgService.organization.settings.screens.newPaymentCard.dateLabelText.value)("clearInput",!0),C(3),va("disabled",i.cardProcessing),P("ngClass",Lo(31,gb,i.cvvControl.invalid&&i.cvvControl.dirty))("label",i.orgService.organization.settings.screens.newPaymentCard.CVCLabelText.value)("clearInput",!0),C(2),va("disabled",i.cardProcessing),P("ngClass",Lo(33,gb,i.zipControl.invalid&&i.zipControl.dirty))("clearInput",!0),C(),P("ngIf",!i.hideButton),C(),P("ngIf",i.cardProcessing))},dependencies:[Cs,Gt,vm,Xr,lm,ay,on,Jn,To,Ni,Ys,Dn,ar,fi,bi,ym,ty]})}return n})();function fte(n,o){1&n&&oe(0,"ion-progress-bar",13)}function pte(n,o){1&n&&oe(0,"app-square-card",14),2&n&&P("termsAccepted",M(2).termsAccepted)}function hte(n,o){1&n&&oe(0,"app-stripe-card",14),2&n&&P("termsAccepted",M(2).termsAccepted)}function mte(n,o){1&n&&oe(0,"app-sumup-card",14),2&n&&P("termsAccepted",M(2).termsAccepted)}function _te(n,o){if(1&n&&(I(0,"ion-card",9)(1,"ion-card-content")(2,"ion-text",10),z(3),E()()()),2&n){const t=M(2);C(3),Te(" ",t.orgService.organization.settings.screens.paymentCards.payLaterTermsText.value," ")}}function vte(n,o){if(1&n){const t=Me();Xo(0),I(1,"ion-header")(2,"ion-toolbar",1)(3,"ion-buttons",2)(4,"ion-button",3),re("click",function(){return le(t),ce(M().navCtrl.back())}),oe(5,"ion-icon",4),E()(),I(6,"ion-title"),z(7),E()(),oe(8,"app-smart-bar"),E(),I(9,"ion-content")(10,"ion-card",5),se(11,fte,1,0,"ion-progress-bar",6),E(),I(12,"div",7),se(13,pte,1,1,"app-square-card",8)(14,hte,1,1,"app-stripe-card",8)(15,mte,1,1,"app-sumup-card",8),E(),I(16,"ion-card",9)(17,"ion-card-content",10)(18,"app-terms-and-condition",11),re("accept",function(i){return le(t),ce(M().onAcceptTerms(i))}),E()()(),se(19,_te,4,1,"ion-card",12),E(),Zo()}if(2&n){const t=M();C(7),Re(t.orgService.organization.settings.screens.newPaymentCard.toolbarText.value),C(4),P("ngIf",t.formLoading),C(2),P("ngIf",t.currentPaymentProvider==t.enumService.PaymentProvider.SquareUp),C(),P("ngIf",t.currentPaymentProvider==t.enumService.PaymentProvider.Stripe),C(),P("ngIf",t.currentPaymentProvider==t.enumService.PaymentProvider.SumUp),C(4),P("ngIf",t.showTerms)}}let pP=(()=>{class n extends m1{injector;bookingService;paymentsService;enumService;cardLoading;currentPaymentProvider;get showTerms(){return this.bookingService.payTimeStateSelected===Lr.PayLater}constructor(t,r,i,s){super(t),this.injector=t,this.bookingService=r,this.paymentsService=i,this.enumService=s}ngOnInit(){this.setCuurentPaymentProvider()}onAcceptTerms(t){this.termsAccepted=t}setCuurentPaymentProvider(){this.formLoading=!0,this.paymentsService.getPaymentProviderEnum().pipe(Wn(()=>this.formLoading=!1)).subscribe(t=>{this.currentPaymentProvider=t},t=>{this.networkError(),this.navCtrl.back()})}static \u0275fac=function(r){return new(r||n)(N(Ht),N(qn),N(cs),N(kl))};static \u0275cmp=je({type:n,selectors:[["app-new-card"]],features:[Dt],decls:1,vars:1,consts:[[4,"ngIf"],["color","secondary",1,"mobile-item"],["slot","start"],[3,"click"],["name","arrow-back"],["color","primary"],["type","indeterminate","color","secondary",4,"ngIf"],[1,"screen-item"],[3,"termsAccepted",4,"ngIf"],["color","warning",1,"screen-item"],[1,"warning-text"],[3,"accept"],["class","screen-item","color","warning",4,"ngIf"],["type","indeterminate","color","secondary"],[3,"termsAccepted"]],template:function(r,i){1&r&&se(0,vte,20,6,"ng-container",0),2&r&&P("ngIf",i.orgService.organization&&i.orgService.organization.settings)},dependencies:[Gt,on,Ln,Jn,To,Sn,En,un,ar,Ks,An,In,Uo,rte,ate,cte,fP],styles:[".form-wrapper[_ngcontent-%COMP%]{min-height:160px;position:relative}.loader-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;height:160px}"]})}return n})();function yte(n,o){1&n&&oe(0,"ion-progress-bar",14)}function bte(n,o){if(1&n){const t=Me();I(0,"app-payment-card",15),re("select",function(){const i=le(t).$implicit;return ce(M(2).onPayWithCard(i))})("delete",function(i){const s=le(t).$implicit;return ce(M(2).onConfirmDeleteCard(i,s))}),E()}if(2&n){const t=o.$implicit,r=M(2);P("card",t)("isPlaceholderToAdd",!1)("disabled",r.cardsLoading)}}function Ste(n,o){if(1&n&&(I(0,"ion-card",16)(1,"ion-card-content")(2,"ion-text",17),z(3),E()()()),2&n){const t=M(2);C(3),Te(" ",t.orgService.organization.settings.screens.paymentCards.payLaterTermsText.value," ")}}function Cte(n,o){if(1&n){const t=Me();I(0,"ion-button",18),re("click",function(){le(t);const i=M(2);return ce(i.onPayWithCard(i.cards[0]))}),z(1),E()}if(2&n){const t=M(2);P("disabled",t.loadingBooking),C(),Re(t.orgService.organization.settings.screens.paymentCards.toCheckoutButtonText.value)}}function Tte(n,o){if(1&n){const t=Me();Xo(0),I(1,"ion-header")(2,"ion-toolbar",1)(3,"ion-buttons",2)(4,"ion-button",3),re("click",function(){return le(t),ce(M().navigateBack())}),oe(5,"ion-icon",4),E()(),I(6,"ion-buttons",5)(7,"ion-button",3),re("click",function(){return le(t),ce(M().onAddCard())}),oe(8,"ion-icon",6),E()(),I(9,"ion-title"),z(10),E()(),oe(11,"app-smart-bar"),E(),se(12,yte,1,0,"ion-progress-bar",7),I(13,"ion-content")(14,"ion-list",8)(15,"div",9),se(16,bte,1,3,"app-payment-card",10),E(),I(17,"div",9)(18,"app-payment-card",11),re("click",function(){return le(t),ce(M().onAddCard())}),E()(),se(19,Ste,4,1,"ion-card",12),E()(),I(20,"ion-footer"),se(21,Cte,2,2,"ion-button",13),E(),Zo()}if(2&n){const t=M();C(10),Re(t.orgService.organization.settings.screens.paymentCards.toolbarText.value),C(2),P("ngIf",t.cardsLoading),C(4),P("ngForOf",t.cards),C(2),P("isPlaceholderToAdd",!0)("disabled",t.cardsLoading),C(),P("ngIf",t.showTerms),C(2),P("ngIf",t.cards&&t.cards.length)}}let wte=(()=>{class n extends Nn{injector;bookingService;paymentsService;router;cardsLoading;cards=[];isOrder;navigationSubscription;constructor(t,r,i,s){super(t),this.injector=t,this.bookingService=r,this.paymentsService=i,this.router=s}get showTerms(){return!this.isOrder&&this.bookingService.payTimeStateSelected===Lr.PayLater}ngOnInit(){this.isOrder=this.router.getCurrentNavigation().extras.state?.isOrder,!this.isOrder&&null==this.bookingService.payTimeStateSelected&&!this.bookingService.bookingIdToCancel&&this.navCtrl.back(),this.loadCards(),this.navigationSubscription=this.router.events.subscribe(t=>{t instanceof Ea&&this.loadCards()})}loadCards(){this.cardsLoading=!0;let t=null;this.isOrder||(t=this.injector.get(qn).getBarberId()),this.paymentsService.getAllUserCards(t).subscribe(r=>{this.cards=r,this.cardsLoading=!1},r=>{this.cardsLoading=!1,this.networkError(),this.navigateBack()})}onConfirmDeleteCard(t,r){var i=this;return(0,Ge.A)(function*(){i.cardsLoading||(yield i.showConfirmPopUp(t,i.orgService.organization.settings.screens.deleteCardConfirmMenu.questionText.value,"",i.orgService.organization.settings.screens.deleteCardConfirmMenu.yesBtn.value,i.orgService.organization.settings.screens.deleteCardConfirmMenu.noBtn.value))&&i.onDeleteCard(r.cardId)})()}onDeleteCard(t){this.cardsLoading=!0,this.paymentsService.deleteCard(t).subscribe(r=>{this.loadCards()},r=>{this.networkError(),this.cardsLoading=!1})}onPayWithCard(t){this.paymentsService.updateSource(t),this.isOrder?this.navCtrl.navigateForward("payment-summary-order"):this.bookingService.bookingIdToCancel?this.navCtrl.pop():this.navCtrl.navigateForward("payment-summary")}onAddCard(){this.navCtrl.navigateForward("payment-cards/new",{state:{isOrder:this.isOrder}})}navigateBack(){this.navCtrl.navigateBack(!this.isOrder&&this.bookingService.bookingIdToCancel?"cancel":this.isOrder?"order":"booking")}ngOnDestroy(){this.navigationSubscription.unsubscribe()}static \u0275fac=function(r){return new(r||n)(N(Ht),N(qn),N(cs),N(Qo))};static \u0275cmp=je({type:n,selectors:[["app-payment-cards"]],features:[Dt],decls:1,vars:1,consts:[[4,"ngIf"],["color","secondary",1,"mobile-item"],["slot","start"],[3,"click"],["name","arrow-back"],["slot","end"],["name","add"],["type","indeterminate","color","secondary",4,"ngIf"],[1,"screen-item","justify-content-center"],[1,"pointer"],[3,"card","isPlaceholderToAdd","disabled","select","delete",4,"ngFor","ngForOf"],[3,"click","isPlaceholderToAdd","disabled"],["class","screen-item","color","warning",4,"ngIf"],["color","success","expand","full","type","submit",3,"disabled","click",4,"ngIf"],["type","indeterminate","color","secondary"],[3,"select","delete","card","isPlaceholderToAdd","disabled"],["color","warning",1,"screen-item"],[1,"warning-text"],["color","success","expand","full","type","submit",3,"click","disabled"]],template:function(r,i){1&r&&se(0,Tte,22,7,"ng-container",0),2&r&&P("ngIf",i.orgService.organization&&i.orgService.organization.settings)},dependencies:[fo,Gt,on,Ln,Jn,To,Sn,hf,En,un,Bo,ar,Ks,An,In,Uo,u1]})}return n})();class Ete{id;paymentProviderId;amount;operationTime;status;type;transactionId;nextStep;statusMessage;target}var fb=function(n){return n[n.Booking=0]="Booking",n[n.Order=1]="Order",n}(fb||{});function Ite(n,o){if(1&n&&(I(0,"ion-item",4),oe(1,"ion-icon",5),I(2,"ion-card-header")(3,"ion-card-title"),z(4),E(),I(5,"ion-card-subtitle"),z(6),E()()()),2&n){const t=M(3);C(4),Re(t.orgService.organization.settings.screens.paymentConfirm.successTitleText.value),C(2),Re(t.orgService.organization.settings.screens.paymentConfirm.successSubTitleText.value)}}function Dte(n,o){if(1&n&&(I(0,"ion-item",4),oe(1,"ion-icon",6),I(2,"ion-card-header")(3,"ion-card-title"),z(4),E(),I(5,"ion-card-subtitle"),z(6),E()()()),2&n){const t=M(3);C(4),Re(t.orgService.organization.settings.screens.paymentConfirm.errorTitleText.value),C(2),Re(t.payment.statusMessage)}}function Pte(n,o){if(1&n){const t=Me();I(0,"div"),se(1,Ite,7,2,"ion-item",2)(2,Dte,7,2,"ion-item",2),I(3,"ion-button",3),re("click",function(){return le(t),ce(M(2).onOkClicked())}),z(4),E()()}if(2&n){const t=M(2);C(),P("ngIf",t.isSuccess),C(),P("ngIf",!t.isSuccess),C(2),Re(t.orgService.organization.settings.screens.paymentConfirm.okButtonText.value)}}function Mte(n,o){if(1&n&&(Xo(0),I(1,"ion-header")(2,"ion-toolbar",1)(3,"ion-title"),z(4),E()(),oe(5,"app-smart-bar"),E(),I(6,"ion-content"),se(7,Pte,5,3,"div",0),E(),Zo()),2&n){const t=M();C(4),Re(t.orgService.organization.settings.screens.paymentConfirm.toolbarText.value),C(3),P("ngIf",t.payment&&!t.isRequest)}}let $te=(()=>{class n{route;orgService;paymentsService;accountService;nav;platform;alertService;loadingCtrl;ready=!1;paymentId;isRequest=!1;isAuthorization=!1;payment;payload;target;loader;constructor(t,r,i,s,u,p,m,v){this.route=t,this.orgService=r,this.paymentsService=i,this.accountService=s,this.nav=u,this.platform=p,this.alertService=m,this.loadingCtrl=v}ngOnInit(){this.orgService.organization?this.processParams():this.orgService.get().subscribe(t=>{this.orgService.initSettings(t),this.processParams()})}processParams(){this.route.queryParams.subscribe(t=>{this.paymentId=t.paymentId,this.isRequest=t.isRequest??!1,this.isAuthorization=t.isAuthorization??!1;const r=t.token?decodeURIComponent(t.token):null;if(this.isRequest){if(!this.paymentId||!r)return void this.failThePayment("PaymentId or token is null");this.showLoading(),this.accountService.setUserToken(r).subscribe(()=>{this.accountService.getCurrentUserFromAPi().subscribe(i=>{this.accountService.setUser(i).subscribe(()=>{this.paymentsService.getPayment(this.paymentId).subscribe(s=>{this.payment=s,this.ready=!0,this.platform.is("mobile")&&!this.platform.is("mobileweb")?this.upateCheckoutStatus():this.processWithWeb(this.payment.nextStep)},s=>this.failThePayment(this.getErrorMessage(s,"Error getting payment")))},()=>{this.showLoading()})},i=>{this.failThePayment(this.getErrorMessage(i,"Error getting user"))},()=>{this.showLoading()})},()=>{this.showLoading()})}else{if(!this.paymentId)return void this.failThePayment("PaymentId or token is null");this.ready=!0,this.showLoading(),this.upateCheckoutStatus()}})}upateCheckoutStatus(){this.paymentsService.getCheckout(this.paymentId,this.isAuthorization).subscribe(t=>{t.status!=Ol.InProgress&&t.status!=Ol.Pending&&t.status!=Ol.Security?(this.hideLoading(),this.payment=t,this.isAuthorization&&this.onOkClicked()):setTimeout(()=>this.upateCheckoutStatus(),3e3)},t=>{this.hideLoading(),this.payment=new Ete,this.payment.status=Ol.Failed,this.payment.target=fb.Booking,this.payment.statusMessage=this.getErrorMessage(t,"Payment failed")})}get isSuccess(){return this.payment?.status==Ol.Successful}showLoading(){var t=this;return(0,Ge.A)(function*(){t.loader||(t.loader=yield t.loadingCtrl.create({cssClass:"custom-loading"}),t.loader.present())})()}hideLoading(){var t=this;return(0,Ge.A)(function*(){t.loader?.dismiss(),t.loader=null})()}processWithWeb(t){if(t){let r=document.createElement("form");r.setAttribute("method",t.method),r.setAttribute("action",t.bankUrl),this.payment.nextStep.payload&&(this.payload=Object.keys(this.payment.nextStep.payload).map(i=>({key:i,value:this.payment.nextStep.payload[i]})),this.payload.forEach(i=>{let s=document.createElement("input");s.type="hidden",s.name=i.key,s.value=i.value,r.appendChild(s)})),document.body.appendChild(r),r.submit()}}failThePayment(t){var r=this;return(0,Ge.A)(function*(){r.hideLoading();const i=yield r.alertService.create({header:"Error",subHeader:t,buttons:["OK"]});yield i.present(),i.onDidDismiss().then(()=>r.nav.navigateForward(""))})()}onOkClicked(){if(this.payment.status==Ol.Successful)return this.payment.target==fb.Booking?void this.nav.navigateForward("saved"):void this.nav.navigateForward("orders");this.nav.navigateForward("")}getErrorMessage(t,r){return t?.error?.message??r??"Network error"}static \u0275fac=function(r){return new(r||n)(N(dr),N(ei),N(cs),N(gr),N(Za),N(Dl),N(_f),N(Ky))};static \u0275cmp=je({type:n,selectors:[["app-payment-confirm"]],decls:1,vars:1,consts:[[4,"ngIf"],["color","secondary",1,"mobile-item"],["color","primary",4,"ngIf"],["color","secondary","expand","full",3,"click"],["color","primary"],["slot","start","size","large","name","success"],["slot","start","size","large","name","error"]],template:function(r,i){1&r&&se(0,Mte,8,2,"ng-container",0),2&r&&P("ngIf",i.orgService&&i.orgService.organization&&i.orgService.organization.settings)},dependencies:[Gt,on,oo,gi,lo,Sn,En,un,Dn,An,In,Uo]})}return n})();function Ate(n,o){1&n&&oe(0,"ion-progress-bar",11)}function Nte(n,o){if(1&n&&(I(0,"ion-card-title",12),z(1),E()),2&n){const t=M(2);C(),Te(" ",t.orgService.organization.settings.screens.paymentSummary.paymentMethodText.value," ")}}function xte(n,o){if(1&n){const t=Me();I(0,"app-payment-card",13),re("click",function(){return le(t),ce(M(2).onCardClick())}),E()}2&n&&P("card",M(2).paymentsService.getSource())("canDelete",!1)("canSelect",!1)("contrast",!0)}function Ote(n,o){if(1&n){const t=Me();Xo(0),I(1,"ion-header")(2,"ion-toolbar",1)(3,"ion-buttons",2)(4,"ion-button",3),re("click",function(){return le(t),ce(M().navigateBack())}),oe(5,"ion-icon",4),E()(),I(6,"ion-title"),z(7),E()(),oe(8,"app-smart-bar"),E(),I(9,"ion-content")(10,"ion-card",5),se(11,Ate,1,0,"ion-progress-bar",6),I(12,"ion-card-header")(13,"ion-card-title"),z(14),E()(),I(15,"ion-card-content")(16,"ion-row")(17,"ion-col"),z(18),E(),I(19,"ion-col"),z(20),Go(21,"currency"),E()(),se(22,Nte,2,1,"ion-card-title",7),I(23,"div",8),se(24,xte,1,4,"app-payment-card",9),E(),I(25,"ion-button",10),re("click",function(i){return le(t),ce(M().pay(i))}),z(26,"Pay"),E()()()(),Zo()}if(2&n){const t=M();C(7),Re(t.orgService.organization.settings.screens.paymentSummary.toolbarText.value),C(4),P("ngIf",t.loadingOrder),C(3),Te(" ",t.orgService.organization.settings.screens.paymentSummary.summaryText.value," "),C(4),Re(t.orgService.organization.settings.screens.paymentSummary.totalPriceText.value),C(2),Re(xr(21,8,t.ordersService.order.totalPrice,"","")),C(2),P("ngIf",t.showCard),C(2),P("ngIf",t.showCard),C(),P("disabled",t.loadingBooking)}}let kte=(()=>{class n extends Nn{injector;paymentsService;ordersService;accountService;loadingOrder;get showCard(){return!!this.paymentsService.getSource()}constructor(t,r,i,s){super(t),this.injector=t,this.paymentsService=r,this.ordersService=i,this.accountService=s}ngOnInit(){this.ordersService.order||this.navCtrl.back()}pay(t){var r=this;return(0,Ge.A)(function*(){r.loadingOrder||(t=r.raiseCoordsForMouseEvent(t),(yield r.showConfirmPopUp(t,r.orgService.organization.settings.screens.selectCardConfirmMenu.questionText.value,"",r.orgService.organization.settings.screens.selectCardConfirmMenu.yesBtn.value,r.orgService.organization.settings.screens.selectCardConfirmMenu.noBtn.value))&&r.onPay())})()}raiseCoordsForMouseEvent(t){return{...t,screenY:t.screenY-100}}onPay(){this.loadingOrder=!0,this.accountService.getCustomer().subscribe(t=>{this.ordersService.updateCustomer(t),this.ordersService.setDraft(),this.ordersService.saveOrder().pipe(so(r=>{if(!r.isSuccess)return this.loadingOrder=!1,mc(r);const i={amount:this.ordersService.order.totalPrice,orderId:r.id,sourceId:this.paymentsService.getSource().cardId};return this.paymentsService.createOrderPayment(i)})).subscribe(r=>{this.loadingOrder=!1,this.onPaySuccess()},r=>{this.loadingOrder=!1,this.onPayError(r.error.message||r.error)},()=>{this.loadingOrder=!1})})}onPaySuccess(){this.navCtrl.navigateRoot("confirmation")}onPayError(t){this.presentAlert("Payment error",t),this.loadingOrder=!1}onCardClick(){this.loadingOrder||this.navCtrl.navigateBack("payment-cards")}navigateBack(){this.navCtrl.navigateBack("order")}static \u0275fac=function(r){return new(r||n)(N(Ht),N(cs),N(Is),N(gr))};static \u0275cmp=je({type:n,selectors:[["app-payment-summary-order"]],features:[Dt],decls:1,vars:1,consts:[[4,"ngIf"],["color","secondary",1,"mobile-item"],["slot","start"],[3,"click"],["name","arrow-back"],["color","primary",1,"screen-item"],["type","indeterminate","color","secondary",4,"ngIf"],["class","ion-padding-top ion-padding-bottom",4,"ngIf"],[1,"ion-margin-bottom","pointer"],[3,"card","canDelete","canSelect","contrast","click",4,"ngIf"],["color","success","expand","full","type","submit",3,"click","disabled"],["type","indeterminate","color","secondary"],[1,"ion-padding-top","ion-padding-bottom"],[3,"click","card","canDelete","canSelect","contrast"]],template:function(r,i){1&r&&se(0,Ote,27,12,"ng-container",0),2&r&&P("ngIf",i.orgService&&i.orgService.organization&&i.orgService.organization.settings)},dependencies:[Gt,on,Ln,Jn,To,oo,lo,Ni,Sn,En,un,ar,fi,An,In,Uo,u1,Ts]})}return n})();class Rte{valid;card}function Lte(n,o){1&n&&oe(0,"ion-progress-bar",11)}function Fte(n,o){if(1&n&&(I(0,"ion-row")(1,"ion-col"),z(2),E(),I(3,"ion-col"),z(4),Go(5,"currency"),E()()),2&n){const t=M(2);C(2),Re(t.orgService.organization.settings.screens.paymentSummary.servicesPriceText.value),C(2),Re(xr(5,2,t.bookingService.getFullServicesPrice(),"",""))}}function Bte(n,o){if(1&n&&(I(0,"ion-row")(1,"ion-col"),z(2),E(),I(3,"ion-col"),z(4),Go(5,"currency"),E()()),2&n){const t=M(2);C(2),Re(t.orgService.organization.settings.screens.paymentSummary.tipsText.value),C(2),Re(xr(5,2,t.paymentsService.getTips(),"",""))}}function Ute(n,o){if(1&n&&(I(0,"ion-row")(1,"ion-col"),z(2),E(),I(3,"ion-col"),z(4),E()()),2&n){const t=M(2);C(2),Te("",t.orgService.organization.settings.screens.paymentSummary.depositText.value,":"),C(2),Te("",t.bookingService.provider.bookingPaymentSettings.depositSizePercentages,"%")}}function zte(n,o){if(1&n&&(I(0,"ion-row")(1,"ion-col"),z(2),E(),I(3,"ion-col")(4,"b"),z(5),Go(6,"currency"),E()()()),2&n){const t=M(2);C(2),Te("",t.orgService.organization.settings.screens.paymentSummary.toPayNowText.value,":"),C(3),Re(xr(6,2,t.getDepositToPay(),"",""))}}function Vte(n,o){if(1&n){const t=Me();I(0,"div",12)(1,"app-sumup-card",13),re("cardChanged",function(i){return le(t),ce(M(2).cardDataChanged(i))}),E()()}2&n&&(C(),P("termsAccepted",!0)("hideButton",!0))}function Hte(n,o){if(1&n){const t=Me();I(0,"div",12)(1,"app-payment-card",14),re("delete",function(i){le(t);const s=M(2);return ce(s.onConfirmDeleteCard(i,s.getCard))}),E()()}if(2&n){const t=M(2);C(),P("card",t.getCard)("canDelete",!0)("canSelect",!1)("contrast",!0)}}function jte(n,o){if(1&n){const t=Me();I(0,"ion-button",15),re("click",function(i){return le(t),ce(M(2).onSubmitClick(i))}),z(1),E()}if(2&n){const t=M(2);P("disabled",!(t.getCard||null!=t.cardInputData&&t.cardInputData.valid)),C(),Re(t.getPayBtnText())}}function Gte(n,o){if(1&n&&(I(0,"ion-card",16)(1,"ion-card-content")(2,"ion-text",17),z(3),E()()()),2&n){const t=M(2);C(3),Te(" ",t.orgService.organization.settings.screens.paymentSummary.payLaterTermsText.value," ")}}function Wte(n,o){if(1&n){const t=Me();Xo(0),I(1,"ion-header")(2,"ion-toolbar",1)(3,"ion-buttons",2)(4,"ion-button",3),re("click",function(){return le(t),ce(M().navigateBack())}),oe(5,"ion-icon",4),E()(),I(6,"ion-title"),z(7),E()(),oe(8,"app-smart-bar"),E(),I(9,"ion-content")(10,"ion-card",5),se(11,Lte,1,0,"ion-progress-bar",6),I(12,"ion-card-header")(13,"ion-card-title"),z(14),E()(),I(15,"ion-card-content")(16,"ion-row")(17,"ion-col"),z(18),E(),I(19,"ion-col"),z(20),E()(),se(21,Fte,6,6,"ion-row",0)(22,Bte,6,6,"ion-row",0),I(23,"ion-row")(24,"ion-col"),z(25),E(),I(26,"ion-col"),z(27),Go(28,"currency"),E()(),se(29,Ute,5,2,"ion-row",0)(30,zte,7,6,"ion-row",0),E()(),se(31,Vte,2,2,"div",7)(32,Hte,2,4,"div",7),I(33,"div",8),se(34,jte,2,2,"ion-button",9),E(),se(35,Gte,4,1,"ion-card",10),E(),Zo()}if(2&n){const t=M();C(7),Re(t.orgService.organization.settings.screens.paymentSummary.toolbarText.value),C(4),P("ngIf",t.loadingBooking),C(3),Te(" ",t.orgService.organization.settings.screens.paymentSummary.summaryText.value," "),C(4),Re(t.orgService.organization.settings.screens.paymentSummary.servicesText.value),C(2),Re(t.getServicesNames()),C(),P("ngIf",t.paymentsService.getTips()),C(),P("ngIf",t.paymentsService.getTips()),C(3),Re(t.orgService.organization.settings.screens.paymentSummary.totalPriceText.value),C(2),Re(xr(28,15,t.getTotal(),"","")),C(2),P("ngIf",t.isDeposit),C(),P("ngIf",t.isDeposit),C(),P("ngIf",t.showCardInput),C(),P("ngIf",!t.showCardInput),C(2),P("ngIf",!t.loadingBooking),C(),P("ngIf",t.showTerms)}}let qte=(()=>{class n extends Nn{injector;paymentsService;bookingService;accountService;platform;loadingBooking=!1;get showTerms(){return this.bookingService.payTimeStateSelected===Lr.PayLater}get isDeposit(){return!!this.bookingService.booking&&!!this.bookingService.provider&&this.bookingService.provider.bookingPaymentSettings.paymentPolicy===Lr.PayNow&&this.bookingService.provider.bookingPaymentSettings.depositSizePercentages>0&&this.bookingService.provider.bookingPaymentSettings.depositSizePercentages<100}showCardInput;bookingIsCreated;get getCard(){return this.paymentsService.getSource()}cardInputData;constructor(t,r,i,s,u){super(t),this.injector=t,this.paymentsService=r,this.bookingService=i,this.accountService=s,this.platform=u}ngOnInit(){this.cardInputData=new Rte,this.showCardInput=!this.paymentsService.getSource(),(!this.bookingService.booking||!this.bookingService.booking.services.length)&&this.navCtrl.back()}getDepositToPay(){const t=this.bookingService.getFullServicesPrice();let r=Math.round(t*this.bookingService.provider.bookingPaymentSettings.depositSizePercentages)/100;return r<1&&(r=1),r}getTotal(){return this.bookingService.getFullServicesPrice()+this.paymentsService.getTips()}getServicesNames(){return this.bookingService.booking&&this.bookingService.booking.services?this.bookingService.booking.services.map(t=>t.name).join(", "):""}getPayBtnText(){const t=this.orgService.organization,r=this.bookingService.payTimeStateSelected;return this.bookingService.booking&&this.bookingService.booking.id?t.settings.screens.paymentSummary.payBtn.value:r===Lr.PayLater?t.settings.screens.paymentSummary.bookBtn.value:r===Lr.PayNow?t.settings.screens.paymentSummary.payAndBookBtn.value:""}cardDataChanged(t){this.cardInputData=t}onSubmitClick(t){const r=this.cardInputData?.valid&&!!this.cardInputData.card,i=this.bookingService.payTimeStateSelected;if(i===Lr.PayLater){if(r)return void this.onPayLaterWithNewCard();this.onPayLater()}else i===Lr.PayNow&&this.onConfirmPayNow(t,r)}onPayLater(){this.loadingBooking=!0,this.showLoading(),this.accountService.getCustomer().subscribe(t=>{this.bookingService.updateCustomer(t),this.bookingService.saveBooking().subscribe(r=>{this.hideLoading(),r.succeded?this.onPaySuccess():this.presentAlert("Error",r.error)},r=>{this.loadingBooking=!1,this.hideLoading(),this.presentAlert("Error",r.error.message||"Try again later").then(()=>{this.navCtrl.navigateRoot("")})})})}onPayLaterWithNewCard(){this.showLoading();const t=!this.bookingService.booking.id;this.ensureBookingExists().subscribe(r=>this.paymentsService.createPayment({amount:1,bookingId:r.bookingId,sourceId:null,tip:null,card:this.cardInputData.card,isAuthorization:!0}).subscribe(s=>{this.hideLoading(),s.nextStep?this.navigateTo3DSPage(s,!0):this.onPaySuccess()},s=>{this.hideLoading(),t&&(this.bookingService.booking.id=null),this.onPayError(s.error.message||s.error)}))}onConfirmPayNow(t,r){this.loadingBooking||this.showConfirmPopUp(t,this.orgService.organization.settings.screens.selectCardConfirmMenu.questionText.value,"",this.orgService.organization.settings.screens.selectCardConfirmMenu.yesBtn.value,this.orgService.organization.settings.screens.selectCardConfirmMenu.noBtn.value).then(i=>{i&&this.onPayNow(r)})}onPayNow(t){this.showLoading();const r=!this.bookingService.booking.id;this.ensureBookingExists().subscribe(i=>{const u={amount:this.isDeposit?this.getDepositToPay():this.bookingService.getFullServicesPrice(),bookingId:i.bookingId,sourceId:t?null:this.paymentsService.getSource().cardId,tip:this.paymentsService.getTips()||null,card:this.cardInputData.card,isAuthorization:!1};return this.paymentsService.createPayment(u).subscribe(p=>{this.hideLoading(),p.nextStep?this.navigateTo3DSPage(p,!1):this.onPaySuccess()},p=>{r&&(this.bookingService.booking.id=null),this.hideLoading(),this.onPayError(p.error.message||p.error)})})}ensureBookingExists(){return this.bookingService.booking.id?this.bookingService.getBooking(this.bookingService.booking.id).pipe(so(t=>t?jt({bookingId:t.id}):this.createBookingDraft()),Jr(t=>this.createBookingDraft())):this.createBookingDraft()}createBookingDraft(){return this.accountService.getCustomer().pipe(so(t=>(this.bookingService.updateCustomer(t),this.bookingService.booking.isDraft=!0,this.bookingService.saveBooking().pipe(so(r=>r.succeded?jt({bookingId:r.id}):(this.hideLoading(),mc(r)))))))}navigateTo3DSPage(t,r){this.accountService.getToken().subscribe(i=>{const s=encodeURIComponent(i),u=this.platform.is("mobile")&&!this.platform.is("mobileweb");u&&wf.open({url:"https://"+this.orgService.organization.tenant+".barberly.mobi/payment-confirm?isRequest=true&paymentId="+t.id+"&token="+s+"&isAuthorization="+r}),this.navCtrl.navigateRoot("payment-confirm",{queryParams:{paymentId:t.id,isRequest:!u,token:s,isAuthorization:r}})})}onPaySuccess(){this.navCtrl.navigateRoot("saved")}onPayError(t){this.presentAlert("Operation failed",t),this.loadingBooking=!1}navigateBack(){this.navCtrl.navigateBack("booking")}onConfirmDeleteCard(t,r){var i=this;return(0,Ge.A)(function*(){(yield i.showConfirmPopUp(t,i.orgService.organization.settings.screens.deleteCardConfirmMenu.questionText.value,"",i.orgService.organization.settings.screens.deleteCardConfirmMenu.yesBtn.value,i.orgService.organization.settings.screens.deleteCardConfirmMenu.noBtn.value))&&i.onDeleteCard(r.cardId)})()}onDeleteCard(t){this.showLoading().then(()=>{this.paymentsService.deleteCard(t).subscribe(()=>{this.hideLoading(),this.paymentsService.updateSource(null),this.paymentsService.getPaymentProviderEnum().subscribe(r=>{const i=r==xl.SumUp;this.showCardInput=i,!i&&this.navigateBack()},()=>{this.navigateBack()})},()=>this.hideLoading())})}static \u0275fac=function(r){return new(r||n)(N(Ht),N(cs),N(qn),N(gr),N(Dl))};static \u0275cmp=je({type:n,selectors:[["app-payment-summary"]],features:[Dt],decls:1,vars:1,consts:[[4,"ngIf"],["color","secondary",1,"mobile-item"],["slot","start"],[3,"click"],["name","arrow-back"],["color","primary",1,"screen-item"],["type","indeterminate","color","primary",4,"ngIf"],["class","screen-item",4,"ngIf"],[1,"ion-text-center"],["class","screen-item","color","success","type","submit",3,"disabled","click",4,"ngIf"],["class","screen-item","color","warning",4,"ngIf"],["type","indeterminate","color","primary"],[1,"screen-item"],[3,"cardChanged","termsAccepted","hideButton"],[3,"delete","card","canDelete","canSelect","contrast"],["color","success","type","submit",1,"screen-item",3,"click","disabled"],["color","warning",1,"screen-item"],[1,"warning-text"]],template:function(r,i){1&r&&se(0,Wte,36,19,"ng-container",0),2&r&&P("ngIf",i.orgService&&i.orgService.organization&&i.orgService.organization.settings)},dependencies:[Gt,on,Ln,Jn,To,oo,lo,Ni,Sn,En,un,ar,fi,Ks,An,In,fP,Uo,u1,Ts]})}return n})();function Yte(n,o){if(1&n&&(I(0,"ion-header")(1,"ion-toolbar",2)(2,"ion-title"),z(3),E()(),oe(4,"app-smart-bar"),E()),2&n){const t=M();C(3),Re(t.orgService.organization.settings.screens.orderSaved.toolbarText.value)}}function Kte(n,o){if(1&n){const t=Me();I(0,"ion-content",3)(1,"ion-card",4)(2,"ion-card-header",5)(3,"ion-card-title"),z(4),E()(),I(5,"ion-card-content",5)(6,"ion-card-subtitle"),z(7),E()(),I(8,"ion-card-content")(9,"ion-button",6),re("click",function(){return le(t),ce(M().navCtrl.navigateRoot("orders"))}),z(10),E()()()()}if(2&n){const t=M();C(4),Re(t.orgService.organization.settings.screens.orderSaved.savedTitle.value),C(3),Re(t.orgService.organization.settings.screens.orderSaved.savedSubTitle.value),C(3),Re(t.orgService.organization.settings.screens.orderSaved.savedBtnText.value)}}let Xte=(()=>{class n extends Nn{injector;ordersService;constructor(t,r){super(t),this.injector=t,this.ordersService=r}ngOnInit(){this.ordersService.voidOrder()}static \u0275fac=function(r){return new(r||n)(N(Ht),N(Is))};static \u0275cmp=je({type:n,selectors:[["app-confirmation"]],features:[Dt],decls:2,vars:2,consts:[[4,"ngIf"],["padding-top","",4,"ngIf"],["color","secondary",1,"mobile-item"],["padding-top",""],["color","primary",1,"screen-item"],[1,"center"],["expand","block","color","secondary",3,"click"]],template:function(r,i){1&r&&se(0,Yte,5,1,"ion-header",0)(1,Kte,11,3,"ion-content",1),2&r&&(P("ngIf",i.orgService.organization&&i.orgService.organization.settings&&i.orgService.organization.settings.screens),C(),P("ngIf",i.orgService.organization&&i.orgService.organization.settings&&i.orgService.organization.settings.screens))},dependencies:[Gt,on,Jn,To,oo,gi,lo,Sn,En,An,In,Uo]})}return n})();class Zte extends Wt{constructor(o,t){super()}schedule(o,t=0){return this}}const _1={setInterval(n,o,...t){const{delegate:r}=_1;return r?.setInterval?r.setInterval(n,o,...t):setInterval(n,o,...t)},clearInterval(n){const{delegate:o}=_1;return(o?.clearInterval||clearInterval)(n)},delegate:void 0},hP={now:()=>(hP.delegate||Date).now(),delegate:void 0};class Ef{constructor(o,t=Ef.now){this.schedulerActionCtor=o,this.now=t}schedule(o,t=0,r){return new this.schedulerActionCtor(this,o).schedule(r,t)}}Ef.now=hP.now;const mP=new class Jte extends Ef{constructor(o,t=Ef.now){super(o,t),this.actions=[],this._active=!1}flush(o){const{actions:t}=this;if(this._active)return void t.push(o);let r;this._active=!0;do{if(r=o.execute(o.state,o.delay))break}while(o=t.shift());if(this._active=!1,r){for(;o=t.shift();)o.unsubscribe();throw r}}}(class Qte extends Zte{constructor(o,t){super(o,t),this.scheduler=o,this.work=t,this.pending=!1}schedule(o,t=0){var r;if(this.closed)return this;this.state=o;const i=this.id,s=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(s,i,t)),this.pending=!0,this.delay=t,this.id=null!==(r=this.id)&&void 0!==r?r:this.requestAsyncId(s,this.id,t),this}requestAsyncId(o,t,r=0){return _1.setInterval(o.flush.bind(o,this),r)}recycleAsyncId(o,t,r=0){if(null!=r&&this.delay===r&&!1===this.pending)return t;null!=t&&_1.clearInterval(t)}execute(o,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const r=this._execute(o,t);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(o,t){let i,r=!1;try{this.work(o)}catch(s){r=!0,i=s||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),i}unsubscribe(){if(!this.closed){const{id:o,scheduler:t}=this,{actions:r}=t;this.work=this.state=this.scheduler=null,this.pending=!1,Tn(r,this),null!=o&&(this.id=this.recycleAsyncId(t,o,null)),this.delay=null,super.unsubscribe()}}}),ene=mP;function _P(n,o){return o?t=>Sm(o.pipe(El(1),function tne(){return wo((n,o)=>{n.subscribe(jn(o,Fn))})}()),t.pipe(_P(n))):Qr((t,r)=>ws(n(t,r)).pipe(El(1),WI(t)))}let If=(()=>{class n{http;serviceUrl=Er_baseUrl+"api/products";constructor(t){this.http=t}getAllProducts(){return this.http.getType(this.serviceUrl)}getProductById(t){return this.http.getType(this.serviceUrl+"/"+t)}getAllProductCategories(){return this.http.getType(this.serviceUrl+"/categories")}getALlProductLines(){return this.http.getType(this.serviceUrl+"/lines")}getAllDeliveryMethods(){return this.http.getType(Er_baseUrl+"api/delivery/methods")}getMinMaxProductsPrice(t){return t.reduce((i,s)=>((s.price<=i.min||isNaN(i.min))&&(i.min=s.price),(s.price>=i.max||isNaN(i.max))&&(i.max=s.price),i),{min:NaN,max:NaN})}productIsAvailable(t,r=1){return jt(!0).pipe(function rne(n,o=mP){const t=function one(n=0,o,t=ene){let r=-1;return null!=o&&(V6(o)?t=o:r=o),new bo(i=>{let s=function nne(n){return n instanceof Date&&!isNaN(n)}(n)?+n-t.now():n;s<0&&(s=0);let u=0;return t.schedule(function(){i.closed||(i.next(u++),0<=r?this.schedule(void 0,r):i.complete())},s)})}(n,o);return _P(()=>t)}(2e3))}static \u0275fac=function(r){return new(r||n)(Tt(xi))};static \u0275prov=St({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();class ine{value}let vP=(()=>{class n{http;serviceUrl=Er_baseUrl+"api/translations";constructor(t){this.http=t}translate(t,r){const i=new ine;return i.value=t,r&&"en"!=r.toLowerCase()?this.http.postType(this.serviceUrl+"/"+r,i):jt(i)}static \u0275fac=function(r){return new(r||n)(Tt(xi))};static \u0275prov=St({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function sne(n,o){1&n&&oe(0,"ion-icon",8)}function ane(n,o){1&n&&oe(0,"ion-icon",9)}function lne(n,o){1&n&&oe(0,"ion-icon",10)}let yP=(()=>{class n{translateService;orgService;method;showArrow=!1;disabled;constructor(t,r){this.translateService=t,this.orgService=r}ngOnInit(){this.orgService.getCachedLanguage().subscribe(t=>{this.translateService.translate(this.method.name,t).subscribe(r=>this.method.name=r.value),this.translateService.translate(this.method.description,t).subscribe(r=>this.method.description=r.value)})}static \u0275fac=function(r){return new(r||n)(N(vP),N(ei))};static \u0275cmp=je({type:n,selectors:[["app-delivery-method-item"]],inputs:{method:"method",showArrow:"showArrow",disabled:"disabled"},decls:10,vars:5,consts:[["color","primary"],["slot","start"],["name","delivery","class","font-size-30",4,"ngIf"],["name","package","class","font-size-30",4,"ngIf"],[1,"ion-text-wrap","header"],[1,"title","mb-15"],[1,"subtitle"],["slot","end","name","arrow-forward",4,"ngIf"],["name","delivery",1,"font-size-30"],["name","package",1,"font-size-30"],["slot","end","name","arrow-forward"]],template:function(r,i){1&r&&(I(0,"ion-item",0)(1,"ion-avatar",1),se(2,sne,1,0,"ion-icon",2)(3,ane,1,0,"ion-icon",3),E(),I(4,"ion-label",4)(5,"p",5),z(6),E(),I(7,"p",6),z(8),E()(),se(9,lne,1,0,"ion-icon",7),E()),2&r&&(C(2),P("ngIf",i.method.isShipping),C(),P("ngIf",!i.method.isShipping),C(3),Re(i.method.name),C(2),Te(" ",i.method.description," "),C(),P("ngIf",!i.disabled))},dependencies:[wc,un,Dn,co,Gt]})}return n})();function cne(n,o){1&n&&oe(0,"ion-progress-bar",8)}function dne(n,o){if(1&n){const t=Me();I(0,"ion-header")(1,"ion-toolbar",3)(2,"ion-buttons",4)(3,"ion-button",5),re("click",function(){return le(t),ce(M().closeModal())}),oe(4,"ion-icon",6),E()(),I(5,"ion-title"),z(6),E(),se(7,cne,1,0,"ion-progress-bar",7),E()()}if(2&n){const t=M();C(6),Re(t.orgService.organization.settings.screens.services.toolbarText.value),C(),P("ngIf",t.loadingDeliveryMethods)}}function une(n,o){if(1&n){const t=Me();I(0,"app-delivery-method-item",9),re("click",function(){const i=le(t).$implicit;return ce(M().selectMethod(i))}),E()}2&n&&P("method",o.$implicit)}let pb=(()=>{class n extends Nn{injector;modalController;ordersService;productsService;methods;loadingDeliveryMethods;constructor(t,r,i,s){super(t),this.injector=t,this.modalController=r,this.ordersService=i,this.productsService=s}ngOnInit(){this.loadDeliveryMethods()}loadDeliveryMethods(){this.loadingDeliveryMethods=!0,this.productsService.getAllDeliveryMethods().pipe(Wn(()=>this.loadingDeliveryMethods=!1)).subscribe(t=>{this.methods=t},t=>{this.networkError()})}selectMethod(t){this.ordersService.updateDeliveryMethod(t),this.closeModal()}closeModal(){this.modalController.dismiss()}static \u0275fac=function(r){return new(r||n)(N(Ht),N(Wr),N(Is),N(If))};static \u0275cmp=je({type:n,selectors:[["app-delivery-methods"]],features:[Dt],decls:4,vars:2,consts:[[4,"ngIf"],[1,"screen-item"],[3,"method","click",4,"ngFor","ngForOf"],["color","secondary",1,"mobile-item"],["slot","start"],[3,"click"],["name","close"],["type","indeterminate",4,"ngIf"],["type","indeterminate"],[3,"click","method"]],template:function(r,i){1&r&&(se(0,dne,8,2,"ion-header",0),I(1,"ion-content")(2,"ion-list",1),se(3,une,1,1,"app-delivery-method-item",2),E()()),2&r&&(P("ngIf",i.orgService.organization&&i.orgService.organization.settings&&i.orgService.organization.settings.screens),C(3),P("ngForOf",i.methods))},dependencies:[fo,Gt,on,Ln,Sn,En,un,Bo,ar,An,In,yP]})}return n})();class bP extends Nn{injector;constructor(o){super(o),this.injector=o}onGoToCheckout(){this.navCtrl.navigateForward("order")}}const gne=n=>({pointer:n});function fne(n,o){if(1&n&&(I(0,"p",8),z(1),E()),2&n){const t=M(2);C(),Te(" ",t.product.category.name," ")}}function pne(n,o){1&n&&oe(0,"ion-ripple-effect")}function hne(n,o){if(1&n&&(Xo(0),I(1,"div",1)(2,"ion-card",2),oe(3,"ion-img",3),I(4,"div",4),se(5,fne,2,1,"p",5),I(6,"p",6),z(7),E(),I(8,"p",7),z(9),Go(10,"currency"),E()(),se(11,pne,1,0,"ion-ripple-effect",0),E()(),Zo()),2&n){const t=M();C(2),P("ngClass",Lo(10,gne,t.clickable)),C(),P("src",t.product.images[0]),C(2),P("ngIf",t.product.category),C(2),Te(" ",t.product.name," "),C(2),Te(" ",xr(10,6,t.product.price,"",null==t.orgService.organization?null:t.orgService.organization.currency)," "),C(2),P("ngIf",t.clickable)}}let mne=(()=>{class n{productsService;ordersService;orgService;product;inCart;clickable=!0;constructor(t,r,i){this.productsService=t,this.ordersService=r,this.orgService=i}ngOnInit(){}static \u0275fac=function(r){return new(r||n)(N(If),N(Is),N(ei))};static \u0275cmp=je({type:n,selectors:[["app-product"]],inputs:{product:"product",inCart:"inCart",clickable:"clickable"},decls:1,vars:1,consts:[[4,"ngIf"],[1,"ion-activatable","product-wrapper"],["color","primary",1,"product",3,"ngClass"],[1,"product-image","mb-5",3,"src"],[1,"product-body"],["class","product-subtitle",4,"ngIf"],[1,"product-title"],[1,"product-price","ion-text-center"],[1,"product-subtitle"]],template:function(r,i){1&r&&se(0,hne,12,12,"ng-container",0),2&r&&P("ngIf",i.product)},dependencies:[Jn,Ja,bD,Cs,Gt,Ts],styles:[".product[_ngcontent-%COMP%]{margin:5px;height:100%!important}.product-wrapper[_ngcontent-%COMP%]{position:relative;height:100%;padding-bottom:5px}.product-body[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:space-around;height:35%}.product-image[_ngcontent-%COMP%]{object-fit:cover;height:65%}.product-subtitle[_ngcontent-%COMP%]{font-size:.8em;text-align:center}.product-title[_ngcontent-%COMP%]{margin-top:7px;font-size:.9em;text-align:center}.product-price[_ngcontent-%COMP%]{margin-top:8px;font-weight:700;font-size:1.2em;text-align:center}.product-header[_ngcontent-%COMP%]{margin-top:7px;margin-bottom:7px}.product-header[_ngcontent-%COMP%], .product-bottom-content[_ngcontent-%COMP%]{padding:0 10px}"]})}return n})();const _ne=["grid"],vne=(n,o)=>({lower:n,upper:o});function yne(n,o){if(1&n&&(I(0,"ion-badge",12),z(1),E()),2&n){const t=M(2);C(),Te(" ",t.ordersService.getCartCount()," ")}}function bne(n,o){1&n&&oe(0,"ion-progress-bar",20)}function Sne(n,o){if(1&n&&(I(0,"ion-item",31)(1,"ion-label"),z(2),E()()),2&n){const t=M(3);C(2),Te(" ",t.orgService.organization.settings.screens.productsList.noProductsFoundText.value," ")}}function Cne(n,o){if(1&n){const t=Me();I(0,"div",4),re("click",function(){const i=le(t).$implicit;return ce(M(4).onGoToProduct(i))}),oe(1,"app-product",34),E()}if(2&n){const t=o.$implicit,r=M(4);C(),P("product",t)("inCart",r.ordersService.productIsInCart(t.id))}}function Tne(n,o){if(1&n&&(I(0,"div",32,0),se(2,Cne,2,2,"div",33),E()),2&n){const t=M(3);P("@listAnimation",t.filteredProducts.length),C(2),P("ngForOf",t.filteredProducts)}}function wne(n,o){if(1&n){const t=Me();I(0,"ion-infinite-scroll",35),re("ionInfinite",function(i){return le(t),ce(M(3).onBottomReached(i))}),oe(1,"ion-spinner"),E()}}function Ene(n,o){if(1&n){const t=Me();I(0,"ion-content",21)(1,"ion-item",22)(2,"ion-row",23)(3,"ion-col",24)(4,"ion-item",25),re("click",function(){return le(t),ce(M(2).openSortingOrderMenu())}),oe(5,"ion-icon",26),I(6,"ion-label")(7,"h2"),z(8),E(),I(9,"p"),z(10),E()()()(),I(11,"ion-col",24)(12,"ion-item",25),re("click",function(){return le(t),ce(M(2).openFiltersMenu())}),oe(13,"ion-icon",27),I(14,"ion-label")(15,"h2"),z(16),E(),I(17,"p"),z(18),E()()()()()(),se(19,Sne,3,1,"ion-item",28)(20,Tne,3,2,"div",29)(21,wne,2,0,"ion-infinite-scroll",30),E()}if(2&n){const t=M(2);C(8),Re(t.orgService.organization.settings.screens.productsList.sortingTitle.value),C(2),Re(t.getOrderText(t.currentSortingOrder)),C(6),Re(t.orgService.organization.settings.screens.productsList.filtersTitle.value),C(2),Co("",t.getFilteredItemsCount(t.currentListFilters)," ",t.orgService.organization.settings.screens.productsList.itemsFoundText.value,""),C(),P("ngIf",!(null!=t.filteredProducts&&t.filteredProducts.length||t.loadingProducts)),C(),P("ngIf",t.filteredProducts&&t.filteredProducts.length),C(),P("ngIf",t.loadingProducts)}}function Ine(n,o){if(1&n){const t=Me();I(0,"ion-content",36)(1,"ion-card",36)(2,"ion-card-header")(3,"ion-card-title"),z(4),E()(),I(5,"ion-card-content")(6,"ion-radio-group",37),Vn("ngModelChange",function(i){le(t);const s=M(2);return Gn(s.checkedOrder,i)||(s.checkedOrder=i),ce(i)}),I(7,"ion-item",36)(8,"ion-label"),z(9),E(),oe(10,"ion-radio",38),E(),I(11,"ion-item",36)(12,"ion-label"),z(13),E(),oe(14,"ion-radio",38),E(),I(15,"ion-item",36)(16,"ion-label"),z(17),E(),oe(18,"ion-radio",38),E()()()(),I(19,"ion-button",39),re("click",function(){return le(t),ce(M(2).onApplyOrder())}),z(20),E()()}if(2&n){const t=M(2);C(4),Te(" ",t.orgService.organization.settings.screens.productsList.sotringOptionsTitle.value," "),C(2),zn("ngModel",t.checkedOrder),C(3),Re(t.orgService.organization.settings.screens.productsList.acsendingOrderText.value),C(),P("value",t.enumsService.SotringOrder.Ascending),C(3),Re(t.orgService.organization.settings.screens.productsList.descendingOrderText.value),C(),P("value",t.enumsService.SotringOrder.Descending),C(3),Re(t.orgService.organization.settings.screens.productsList.defaultOrderText.value),C(),P("value",t.enumsService.SotringOrder.Default),C(2),Te(" ",t.orgService.organization.settings.screens.productsList.applyButtonText.value," ")}}function Dne(n,o){if(1&n){const t=Me();I(0,"ion-content",40)(1,"ion-item",41)(2,"ion-label",42),z(3),E(),I(4,"ion-input",43),Vn("ngModelChange",function(i){le(t);const s=M(2);return Gn(s.filters.name,i)||(s.filters.name=i),ce(i)}),E()(),I(5,"ion-item",41)(6,"ion-label"),z(7),E(),I(8,"ion-range",44),re("ionChange",function(i){return le(t),ce(M(2).onRangeChange(i))}),I(9,"ion-label",3),z(10),E(),I(11,"ion-label",6),z(12),E()()(),I(13,"ion-item",45),re("click",function(){return le(t),ce(M(2).onSelectProductLines())}),I(14,"ion-label")(15,"ion-label"),z(16),E(),I(17,"p"),z(18),E()(),oe(19,"ion-icon",46),E(),I(20,"ion-item",45),re("click",function(){return le(t),ce(M(2).onSelectProductCategories())}),I(21,"ion-label")(22,"ion-label"),z(23),E(),I(24,"p"),z(25),E()(),oe(26,"ion-icon",46),E()()}if(2&n){const t=M(2);C(),P("disabled",t.loadingFilters),C(2),Te(" ",t.orgService.organization.settings.screens.productsList.nameLabel.value," "),C(),zn("ngModel",t.filters.name),C(),P("disabled",t.loadingFilters),C(2),Re(t.orgService.organization.settings.screens.productsList.priceLabel.value),C(),P("value",O2(16,vne,(null==t.filters?null:t.filters.priceFrom)||0,(null==t.filters?null:t.filters.priceTo)||0))("min",(null==t.filters?null:t.filters.initialPriceFrom)||0)("max",(null==t.filters?null:t.filters.initialPriceTo)||0),C(2),Re(t.filters.priceFrom),C(2),Re(t.filters.priceTo),C(),P("disabled",t.loadingFilters),C(3),Re(t.orgService.organization.settings.screens.productsList.productLinesLabel.value),C(2),Re(t.getSearchedItemsTitle(t.filters.productLines)),C(2),P("disabled",t.loadingFilters),C(3),Re(t.orgService.organization.settings.screens.productsList.productCategoriesLabel.value),C(2),Re(t.getSearchedItemsTitle(t.filters.productCategories))}}function Pne(n,o){if(1&n){const t=Me();Xo(0),I(1,"ion-header")(2,"ion-toolbar",2)(3,"ion-buttons",3)(4,"ion-button",4),re("click",function(){return le(t),ce(M().goBack())}),oe(5,"ion-icon",5),E()(),I(6,"ion-buttons",6)(7,"ion-button",4),re("click",function(){return le(t),ce(M().onGoToCheckout())}),oe(8,"ion-icon",7),se(9,yne,2,1,"ion-badge",8),E()(),I(10,"ion-title"),z(11),E()(),oe(12,"app-smart-bar"),E(),se(13,bne,1,0,"ion-progress-bar",9)(14,Ene,22,8,"ion-content",10),I(15,"ion-menu",11),re("ionWillOpen",function(){return le(t),ce(M().onSortingWillOpen())}),I(16,"ion-header")(17,"ion-toolbar",12)(18,"ion-title"),z(19),E()()(),se(20,Ine,21,9,"ion-content",13),E(),I(21,"ion-menu",14)(22,"ion-header")(23,"ion-toolbar",12)(24,"ion-buttons",3)(25,"ion-button",4),re("click",function(){return le(t),ce(M().onApplyFilters())}),oe(26,"ion-icon",15),E()(),I(27,"ion-title"),z(28),E()()(),se(29,Dne,27,19,"ion-content",16),I(30,"ion-footer",17)(31,"ion-button",18),re("click",function(){return le(t),ce(M().onApplyFilters())}),z(32),E(),I(33,"ion-button",19),re("click",function(){return le(t),ce(M().onResetToDefaults())}),z(34),E()()(),Zo()}if(2&n){const t=M();C(9),P("ngIf",t.ordersService.getCartCount()>0),C(2),Re(t.orgService.organization.settings.screens.productsList.toolbarText.value),C(2),P("ngIf",t.loadingProducts),C(),P("ngIf",null==t.orgService.organization||null==t.orgService.organization.settings?null:t.orgService.organization.settings.screens),C(),P("menuId",t.sotringMenuId),C(4),Re(t.orgService.organization.settings.screens.productsList.sortingTitle.value),C(),P("ngIf",null!=t.checkedOrder),C(),P("menuId",t.filtersMenuId),C(7),Re(t.orgService.organization.settings.screens.productsList.filtersTitle.value),C(),P("ngIf",t.filters),C(2),P("disabled",t.loadingFilters),C(),Co(" ",t.getFilteredItemsCount(t.filters)," ",t.orgService.organization.settings.screens.productsList.itemsFoundText.value," "),C(),P("disabled",t.loadingFilters),C(),Te(" ",t.orgService.organization.settings.screens.productsList.resetBtnText.value," ")}}let Mne=(()=>{class n extends bP{injector;productsService;ordersService;menuController;modalController;enumsService;products;filteredProducts;loadingProducts;loadingFilters=!1;sotringMenuId="sort";filtersMenuId="filters";filters;currentSortingOrder;checkedOrder;currentListFilters;productsCountToLoad=60;defaultProductsCountToLoad=this.productsCountToLoad;productsLoadingDelta=12;defaultFilters;infiniteScroll;productsGrid;constructor(t,r,i,s,u,p){super(t),this.injector=t,this.productsService=r,this.ordersService=i,this.menuController=s,this.modalController=u,this.enumsService=p}ngOnInit(){this.loadProductsAndFilters().then(t=>{this.initDefaultFilters(t)})}loadProductsAndFilters(t=null){var r=this;return(0,Ge.A)(function*(){r.loadingProducts=!0,r.ordersService.order?.id&&r.ordersService.voidOrder();try{r.products||(r.products=yield r.productsService.getAllProducts().toPromise()),r.filteredProducts=r.sortProducts(r.products.filter(r.getSearchPredicate(r.filters)).slice(0,r.productsCountToLoad),r.currentSortingOrder),(r.productsCountToLoad>=r.products.length||r.filteredProducts?.length<r.productsCountToLoad)&&r.infiniteScroll?r.infiniteScroll.disabled=!0:r.productsCountToLoad+=r.productsLoadingDelta}catch(i){r.presentAlert("Failed to load products",i.message||i.data.message||"Try again later")}return r.loadingProducts=!1,r.completeEvent(t),r.products})()}scrollProductsToTop(){this.productsGrid?.nativeElement?.scrollIntoView()}onBottomReached(t=null){this.loadProductsAndFilters(t)}getSearchPredicate(t){return t?r=>{if(!r)return!1;const i=!t.productLines?.length||t.productLines.find(m=>m&&m.id===r.line?.id),s=!t.productCategories?.length||t.productCategories.find(m=>m&&m.id===r.category?.id),u=t.priceFrom<=r.price&&r.price<=t.priceTo,p=!t.name||r.name?.toLowerCase().includes(t.name.toLowerCase());return i&&s&&u&&p}:r=>!0}initDefaultFilters(t){const{min:r,max:i}=this.productsService.getMinMaxProductsPrice(t);this.filters={name:"",initialPriceFrom:Math.floor(r),priceFrom:Math.floor(r),initialPriceTo:Math.ceil(i),priceTo:Math.ceil(i),productCategories:null,productLines:null},this.currentSortingOrder=Pa.Default,this.checkedOrder=Pa.Default,this.defaultFilters={...this.filters}}onRangeChange(t){const{lower:r,upper:i}=t.detail.value;this.filters.priceFrom=r,this.filters.priceTo=i}openSortingOrderMenu(){this.openMenu(this.sotringMenuId),this.checkedOrder=this.currentSortingOrder}openFiltersMenu(){this.openMenu(this.filtersMenuId)}closeFiltersMenu(){return this.menuController.close(this.filtersMenuId)}closeSortringOrderMenu(){return this.menuController.close(this.sotringMenuId)}openMenu(t){this.menuController.enable(!0,t),this.menuController.open(t)}onSortingWillOpen(){this.checkedOrder=this.currentSortingOrder,this.currentListFilters={...this.filters}}getSearchedItemsTitle(t){return t?.map(r=>r?.name)?.join(", ")||""}onResetToDefaults(){this.filters={...this.defaultFilters}}onApplyOrder(){this.closeSortringOrderMenu(),this.currentSortingOrder=this.checkedOrder,this.productsCountToLoad=this.defaultProductsCountToLoad,this.loadProductsAndFilters(),this.scrollProductsToTop()}onApplyFilters(){this.productsCountToLoad=this.defaultProductsCountToLoad,this.currentListFilters={...this.filters},this.closeFiltersMenu(),this.loadProductsAndFilters(),this.scrollProductsToTop(),this.infiniteScroll&&(this.infiniteScroll=null)}onGoToProduct(t){this.navCtrl.navigateForward(["products",t.id])}sortProducts(t,r){switch(r){case Pa.Ascending:return t?.sort((i,s)=>i?.price-s?.price);case Pa.Descending:return t?.sort((i,s)=>s?.price-i?.price);default:return t}}getOrderText(t){const r=this.orgService.organization.settings.screens.productsList;switch(t){case Pa.Ascending:return r.acsendingOrderText.value;case Pa.Descending:return r.descendingOrderText.value;default:return r.defaultOrderText.value}}getFilteredItemsCount(t){return this.products?.filter(this.getSearchPredicate(t))?.length}goBack(){this.navCtrl.navigateBack("")}getItemsFromModal(t,r,i=!0){var s=this;return(0,Ge.A)(function*(){const u=yield r,p=yield s.modalController.create({component:ZD,componentProps:{title:t,items:u,multiple:i}});yield p.present();const{data:m}=yield p.onDidDismiss();return m})()}onSelectProductLines(){var t=this;return(0,Ge.A)(function*(){try{t.loadingFilters=!0;const r=t.orgService.organization.settings.screens.productsList.productLinesLabel.value,i=t.getCheckedLinesPromise(),s=yield t.getItemsFromModal(r,i);s&&(t.filters.productLines=s)}catch{t.presentAlert("Failed to load filters","Try later"),t.closeFiltersMenu()}finally{t.loadingFilters=!1}})()}onSelectProductCategories(){var t=this;return(0,Ge.A)(function*(){try{t.loadingFilters=!0;const r=t.orgService.organization.settings.screens.productsList.productCategoriesLabel.value,i=t.getCheckedCategoriesPromise(),s=yield t.getItemsFromModal(r,i);s&&(t.filters.productCategories=s)}catch{t.presentAlert("Failed to load filters","Try later"),t.closeFiltersMenu()}finally{t.loadingFilters=!1}})()}getCheckedCategoriesPromise(){return this.productsService.getAllProductCategories().toPromise().then(t=>this.getCheckedItems(t,this.filters.productCategories))}getCheckedLinesPromise(){return this.productsService.getALlProductLines().toPromise().then(t=>this.getCheckedItems(t,this.filters.productLines))}getCheckedItems(t,r){const i=[];for(const s of t){const u=!!r?.find(p=>p?.id===s?.id);i.push({...s,checked:u})}return i}static \u0275fac=function(r){return new(r||n)(N(Ht),N(If),N(Is),N(NK),N(Wr),N(kl))};static \u0275cmp=je({type:n,selectors:[["app-list"]],viewQuery:function(r,i){if(1&r&&(di(By,5),di(_ne,5)),2&r){let s;ir(s=sr())&&(i.infiniteScroll=s.first),ir(s=sr())&&(i.productsGrid=s.first)}},features:[Dt],decls:1,vars:1,consts:[["grid",""],[4,"ngIf"],["color","secondary",1,"mobile-item"],["slot","start"],[3,"click"],["name","arrow-back"],["slot","end"],["name","cart-outline"],["color","secondary",4,"ngIf"],["type","indeterminate","color","secondary",4,"ngIf"],["id","main",4,"ngIf"],["side","start","contentId","main","max-edge-start","0",3,"ionWillOpen","menuId"],["color","secondary"],["color","primary",4,"ngIf"],["side","end","contentId","main","max-edge-start","0",3,"menuId"],["name","close"],["color","primary","class","filters",4,"ngIf"],["color","primary",1,"filters-footer"],["color","success","expand","full",3,"click","disabled"],["expand","full","color","secondary",3,"click","disabled"],["type","indeterminate","color","secondary"],["id","main"],["color","primary",1,"filters-buttons","screen-item"],[1,"filters-buttons-row"],["size","6",1,"ion-no-padding"],["color","primary ion-text-center","button","",3,"click"],["name","swap-vertical-outline"],["name","funnel-outline"],["color","primary","class","ion-text-center",4,"ngIf"],["class","products-grid screen-item",4,"ngIf"],["threshold","100px","color","primary",3,"ionInfinite",4,"ngIf"],["color","primary",1,"ion-text-center"],[1,"products-grid","screen-item"],[3,"click",4,"ngFor","ngForOf"],[3,"product","inCart"],["threshold","100px","color","primary",3,"ionInfinite"],["color","primary"],[3,"ngModelChange","ngModel"],["slot","start",3,"value"],["color","success","expand","full",3,"click"],["color","primary",1,"filters"],["color","primary",3,"disabled"],["position","floating"],["clearInput","",3,"ngModelChange","ngModel"],["dual-knobs","true","pin","true",3,"ionChange","value","min","max"],["button","","color","primary",3,"click","disabled"],["name","chevron-forward-outline","slot","end"]],template:function(r,i){1&r&&se(0,Pne,35,15,"ng-container",1),2&r&&P("ngIf",null==i.orgService.organization||null==i.orgService.organization.settings?null:i.orgService.organization.settings.screens)},dependencies:[fo,Gt,Xr,Zr,ou,on,Ln,Jn,To,oo,lo,Ni,Sn,hf,En,un,By,Ys,Dn,co,vD,ar,zy,Vy,yD,fi,Km,An,In,pf,Pl,bi,Uo,mne],styles:[".products-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));margin:0 auto}.filters-buttons[_ngcontent-%COMP%], .filters-buttons-row[_ngcontent-%COMP%]{width:100%}.filters[_ngcontent-%COMP%]   ion-card-title[_ngcontent-%COMP%]{font-size:1.7em}.arrow-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}ion-menu[_ngcontent-%COMP%]{--width: 100%;--max-width: 500px}ion-menu[_ngcontent-%COMP%]   ion-icon[_ngcontent-%COMP%]{margin:0 auto}ion-range[_ngcontent-%COMP%]{--bar-background: var(--ion-color-primary-contrast)!important;--bar-background-active: var(--ion-color-primary-contrast)!important;--knob-background: var(--ion-color-primary-contrast)!important;--pin-background: var(--ion-color-primary-contrast)!important;--pin-color: var(--ion-color-primary-contrast)!important}ion-range[_ngcontent-%COMP%]::part(pin){color:var(--ion-color-primary)!important}"],data:{animation:[Xs("listAnimation",[Qs("* <=> *",[gu(":enter",[cr({opacity:0,transform:"translateY(-15px)"}),fu("50ms",Zs("400ms ease-out",cr({opacity:1,transform:"translateY(0px)"})))],{optional:!0})])])]}})}return n})(),$ne=(()=>{class n{orgService;item;disabled;onAdd=new $n;onRemove=new $n;onSelect=new $n;constructor(t){this.orgService=t}ngOnInit(){}onItemClick(t){this.disabled||this.onSelect.emit(t)}onAddClick(t){t.stopPropagation(),this.onAdd.emit(t)}onRemoveClick(t){t.stopPropagation(),this.onRemove.emit(t)}static \u0275fac=function(r){return new(r||n)(N(ei))};static \u0275cmp=je({type:n,selectors:[["app-cart-item"]],inputs:{item:"item",disabled:"disabled"},outputs:{onAdd:"onAdd",onRemove:"onRemove",onSelect:"onSelect"},decls:17,vars:11,consts:[["color","primary","button","",3,"click"],["slot","start"],[3,"src","alt"],[1,"ion-justify-content-between","ion-align-items-center"],[1,"ion-align-items-center"],["color","tertiary",3,"click","disabled"],[1,"ion-margin-horizontal"],[1,"text-bold"]],template:function(r,i){1&r&&(I(0,"ion-item",0),re("click",function(u){return i.onItemClick(u)}),I(1,"ion-avatar",1),oe(2,"img",2),E(),I(3,"ion-label")(4,"h2"),z(5),E(),I(6,"ion-row",3)(7,"ion-row",4)(8,"ion-button",5),re("click",function(u){return i.onRemoveClick(u)}),z(9,"-"),E(),I(10,"ion-text",6),z(11),E(),I(12,"ion-button",5),re("click",function(u){return i.onAddClick(u)}),z(13,"+"),E()(),I(14,"ion-text",7),z(15),Go(16,"currency"),E()()()()),2&r&&(C(2),P("src",null==i.item.product?null:i.item.product.images[0],a_)("alt",i.item.product.name),C(3),Re(i.item.product.name),C(3),P("disabled",0==i.item.count||i.disabled),C(3),Re(i.item.count),C(),P("disabled",i.disabled||i.item.count>=i.item.product.quantity),C(3),Te(" ",xr(16,7,i.item.product.price*i.item.count,"",null==i.orgService.organization?null:i.orgService.organization.currency)," "))},dependencies:[wc,on,Dn,co,fi,Ks,Ts]})}return n})();const Ane=["script"];function Nne(n,o){if(1&n){const t=Me();I(0,"ion-header")(1,"ion-toolbar",3)(2,"ion-buttons",4)(3,"ion-button",5),re("click",function(){return le(t),ce(M().goBack())}),oe(4,"ion-icon",6),E()(),I(5,"ion-title"),z(6),E(),I(7,"ion-buttons",7)(8,"ion-button",5),re("click",function(i){return le(t),ce(M().showUserMenu(i))}),oe(9,"ion-icon",8),E()()(),oe(10,"app-smart-bar"),E()}if(2&n){const t=M();C(6),Re(t.orgService.organization.settings.screens.order.toolbarText.value)}}function xne(n,o){1&n&&oe(0,"ion-progress-bar",9)}function One(n,o){if(1&n&&(I(0,"li")(1,"span"),z(2,"\u2713"),E(),z(3),E()),2&n){const t=o.$implicit;C(),b2(t.class),C(2),Te(" ",t.name," ")}}function kne(n,o){if(1&n&&(I(0,"ion-item",15)(1,"ul",23),se(2,One,4,3,"li",24),E()()),2&n){const t=M(3);C(2),P("ngForOf",t.getStatusInfo())}}function Rne(n,o){if(1&n&&(I(0,"ion-item",25)(1,"ion-card-title",26),z(2),E()()),2&n){const t=M(3);C(2),Te(" ",t.orgService.organization.settings.screens.order.statusCanceled.value," ")}}function Lne(n,o){if(1&n&&(I(0,"ion-list",11)(1,"ion-item",15)(2,"ion-card-header")(3,"ion-card-subtitle"),z(4),Go(5,"date"),E(),I(6,"ion-card-title"),z(7),E()()(),se(8,kne,3,1,"ion-item",18)(9,Rne,3,1,"ion-item",22),E()),2&n){const t=M(2);C(4),Re(Ld(5,4,t.ordersService.order.createdOn,t.orgService.getDateFormat())),C(3),Te(" # ",t.ordersService.order.number," "),C(),P("ngIf",t.ordersService.order.state!=t.enums.OrderState.Draft&&t.ordersService.order.state!=t.enums.OrderState.Canceled),C(),P("ngIf",t.ordersService.order.state==t.enums.OrderState.Canceled)}}function Fne(n,o){if(1&n){const t=Me();I(0,"app-cart-item",27),re("onAdd",function(){const i=le(t).$implicit;return ce(M(2).onIncreaseItemCount(i))})("onRemove",function(i){const s=le(t).$implicit;return ce(M(2).onDecreaseItemCount(s,i))})("onSelect",function(){const i=le(t).$implicit;return ce(M(2).onItemSelect(i))}),E()}if(2&n){const t=o.$implicit,r=M(2);P("item",t)("disabled",!r.ordersService.canEdit())}}function Bne(n,o){if(1&n&&(I(0,"ion-label",29),z(1),Go(2,"currency"),E()),2&n){const t=M(3);C(),Te(" ",xr(2,1,t.ordersService.order.totalPrice,"",null==t.orgService.organization?null:t.orgService.organization.currency)," ")}}function Une(n,o){if(1&n&&(I(0,"ion-item",15)(1,"ion-label",4),z(2),E(),se(3,Bne,3,5,"ion-label",28),E()),2&n){const t=M(2);C(2),Te(" ",t.orgService.organization.settings.screens.order.total.value," "),C(),P("ngIf",t.ordersService.order)}}function zne(n,o){if(1&n&&(I(0,"ion-item",15)(1,"ion-card-header")(2,"ion-card-title"),z(3),E()()()),2&n){const t=M(2);C(3),Te(" ",t.orgService.organization.settings.screens.order.noItemsInCartTitle.value," ")}}function Vne(n,o){if(1&n){const t=Me();I(0,"ion-button",30),re("click",function(){return le(t),ce(M(2).navigateToProducts())}),z(1),E()}if(2&n){const t=M(2);C(),Te(" ",t.orgService.organization.settings.screens.order.goToProductsText.value," ")}}function Hne(n,o){if(1&n){const t=Me();I(0,"ion-item",31),re("click",function(){return le(t),ce(M(2).showSelectModal("delivery-method"))}),I(1,"ion-card-header")(2,"ion-card-title"),z(3),E()(),oe(4,"ion-icon",32),E()}if(2&n){const t=M(2);C(3),Te("",t.orgService.organization.settings.screens.order.deliveryMethodSelectText.value," ")}}function jne(n,o){if(1&n){const t=Me();I(0,"app-delivery-method-item",33),re("click",function(){return le(t),ce(M(2).showSelectModal("delivery-method"))}),E()}if(2&n){const t=M(2);P("disabled",!t.isNewOrder())("method",null==t.ordersService.order?null:t.ordersService.order.deliveryMethod)}}function Gne(n,o){if(1&n&&(I(0,"ion-item",15)(1,"ion-avatar",4),oe(2,"ion-icon",34),E(),I(3,"ion-card-header")(4,"ion-label",35),z(5),E()()()),2&n){const t=M(2);C(5),Co(" ",t.orgService.organization.settings.screens.customerAddress.deliveryDurationText.value,": ",t.ordersService.order.deliveryMethod.shippingCountry.deliveryDays,"")}}function Wne(n,o){if(1&n){const t=Me();I(0,"ion-item",31),re("click",function(){return le(t),ce(M(2).showSelectModal("location"))}),I(1,"ion-avatar",4),oe(2,"ion-icon",36),E(),I(3,"ion-card-header")(4,"ion-label",35),z(5),E()()()}if(2&n){const t=M(2);C(5),Te("",t.orgService.organization.settings.screens.order.selectLocationLabel.value," ")}}function qne(n,o){if(1&n){const t=Me();I(0,"app-location-item",37),re("click",function(){return le(t),ce(M(2).showSelectModal("location"))}),E()}if(2&n){const t=M(2);P("isFromBooking",!0)("location",t.ordersService.order.deliveryMethod.location)}}function Yne(n,o){if(1&n){const t=Me();I(0,"ion-item",38),re("click",function(){return le(t),ce(M(2).showSelectModal("address"))}),I(1,"ion-avatar",4),oe(2,"ion-icon",39),E(),I(3,"ion-card-header")(4,"ion-label",35),z(5),E()(),oe(6,"ion-icon",32),E()}if(2&n){const t=M(2);P("color",t.addressIsValid?"primary":"danger"),C(5),Te(" ",t.orgService.organization.settings.screens.appointment.fillAddressLabel.value,"")}}function Kne(n,o){if(1&n){const t=Me();I(0,"ion-item",31),re("click",function(){return le(t),ce(M(2).showSelectModal("address"))}),I(1,"ion-avatar",4),oe(2,"ion-icon",39),E(),I(3,"ion-card-header")(4,"ion-card-subtitle"),z(5),E(),I(6,"ion-card-subtitle",40),z(7),E(),I(8,"ion-card-subtitle"),z(9),E()(),oe(10,"ion-icon",32),E()}if(2&n){const t=M(2);C(5),Co(" ",t.ordersService.order.deliveryMethod.address.firstName,", ",t.ordersService.order.deliveryMethod.address.lastName," "),C(2),Te("",t.ordersService.order.deliveryMethod.address.streetAddress," "),C(2),Rd(" ",t.ordersService.order.deliveryMethod.address.zipCode,", ",t.ordersService.order.deliveryMethod.address.city,", ",t.ordersService.order.deliveryMethod.address.country," ")}}function Xne(n,o){if(1&n&&(I(0,"ion-item",41)(1,"ion-label",4),z(2),E(),I(3,"ion-label",29),z(4),Go(5,"currency"),E()()),2&n){const t=M(2);C(2),Te(" ",t.orgService.organization.settings.screens.order.shippingPriceText.value,": "),C(2),Te(" ",xr(5,2,t.ordersService.order.deliveryPrice,"",null==t.orgService.organization?null:t.orgService.organization.currency)," ")}}function Zne(n,o){if(1&n&&(I(0,"ion-content"),se(1,Lne,10,7,"ion-list",10),I(2,"ion-list",11),se(3,Fne,1,2,"app-cart-item",12)(4,Une,4,2,"ion-item",13)(5,zne,4,1,"ion-item",13)(6,Vne,2,1,"ion-button",14),E(),I(7,"ion-list",15),se(8,Hne,5,1,"ion-item",16)(9,jne,1,2,"app-delivery-method-item",17)(10,Gne,6,2,"ion-item",18)(11,Wne,6,1,"ion-item",16)(12,qne,1,2,"app-location-item",19)(13,Yne,7,2,"ion-item",20)(14,Kne,11,6,"ion-item",16)(15,Xne,6,6,"ion-item",21),E()()),2&n){const t=M();C(),P("ngIf",!t.isNewOrder()),C(2),P("ngForOf",t.ordersService.getCartItems()),C(),P("ngIf",t.ordersService.getCartItems().length),C(),P("ngIf",!t.loadingCart&&!t.ordersService.getCartItems().length),C(),P("ngIf",!t.loadingCart&&!t.ordersService.getCartItems().length),C(2),P("ngIf",t.ordersService.getCartItems().length&&(null==t.devileryMethods?null:t.devileryMethods.length)&&!(null!=t.ordersService.order&&t.ordersService.order.deliveryMethod)),C(),P("ngIf",null==t.ordersService.order?null:t.ordersService.order.deliveryMethod),C(),P("ngIf",(null==t.ordersService.order?null:t.ordersService.order.deliveryMethod)&&t.ordersService.order.deliveryMethod.shippingCountry),C(),P("ngIf",(null==t.ordersService.order?null:t.ordersService.order.deliveryMethod)&&!t.ordersService.order.deliveryMethod.isShipping&&!t.ordersService.order.deliveryMethod.location),C(),P("ngIf",(null==t.ordersService.order?null:t.ordersService.order.deliveryMethod)&&!t.ordersService.order.deliveryMethod.isShipping&&t.ordersService.order.deliveryMethod.location),C(),P("ngIf",(null==t.ordersService.order?null:t.ordersService.order.deliveryMethod)&&t.ordersService.order.deliveryMethod.isShipping&&!t.ordersService.order.deliveryMethod.address&&t.orgService.organization.settings.screens.appointment.fillAddressLabel),C(),P("ngIf",(null==t.ordersService.order?null:t.ordersService.order.deliveryMethod)&&t.ordersService.order.deliveryMethod.isShipping&&t.ordersService.order.deliveryMethod.address),C(),P("ngIf",(null==t.ordersService.order?null:t.ordersService.order.deliveryMethod)&&t.ordersService.order.deliveryMethod.isShipping&&t.ordersService.order.deliveryMethod.address&&t.ordersService.order.deliveryPrice)}}function Qne(n,o){if(1&n){const t=Me();I(0,"ion-button",44),re("click",function(){return le(t),ce(M(2).checkout())}),z(1),E()}if(2&n){const t=M(2);P("disabled",!t.canCheckout()),C(),Te(" ",t.orgService.organization.settings.screens.order.placeOrderButtonText.value," ")}}function Jne(n,o){if(1&n){const t=Me();I(0,"ion-button",44),re("click",function(){return le(t),ce(M(2).checkout())}),z(1),E()}if(2&n){const t=M(2);P("disabled",!t.canCheckout()),C(),Te(" ",t.orgService.organization.settings.screens.order.checkoutButtonText.value," ")}}function eoe(n,o){if(1&n){const t=Me();I(0,"ion-button",45),re("click",function(){return le(t),ce(M(2).cancelOrder())}),z(1),E()}if(2&n){const t=M(2);C(),Te(" ",t.orgService.organization.settings.screens.order.cancelOrderButtonText.value," ")}}function toe(n,o){if(1&n){const t=Me();I(0,"ion-button",44),re("click",function(){return le(t),ce(M(2).update())}),z(1),E()}if(2&n){const t=M(2);P("disabled",!t.canCheckout()),C(),Te(" ",t.orgService.organization.settings.screens.order.updateOrderButtonText.value," ")}}function noe(n,o){if(1&n&&(I(0,"ion-footer")(1,"ion-item",15)(2,"ion-label",4),z(3),E(),I(4,"ion-label",29),z(5),Go(6,"currency"),E()(),se(7,Qne,2,2,"ion-button",42)(8,Jne,2,2,"ion-button",42)(9,eoe,2,1,"ion-button",43)(10,toe,2,2,"ion-button",42),E()),2&n){const t=M();C(3),Te(" ",t.orgService.organization.settings.screens.order.fullPriceText.value," "),C(2),Te(" ",xr(6,6,t.ordersService.order.totalPrice+(t.ordersService.order.deliveryPrice?t.ordersService.order.deliveryPrice:0),"",null==t.orgService.organization?null:t.orgService.organization.currency)," "),C(2),P("ngIf",!(t.ordersService.order.id||null!=t.ordersService.order&&null!=t.ordersService.order.deliveryMethod&&t.ordersService.order.deliveryMethod.shippingCountry.paymentIsRequired)),C(),P("ngIf",!t.ordersService.order.id&&(null==t.ordersService.order||null==t.ordersService.order.deliveryMethod?null:t.ordersService.order.deliveryMethod.shippingCountry.paymentIsRequired)),C(),P("ngIf",t.canCancel()),C(),P("ngIf",t.ordersService.order.id&&t.ordersService.canEdit())}}let ooe=(()=>{class n extends Nn{injector;modalController;accountService;ordersService;productsService;actionSheet;bookingService;enums;devileryMethods;addressIsValid=!0;loadingDeliveryMethods;loadingCart;saving;scriptContainer;constructor(t,r,i,s,u,p,m,v){super(t),this.injector=t,this.modalController=r,this.accountService=i,this.ordersService=s,this.productsService=u,this.actionSheet=p,this.bookingService=m,this.enums=v}ngOnInit(){this.isNewOrder()&&this.loadDeliveryMethods()}ngAfterViewInit(){this.appendScript()}isNewOrder(){return!this.ordersService.order||!this.ordersService.order.id}loadDeliveryMethods(){this.loadingDeliveryMethods=!0,this.productsService.getAllDeliveryMethods().pipe(Wn(()=>this.loadingDeliveryMethods=!1)).subscribe(t=>{this.devileryMethods=t,1==this.devileryMethods.length&&this.ordersService.updateDeliveryMethod(t[0])},t=>{this.networkError(),this.goBack()})}showSelectModal(t){var r=this;return(0,Ge.A)(function*(){if(r.ordersService.canEdit()){if("delivery-method"===t)return r.isNewOrder()?yield(yield r.modalController.create({component:pb,componentProps:{isFromBooking:!1,isFromOrder:!0}})).present():void 0;if("location"===t){if(!r.isNewOrder())return;return void r.navCtrl.navigateForward("locations",{state:{isFromOrder:!0}})}if("address"===t)return yield(yield r.modalController.create({component:uP,componentProps:{isFromOrder:!0}})).present()}})()}onIncreaseItemCount(t){this.ordersService.addToCart(t.product)}onDecreaseItemCount(t,r=null){var i=this;return(0,Ge.A)(function*(){(1!==t.count||(yield i.alertDeletionFromCart(r,t.product)))&&i.ordersService.removeFromCart(t.product)})()}onItemSelect(t){this.navCtrl.navigateBack(["products",t.product.id])}canCheckout(){if(!this.ordersService.order?.items.length||!this.ordersService.order.deliveryMethod)return!1;if(this.ordersService.order.deliveryMethod.isShipping){if(!this.ordersService.order.deliveryMethod.address)return!1}else if(!this.ordersService.order.deliveryMethod.location)return!1;return!0}canCancel(){return this.ordersService.canCancel()}navigateToProducts(){this.navCtrl.navigateBack("products")}goBack(){this.navigateToProducts()}checkout(){var t=this;return(0,Ge.A)(function*(){t.bookingService.booking=null,t.accountService.getCustomer().subscribe(r=>{r?(t.ordersService.updateCustomer(r),t.ordersService.order?.deliveryMethod?.shippingCountry.paymentIsRequired?(t.injector.get(qn).voidBooking(),t.navCtrl.navigateForward("payment-cards",{state:{isOrder:!0}})):t.ordersService.saveOrder().subscribe(function(){var i=(0,Ge.A)(function*(s){s.isSuccess?t.navCtrl.navigateRoot("confirmation"):yield t.presentAlert(t.orgService.organization.settings.screens.order.failedText.value,"")});return function(s){return i.apply(this,arguments)}}(),()=>{t.networkError()})):t.navCtrl.navigateForward("login")})})()}update(){var t=this;return(0,Ge.A)(function*(){t.accountService.getCustomer().subscribe(r=>{r?(t.ordersService.updateCustomer(r),t.ordersService.saveOrder().subscribe(function(){var i=(0,Ge.A)(function*(s){s.isSuccess?t.navCtrl.navigateRoot("confirmation"):yield t.presentAlert(t.orgService.organization.settings.screens.order.failedText.value,"")});return function(s){return i.apply(this,arguments)}}(),()=>{t.networkError()})):t.navCtrl.navigateForward("login")})})()}cancelOrder(){var t=this;return(0,Ge.A)(function*(){yield(yield t.actionSheet.create({buttons:[{text:"Cancel",role:"destructive",cssClass:"danger",handler:()=>{t.saving=!0,t.ordersService.cancelOrder().subscribe(()=>{t.ordersService.order.state=t.enums.OrderState.Canceled,t.saving=!1},()=>{t.saving=!1,t.presentAlert("Failed to cancel order","Try again or contact us")})}},{text:"Close",role:"cancel"}]})).present()})()}cancel(){this.saving=!0,this.ordersService.cancelOrder().subscribe(()=>{this.ordersService.order.state=this.enums.OrderState.Canceled,this.saving=!1},()=>{this.saving=!1,this.presentAlert("Failed to cancel order","Try again or contact us")})}getStatusInfo(){const t=[];for(let r=1;r<=3;r++){const i=this.ordersService.getOrderStateDescription(this.orgService.organization.settings,r,this.ordersService.order.deliveryMethod.isShipping);t.push({name:i,class:this.ordersService.order.state>=r?"status-ready status":"status-waiting status"})}return t}alertDeletionFromCart(t,r){var i=this;return(0,Ge.A)(function*(){return i.showConfirmPopUp(t,i.orgService.organization.settings.screens.order.deleteItemQuestionTitle.value,r.name)})()}appendScript(){const t=document.createElement("script");t.src="https://web.squarecdn.com/v1/square.js",t.type="text/javascript",this.scriptContainer.nativeElement.appendChild(t)}static \u0275fac=function(r){return new(r||n)(N(Ht),N(Wr),N(gr),N(Is),N(If),N(ED),N(qn),N(kl))};static \u0275cmp=je({type:n,selectors:[["app-order"]],viewQuery:function(r,i){if(1&r&&di(Ane,5),2&r){let s;ir(s=sr())&&(i.scriptContainer=s.first)}},features:[Dt],decls:7,vars:4,consts:[["script",""],[4,"ngIf"],["type","indeterminate","color","secondary",4,"ngIf"],["color","secondary",1,"mobile-item"],["slot","start"],[3,"click"],["name","arrow-back"],["slot","primary"],["name","person-circle-outline"],["type","indeterminate","color","secondary"],["class","screen-item mb-15",4,"ngIf"],[1,"screen-item","mb-15"],[3,"item","disabled","onAdd","onRemove","onSelect",4,"ngFor","ngForOf"],["class","screen-item","color","primary",4,"ngIf"],["color","secondary","expand","full","slot","end",3,"click",4,"ngIf"],["color","primary",1,"screen-item"],["color","primary",3,"click",4,"ngIf"],[3,"disabled","method","click",4,"ngIf"],["color","primary","class","screen-item",4,"ngIf"],[3,"isFromBooking","location","click",4,"ngIf"],[3,"color","click",4,"ngIf"],["color","primary",4,"ngIf"],["color","danger","class","screen-item",4,"ngIf"],[1,"mt-10","mb-10","status-item"],[4,"ngFor","ngForOf"],["color","danger",1,"screen-item"],[1,"cancelled"],[3,"onAdd","onRemove","onSelect","item","disabled"],["slot","end","class","ion-text text-bold",4,"ngIf"],["slot","end",1,"ion-text","text-bold"],["color","secondary","expand","full","slot","end",3,"click"],["color","primary",3,"click"],["slot","end","name","arrow-forward"],[3,"click","disabled","method"],["name","delivery-time",1,"font-size-30"],[1,"contrast-color"],["name","pin",1,"font-size-30"],[3,"click","isFromBooking","location"],[3,"click","color"],["name","address",1,"font-size-30"],[1,"wrap"],["color","primary"],["color","success","expand","full",3,"disabled","click",4,"ngIf"],["color","danger","expand","full",3,"click",4,"ngIf"],["color","success","expand","full",3,"click","disabled"],["color","danger","expand","full",3,"click"]],template:function(r,i){1&r&&(Xo(0),se(1,Nne,11,1,"ion-header",1)(2,xne,1,0,"ion-progress-bar",2)(3,Zne,16,13,"ion-content",1)(4,noe,11,10,"ion-footer",1),oe(5,"div",null,0),Zo()),2&r&&(C(),P("ngIf",null==i.orgService.organization||null==i.orgService.organization.settings?null:i.orgService.organization.settings.screens),C(),P("ngIf",i.loadingCart||i.loadingDeliveryMethods||i.saving),C(),P("ngIf",null==i.orgService.organization||null==i.orgService.organization.settings?null:i.orgService.organization.settings.screens),C(),P("ngIf",i.ordersService.order&&(null==i.orgService.organization||null==i.orgService.organization.settings?null:i.orgService.organization.settings.screens)))},dependencies:[fo,Gt,wc,on,Ln,oo,gi,lo,Sn,hf,En,un,Dn,co,Bo,ar,An,In,d1,Uo,$ne,yP,Ts,em],styles:[".status[_ngcontent-%COMP%]{color:#fff;padding:5px;border-radius:7px;margin-right:10px;font-size:11px!important}.status-ready[_ngcontent-%COMP%]{background-color:var(--ion-color-success)}.status-waiting[_ngcontent-%COMP%]{background-color:#eaeaea}.status-item[_ngcontent-%COMP%]{list-style-type:none;text-indent:0;padding:0}.status-item[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{margin-bottom:10px;margin-left:0;text-indent:0}.cancelled[_ngcontent-%COMP%]{color:var(--ion-color-danger-contrast)!important}.contrast-color[_ngcontent-%COMP%]{color:var(--ion-color-primary-contrast)!important}"]})}return n})();function roe(n,o){if(1&n){const t=Me();I(0,"ion-header")(1,"ion-toolbar",2)(2,"ion-buttons",3)(3,"ion-button",4),re("click",function(){return le(t),ce(M().navCtrl.navigateRoot("tabs/home"))}),oe(4,"ion-icon",5),E()(),I(5,"ion-title"),z(6),E()()()}if(2&n){const t=M();C(6),Re(t.orgService.organization.settings.screens.orders.toolbarText.value)}}function ioe(n,o){1&n&&oe(0,"ion-progress-bar",6)}function soe(n,o){if(1&n){const t=Me();I(0,"ion-card",10)(1,"ion-card-header")(2,"ion-card-title",11),z(3),E()(),I(4,"ion-card-content",11)(5,"ion-card-subtitle"),z(6),E()(),I(7,"ion-button",12),re("click",function(){return le(t),ce(M(2).navCtrl.navigateRoot("products"))}),z(8),E()()}if(2&n){const t=M(2);C(3),Te(" ",t.orgService.organization.settings.screens.orders.noOrdersTitle.value," "),C(3),Te(" ",t.orgService.organization.settings.screens.orders.noOrdersMessage.value," "),C(2),Te(" ",t.orgService.organization.settings.screens.orders.startShoppingButtonText.value," ")}}function aoe(n,o){if(1&n&&(I(0,"p",22),z(1),E()),2&n){const t=o.$implicit;C(),Re(t.product.name)}}function loe(n,o){if(1&n&&(I(0,"p")(1,"ion-chip",23),oe(2,"i",24),I(3,"span",25),z(4),E()()()),2&n){const t=M(4);C(),P("outline",!0),C(3),Re(t.orgService.organization.settings.screens.orders.paidLabelText.value)}}function coe(n,o){if(1&n){const t=Me();I(0,"ion-item",15),re("click",function(){const i=le(t).$implicit;return ce(M(3).selectOrder(i))}),I(1,"ion-label",16)(2,"p",17)(3,"span",18),z(4),E(),z(5),Go(6,"date"),E(),se(7,aoe,2,1,"p",19),I(8,"p",17)(9,"ion-label",20),z(10),E()(),se(11,loe,5,2,"p",0),E(),oe(12,"ion-icon",21),E()}if(2&n){const t=o.$implicit,r=M(3);P("disabled",r.loadingOrders),C(4),Te("# ",t.number,""),C(),Te(" ",Ld(6,7,t.createdOn,r.orgService.getDateFormat())," "),C(2),P("ngForOf",t.items),C(2),P("color",r.getStatusColor(t.state)),C(),Re(r.getStatusDescription(t)),C(),P("ngIf",t.isPayed&&t.state!=r.enums.OrderState.Canceled)}}function doe(n,o){if(1&n&&(I(0,"ion-list",13),se(1,coe,13,10,"ion-item",14),E()),2&n){const t=M(2);C(),P("ngForOf",t.orders)}}function uoe(n,o){if(1&n){const t=Me();I(0,"ion-content")(1,"ion-refresher",7),re("ionRefresh",function(i){return le(t),ce(M().loadOrders(i))}),oe(2,"ion-refresher-content"),E(),se(3,soe,9,3,"ion-card",8)(4,doe,2,1,"ion-list",9),E()}if(2&n){const t=M();C(3),P("ngIf",!(t.loadingOrders||t.orders&&t.orders.length)),C(),P("ngIf",t.orders&&t.orders.length)}}let goe=(()=>{class n extends Nn{injector;ordersService;accountService;enums;orders;loadingOrders;constructor(t,r,i,s){super(t),this.injector=t,this.ordersService=r,this.accountService=i,this.enums=s}ngOnInit(){setTimeout(()=>this.loadOrders(null),0)}loadOrders(t=null){this.loadingOrders=!0,this.accountService.getCustomer().pipe(so(r=>r&&r.customerId?this.ordersService.getOrders():(this.loadingOrders=!1,this.navCtrl.navigateForward("login"),jt(null))),Wn(r=>{r&&(this.orders=r,this.completeEvent(t)),this.loadingOrders=!1}),Jr(r=>{if(this.loadingOrders=!1,401===r.status)return this.navCtrl.navigateForward("login"),js;this.networkError()})).subscribe()}selectOrder(t){this.ordersService.setOrder(t),this.navCtrl.navigateForward("order")}goBack(){this.navCtrl.back()}getStatusDescription(t){return this.ordersService.getOrderStateDescription(this.orgService.organization.settings,t.state,t.deliveryMethod.isShipping)}getStatusColor(t){return t===this.enums.OrderState.Canceled?"danger":t===this.enums.OrderState.Completed||t===this.enums.OrderState.Confirmed?"success":"warning"}static \u0275fac=function(r){return new(r||n)(N(Ht),N(Is),N(gr),N(kl))};static \u0275cmp=je({type:n,selectors:[["app-orders"]],features:[Dt],decls:3,vars:3,consts:[[4,"ngIf"],["type","indeterminate","color","secondary",4,"ngIf"],["color","secondary",1,"mobile-item"],["slot","start"],[3,"click"],["name","arrow-back"],["type","indeterminate","color","secondary"],["slot","fixed",3,"ionRefresh"],["class","screen-item","color","primary",4,"ngIf"],["class","screen-item",4,"ngIf"],["color","primary",1,"screen-item"],[1,"center"],["color","secondary","expand","block",3,"click"],[1,"screen-item"],["color","primary",3,"disabled","click",4,"ngFor","ngForOf"],["color","primary",3,"click","disabled"],[1,"ion-text-wrap","header"],[1,"subtitle"],[1,"mr-15"],["class","title mb-15",4,"ngFor","ngForOf"],[3,"color"],["slot","end","name","arrow-forward"],[1,"title","mb-15"],["color","success",1,"mt-10",3,"outline"],[1,"flaticon-coins","mr-5"],[1,"uppercase"]],template:function(r,i){1&r&&se(0,roe,7,1,"ion-header",0)(1,ioe,1,0,"ion-progress-bar",1)(2,uoe,5,2,"ion-content",0),2&r&&(P("ngIf",null==i.orgService.organization||null==i.orgService.organization.settings?null:i.orgService.organization.settings.screens),C(),P("ngIf",i.loadingOrders),C(),P("ngIf",null==i.orgService.organization||null==i.orgService.organization.settings?null:i.orgService.organization.settings.screens))},dependencies:[fo,Gt,on,Ln,Jn,To,oo,gi,lo,ru,Sn,En,un,Dn,co,Bo,ar,qm,Ym,An,In,em]})}return n})();function foe(n,o){if(1&n&&(I(0,"ion-title"),z(1),E()),2&n){const t=M(2);C(),Re(t.product.name)}}function poe(n,o){if(1&n){const t=Me();I(0,"ion-header")(1,"ion-toolbar",2)(2,"ion-buttons",3)(3,"ion-button",4),re("click",function(){return le(t),ce(M().goBack())}),oe(4,"ion-icon",5),E()(),I(5,"ion-buttons",6)(6,"ion-button",4),re("click",function(){return le(t),ce(M().onGoToCheckout())}),oe(7,"ion-icon",7),I(8,"ion-badge",2),z(9),E()()(),se(10,foe,2,1,"ion-title",1),E()()}if(2&n){const t=M();C(9),Te(" ",t.ordersService.getCartCount()>0?t.ordersService.getCartCount():""," "),C(),P("ngIf",t.product)}}function hoe(n,o){if(1&n&&(I(0,"swiper-slide"),oe(1,"ion-img",20),E()),2&n){const t=o.$implicit;C(),P("src",t)}}function moe(n,o){if(1&n&&(I(0,"swiper-container",18),se(1,hoe,2,1,"swiper-slide",19),E()),2&n){const t=M(3);P("slidesPerView",t.getNumberOfSlides())("spaceBetween",10)("loop",!0)("pagination",!0),C(),P("ngForOf",t.product.images)}}function _oe(n,o){if(1&n&&(I(0,"ion-item",21),oe(1,"ion-img",22),E()),2&n){const t=M(3);C(),P("src",t.product.images[0])}}function voe(n,o){if(1&n&&(I(0,"span"),z(1),E()),2&n){const t=M(3);C(),Re(t.product.line.name)}}function yoe(n,o){1&n&&(I(0,"span"),z(1," | "),E())}function boe(n,o){if(1&n&&(I(0,"span"),z(1),E()),2&n){const t=M(3);C(),Re(t.product.category.name)}}function Soe(n,o){if(1&n&&(I(0,"ion-item",12)(1,"ion-label",23),z(2),E()()),2&n){const t=M(3);C(2),Re(t.product.description)}}function Coe(n,o){if(1&n){const t=Me();I(0,"ion-row",24)(1,"ion-chip",25),re("click",function(){return le(t),ce(M(3).onGoToCheckout())}),z(2),E()()}if(2&n){const t=M(3);C(2),Te(" ",t.orgService.organization.settings.screens.product.inCartText.value," ")}}function Toe(n,o){if(1&n){const t=Me();I(0,"ion-button",26),re("click",function(){return le(t),ce(M(3).onAddToCart())}),z(1),E()}if(2&n){const t=M(3);P("disabled",t.loadingAddingToCart),C(),Te(" ",t.orgService.organization.settings.screens.product.toCartBtnText.value," ")}}function woe(n,o){if(1&n&&(I(0,"ion-list",9),se(1,moe,2,5,"swiper-container",10)(2,_oe,2,1,"ion-item",11),I(3,"ion-item",12)(4,"ion-label",13)(5,"p",14),z(6),E(),I(7,"p",15),se(8,voe,2,1,"span",1)(9,yoe,2,0,"span",1)(10,boe,2,1,"span",1),E()()(),se(11,Soe,3,1,"ion-item",16),I(12,"ion-item",12)(13,"ion-card-header")(14,"ion-card-title"),z(15),Go(16,"currency"),E()(),se(17,Coe,3,1,"ion-row",17)(18,Toe,2,2,"ng-template",null,0,k2),E()()),2&n){const t=M2(19),r=M(2);C(),P("ngIf",(null==r.product.images?null:r.product.images.length)>1),C(),P("ngIf",(null==r.product.images?null:r.product.images.length)&&1==(null==r.product.images?null:r.product.images.length)),C(4),Re(r.product.name),C(2),P("ngIf",r.product.line),C(),P("ngIf",r.product.line&&r.product.category),C(),P("ngIf",r.product.category),C(),P("ngIf",r.product.description),C(4),Te(" ",xr(16,10,r.product.price,"",null==r.orgService.organization?null:r.orgService.organization.currency)," "),C(2),P("ngIf",r.ordersService.productIsInCart(r.product.id))("ngIfElse",t)}}function Eoe(n,o){if(1&n&&(I(0,"ion-content"),se(1,woe,20,14,"ion-list",8),E()),2&n){const t=M();C(),P("ngIf",t.product)}}let Ioe=(()=>{class n extends bP{injector;route;ordersService;productsService;product;loadingProduct;isInCart;loadingAddingToCart;constructor(t,r,i,s){super(t),this.injector=t,this.route=r,this.ordersService=i,this.productsService=s}ngOnInit(){const t=this.route.snapshot.paramMap.get("id");this.loadProduct(t)}getNumberOfSlides(){return window.innerWidth>500?3:1}loadProduct(t){this.loadingProduct=!0,this.productsService.getProductById(t).pipe(Wn(()=>this.loadingProduct=!1)).subscribe(r=>{this.product=r},r=>{this.networkError(),this.navCtrl.back()})}onAddToCart(){this.loadingAddingToCart=!0,this.ordersService.addToCart(this.product),this.presentSuccessAlert(`${this.product.name} ${this.orgService.organization.settings.screens.product.addedToCartAlertText.value}`,""),this.isInCart=!0,this.loadingAddingToCart=!1}goBack(){this.navCtrl.navigateBack("products")}static \u0275fac=function(r){return new(r||n)(N(Ht),N(dr),N(Is),N(If))};static \u0275cmp=je({type:n,selectors:[["app-product"]],features:[Dt],decls:2,vars:2,consts:[["toCartBtn",""],[4,"ngIf"],["color","secondary"],["slot","start"],[3,"click"],["name","arrow-back"],["slot","end"],["name","cart-outline"],["class","screen-item","color","primary",4,"ngIf"],["color","primary",1,"screen-item"],["class","screen-item","color","primary",3,"slidesPerView","spaceBetween","loop","pagination",4,"ngIf"],["color","primary","class","ion-justify-content-center ion-align-items-center",4,"ngIf"],["color","primary"],[1,"ion-text-wrap","header"],[1,"title","mb-5"],[1,"subtitle"],["color","primary",4,"ngIf"],["slot","end","class","ion-justify-content-center ion-align-items-center",4,"ngIf","ngIfElse"],["color","primary",1,"screen-item",3,"slidesPerView","spaceBetween","loop","pagination"],[4,"ngFor","ngForOf"],[3,"src"],["color","primary",1,"ion-justify-content-center","ion-align-items-center"],[1,"product-image",3,"src"],[1,"ion-text-wrap","ion-text-justify"],["slot","end",1,"ion-justify-content-center","ion-align-items-center"],["color","success","outline","true",1,"ion-no-margin",3,"click"],["slot","end","size","large","color","success","expand","block",3,"click","disabled"]],template:function(r,i){1&r&&se(0,poe,11,2,"ion-header",1)(1,Eoe,2,1,"ion-content",1),2&r&&(P("ngIf",null==i.orgService||null==i.orgService.organization||null==i.orgService.organization.settings?null:i.orgService.organization.settings.screens),C(),P("ngIf",null==i.orgService||null==i.orgService.organization||null==i.orgService.organization.settings?null:i.orgService.organization.settings.screens))},dependencies:[fo,Gt,ou,on,Ln,oo,lo,ru,Sn,En,un,Ja,Dn,co,Bo,fi,An,In,Ts],styles:[".product-image[_ngcontent-%COMP%]{margin-left:auto!important;margin-right:auto!important;max-width:550px!important}"]})}return n})();const Df=n=>({"input-invalid":n});function Doe(n,o){1&n&&oe(0,"ion-progress-bar",6)}function Poe(n,o){if(1&n){const t=Me();I(0,"ion-header")(1,"ion-toolbar",1)(2,"ion-buttons",2)(3,"ion-button",3),re("click",function(){return le(t),ce(M().navCtrl.navigateBack(""))}),oe(4,"ion-icon",4),E()(),I(5,"ion-title"),z(6),E(),se(7,Doe,1,0,"ion-progress-bar",5),E(),oe(8,"app-smart-bar"),E()}if(2&n){const t=M();C(6),Re(t.orgService.organization.settings.screens.register.toolbarText.value),C(),P("ngIf",t.saving)}}function Moe(n,o){if(1&n){const t=Me();I(0,"app-phone-input",18),re("change",function(){return le(t),ce(M(3).phoneValidate())}),E()}if(2&n){const t=M(3);P("label",t.orgService.organization.settings.screens.register.phoneLabelText.value)("disabled",t.saving)("phoneNumber",t.phone)("isInvalid",!t.phoneIsValid)("placeholder",t.orgService.organization.settings.screens.register.phoneLabelText.value)}}function $oe(n,o){if(1&n){const t=Me();I(0,"ion-list",10)(1,"ion-item",11)(2,"ion-input",12),re("change",function(){return le(t),ce(M(2).firstNameValidate())}),Vn("ngModelChange",function(i){le(t);const s=M(2);return Gn(s.customer.firstName,i)||(s.customer.firstName=i),ce(i)}),E()(),I(3,"ion-item",11)(4,"ion-input",13),re("change",function(){return le(t),ce(M(2).lastNameValidate())}),Vn("ngModelChange",function(i){le(t);const s=M(2);return Gn(s.customer.lastName,i)||(s.customer.lastName=i),ce(i)}),E()(),I(5,"ion-item",11)(6,"ion-input",14),re("change",function(){return le(t),ce(M(2).emailValidate())}),Vn("ngModelChange",function(i){le(t);const s=M(2);return Gn(s.customer.email,i)||(s.customer.email=i),ce(i)}),E()(),I(7,"ion-item",11),se(8,Moe,1,5,"app-phone-input",15),E(),I(9,"ion-item",11)(10,"ion-input",16),re("change",function(){return le(t),ce(M(2).passwordValidate())}),Vn("ngModelChange",function(i){le(t);const s=M(2);return Gn(s.password,i)||(s.password=i),ce(i)}),E()(),I(11,"ion-item",11)(12,"ion-input",17),re("change",function(){return le(t),ce(M(2).passwordConfirmValidate())}),Vn("ngModelChange",function(i){le(t);const s=M(2);return Gn(s.repeatPassword,i)||(s.repeatPassword=i),ce(i)}),E()()()}if(2&n){const t=M(2);C(2),yi("label","",t.orgService.organization.settings.screens.register.firstNameLabelText.value,":"),P("clearInput",!0)("disabled",t.saving)("ngClass",Lo(33,Df,!t.firstNameIsValid)),zn("ngModel",t.customer.firstName),C(2),yi("label","",t.orgService.organization.settings.screens.register.lastNameLabelText.value,":"),P("clearInput",!0)("disabled",t.saving)("ngClass",Lo(35,Df,!t.lastNameIsValid)),zn("ngModel",t.customer.lastName),C(2),yi("label","",t.orgService.organization.settings.screens.register.emailLabelText.value,":"),P("clearInput",!0)("disabled",t.saving)("ngClass",Lo(37,Df,!t.emailIsValid)),zn("ngModel",t.customer.email),C(2),P("ngIf",t.phone),C(2),yi("label","",t.orgService.organization.settings.screens.register.passwordLableText.value,":"),P("disabled",t.saving)("ngClass",Lo(39,Df,!t.passwordIsValid))("clearInput",!0)("autocomplete",!1),zn("ngModel",t.password),C(2),yi("label","",t.orgService.organization.settings.screens.register.confirmPasswordLableText.value,":"),P("autocomplete",!1)("disabled",t.saving)("ngClass",Lo(41,Df,!t.repeatPasswordIsValid))("clearInput",!0),zn("ngModel",t.repeatPassword)}}function Aoe(n,o){if(1&n){const t=Me();I(0,"ion-button",19),re("click",function(){return le(t),ce(M(2).register())}),z(1),E()}if(2&n){const t=M(2);P("disabled",t.saving),C(),Te("",t.orgService.organization.settings.screens.register.registerBtnText.value," ")}}function Noe(n,o){if(1&n&&(I(0,"ion-card-header")(1,"ion-card-title"),z(2),E()()),2&n){const t=M(3);C(2),Te(" ",t.orgService.organization.settings.screens.register.registerInviteOnlyTitle.value," ")}}function xoe(n,o){if(1&n&&(I(0,"ion-card-content")(1,"p"),z(2),E()()),2&n){const t=M(3);C(2),Te(" ",t.orgService.organization.settings.screens.register.registerInviteOnlyDescription.value," ")}}function Ooe(n,o){if(1&n&&(I(0,"ion-card",20),se(1,Noe,3,1,"ion-card-header",0)(2,xoe,3,1,"ion-card-content",0),E()),2&n){const t=M(2);C(),P("ngIf",t.orgService.organization.settings.screens.register.registerInviteOnlyTitle),C(),P("ngIf",t.orgService.organization.settings.screens.register.registerInviteOnlyDescription)}}function koe(n,o){if(1&n&&(I(0,"ion-content"),se(1,$oe,13,43,"ion-list",7)(2,Aoe,2,2,"ion-button",8)(3,Ooe,3,2,"ion-card",9),E()),2&n){const t=M();C(),P("ngIf",t.isInvitePolicyChecked&&!t.isInviteOnly),C(),P("ngIf",t.isInvitePolicyChecked&&!t.isInviteOnly),C(),P("ngIf",t.isInvitePolicyChecked&&t.isInviteOnly)}}let hb=(()=>{class n extends Nn{injector;accountService;route;password;repeatPassword;customer;saving;phone;firstNameIsValid=!0;lastNameIsValid=!0;emailIsValid=!0;phoneIsValid=!0;passwordIsValid=!0;repeatPasswordIsValid=!0;isInviteOnly=!1;isInvitePolicyChecked=!1;isInvite=!1;constructor(t,r,i){super(t),this.injector=t,this.accountService=r,this.route=i,this.customer=new ab,this.accountService.getCustomer().subscribe(s=>{s&&(this.customer=s)})}ngOnInit(){var t=this;return(0,Ge.A)(function*(){t.phone=new g1;const r=t.route.snapshot.paramMap.get("id");yield t.showLoading();const i=yield t.ensureOrganizationLoaded();if(t.phone.code=i.phoneCode,r)return t.initInvite(r),void(yield t.hideLoading());t.checkRegistrationPolicy(),yield t.hideLoading()})()}initInvite(t){this.accountService.getInvite(t).subscribe(r=>{this.customer=r,this.phone.phone=r?.phoneNumber,this.isInvitePolicyChecked=!0,this.isInvite=!0},()=>{this.isInvitePolicyChecked=!0})}ensureOrganizationLoaded(){var t=this;return(0,Ge.A)(function*(){return t.orgService.organization?t.orgService.organization:yield uu(t.organizationPromise)})()}checkRegistrationPolicy(){var t=this;return(0,Ge.A)(function*(){yield t.showLoading(),t.accountService.isInviteOnly().pipe(Ca((0,Ge.A)(function*(){t.isInvitePolicyChecked=!0,yield t.hideLoading()}))).subscribe({next:r=>{t.isInviteOnly=r},error:r=>{console.error(r)}})})()}register(){var t=this;return(0,Ge.A)(function*(){t.voidValidation(),!t.hasErrors()&&(yield t.showLoading(),t.saving=!0,t.accountService.currentRegistrationRequest={firstName:t.customer.firstName,lastName:t.customer.lastName,email:t.customer.email,phoneNumber:t.phone.code+t.phone.phone,password:t.password,customerId:t.customer.customerId},t.accountService.phoneNumber=t.accountService.currentRegistrationRequest.phoneNumber,t.customer.phoneNumber=t.phone.code+t.phone.phone,t.accountService.register(t.accountService.currentRegistrationRequest).pipe(Wn(r=>{if(t.saving=!1,t.isInvite)return t.accountService.setUser(r),void t.navCtrl.navigateForward("");t.navCtrl.navigateForward("confirm")}),Jr(r=>(t.saving=!1,t.accountService.currentRegistrationRequest=null,t.accountService.phoneNumber=null,io(t.presentAlert(t.orgService.organization.settings.screens.register.toolbarText.value,r.error.message)))),Ca(()=>io(t.hideLoading()).subscribe())).subscribe())})()}firstNameValidate(){return this.firstNameIsValid=!!this.customer.firstName,this.firstNameIsValid}lastNameValidate(){return this.lastNameIsValid=!!this.customer.lastName,this.lastNameIsValid}phoneValidate(){return this.phoneIsValid=!!this.phone.phone&&this.phone.phone.length>=6,this.phoneIsValid}emailValidate(){return this.emailIsValid=/\S+@\S+\.\S+/.test(this.customer.email),this.emailIsValid}passwordValidate(){return this.passwordIsValid=!!this.password&&this.password.length>=6,this.passwordIsValid}passwordConfirmValidate(){return this.repeatPasswordIsValid=!!this.repeatPassword&&this.password===this.repeatPassword,this.repeatPasswordIsValid}hasErrors(){let t=!1;return this.firstNameValidate()||(t=!0),this.lastNameValidate()||(t=!0),this.phoneValidate()||(t=!0),this.emailValidate()||(t=!0),this.passwordValidate()||(t=!0),this.passwordConfirmValidate()||(t=!0),t}voidValidation(){this.firstNameIsValid=!0,this.lastNameIsValid=!0,this.emailIsValid=!0,this.phoneIsValid=!0,this.passwordIsValid=!0}static \u0275fac=function(r){return new(r||n)(N(Ht),N(gr),N(dr))};static \u0275cmp=je({type:n,selectors:[["app-register"]],features:[Dt],decls:2,vars:2,consts:[[4,"ngIf"],["color","secondary",1,"mobile-item"],["slot","start"],[3,"click"],["name","arrow-back"],["type","indeterminate",4,"ngIf"],["type","indeterminate"],["class","screen-item",4,"ngIf"],["class","screen-item","expand","full","color","success",3,"disabled","click",4,"ngIf"],["color","primary",4,"ngIf"],[1,"screen-item"],["color","primary","lines","none"],["labelPlacement","stacked",1,"mb-10","mt-10",3,"change","ngModelChange","label","clearInput","disabled","ngClass","ngModel"],["labelPlacement","stacked",1,"mb-10",3,"change","ngModelChange","label","clearInput","disabled","ngClass","ngModel"],["labelPlacement","stacked","type","email",3,"change","ngModelChange","label","clearInput","disabled","ngClass","ngModel"],["name","phone",3,"label","disabled","phoneNumber","isInvalid","placeholder","change",4,"ngIf"],["labelPlacement","stacked","placeholder","******","type","password",1,"mb-10",3,"change","ngModelChange","label","disabled","ngClass","clearInput","autocomplete","ngModel"],["labelPlacement","stacked","placeholder","******","type","password",1,"mb-10",3,"change","ngModelChange","label","autocomplete","disabled","ngClass","clearInput","ngModel"],["name","phone",3,"change","label","disabled","phoneNumber","isInvalid","placeholder"],["expand","full","color","success",1,"screen-item",3,"click","disabled"],["color","primary"]],template:function(r,i){1&r&&se(0,Poe,9,2,"ion-header",0)(1,koe,4,3,"ion-content",0),2&r&&(P("ngIf",i.orgService.organization&&i.orgService.organization.settings&&i.orgService.organization.settings.screens),C(),P("ngIf",i.customer&&i.orgService.organization&&i.orgService.organization.settings&&i.orgService.organization.settings.screens))},dependencies:[Cs,Gt,Xr,Zr,on,Ln,Jn,To,oo,lo,Sn,En,un,Ys,Dn,Bo,ar,An,In,bi,Uo,f1]})}return n})();const SP=n=>({error:n});function Roe(n,o){if(1&n){const t=Me();I(0,"ion-header")(1,"ion-toolbar",1)(2,"ion-buttons",2)(3,"ion-button",3),re("click",function(){return le(t),ce(M().navCtrl.navigateForward("tabs/home"))}),oe(4,"ion-icon",4),E()(),I(5,"ion-title"),z(6),E()(),oe(7,"app-smart-bar"),E()}if(2&n){const t=M();C(6),Re(t.orgService.organization.settings.screens.reset.toolbarText.value)}}function Loe(n,o){if(1&n&&oe(0,"app-phone-input",10),2&n){const t=M(2);P("label",t.orgService.organization.settings.screens.reset.phoneLabelText.value)("disabled",t.saving)("phoneNumber",t.phone)("isInvalid",!t.phoneIsValid)("placeholder",t.orgService.organization.settings.screens.reset.phoneLabelText.value)}}function Foe(n,o){1&n&&oe(0,"ion-progress-bar",11)}function Boe(n,o){if(1&n){const t=Me();I(0,"ion-content")(1,"ion-item",5),se(2,Loe,1,5,"app-phone-input",6),E(),I(3,"ion-item",5)(4,"ion-input",7),re("change",function(){return le(t),ce(M().passwordValidate())}),Vn("ngModelChange",function(i){le(t);const s=M();return Gn(s.password,i)||(s.password=i),ce(i)}),E()(),I(5,"ion-item",5)(6,"ion-input",7),re("change",function(){return le(t),ce(M().passwordConfirmValidate())}),Vn("ngModelChange",function(i){le(t);const s=M();return Gn(s.repeatPassword,i)||(s.repeatPassword=i),ce(i)}),E()(),se(7,Foe,1,0,"ion-progress-bar",8),I(8,"ion-button",9),re("click",function(){return le(t),ce(M().reset())}),z(9),E()()}if(2&n){const t=M();C(2),P("ngIf",t.phone),C(2),yi("label","",t.orgService.organization.settings.screens.reset.newPasswordLableText.value,":"),P("disabled",t.saving)("ngClass",Lo(14,SP,!t.passwordIsValid)),zn("ngModel",t.password),C(2),yi("label","",t.orgService.organization.settings.screens.reset.confirmNewPassword.value,":"),P("disabled",t.saving)("ngClass",Lo(16,SP,!t.repeatPasswordIsValid)),zn("ngModel",t.repeatPassword),C(),P("ngIf",t.saving),C(),P("disabled",t.saving),C(),Te(" ",t.orgService.organization.settings.screens.reset.resetBtnText.value,"")}}let CP=(()=>{class n extends Nn{injector;accountService;password;repeatPassword;saving;phone;phoneIsValid=!0;passwordIsValid=!0;repeatPasswordIsValid=!0;constructor(t,r){super(t),this.injector=t,this.accountService=r}ngOnInit(){this.phone=new g1,this.orgService.organization?this.phone.code=this.orgService.organization.phoneCode:this.organizationPromise.toPromise().then(t=>{t&&(this.phone.code=t.phoneCode)})}reset(){var t=this;return(0,Ge.A)(function*(){t.voidValidation(),!t.hasErrors()&&(t.saving=!0,t.accountService.currentResetRequest={phoneNumber:t.phone.code+t.phone.phone,password:t.password},t.accountService.reset(t.accountService.currentResetRequest).subscribe(()=>{t.saving=!1,t.accountService.phoneNumber=t.accountService.currentResetRequest.phoneNumber,t.navCtrl.navigateForward("confirm")},r=>(t.saving=!1,t.accountService.currentRegistrationRequest=null,t.accountService.phoneNumber=null,t.presentAlert(t.orgService.organization.settings.screens.register.toolbarText.value,r?.error?.message))))})()}phoneValidate(){return this.phoneIsValid=!!this.phone.phone&&this.phone.phone.length>=6,this.phoneIsValid}passwordValidate(){return this.passwordIsValid=!!this.password&&this.password.length>=6,this.passwordIsValid}passwordConfirmValidate(){return this.repeatPasswordIsValid=!!this.repeatPassword&&this.password===this.repeatPassword,this.repeatPasswordIsValid}hasErrors(){let t=!1;return this.phoneValidate()||(t=!0),this.passwordValidate()||(t=!0),this.passwordConfirmValidate()||(t=!0),t}voidValidation(){this.phoneIsValid=!0,this.passwordIsValid=!0}static \u0275fac=function(r){return new(r||n)(N(Ht),N(gr))};static \u0275cmp=je({type:n,selectors:[["app-reset"]],features:[Dt],decls:2,vars:2,consts:[[4,"ngIf"],["color","secondary",1,"mobile-item"],["slot","start"],[3,"click"],["name","arrow-back"],["color","primary",1,"screen-item"],["class","mt-10","name","phone",3,"label","disabled","phoneNumber","isInvalid","placeholder",4,"ngIf"],["labelPlacement","stacked","placeholder","******","type","password","clearInput","",1,"mb-10",3,"change","ngModelChange","label","disabled","ngClass","ngModel"],["type","indeterminate","color","secondary",4,"ngIf"],["expand","full","color","success",1,"screen-item",3,"click","disabled"],["name","phone",1,"mt-10",3,"label","disabled","phoneNumber","isInvalid","placeholder"],["type","indeterminate","color","secondary"]],template:function(r,i){1&r&&se(0,Roe,8,1,"ion-header",0)(1,Boe,10,18,"ion-content",0),2&r&&(P("ngIf",i.orgService.organization&&i.orgService.organization.settings&&i.orgService.organization.settings.screens),C(),P("ngIf",i.orgService.organization&&i.orgService.organization.settings&&i.orgService.organization.settings.screens))},dependencies:[Cs,Gt,Xr,Zr,on,Ln,Sn,En,un,Ys,Dn,ar,An,In,bi,Uo,f1],styles:[".error[_ngcontent-%COMP%]{border-bottom:2px solid var(--ion-color-danger)}.phone-width[_ngcontent-%COMP%]{width:100px!important}"]})}return n})();function Uoe(n,o){if(1&n){const t=Me();I(0,"ion-toolbar",3)(1,"ion-buttons",4)(2,"ion-button",5),re("click",function(){return le(t),ce(M(2).closeModal())}),oe(3,"ion-icon",6),E()(),I(4,"ion-title"),z(5),E()()}if(2&n){const t=M(2);C(5),Re(t.orgService.organization.settings.screens.service.toolbarText.value)}}function zoe(n,o){if(1&n&&(I(0,"ion-header"),se(1,Uoe,6,1,"ion-toolbar",2),E()),2&n){const t=M();C(),P("ngIf",t.settingsReady)}}function Voe(n,o){if(1&n&&(I(0,"span",15),oe(1,"i",16),z(2),E()),2&n){const t=M(3);C(2),Re(t.service.duration)}}function Hoe(n,o){1&n&&oe(0,"i",18)}function joe(n,o){if(1&n&&(I(0,"span"),se(1,Hoe,1,0,"i",17),z(2),Go(3,"currency"),E()),2&n){const t=M(3);C(),P("ngIf",!(null!=t.orgService.organization&&t.orgService.organization.currency)),C(),Te(" ",xr(3,2,t.service.price,"",null==t.orgService.organization?null:t.orgService.organization.currency),"")}}function Goe(n,o){if(1&n&&(I(0,"ion-item",10)(1,"ion-label",11)(2,"h1",12),z(3),E(),I(4,"p",13),se(5,Voe,3,1,"span",14)(6,joe,4,6,"span",0),E()()()),2&n){const t=M(2);C(3),Re(t.service.name),C(2),P("ngIf",t.service.duration),C(),P("ngIf",t.service.price)}}function Woe(n,o){if(1&n&&(I(0,"span",15),oe(1,"i",16),z(2),E()),2&n){const t=M(3);C(2),Re(t.service.duration)}}function qoe(n,o){1&n&&oe(0,"i",18)}function Yoe(n,o){if(1&n&&(I(0,"span"),se(1,qoe,1,0,"i",17),z(2),Go(3,"currency"),E()),2&n){const t=M(3);C(),P("ngIf",!(null!=t.orgService.organization&&t.orgService.organization.currency)),C(),Te(" ",xr(3,2,t.service.price,"",null==t.orgService.organization?null:t.orgService.organization.currency),"")}}function Koe(n,o){if(1&n){const t=Me();I(0,"div")(1,"ion-fab",19)(2,"ion-fab-button",20),re("click",function(){return le(t),ce(M(2).closeModal())}),oe(3,"ion-icon",6),E()(),oe(4,"ion-img",21),I(5,"ion-card",22)(6,"ion-card-header",23)(7,"ion-card-title"),z(8),E(),I(9,"ion-card-subtitle"),se(10,Woe,3,1,"span",14)(11,Yoe,4,6,"span",0),E()()()()}if(2&n){const t=M(2);C(4),P("src",t.service.photo),C(),P("@fadeInAnimation",void 0),C(3),Re(t.service.name),C(2),P("ngIf",t.service.duration),C(),P("ngIf",t.service.price)}}function Xoe(n,o){if(1&n&&(I(0,"ion-item",10)(1,"ion-card-content",24),z(2),E()()),2&n){const t=M(2);C(2),Te(" ",t.service.description," ")}}function Zoe(n,o){if(1&n&&(I(0,"span",15),oe(1,"i",16),z(2),E()),2&n){const t=M().$implicit;C(2),Re(t.duration)}}function Qoe(n,o){1&n&&oe(0,"i",18)}function Joe(n,o){if(1&n&&(I(0,"span"),se(1,Qoe,1,0,"i",17),z(2),Go(3,"currency"),E()),2&n){const t=M().$implicit,r=M(3);C(),P("ngIf",!(null!=r.orgService.organization&&r.orgService.organization.currency)),C(),Te(" ",xr(3,2,t.price,"",null==r.orgService.organization?null:r.orgService.organization.currency),"")}}function ere(n,o){1&n&&oe(0,"ion-icon",32)}function tre(n,o){1&n&&oe(0,"ion-icon",33)}function nre(n,o){if(1&n){const t=Me();I(0,"ion-item",26),re("click",function(){const i=le(t).$implicit;return ce(M(3).onBookingServiceClick(i))}),oe(1,"ion-icon",27),I(2,"ion-label",11)(3,"p",28),z(4),E(),I(5,"p",29),se(6,Zoe,3,1,"span",14)(7,Joe,4,6,"span",0),E()(),se(8,ere,1,0,"ion-icon",30)(9,tre,1,0,"ion-icon",31),E()}if(2&n){const t=o.$implicit;C(4),Re(t.name),C(2),P("ngIf",t.duration),C(),P("ngIf",t.price),C(),P("ngIf",t.selected),C(),P("ngIf",!t.selected)}}function ore(n,o){if(1&n&&(I(0,"ion-card-content"),se(1,nre,10,5,"ion-item",25),E()),2&n){const t=M(2);C(),P("ngForOf",t.extras)}}function rre(n,o){if(1&n){const t=Me();I(0,"div",34)(1,"ion-button",35),re("click",function(){return le(t),ce(M(2).book())}),z(2),E()()}if(2&n){const t=M(2);C(2),Te(" ",t.orgService.organization.settings.screens.service.bookButtonText.value," ")}}function ire(n,o){if(1&n&&(I(0,"ion-list",7),se(1,Goe,7,3,"ion-item",8)(2,Koe,12,5,"div",0)(3,Xoe,3,1,"ion-item",8)(4,ore,2,1,"ion-card-content",0)(5,rre,3,1,"div",9),E()),2&n){const t=M();C(),P("ngIf",!t.service.photo),C(),P("ngIf",t.service.photo),C(),P("ngIf",t.service.description),C(),P("ngIf",t.extras&&t.extras.length),C(),P("ngIf",!t.service.isExtraOnly)}}let TP=(()=>{class n extends Nn{injector;router;route;servicesService;bookingService;service;extras;bookingStarted=!1;stylist=null;constructor(t,r,i,s,u){super(t),this.injector=t,this.router=r,this.route=i,this.servicesService=s,this.bookingService=u}ngOnInit(){if(this.router.getCurrentNavigation()?.extras.state){const t=this.router.getCurrentNavigation().extras.state;this.service=t.service,this.stylist=t.stylist,this.initExtras(this.service.id)}if(!this.service){const t=this.route.snapshot.paramMap.get("id");this.servicesService.getService(t).subscribe(r=>{this.service=r,this.initExtras(this.service.id)})}}closeModal(){this.navCtrl.navigateBack("services")}initExtras(t){this.servicesService.getServiceExtras(t).subscribe(r=>{this.extras=r||[]})}book(){this.bookingStarted?this.navCtrl.navigateRoot("booking"):(this.showLoading(),this.bookingService.getLocation(this.service.id,this.stylist?.id).subscribe(t=>{if(this.bookingService.voidBooking(),this.bookingService.updateLocation(t),this.bookingService.addService(this.service,this.service.defaultCategoryId),!this.stylist)return this.navCtrl.navigateRoot("booking"),void this.hideLoading();this.bookingService.updateBarber(this.stylist).subscribe(()=>{this.navCtrl.navigateRoot("booking"),this.hideLoading()},()=>{this.navCtrl.navigateRoot("booking"),this.hideLoading()})},()=>{this.hideLoading()}))}onBookingServiceClick(t){var r=this;return(0,Ge.A)(function*(){r.bookingStarted?r.addRemoveService(t):(r.showLoading(),r.bookingService.getLocation(r.service.id,r.stylist?.id).subscribe(i=>{if(r.bookingService.voidBooking(),r.bookingService.updateLocation(i),r.addRemoveService(t),!r.stylist)return r.bookingStarted=!0,void r.hideLoading();r.bookingService.updateBarber(r.stylist).subscribe(()=>{r.bookingStarted=!0,r.hideLoading()},()=>{r.bookingStarted=!0,r.hideLoading()})},()=>{r.hideLoading()}))})()}addRemoveService(t){const r=this.bookingService.getServiceIds()||[];r.includes(t.id)?(this.bookingService.removeService(t),t.selected=!1):(r.includes(this.service.id)||this.bookingService.addService(this.service,this.service.defaultCategoryId),this.bookingService.addService(t,t.defaultCategoryId,this.service.id),t.selected=!0)}static \u0275fac=function(r){return new(r||n)(N(Ht),N(Qo),N(dr),N(Sf),N(qn))};static \u0275cmp=je({type:n,selectors:[["app-service"]],features:[Dt],decls:3,vars:2,consts:[[4,"ngIf"],["class","screen-item bg-primary",4,"ngIf"],["color","secondary",4,"ngIf"],["color","secondary"],["slot","start"],[3,"click"],["name","arrow-back"],[1,"screen-item","bg-primary"],["color","primary",4,"ngIf"],["class","ion-text-center mb-15",4,"ngIf"],["color","primary"],[1,"ion-text-wrap","header"],[1,"title"],[1,"subtitle","mt-10"],["class","mr-15",4,"ngIf"],[1,"mr-15"],[1,"flaticon-clock","mr-5"],["class","flaticon-wallet mr-5",4,"ngIf"],[1,"flaticon-wallet","mr-5"],["vertical","top","horizontal","start"],["size","small","color","secondary",3,"click"],[3,"src"],["color","secondary",1,"card-with-header"],[1,"secondary-contrast"],[1,"ion-text-justify"],["lines","true","class","extra pointer","color","primary",3,"click",4,"ngFor","ngForOf"],["lines","true","color","primary",1,"extra","pointer",3,"click"],["slot","start","name","add"],[1,"subtitle"],[1,"subtitle","mt-5"],["slot","end","name","checkbox-outline",4,"ngIf"],["slot","end","name","stop-outline",4,"ngIf"],["slot","end","name","checkbox-outline"],["slot","end","name","stop-outline"],[1,"ion-text-center","mb-15"],["color","success",3,"click"]],template:function(r,i){1&r&&(se(0,zoe,2,1,"ion-header",0),I(1,"ion-content"),se(2,ire,6,5,"ion-list",1),E()),2&r&&(P("ngIf",i.service&&!i.service.photo),C(2),P("ngIf",i.settingsReady&&i.service))},dependencies:[fo,Gt,on,Ln,Jn,To,oo,gi,lo,Sn,Qa,Es,En,un,Ja,Dn,co,Bo,An,In,Ts],styles:["ion-img[_ngcontent-%COMP%]{max-width:550px;margin-left:auto;margin-right:auto}.screen-item[_ngcontent-%COMP%]{max-width:700px}.card-with-header[_ngcontent-%COMP%]{margin-top:-50px!important;max-width:400px!important}"],data:{animation:[Xs("fadeInAnimation",[Qs(":enter",[cr({opacity:0}),Zs("500ms",cr({opacity:1}))])])]}})}return n})();function sre(n,o){if(1&n){const t=Me();I(0,"ion-header")(1,"ion-toolbar",2)(2,"ion-buttons",3)(3,"ion-button",4),re("click",function(){return le(t),ce(M().goBack())}),oe(4,"ion-icon",5),E()(),I(5,"ion-title"),z(6),E()(),oe(7,"app-smart-bar"),E()}if(2&n){const t=M();C(6),Re(t.orgService.organization.settings.screens.services.toolbarText.value)}}function are(n,o){if(1&n){const t=Me();I(0,"app-service-item",19),re("click",function(){const i=le(t).$implicit,s=M(2).$implicit;return ce(M(3).onServiceClick(i,null,s.id,s.id+i.id))}),E()}if(2&n){const t=o.$implicit,r=M(2).$implicit,i=M(3);P("service",t)("isFromBooking",i.isFromBooking||i.isFromWaitingListItem)("isExtra",!0)("selected",i.serviceSelected(t))("id",r.id+t.id)}}function lre(n,o){if(1&n&&(I(0,"ion-list",15)(1,"ion-item-divider",16)(2,"ion-label",17),z(3),E()(),se(4,are,1,5,"app-service-item",18),E()),2&n){const t=M().$implicit,r=M(3);C(3),Te(" ",r.orgService.organization.settings.screens.services.addOnsLabelText.value,": "),C(),P("ngForOf",t.extras)}}function cre(n,o){if(1&n){const t=Me();I(0,"ion-item-sliding",12)(1,"app-service-item",13),re("click",function(){const i=le(t).$implicit;return ce(M(3).onServiceClick(i,null,null,i.id))}),E(),se(2,lre,5,2,"ion-list",14),E()}if(2&n){const t=o.$implicit,r=M(3);P("@listAnimation",r.services.length),C(),P("service",t)("isFromBooking",r.isFromBooking||r.isFromWaitingListItem)("selected",r.serviceSelected(t))("id",t.id),C(),P("ngIf",(r.isFromBooking||r.isFromWaitingListItem)&&t.extras&&t.extras.length&&r.serviceSelected(t))}}function dre(n,o){if(1&n&&(I(0,"span"),se(1,cre,3,6,"ion-item-sliding",11),E()),2&n){const t=M(2);C(),P("ngForOf",t.services)}}function ure(n,o){if(1&n){const t=Me();I(0,"app-service-item",19),re("click",function(){const i=le(t).$implicit,s=M(2).$implicit,u=M().$implicit;return ce(M(4).onServiceClick(i,u.categoryId,s.id,u.categoryId+s.id+i.id))}),E()}if(2&n){const t=o.$implicit,r=M(2).$implicit,i=M().$implicit,s=M(4);P("service",t)("isFromBooking",!0)("isExtra",!0)("selected",s.serviceSelected(t))("id",i.categoryId+r.id+t.id)}}function gre(n,o){if(1&n&&(I(0,"ion-list",15)(1,"ion-item-divider",16)(2,"ion-label",17),z(3),E()(),se(4,ure,1,5,"app-service-item",18),E()),2&n){const t=M().$implicit,r=M(5);C(3),Te(" ",r.orgService.organization.settings.screens.services.addOnsLabelText.value,": "),C(),P("ngForOf",t.extras)}}function fre(n,o){if(1&n){const t=Me();I(0,"ion-item-sliding",29)(1,"app-service-item",13),re("click",function(){const i=le(t).$implicit,s=M().$implicit;return ce(M(4).onServiceClick(i,s.categoryId,null,s.categoryId+i.id))}),E(),se(2,gre,5,2,"ion-list",14),E()}if(2&n){const t=o.$implicit,r=M().$implicit,i=M(4);C(),P("service",t)("isFromBooking",i.isFromBooking||i.isFromWaitingListItem)("selected",i.serviceSelected(t))("id",r.categoryId+t.id),C(),P("ngIf",(i.isFromBooking||i.isFromWaitingListItem)&&t.extras&&t.extras.length&&i.serviceSelected(t))}}function pre(n,o){if(1&n&&(I(0,"ion-accordion",23)(1,"ion-item",24)(2,"ion-label",25)(3,"h1",26),z(4),E(),I(5,"p",27),z(6),E()()(),se(7,fre,3,5,"ion-item-sliding",28),E()),2&n){const t=o.$implicit;P("value",t.categoryId),C(4),Re(t.name),C(2),Te(" ",t.description," "),C(),P("ngForOf",t.services)}}function hre(n,o){if(1&n&&(I(0,"ion-accordion-group",21),se(1,pre,8,4,"ion-accordion",22),E()),2&n){const t=M(3);P("@listAnimation",t.categories.length)("animated",!0)("value",t.selectedCategoryId),C(),P("ngForOf",t.categories)}}function mre(n,o){if(1&n&&(I(0,"span"),se(1,hre,2,4,"ion-accordion-group",20),E()),2&n){const t=M(2);C(),P("ngIf",t.categories&&t.categories.length)}}function _re(n,o){if(1&n){const t=Me();I(0,"ion-card",30)(1,"ion-card-header")(2,"ion-card-title",31),z(3),E(),I(4,"ion-card-content",31)(5,"ion-card-subtitle"),z(6),E()(),I(7,"ion-button",32),re("click",function(){return le(t),ce(M(2).onGoToWaitingItem())}),z(8),E()()()}if(2&n){const t=M(2);C(3),Te(" ",t.orgService.organization.settings.screens.services.notFoundCardTitle.value," "),C(3),Te(" ",t.orgService.organization.settings.screens.services.notFoundCardSubtitle.value," "),C(2),Te(" ",t.orgService.organization.settings.screens.services.goToWaitingItemButtonText.value," ")}}function vre(n,o){if(1&n&&(I(0,"ion-item",30)(1,"ion-text",33),z(2),E()()),2&n){const t=M(2);C(2),Te(" ",t.orgService.organization.settings.screens.services.notFoundText.value," ")}}function yre(n,o){if(1&n){const t=Me();I(0,"ion-fab",34)(1,"ion-fab-button",35),re("click",function(){return le(t),ce(M(2).goBack())}),z(2,"OK"),E()()}}function bre(n,o){if(1&n){const t=Me();I(0,"ion-content",6)(1,"ion-refresher",7),re("ionRefresh",function(i){return le(t),ce(M().doRefresh(i))}),oe(2,"ion-refresher-content"),E(),I(3,"ion-list",8),se(4,dre,2,1,"span",0)(5,mre,2,1,"span",0)(6,_re,9,3,"ion-card",9)(7,vre,3,1,"ion-item",9),E(),se(8,yre,3,0,"ion-fab",10),E()}if(2&n){const t=M();P("scrollEvents",!0),C(4),P("ngIf",t.services),C(),P("ngIf",t.categories),C(),P("ngIf",t.shouldShowWaitingItemCard()),C(),P("ngIf",t.shouldShowShortNotFoundText()),C(),P("ngIf",t.isFromBooking||t.isFromWaitingListItem)}}let mb=(()=>{class n extends Nn{injector;servicesService;bookingService;router;waitingListService;services;categories;selectedCategoryId;filteredServices;isFromBooking;isFromWaitingListItem;booking;servicesLoading;selectedServiceIdFromBookingPage;content;constructor(t,r,i,s,u){super(t),this.injector=t,this.servicesService=r,this.bookingService=i,this.router=s,this.waitingListService=u}ngOnInit(){return(0,Ge.A)(function*(){})()}ionViewWillEnter(){var t=this;return(0,Ge.A)(function*(){yield t.loadServices(null)})()}onServiceClick(t,r=null,i=null,s){var u=this;return(0,Ge.A)(function*(){u.isFromBooking||u.isFromWaitingListItem?u.isFromBooking?yield u.onBookingServiceClick(t,r,i,s):u.isFromWaitingListItem&&(yield u.onWaitingListServiceClick(t,r,i)):u.navCtrl.navigateForward(["service",t.id],{state:{service:t}})})()}onWaitingListServiceClick(t,r=null,i=null){var s=this;return(0,Ge.A)(function*(){s.selectedCategoryId=r,s.waitingListService.getItem().services.findIndex(p=>p.id===t.id)>=0?s.waitingListService.removeService(t):s.waitingListService.addService(t,r,i),yield s.loadServices(null)})()}onBookingServiceClick(t,r=null,i=null,s){var u=this;return(0,Ge.A)(function*(){u.selectedCategoryId=r;const p=u.bookingService.booking;p.services&&p.services.findIndex(m=>m.id===t.id)>=0?u.bookingService.removeService(t):u.bookingService.addService(t,r,i),t.duration&&t.duration>0&&u.bookingService.booking.timeSlot&&(yield u.loadServices(null,s))})()}serviceSelected(t){return this.isFromBooking?this.bookingService.booking&&this.bookingService.booking.serviceIds&&this.bookingService.booking.serviceIds.includes(t.id):!!this.isFromWaitingListItem&&this.waitingListService.getItem().services.findIndex(r=>r.id===t.id)>=0}shouldShowWaitingItemCard(){return!this.servicesLoading&&this.isFromBooking&&this.services&&!this.services.length&&this.categories&&!this.categories.length}shouldShowShortNotFoundText(){return!(this.isFromBooking||this.isFromWaitingListItem||this.services&&this.services.length||this.categories&&this.categories.length||!this.services||!this.categories)}onGoToWaitingItem(){const t=this.waitingListService.mapBookingToWaitingItem(this.bookingService.booking);this.waitingListService.setItem(t),this.navCtrl.navigateForward("waiting-list-item"),this.goBack()}loadServices(t,r=null){var i=this;return(0,Ge.A)(function*(){const s=history.state;if(i.isFromBooking=(s.isFromBooking??!1)&&!!i.bookingService.booking&&!!i.bookingService.booking.locationId,i.isFromWaitingListItem=s.isFromWaitingListItem??!1,i.selectedServiceIdFromBookingPage=s.selectedServiceIdFromBookingPage??null,yield i.showLoading(),i.isFromBooking)return i.booking=i.bookingService.booking,void i.bookingService.getServicesWithCategories().subscribe(function(){var u=(0,Ge.A)(function*(p){i.services=p?.services??[],i.categories=p?.categories??[],yield i.hideLoading(),i.selectCategory(i.booking.servicesConfig),!i.selectedCategoryId&&!i.services.length&&1==i.categories.length&&(i.selectedCategoryId=i.categories[0].categoryId),i.completeEvent(t),i.scrollToElement(r)});return function(p){return u.apply(this,arguments)}}(),(0,Ge.A)(function*(){yield i.hideLoading(),i.completeEvent(t),i.scrollToElement(r)}));if(i.isFromWaitingListItem){const u=i.waitingListService.getItem();i.waitingListService.getServicesWithCategories().subscribe(p=>{i.services=p?.services??[],i.categories=p?.categories??[],i.hideLoading(),i.completeEvent(t),i.selectCategory(u.servicesConfig)},()=>{i.completeEvent(t),i.hideLoading()})}else i.servicesService.getServicesWithCategories().subscribe(u=>{i.services=u?.services,i.categories=u?.categories,i.hideLoading()},()=>{i.hideLoading()})})()}scrollToElement(t){t&&setTimeout(()=>{const i=document.getElementById(t).getBoundingClientRect();this.content.scrollToPoint(0,i.top-60,0)},500)}selectCategory(t){if(!this.selectedCategoryId&&t)for(let r=0;r<t.length;r++){const i=t[r];if(i.categoryId){if(!this.selectedServiceIdFromBookingPage){this.selectedCategoryId=i.categoryId;break}if(this.selectedServiceIdFromBookingPage==i.serviceId){this.selectedCategoryId=i.categoryId;break}}}}doRefresh(t){var r=this;return(0,Ge.A)(function*(){yield r.loadServices(t)})()}goBack(){this.isFromBooking?this.navCtrl.navigateBack("booking"):this.isFromWaitingListItem?this.navCtrl.navigateBack("waiting-list-item"):this.navCtrl.navigateForward("")}book(t){this.bookingService.getLocation(t.id,null).subscribe(r=>{this.bookingService.voidBooking(),this.bookingService.updateLocation(r),this.bookingService.addService(t),this.navCtrl.navigateRoot("booking")},()=>this.networkError())}static \u0275fac=function(r){return new(r||n)(N(Ht),N(Sf),N(qn),N(Qo),N(du))};static \u0275cmp=je({type:n,selectors:[["app-services"]],viewQuery:function(r,i){if(1&r&&di(Sn,5),2&r){let s;ir(s=sr())&&(i.content=s.first)}},features:[Dt],decls:2,vars:2,consts:[[4,"ngIf"],[3,"scrollEvents",4,"ngIf"],["color","secondary",1,"mobile-item"],["slot","start"],[3,"click"],["name","arrow-back"],[3,"scrollEvents"],["slot","fixed",3,"ionRefresh"],[1,"screen-item"],["color","primary",4,"ngIf"],["vertical","bottom","horizontal","center","slot","fixed",4,"ngIf"],["class","barber-card",4,"ngFor","ngForOf"],[1,"barber-card"],[3,"click","service","isFromBooking","selected","id"],["class","mt-0 pt-0 pb-0",4,"ngIf"],[1,"mt-0","pt-0","pb-0"],[1,"devider"],[1,"mt-15"],[3,"service","isFromBooking","isExtra","selected","id","click",4,"ngFor","ngForOf"],[3,"click","service","isFromBooking","isExtra","selected","id"],[3,"animated","value",4,"ngIf"],[3,"animated","value"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["slot","header","color","secondary",1,"category"],[1,"ion-text-wrap","header"],[1,"title","category"],[1,"subtitle","mt-10","category"],["class","barber-card","slot","content",4,"ngFor","ngForOf"],["slot","content",1,"barber-card"],["color","primary"],[1,"center"],["color","secondary","expand","block",3,"click"],[1,"ion-padding"],["vertical","bottom","horizontal","center","slot","fixed"],["color","success","size","large",3,"click"]],template:function(r,i){1&r&&se(0,sre,8,1,"ion-header",0)(1,bre,9,6,"ion-content",1),2&r&&(P("ngIf",i.orgService.organization&&i.orgService.organization.settings&&i.orgService.organization.settings.screens),C(),P("ngIf",i.orgService.organization&&i.orgService.organization.settings&&i.orgService.organization.settings.screens))},dependencies:[fo,Gt,uD,gD,on,Ln,Jn,To,oo,gi,lo,Sn,Qa,Es,En,un,Dn,Wm,Uy,co,Bo,qm,Ym,Ks,An,In,ib,Uo],styles:[".category[_ngcontent-%COMP%]{color:var(--ion-color-secondary-contrast)!important}.devider[_ngcontent-%COMP%]{background-color:var(--ion-color-primary-tint);color:var(--ion-color-primary-contrast)}.devider[_ngcontent-%COMP%]   ion-label[_ngcontent-%COMP%]{margin-left:70px!important}"],data:{animation:[Xs("listAnimation",[Qs("* <=> *",[gu(":enter",[cr({opacity:0,transform:"translateY(-15px)"}),fu("50ms",Zs("400ms ease-out",cr({opacity:1,transform:"translateY(0px)"})))],{optional:!0})])])]}})}return n})();class Sre{employeeId;description;url}function Cre(n,o){if(1&n&&(I(0,"span",8),oe(1,"i",9),z(2),E()),2&n){const t=M(2);C(2),Re(t.service.duration)}}function Tre(n,o){1&n&&oe(0,"i",11)}function wre(n,o){if(1&n&&(I(0,"span"),se(1,Tre,1,0,"i",10),z(2),Go(3,"currency"),E()),2&n){const t=M(2);C(),P("ngIf",!t.currency),C(),Te(" ",xr(3,2,t.service.price,"",t.currency),"")}}function Ere(n,o){if(1&n){const t=Me();I(0,"ion-item",1),re("click",function(){return le(t),ce(M().selectService())}),I(1,"ion-label",2)(2,"h1",3),z(3),E(),I(4,"p",4),se(5,Cre,3,1,"span",5)(6,wre,4,6,"span",6),E()(),I(7,"ion-button",7),z(8),E()()}if(2&n){const t=M();C(3),Re(t.service.name),C(2),P("ngIf",t.service.duration),C(),P("ngIf",t.service.price),C(2),Re(t.orgService.organization.settings.screens.barber.bookButtonText.value)}}let Ire=(()=>{class n extends Nn{injector;service;currency;serviceSelected=new $n;constructor(t){super(t),this.injector=t}ngOnInit(){}selectService(){this.serviceSelected.emit()}static \u0275fac=function(r){return new(r||n)(N(Ht))};static \u0275cmp=je({type:n,selectors:[["app-barbers-service-item"]],inputs:{service:"service",currency:"currency"},outputs:{serviceSelected:"serviceSelected"},features:[Dt],decls:1,vars:1,consts:[["color","primary","class","pointer",3,"click",4,"ngIf"],["color","primary",1,"pointer",3,"click"],[1,"ion-text-wrap","header"],[1,"title"],[1,"subtitle","mt-10"],["class","mr-15",4,"ngIf"],[4,"ngIf"],["slot","end","color","success"],[1,"mr-15"],[1,"flaticon-clock","mr-5"],["class","flaticon-wallet mr-5",4,"ngIf"],[1,"flaticon-wallet","mr-5"]],template:function(r,i){1&r&&se(0,Ere,9,4,"ion-item",0),2&r&&P("ngIf",i.orgService.organization&&i.orgService.organization.settings&&i.orgService.organization.settings.screens)},dependencies:[on,Dn,co,Gt,Ts],styles:["ion-note[_ngcontent-%COMP%]{color:var(--ion-color-primary-contrast)!important;margin-top:auto;margin-bottom:auto}"]})}return n})();const Dre=n=>({"whatsapp-green":n}),Pre=n=>({"background-image":n});function Mre(n,o){if(1&n&&(I(0,"ion-title"),z(1),E()),2&n){const t=M();C(),Co("",t.stylist.firstName," ",t.stylist.lastName,"")}}function $re(n,o){1&n&&oe(0,"ion-img",13),2&n&&P("src",M(2).stylist.photo)}function Are(n,o){if(1&n){const t=Me();I(0,"ion-fab-button",16),re("click",function(){const i=le(t).$implicit;return ce(M(3).goToWebsite(i.url))}),oe(1,"ion-icon",17),E()}if(2&n){const t=o.$implicit;P("color",t.color),C(),P("ngClass",Lo(3,Dre,"whatsapp"==t.icon))("name",t.icon)}}function Nre(n,o){if(1&n&&(I(0,"div",14),se(1,Are,2,5,"ion-fab-button",15),E()),2&n){const t=M(2);P("ngClass",t.stylist.photo?"fab-over-photo":"fab-background-color"),C(),P("ngForOf",t.socialContacts)}}function xre(n,o){if(1&n){const t=Me();I(0,"swiper-slide",21),re("click",function(){const i=le(t).$implicit;return ce(M(3).showPhoto(i))}),oe(1,"p",22),E()}if(2&n){const t=o.$implicit;C(),P("ngStyle",Lo(1,Pre,"url("+t.url+")"))}}function Ore(n,o){if(1&n&&(I(0,"div",18)(1,"swiper-container",19),se(2,xre,2,3,"swiper-slide",20),E()()),2&n){const t=M(2);P("@fadeInAnimation",void 0),C(),P("pagination",!1)("navigation",!0)("loop",!0)("slidesPerView",4)("spaceBetween",5),C(),P("ngForOf",t.lookbook)}}function kre(n,o){if(1&n&&(I(0,"ion-item",23)(1,"ion-label",24),z(2),E()()),2&n){const t=M(2);C(2),Re(t.stylist.description)}}function Rre(n,o){if(1&n){const t=Me();I(0,"app-barbers-service-item",26),re("serviceSelected",function(){const i=le(t).$implicit;return ce(M(3).book(i))}),E()}if(2&n){const t=o.$implicit,r=M(3);P("service",t)("currency",r.orgService.organization.currency)}}function Lre(n,o){if(1&n&&(I(0,"div"),se(1,Rre,1,2,"app-barbers-service-item",25),E()),2&n){const t=M(2);P("@listAnimation",t.services.length),C(),P("ngForOf",t.services)}}function Fre(n,o){if(1&n&&(I(0,"ion-list",6),oe(1,"app-stylist-item",7),I(2,"div",8),se(3,$re,1,1,"ion-img",9)(4,Nre,2,2,"div",10),E(),se(5,Ore,3,7,"div",11)(6,kre,3,1,"ion-item",12)(7,Lre,2,2,"div",4),E()),2&n){const t=M();C(),P("stylist",t.stylist)("hideImage",!0)("displayAvailability",!0),C(),P("@fadeInAnimation",void 0),C(),P("ngIf",t.stylist.photo),C(),P("ngIf",t.socialContacts.length),C(),P("ngIf",t.lookbook&&t.lookbook.length),C(),P("ngIf",t.stylist.description),C(),P("ngIf",t.services)}}let wP=(()=>{class n extends Nn{injector;router;route;stylistsService;bookingService;servicesService;stylist;lookbook;services;socialContacts=[];constructor(t,r,i,s,u,p){super(t),this.injector=t,this.router=r,this.route=i,this.stylistsService=s,this.bookingService=u,this.servicesService=p}ngOnInit(){var t=this;return(0,Ge.A)(function*(){try{if(yield t.showLoading(),t.router.getCurrentNavigation()?.extras.state){const r=t.router.getCurrentNavigation().extras.state;t.stylist=r.stylist,t.stylist&&(yield t.init().toPromise())}if(!t.stylist){const r=t.route.snapshot.paramMap.get("id");t.stylist=yield t.stylistsService.getStylist(r).toPromise(),t.stylist&&(yield t.init().toPromise())}}catch(r){console.error("Error during initialization:",r)}finally{yield t.hideLoading()}})()}init(){return Ug({lookbook:this.stylistsService.getStylistLookbook(this.stylist.id),location:this.bookingService.getLocation(null,this.stylist.id)}).pipe(so(({lookbook:t,location:r})=>(this.processLookbook(t),this.processLocation(r),this.bookingService.getServices())),Wn(t=>{this.services=t,this.initSocialContacts()}))}processLookbook(t){const r=[];if(t&&t.length){if(this.stylist.photo){const i=new Sre;i.employeeId=this.stylist.id,i.description=this.stylist.description,i.url=this.stylist.photo,r.push(i)}else this.stylist.photo=t[0].url;for(let i=0;i<t.length&&!(i>=15);i++)r.push(t[i])}this.lookbook=r}processLocation(t){this.bookingService.voidBooking(),this.bookingService.updateLocation(t),this.bookingService.updateBarber(this.stylist)}closeModal(){this.navCtrl.navigateBack("stylists")}showPhoto(t){this.stylist.photo=t.url,this.stylist.description=t.description}book(t){t?(this.showLoading(),this.servicesService.getServiceExtras(t.id).subscribe(r=>{r&&r.length?this.navCtrl.navigateForward(["service",t.id],{state:{service:t,stylist:this.stylist}}):(this.bookingService.addService(t),this.navCtrl.navigateRoot("/booking")),this.hideLoading()})):this.navCtrl.navigateRoot("/booking")}initSocialContacts(){this.socialContacts=[],this.stylist.instagramLink&&this.socialContacts.push({icon:"instagram",url:this.stylist.instagramLink,color:"secondary"}),this.stylist.facebookLink&&this.socialContacts.push({icon:"facebook",url:this.stylist.facebookLink,color:"secondary"}),this.stylist.twitterLink&&this.socialContacts.push({icon:"twitter",url:this.stylist.twitterLink,color:"secondary"}),this.stylist.tikTokLink&&this.socialContacts.push({icon:"tik-tok",url:this.stylist.tikTokLink,color:"secondary"}),this.stylist.whatsAppLink&&this.socialContacts.push({icon:"whatsapp",url:this.stylist.whatsAppLink,color:"success"}),this.stylist.allowCalls&&this.stylist.phone&&this.stylist.phone.length&&this.socialContacts.push({icon:"call",url:`tel:${this.stylist.phone}`,color:"secondary"})}goToWebsite(t){if((t=t.trim()).startsWith("tel"))try{return void(window.location.href=t)}catch{return}t.startsWith("http")||(t="https://"+t),wf.open({url:t})}static \u0275fac=function(r){return new(r||n)(N(Ht),N(Qo),N(dr),N(a1),N(qn),N(Sf))};static \u0275cmp=je({type:n,selectors:[["app-stylist"]],features:[Dt],decls:8,vars:2,consts:[["color","secondary"],["slot","start"],[3,"click"],["name","arrow-back"],[4,"ngIf"],["class","screen-item","color","primary",4,"ngIf"],["color","primary",1,"screen-item"],[3,"stylist","hideImage","displayAvailability"],[1,"bg-primary","mt-0","mb-0","overlay-hidden"],[3,"src",4,"ngIf"],["class","fab-container",3,"ngClass",4,"ngIf"],["class","bg-primary mt-0 mb-0",4,"ngIf"],["color","primary",4,"ngIf"],[3,"src"],[1,"fab-container",3,"ngClass"],["size","small",3,"color","click",4,"ngFor","ngForOf"],["size","small",3,"click","color"],[3,"ngClass","name"],[1,"bg-primary","mt-0","mb-0"],["color","primary",1,"slides",3,"pagination","navigation","loop","slidesPerView","spaceBetween"],["class","pointer",3,"click",4,"ngFor","ngForOf"],[1,"pointer",3,"click"],[1,"slides-item",3,"ngStyle"],["color","primary"],[1,"ion-text-wrap","ion-text-justify"],[3,"service","currency","serviceSelected",4,"ngFor","ngForOf"],[3,"serviceSelected","service","currency"]],template:function(r,i){1&r&&(I(0,"ion-header")(1,"ion-toolbar",0)(2,"ion-buttons",1)(3,"ion-button",2),re("click",function(){return i.closeModal()}),oe(4,"ion-icon",3),E()(),se(5,Mre,2,2,"ion-title",4),E()(),I(6,"ion-content"),se(7,Fre,8,9,"ion-list",5),E()),2&r&&(C(5),P("ngIf",i.stylist),C(2),P("ngIf",i.orgService.organization&&i.orgService.organization.settings&&i.orgService.organization.settings.screens&&i.stylist))},dependencies:[Cs,fo,Gt,Jh,c1,Ire,on,Ln,Sn,Es,En,un,Ja,Dn,co,Bo,An,In],styles:["ion-img[_ngcontent-%COMP%]{max-width:550px;margin-left:auto;margin-right:auto}.slides-item[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-size:cover;height:80px!important;width:90px!important}.slides[_ngcontent-%COMP%]{max-width:550px;margin-left:auto;margin-right:auto}.fab-container[_ngcontent-%COMP%]{display:flex!important;align-items:center!important}.fab-over-photo[_ngcontent-%COMP%]{margin-top:-70px!important;justify-content:flex-end!important}.fab-background-color[_ngcontent-%COMP%]{background-color:var(--ion-color-primary)!important;justify-content:flex-start!important;padding-left:20px!important}.whatsapp-green[_ngcontent-%COMP%]{color:#fff}@media (min-width: 550px){.fab-over-photo[_ngcontent-%COMP%]{margin-right:150px!important}.slides-item[_ngcontent-%COMP%]{height:130px!important;width:130px!important;background-position:center;background-repeat:no-repeat;background-size:cover}}"],data:{animation:[Xs("fadeInAnimation",[Qs(":enter",[cr({opacity:0}),Zs("350ms",cr({opacity:1}))])]),Xs("listAnimation",[Qs("* <=> *",[gu(":enter",[cr({opacity:0,transform:"translateY(-15px)"}),fu("80ms",Zs("400ms ease-out",cr({opacity:1,transform:"translateY(0px)"})))],{optional:!0})])])]}})}return n})();function Bre(n,o){if(1&n){const t=Me();I(0,"ion-header")(1,"ion-toolbar",1)(2,"ion-buttons",2)(3,"ion-button",3),re("click",function(){return le(t),ce(M().closeModal())}),oe(4,"ion-icon",4),E()(),I(5,"ion-title"),z(6),E()(),oe(7,"app-smart-bar"),E()}if(2&n){const t=M();C(6),Re(t.orgService.organization.settings.screens.barbers.toolbarText.value)}}function Ure(n,o){if(1&n){const t=Me();I(0,"ion-item",8)(1,"ion-searchbar",9),re("ionInput",function(i){return le(t),ce(M(2).search(i))}),E()()}if(2&n){const t=M(2);C(),P("placeholder",t.orgService.organization.settings.screens.barbers.searchPlaceholderText.value)}}function zre(n,o){if(1&n){const t=Me();I(0,"app-stylist-item",11),re("click",function(){const i=le(t).$implicit;return ce(M(3).showStylist(i))}),E()}2&n&&P("stylist",o.$implicit)("displayAvailability",!0)}function Vre(n,o){if(1&n&&(I(0,"div"),se(1,zre,1,2,"app-stylist-item",10),E()),2&n){const t=M(2);P("@listAnimation",t.filteredStylists.length),C(),P("ngForOf",t.filteredStylists)}}function Hre(n,o){if(1&n){const t=Me();I(0,"ion-card",8)(1,"ion-card-header")(2,"ion-card-title",12),z(3),E(),I(4,"ion-card-content",12)(5,"ion-card-subtitle"),z(6),E()(),I(7,"ion-button",13),re("click",function(){return le(t),ce(M(2).onGoToWaitingItem())}),z(8),E()()()}if(2&n){const t=M(2);C(3),Te(" ",t.orgService.organization.settings.screens.barbers.notFoundCardTitle.value," "),C(3),Te(" ",t.orgService.organization.settings.screens.barbers.notFoundCardSubtitle.value," "),C(2),Te(" ",t.orgService.organization.settings.screens.barbers.goToWaitingItemButtonText.value," ")}}function jre(n,o){if(1&n&&(I(0,"ion-item",8)(1,"ion-text",14),z(2),E()()),2&n){const t=M(2);C(2),Te(" ",t.orgService.organization.settings.screens.barbers.notFoundText.value," ")}}function Gre(n,o){if(1&n){const t=Me();I(0,"ion-content")(1,"ion-refresher",5),re("ionRefresh",function(i){return le(t),ce(M().doRefresh(i))}),oe(2,"ion-refresher-content"),E(),I(3,"ion-list",6),se(4,Ure,2,1,"ion-item",7)(5,Vre,2,2,"div",0)(6,Hre,9,3,"ion-card",7)(7,jre,3,1,"ion-item",7),E()()}if(2&n){const t=M();C(4),P("ngIf",t.stylists&&t.stylists.length>10),C(),P("ngIf",t.filteredStylists),C(),P("ngIf",t.shouldShowWaitingItemCard()),C(),P("ngIf",t.shouldShowShortNotFoundText())}}let EP=(()=>{class n extends Nn{injector;stylistsService;storage;router;bookingService;waitingListService;stylists;filteredStylists;isFromBooking;isFromWaitingListItem;booking;noResultsFound=!1;constructor(t,r,i,s,u,p){super(t),this.injector=t,this.stylistsService=r,this.storage=i,this.router=s,this.bookingService=u,this.waitingListService=p}ngOnInit(){return(0,Ge.A)(function*(){})()}ionViewWillEnter(){var t=this;return(0,Ge.A)(function*(){yield t.getStylists(null)})()}getStylists(t=null){var r=this;return(0,Ge.A)(function*(){const i=history.state;r.isFromBooking=i.isFromBooking??!1,r.isFromWaitingListItem=i.isFromWaitingListItem??!1;const s=r.getStylistsObservable();yield r.showLoading();const u=function(){var m=(0,Ge.A)(function*(v){r.stylists=v,r.noResultsFound=!r.stylists.length,r.filteredStylists=v,r.completeEvent(t),yield r.hideLoading()});return function(S){return m.apply(this,arguments)}}(),p=function(){var m=(0,Ge.A)(function*(){r.isFromBooking||r.isFromWaitingListItem?(r.noResultsFound=!0,r.completeEvent(t),yield r.hideLoading()):r.storage.get("stylists").subscribe(function(){var v=(0,Ge.A)(function*(S){if(!S||!S.length)return yield r.hideLoading(),r.noResultsFound=!0,void r.completeEvent(t);r.stylists=S,r.noResultsFound=!r.stylists.length,r.filteredStylists=S,r.completeEvent(t),yield r.hideLoading()});return function(S){return v.apply(this,arguments)}}())});return function(){return m.apply(this,arguments)}}();r.isFromBooking||r.isFromWaitingListItem?(r.booking=r.bookingService.booking,s.subscribe({next:u,error:p})):s.subscribe({next:m=>{u(m),r.storage.set("stylists",m)},error:p})})()}getStylistsObservable(){return this.isFromWaitingListItem?this.waitingListService.getBarbers():this.isFromBooking?this.bookingService.getStylists():this.stylistsService.getStylists()}doRefresh(t){var r=this;return(0,Ge.A)(function*(){r.getStylists(t)})()}shouldShowWaitingItemCard(){return this.noResultsFound&&!this.inProgress&&!(this.filteredStylists&&this.filteredStylists.length)&&this.isFromBooking}shouldShowShortNotFoundText(){return this.noResultsFound&&!this.inProgress&&!(this.filteredStylists&&this.filteredStylists.length)&&(this.isFromWaitingListItem||!this.isFromBooking)}onGoToWaitingItem(){const t=this.waitingListService.mapBookingToWaitingItem(this.bookingService.booking);this.waitingListService.setItem(t),this.navCtrl.navigateForward("waiting-list-item"),this.closeModal()}showStylist(t){var r=this;return(0,Ge.A)(function*(){const i=history.state;r.isFromBooking=i.isFromBooking??!1,r.isFromWaitingListItem=i.isFromWaitingListItem??!1,r.isFromBooking||r.isFromWaitingListItem?(r.isFromBooking?r.bookingService.updateBarber(t):r.isFromWaitingListItem&&(yield r.waitingListService.updateBarber(t,r.waitingListService.getItem())),r.closeModal()):r.navCtrl.navigateForward(["stylist",t.id],{state:{service:t}})})()}book(t){this.bookingService.getLocation(null,t.id).subscribe(r=>{this.bookingService.voidBooking(),this.bookingService.updateLocation(r),this.bookingService.updateBarber(t),this.navCtrl.navigateRoot("/booking")},()=>this.networkError())}closeModal(){this.isFromBooking?this.navCtrl.navigateBack("booking"):this.isFromWaitingListItem?this.navCtrl.navigateBack("waiting-list-item"):this.navCtrl.navigateForward("")}search(t){this.filteredStylists=this.stylists.filter(r=>(r.title+r.firstName+r.lastName).toLowerCase().indexOf(t.detail.value.toLowerCase())>-1)}static \u0275fac=function(r){return new(r||n)(N(Ht),N(a1),N(Nl),N(Qo),N(qn),N(du))};static \u0275cmp=je({type:n,selectors:[["app-stylists"]],features:[Dt],decls:2,vars:2,consts:[[4,"ngIf"],["color","secondary",1,"mobile-item"],["slot","start"],[3,"click"],["name","arrow-back"],["slot","fixed",3,"ionRefresh"],[1,"screen-item"],["color","primary",4,"ngIf"],["color","primary"],["color","primary","animated","true","how-clear-button","always",3,"ionInput","placeholder"],[3,"stylist","displayAvailability","click",4,"ngFor","ngForOf"],[3,"click","stylist","displayAvailability"],[1,"center"],["color","secondary","expand","block",3,"click"],[1,"ion-padding"]],template:function(r,i){1&r&&se(0,Bre,8,1,"ion-header",0)(1,Gre,8,4,"ion-content",0),2&r&&(P("ngIf",i.orgService.organization&&i.orgService.organization.settings&&i.orgService.organization.settings.screens),C(),P("ngIf",i.orgService.organization&&i.orgService.organization.settings&&i.orgService.organization.settings.screens))},dependencies:[fo,Gt,on,Ln,Jn,To,oo,gi,lo,Sn,En,un,Dn,Bo,qm,Ym,su,Ks,An,In,bi,c1,Uo],styles:[".barber-card[_ngcontent-%COMP%]{margin-bottom:0!important}"],data:{animation:[Xs("listAnimation",[Qs("* <=> *",[gu(":enter",[cr({opacity:0,transform:"translateY(-15px)"}),fu("50ms",Zs("400ms ease-out",cr({opacity:1,transform:"translateY(0px)"})))],{optional:!0})])])]}})}return n})();class Wre{month;year;displayValue}const qre=["monthsContainer"],Yre=["tableRow"],Kre=["tableContainer"];function Xre(n,o){if(1&n){const t=Me();I(0,"ion-header")(1,"ion-toolbar",3)(2,"ion-buttons",4)(3,"ion-button",5),re("click",function(){return le(t),ce(M().closeModal())}),oe(4,"ion-icon",6),E()(),I(5,"ion-title"),z(6),E()()()}if(2&n){const t=M();C(6),Re(t.orgService.organization.settings.screens.bookingTable.toolbarText.value)}}function Zre(n,o){if(1&n){const t=Me();I(0,"div",5),re("click",function(i){const s=le(t).$implicit;return ce(M(2).selectMonth(s,i))}),I(1,"ion-segment-button",22)(2,"div",23),z(3),E(),I(4,"div",24),z(5),E()()()}if(2&n){const t=o.$implicit,r=M(2);C(),bh("value",t.month),P("ngClass",r.selectedMonth===t?"active-month":""),C(2),Re(t.displayValue),C(2),Re(t.year)}}function Qre(n,o){if(1&n&&(I(0,"td"),z(1),E()),2&n){const t=M(2);C(),Te(" ",t.orgService.organization.settings.screens.bookingTable.sundayText.value,"")}}function Jre(n,o){if(1&n&&(I(0,"td"),z(1),E()),2&n){const t=M(2);C(),Te(" ",t.orgService.organization.settings.screens.bookingTable.sundayText.value,"")}}function eie(n,o){if(1&n){const t=Me();I(0,"ion-fab-button",28),re("click",function(){le(t);const i=M().$implicit;return ce(M(3).selectDay(i))}),z(1),E()}if(2&n){const t=M().$implicit;P("activated",t===M(3).selectedDate)("disabled",!t.enabled),C(),Te(" ",t.dayOfTheMonth<10?"0"+t.dayOfTheMonth:""+t.dayOfTheMonth," ")}}function tie(n,o){if(1&n&&(I(0,"td"),se(1,eie,2,3,"ion-fab-button",27),E()),2&n){const t=o.$implicit;C(),P("ngIf",t.isCurrentMonth)}}function nie(n,o){if(1&n&&(I(0,"tr",25),se(1,tie,2,1,"td",26),E()),2&n){const t=o.$implicit,r=M(2);C(),P("ngForOf",t)("ngForTrackBy",r.trackDayCellFn)}}function oie(n,o){if(1&n&&(I(0,"ion-item-divider",29)(1,"ion-label",30),z(2),E()()),2&n){const t=M(2);C(2),Te(" ",t.orgService.organization.settings.screens.bookingTable.selectTimeText.value," ")}}function rie(n,o){if(1&n){const t=Me();I(0,"ion-col",34)(1,"ion-button",35),re("click",function(){const i=le(t).$implicit;return ce(M(3).selectSlot(i,!0))}),z(2),E()()}if(2&n){const t=o.$implicit,r=M(3);C(),bh("fill",t==r.selectedSlot?"outline":"solid"),C(),Te(" ",t.time," ")}}function iie(n,o){if(1&n&&(I(0,"ion-item",31)(1,"ion-grid")(2,"ion-row",32),se(3,rie,3,2,"ion-col",33),E()()()),2&n){const t=M(2);C(3),P("ngForOf",t.slots)}}function sie(n,o){if(1&n){const t=Me();I(0,"ion-card",36)(1,"ion-card-header",37)(2,"ion-card-subtitle"),z(3),E()(),I(4,"ion-card-content")(5,"ion-button",38),re("click",function(){return le(t),ce(M(2).onGoToWaitingItem())}),z(6),E()()()}if(2&n){const t=M(2);C(3),Re(t.orgService.organization.settings.screens.appointment.wlTitle.value),C(3),Te(" ",t.orgService.organization.settings.screens.bookingTable.goToWaitingListItemButtonText.value," ")}}function aie(n,o){if(1&n){const t=Me();I(0,"ion-content")(1,"ion-list",7)(2,"div",8)(3,"ion-grid")(4,"ion-row")(5,"ion-col",9),re("click",function(){return le(t),ce(M().onMonthsContainerLeft())}),oe(6,"ion-icon",10),E(),I(7,"ion-col",11)(8,"ion-segment")(9,"div",12,0),re("scroll",function(i){return le(t),ce(M().onMonthScroll(i))}),se(11,Zre,6,4,"div",13),E()()(),I(12,"ion-col",9),re("click",function(){return le(t),ce(M().onMonthsContainerRight())}),oe(13,"ion-icon",14),E()()()(),I(14,"ion-item",15,1)(16,"table",16)(17,"tr",17),se(18,Qre,2,1,"td",2),I(19,"td"),z(20),E(),I(21,"td"),z(22),E(),I(23,"td"),z(24),E(),I(25,"td"),z(26),E(),I(27,"td"),z(28),E(),I(29,"td"),z(30),E(),se(31,Jre,2,1,"td",2),E(),se(32,nie,2,2,"tr",18),E()(),se(33,oie,3,1,"ion-item-divider",19)(34,iie,4,1,"ion-item",20)(35,sie,7,2,"ion-card",21),E()()}if(2&n){const t=M();C(11),P("ngForOf",t.months),C(7),P("ngIf",t.orgService.organization.weekStartsFromSunday),C(2),Re(t.orgService.organization.settings.screens.bookingTable.mondayText.value),C(2),Re(t.orgService.organization.settings.screens.bookingTable.tuesdayText.value),C(2),Re(t.orgService.organization.settings.screens.bookingTable.wednesdayText.value),C(2),Re(t.orgService.organization.settings.screens.bookingTable.thursdayText.value),C(2),Re(t.orgService.organization.settings.screens.bookingTable.fridayText.value),C(2),Re(t.orgService.organization.settings.screens.bookingTable.saturdayText.value),C(),P("ngIf",!t.orgService.organization.weekStartsFromSunday),C(),P("ngForOf",t.month),C(),P("ngIf",t.slots&&t.slots.length),C(),P("ngIf",t.slots&&t.slots.length),C(),P("ngIf",!t.orgService.organization.waitlistDisabled&&t.orgService.organization.settings.screens.bookingTable.timeslotNotFoundTitle&&t.orgService.organization.settings.screens.bookingTable.timeslotNotFoundTitle.value&&t.orgService.organization.settings.screens.bookingTable.goToWaitingListItemButtonText&&t.orgService.organization.settings.screens.bookingTable.goToWaitingListItemButtonText.value&&t.shouldShowWaitingListCard())}}let IP=(()=>{class n extends Nn{injector;bookingService;waitingListService;months;selectedMonth;month;selectedDate;slots;selectedSlot;slotToEdit;selectedMonthIndex;monthSwipedPixels=0;monthSwipeGapPixels=30;monthSwipingTransitionTime=167;monthScrolledPixels=0;monthsMovingDelta=200;monthsToShow=12;monthsContainer;tableRow;tableContainer;get tableContainerWidth(){return this.tableContainer&&this.tableContainer.el?this.tableContainer.el.offsetWidth:0}get maxMonthNamesScrollOffset(){return this.monthsContainerNativeElement?this.monthsContainerNativeElement.scrollWidth-this.monthsContainerNativeElement.clientWidth:0}get monthsContainerNativeElement(){return this.monthsContainer?this.monthsContainer.nativeElement:null}constructor(t,r,i){super(t),this.injector=t,this.bookingService=r,this.waitingListService=i,this.bookingService.booking||this.navCtrl.navigateBack("booking")}ngOnInit(){}ionViewWillEnter(){this.slotToEdit=this.bookingService.getTimeSlot(),this.slotToEdit&&(this.slotToEdit.date=new Date(this.slotToEdit.date)),this.initializeMonths()}shouldShowWaitingListCard(){return!this.inProgress&&(this.slots&&!!this.slots.length||this.month&&this.month.every(t=>t.every(r=>0===r.timeSlots.length)))}onGoToWaitingItem(){const t=this.waitingListService.mapBookingToWaitingItem(this.bookingService.booking);this.waitingListService.setItem(t),this.navCtrl.navigateForward("waiting-list-item")}closeModal(){this.navCtrl.navigateBack("booking")}selectMonth(t,r=null){var i=this;return(0,Ge.A)(function*(){r&&r.target&&r.target.scrollIntoView&&r.target.scrollIntoView(),yield i.showLoading(),i.month=[],i.selectedMonth=t,i.selectedDate=null,i.slots=[],i.selectedSlot=null,i.selectedMonthIndex=i.getCurrentMonthIndex(),i.monthSwipedPixels=i.getCurrentMonthOffset(),i.bookingService.getDates(t.year,t.month).subscribe(s=>{if(i.month=s,i.slotToEdit&&i.slotToEdit.date.getMonth()+1===t.month){const u=i.slotToEdit.date.getDate();let p=!1;for(const m of s){for(const v of m)if(v.dayOfTheMonth===u&&v.month===t.month){i.selectDay(v),p=!0;break}if(p)break}}i.hideLoading()},()=>i.hideLoading())})()}selectDay(t){if(this.selectedDate=t,this.slots=t.timeSlots,this.slotToEdit&&this.slotToEdit.date.getDate()===t.dayOfTheMonth)for(const r of this.slots)if(r.startMinutesOfDay===this.slotToEdit.startMinutesOfDay){this.slotToEdit.startMinutesOfDay=r.startMinutesOfDay,this.selectSlot(r);break}}selectSlot(t,r=!1){this.selectedSlot=t,r&&this.updateAndClose()}updateAndClose(){this.bookingService.updateTimeSlot(this.selectedSlot),this.closeModal()}trackDayCellFn(t,r){return`${r.dayOfTheMonth} ${r.month} ${r.year}`}getCurrentMonthIndex(){return this.months?this.months.findIndex(t=>this.selectedMonth.month===t.month):0}getCurrentMonthOffset(){return this.getMonthOffset(this.selectedMonthIndex)}getMonthOffset(t){return-t*(this.tableContainerWidth-this.monthSwipeGapPixels)}initializeMonths(){const t=[],r=new Date;let i=r.getMonth()+1,s=r.getFullYear();for(let u=0;u<this.monthsToShow;u++){u>0&&(i+=1,i>12&&(i=1,s+=1));const p=new Wre;p.month=i,p.year=s,p.displayValue=this.getMonthName(i)+"",t.push(p)}if(!this.selectedMonth)if(this.slotToEdit){const u=this.slotToEdit.date.getMonth()+1;for(const p of t)if(p.month===u){this.selectMonth(p);break}}else this.selectMonth(t[0]);this.months=t}onMonthScroll(t){this.monthScrolledPixels=this.monthsContainerNativeElement.scrollLeft}onMonthsContainerRight(){this.monthScrolledPixels+=this.monthsMovingDelta,this.monthScrolledPixels>this.maxMonthNamesScrollOffset&&(this.monthScrolledPixels=this.maxMonthNamesScrollOffset),this.monthsContainerNativeElement.scrollLeft=this.monthScrolledPixels}onMonthsContainerLeft(){this.monthScrolledPixels-=this.monthsMovingDelta,this.monthScrolledPixels<0&&(this.monthScrolledPixels=0),this.monthsContainerNativeElement.scrollLeft=this.monthScrolledPixels}getMonthName(t){return 1===t?"Jan":2===t?"Feb":3===t?"Mar":4===t?"Apr":5===t?"May":6===t?"Jun":7===t?"Jul":8===t?"Aug":9===t?"Sep":10===t?"Oct":11===t?"Nov":12===t?"Dec":""}static \u0275fac=function(r){return new(r||n)(N(Ht),N(qn),N(du))};static \u0275cmp=je({type:n,selectors:[["app-table"]],viewQuery:function(r,i){if(1&r&&(di(qre,5),di(Yre,5),di(Kre,5)),2&r){let s;ir(s=sr())&&(i.monthsContainer=s.first),ir(s=sr())&&(i.tableRow=s.first),ir(s=sr())&&(i.tableContainer=s.first)}},features:[Dt],decls:2,vars:2,consts:[["monthsContainer",""],["tableContainer",""],[4,"ngIf"],["color","secondary"],["slot","start"],[3,"click"],["name","close"],[1,"no-scroll-bar","screen-item"],[1,"month-names-wrapper"],["size","1",1,"ion-align-items-center","arrow",3,"click"],["name","chevron-back-outline"],["size","10"],[1,"month-names","no-scroll-bar",3,"scroll"],[3,"click",4,"ngFor","ngForOf"],["name","chevron-forward-outline"],["lines","none","color","primary",1,"table-container"],[1,"mt-10","mb-10","tbl-clndr",2,"width","100%"],[1,"tr-text-center","ion-align-self-center","font-size-small"],["class","tr-text-center ion-align-self-center",4,"ngFor","ngForOf"],["color","primary",4,"ngIf"],["lines","none","color","primary",4,"ngIf"],["color","primary","class","screen-item top-margin",4,"ngIf"],["size","lg",1,"month-button",3,"ngClass","value"],[1,"month"],[1,"year"],[1,"tr-text-center","ion-align-self-center"],[4,"ngFor","ngForOf","ngForTrackBy"],["class","btn-clndr","size","small","shape","round","color","secondary",3,"activated","disabled","click",4,"ngIf"],["size","small","shape","round","color","secondary",1,"btn-clndr",3,"click","activated","disabled"],["color","primary"],[1,"font-size-small"],["lines","none","color","primary"],[1,"ion-text-center"],["size-xs","4","size-sm","3","size-md","2","size-lg","1","class","ion-align-self-baseline",4,"ngFor","ngForOf"],["size-xs","4","size-sm","3","size-md","2","size-lg","1",1,"ion-align-self-baseline"],["color","secondary",3,"click","fill"],["color","primary",1,"screen-item","top-margin"],[1,"center"],["color","secondary","expand","full",3,"click"]],template:function(r,i){1&r&&se(0,Xre,7,1,"ion-header",2)(1,aie,36,13,"ion-content",2),2&r&&(P("ngIf",i.settingsReady),C(),P("ngIf",i.settingsReady))},dependencies:[Cs,fo,Gt,on,Ln,Jn,To,oo,gi,Ni,Sn,Es,iu,En,un,Dn,Wm,co,Bo,fi,Hy,jy,An,In,Pl],styles:[".tr-text-center[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{text-align:center!important;padding:0!important;width:55px}.button-inner[_ngcontent-%COMP%]{width:35px!important;height:35px!important}.fab-button-small[_ngcontent-%COMP%]{margin:8px auto!important;width:36px!important;height:36px!important}.loader-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:275px;width:100%}.month-names-wrapper[_ngcontent-%COMP%]{background-color:var(--ion-color-primary)}.arrow[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}.month-names[_ngcontent-%COMP%]{display:flex;flex-direction:row;overflow-x:scroll;transition:all 2s;scroll-behavior:smooth;position:relative;margin-left:5px;margin-right:5px}.no-scroll-bar[_ngcontent-%COMP%]{scrollbar-width:none!important;-ms-overflow-style:none!important}.no-scroll-bar[_ngcontent-%COMP%]::-webkit-scrollbar{display:none!important}.arrow-icon[_ngcontent-%COMP%]{width:40px}.month[_ngcontent-%COMP%]{font-size:20px;text-transform:uppercase;color:var(--ion-color-primary-contrast)}.year[_ngcontent-%COMP%]{font-size:16px;color:var(--ion-color-primary-contrast)}.active-month[_ngcontent-%COMP%]{border-radius:0!important;border-bottom:2px solid var(--ion-color-primary-contrast)}ion-segment-button[_ngcontent-%COMP%]{margin:4px 0 0!important;padding:4px 0!important}.table-container[_ngcontent-%COMP%]{overflow-x:hidden}.table-row[_ngcontent-%COMP%]{display:flex;margin:0 auto}"]})}return n})();function lie(n,o){if(1&n){const t=Me();I(0,"ion-header")(1,"ion-toolbar",2)(2,"ion-buttons",3)(3,"ion-button",4),re("click",function(){return le(t),ce(M().navCtrl.back())}),oe(4,"ion-icon",5),E()(),I(5,"ion-title"),z(6),E()(),oe(7,"app-smart-bar"),E()}if(2&n){const t=M();C(6),Re(t.orgService.organization.settings.screens.tips.toolbarText.value)}}function cie(n,o){1&n&&oe(0,"ion-progress-bar",6)}function die(n,o){if(1&n){const t=Me();I(0,"ion-button",8),re("click",function(){le(t);const i=M().$implicit;return ce(M(2).onTipsSelected(i))}),z(1),Go(2,"currency"),E()}if(2&n){const t=M().$implicit,r=M(2);C(),Co(" ",t.percentAmount,"% (",xr(2,2,r.bookingPrice*t.percentAmount/100,"",""),") ")}}function uie(n,o){if(1&n&&(I(0,"span"),se(1,die,3,6,"ion-button",11),E()),2&n){const t=o.$implicit;C(),P("ngIf",t.isActive)}}function gie(n,o){if(1&n){const t=Me();I(0,"ion-item",12)(1,"ion-input",13),Vn("ngModelChange",function(i){le(t);const s=M(2);return Gn(s.tippingAmount,i)||(s.tippingAmount=i),ce(i)}),E(),I(2,"ion-button",14),re("click",function(){return le(t),ce(M(2).onOwnTip())}),oe(3,"ion-icon",15),E()()}if(2&n){const t=M(2);C(),P("label",t.orgService.organization.settings.screens.tips.customTipLabel.value)("clearInput",!0),zn("ngModel",t.tippingAmount),C(),P("disabled",!t.tippingAmount||t.tippingAmount<=0)}}function fie(n,o){if(1&n){const t=Me();I(0,"ion-content")(1,"ion-card",7)(2,"ion-card-header")(3,"ion-card-title"),z(4),E()(),I(5,"ion-card-content")(6,"ion-button",8),re("click",function(){return le(t),ce(M().onTipsSelected(null))}),z(7),E(),se(8,uie,2,1,"span",9)(9,gie,4,4,"ion-item",10),E()()()}if(2&n){const t=M();C(4),Te(" ",t.orgService.organization.settings.screens.tips.questionText.value," "),C(3),Te(" ",t.orgService.organization.settings.screens.tips.noTipsText.value," "),C(),P("ngForOf",t.tips),C(),P("ngIf",t.orgService.organization.settings.screens.tips.customTipLabel)}}let pie=(()=>{class n extends Nn{injector;paymentsService;bookingService;tipsLoading;tips;bookingPrice;isDirectPayment;tippingAmount;constructor(t,r,i){super(t),this.injector=t,this.paymentsService=r,this.bookingService=i}ngOnInit(){const t=history.state;this.isDirectPayment=t.isDirectPayment??!1;const r=this.bookingService.getBarberId();this.paymentsService.getEmployeeProviderData(r).subscribe(i=>{this.bookingService.booking&&this.bookingService.booking.services&&this.bookingService.booking.services.length&&i.bookingPaymentSettings.isTipsEnabled?(this.bookingPrice=this.bookingService.getFullServicesPrice(),this.tips=i.bookingPaymentSettings.tipsValues):this.navCtrl.back()})}onOwnTip(){this.paymentsService.updateTips(this.tippingAmount&&this.tippingAmount>0?this.tippingAmount:0),this.navCtrl.navigateForward(this.isDirectPayment?"payment-summary":"payment-cards")}onTipsSelected(t){const r=t?this.roundNumberToPrice(t.percentAmount/100*this.bookingPrice):null;this.paymentsService.updateTips(r),this.navCtrl.navigateForward(this.isDirectPayment?"payment-summary":"payment-cards")}roundNumberToPrice(t){return Math.round(100*t)/100}static \u0275fac=function(r){return new(r||n)(N(Ht),N(cs),N(qn))};static \u0275cmp=je({type:n,selectors:[["app-tips"]],features:[Dt],decls:3,vars:3,consts:[[4,"ngIf"],["type","indeterminate","color","secondary",4,"ngIf"],["color","secondary",1,"mobile-item"],["slot","start"],[3,"click"],["name","arrow-back"],["type","indeterminate","color","secondary"],["color","primary",1,"screen-item"],["expand","block","color","secondary","size","large",3,"click"],[4,"ngFor","ngForOf"],["color","primary",4,"ngIf"],["expand","block","color","secondary","size","large",3,"click",4,"ngIf"],["color","primary"],["label-placement","stacked","autocomplete","off","placeholder","0.00","type","number",1,"mr-10",3,"ngModelChange","label","clearInput","ngModel"],["color","success","size","large",3,"click","disabled"],["name","check"]],template:function(r,i){1&r&&se(0,lie,8,1,"ion-header",0)(1,cie,1,0,"ion-progress-bar",1)(2,fie,10,4,"ion-content",0),2&r&&(P("ngIf",i.orgService.organization&&i.orgService.organization.settings&&i.orgService.organization.settings.screens),C(),P("ngIf",i.tipsLoading),C(),P("ngIf",!i.tipsLoading&&i.orgService.organization&&i.orgService.organization.settings))},dependencies:[fo,Gt,Xr,Zr,on,Ln,Jn,To,oo,lo,Sn,En,un,Ys,Dn,ar,An,In,pf,Uo,Ts]})}return n})();function hie(n,o){1&n&&oe(0,"ion-progress-bar",6)}function mie(n,o){if(1&n&&(I(0,"ion-item",15)(1,"ion-card-header",16)(2,"ion-card-title"),z(3),E(),I(4,"ion-card-subtitle",17),oe(5,"ion-icon",18),z(6),E(),I(7,"ion-card-subtitle",19),oe(8,"ion-icon",20),z(9),E()()()),2&n){const t=M(2);C(3),Re(t.userName),C(3),Te(" ",t.userPhone," "),C(3),Te(" ",t.email," ")}}function _ie(n,o){if(1&n&&(I(0,"ion-badge",21),z(1),E()),2&n){const t=M(2);C(),Re(t.bookingsCount)}}function vie(n,o){if(1&n){const t=Me();I(0,"ion-item",9),re("click",function(){return le(t),ce(M(2).navCtrl.navigateForward("orders"))}),oe(1,"ion-icon",10),I(2,"ion-label"),z(3),E(),oe(4,"ion-icon",12),E()}if(2&n){const t=M(2);C(),P("name",t.orgService.organization.settings.images.icons.shop.value),C(2),Re(t.orgService.organization.settings.screens.userMenu.myOrdersLabel.value)}}function yie(n,o){if(1&n&&(I(0,"ion-badge",21),z(1),E()),2&n){const t=M(3);C(),Re(t.bonusesService.availableBonuses)}}function bie(n,o){if(1&n){const t=Me();I(0,"ion-item",9),re("click",function(){return le(t),ce(M(2).navCtrl.navigateForward("bonuses"))}),oe(1,"ion-icon",10),I(2,"ion-label"),z(3),E(),se(4,yie,2,1,"ion-badge",11),oe(5,"ion-icon",12),E()}if(2&n){const t=M(2);C(),P("name",t.orgService.organization.settings.images.icons.loyalty.value),C(2),Re(t.orgService.organization.settings.screens.userMenu.myBonusesLabel.value),C(),P("ngIf",t.bonusesService.availableBonuses>0)}}function Sie(n,o){if(1&n){const t=Me();I(0,"ion-item",9),re("click",function(){return le(t),ce(M(2).confirmCancel())}),oe(1,"ion-icon",22),I(2,"ion-label",23),z(3),E(),oe(4,"ion-icon",12),E()}if(2&n){const t=M(2);C(3),Te("",t.orgService.organization.settings.screens.userMenu.closeAccountBtn.value," ")}}function Cie(n,o){if(1&n){const t=Me();I(0,"ion-list",7),se(1,mie,10,3,"ion-item",8),I(2,"ion-item",9),re("click",function(){return le(t),ce(M().navCtrl.navigateForward("bookings"))}),oe(3,"ion-icon",10),I(4,"ion-label"),z(5),E(),se(6,_ie,2,1,"ion-badge",11),oe(7,"ion-icon",12),E(),se(8,vie,5,2,"ion-item",13)(9,bie,6,3,"ion-item",13),oe(10,"ion-item-divider"),se(11,Sie,5,1,"ion-item",13),I(12,"ion-button",14),re("click",function(){return le(t),ce(M().confirmLogOut())}),z(13),E()()}if(2&n){const t=M();C(),P("ngIf",t.userName),C(2),P("name",t.orgService.organization.settings.images.icons.appointment.value),C(2),Re(t.orgService.organization.settings.screens.userMenu.mybookingsLabel.value),C(),P("ngIf",t.bookingsCount>0),C(2),P("ngIf",t.orgService.organization.hasShop),C(),P("ngIf",t.orgService.organization.hasLoyalty),C(2),P("ngIf",t.customer),C(2),Te("",t.orgService.organization.settings.screens.userMenu.logoutBtn.value," ")}}let DP=(()=>{class n extends Nn{injector;accountService;paymentsService;bookingService;bonusesService;customer;userPhone;userName;email;hasPayments;bookingsCount;processing;testUserId="testuser";constructor(t,r,i,s,u){super(t),this.injector=t,this.accountService=r,this.paymentsService=i,this.bookingService=s,this.bonusesService=u}ngOnInit(){this.accountService.getToken().subscribe(t=>{t?this.accountService.getCustomer().subscribe(r=>{r&&(this.customer=r,this.userPhone=r.phoneNumber.startsWith("+")?r.phoneNumber:"+"+r.phoneNumber,this.userName=r.firstName&&r.lastName?r.firstName+" "+r.lastName:r.lastName?r.lastName:r.firstName,this.email=r.email??"-",r.customerId!=this.testUserId&&(this.bonusesService.countBonuses().subscribe(i=>this.bonusesService.availableBonuses=i),this.bookingService.getBookings(r.customerId,!0).subscribe(i=>this.bookingsCount=i?.length??0)))}):this.navCtrl.navigateForward("login")},()=>{this.navCtrl.navigateForward("login")})}logOut(){this.accountService.logOut(),this.navCtrl.navigateForward("")}closeAccount(){this.customer.customerId!=this.testUserId?(this.processing=!0,this.accountService.remove(this.customer.customerId).subscribe(()=>{this.processing=!1,this.logOut()},t=>{this.processing=!1,this.presentError(t)})):this.presentPopUp("Don't kill tester","","It works fine but please don't remove test user")}confirmCancel(t){var r=this;return(0,Ge.A)(function*(){(yield r.showConfirmPopUp(t,null,r.orgService.organization.settings.screens.userMenu.closeAccountWarning.value))&&r.closeAccount()})()}confirmLogOut(t){var r=this;return(0,Ge.A)(function*(){(yield r.showConfirmPopUp(t,r.orgService.organization.settings.screens.userMenu.logoutBtn.value))&&r.logOut()})()}static \u0275fac=function(r){return new(r||n)(N(Ht),N(gr),N(cs),N(qn),N(tb))};static \u0275cmp=je({type:n,selectors:[["app-user"]],features:[Dt],decls:9,vars:2,consts:[["color","secondary",1,"mobile-item"],["slot","start"],[3,"click"],["name","arrow-back"],["class","screen-item","type","indeterminate","color","secondary",4,"ngIf"],["class","screen-item",4,"ngIf"],["type","indeterminate","color","secondary",1,"screen-item"],[1,"screen-item"],["color","primary",4,"ngIf"],["color","primary",1,"pointer",3,"click"],["slot","start",3,"name"],["color","success",4,"ngIf"],["slot","end","name","arrow-forward"],["class","pointer","color","primary",3,"click",4,"ngIf"],["expand","full","color","secondary",3,"click"],["color","primary"],[1,"user-header"],[1,"mt-20"],["name","call",1,"mr-10"],[1,"mt-10"],["name","mail",1,"mr-10"],["color","success"],["slot","start","name","remove-user"],[1,"ion-text-wrap"]],template:function(r,i){1&r&&(I(0,"ion-header")(1,"ion-toolbar",0)(2,"ion-buttons",1)(3,"ion-button",2),re("click",function(){return i.navCtrl.back()}),oe(4,"ion-icon",3),E()()(),oe(5,"app-smart-bar"),E(),I(6,"ion-content"),se(7,hie,1,0,"ion-progress-bar",4)(8,Cie,14,8,"ion-list",5),E()),2&r&&(C(7),P("ngIf",!(null!=i.orgService.organization&&i.orgService.organization.settings)||i.processing),C(),P("ngIf",null==i.orgService.organization?null:i.orgService.organization.settings))},dependencies:[Gt,ou,on,Ln,oo,gi,lo,Sn,En,un,Dn,Wm,co,Bo,ar,In,Uo],styles:[".user-header[_ngcontent-%COMP%]{color:var(--ion-color-primary-contrast)!important}"]})}return n})();function Tie(n,o){if(1&n&&(I(0,"ion-select-option",4),z(1),E()),2&n){const t=o.$implicit;P("value",t),C(),Re(t)}}function wie(n,o){if(1&n&&(I(0,"ion-select-option",4),z(1),E()),2&n){const t=o.$implicit;P("value",t),C(),Re(t)}}function Eie(n,o){if(1&n){const t=Me();I(0,"td")(1,"ion-select",1),Vn("ngModelChange",function(i){le(t);const s=M();return Gn(s.selectedMinute,i)||(s.selectedMinute=i),ce(i)}),re("ionChange",function(){return le(t),ce(M().countMinutesOfDay())}),se(2,wie,2,2,"ion-select-option",2),E()()}if(2&n){const t=M();C(),P("value",t.selectedMinute),zn("ngModel",t.selectedMinute),C(),P("ngForOf",t.minutes)}}function Iie(n,o){if(1&n&&(I(0,"ion-select-option",4),z(1),E()),2&n){const t=o.$implicit;P("value",t),C(),Re(t)}}function Die(n,o){if(1&n){const t=Me();I(0,"td")(1,"ion-select",1),Vn("ngModelChange",function(i){le(t);const s=M();return Gn(s.selectedPart,i)||(s.selectedPart=i),ce(i)}),re("ionChange",function(){return le(t),ce(M().countMinutesOfDay())}),se(2,Iie,2,2,"ion-select-option",2),E()()}if(2&n){const t=M();C(),P("value",t.selectedPart),zn("ngModel",t.selectedPart),C(),P("ngForOf",t.partOfDay)}}let Pie=(()=>{class n{h;m;is12;minutesToday;hideMinutes=!1;minutesTodayChange=new $n;hours=[];minutes=[];partOfDay=["am","pm"];selectedHour="01";selectedMinute="00";selectedPart=this.partOfDay[0];constructor(){}ngOnInit(){this.is12&&(this.h<12?(this.selectedPart=this.partOfDay[0],0==this.h&&(this.h=12)):(this.selectedPart=this.partOfDay[1],this.h>12&&(this.h=this.h-12))),this.selectedHour=this.h<10?"0"+this.h:""+this.h,this.selectedMinute=this.m<10?"0"+this.m:""+this.m,this.countMinutesOfDay(),this.initMinutes(),this.initHours()}initHours(){const t=this.is12?12:23;for(let r=0;r<=t;r++)this.is12&&0==r||this.hours.push(r<10?"0"+r:""+r)}initMinutes(){for(let r=0;r<=60;r+=5)this.minutes.push(r<10?"0"+r:""+r)}countMinutesOfDay(){const t=parseInt(this.selectedMinute);let r=parseInt(this.selectedHour);if(this.is12){const i="am"==this.selectedPart;i&&12==r&&(r=0),!i&&r<12&&(r+=12)}this.minutesToday=60*r+t,this.minutesTodayChange.emit(this.minutesToday)}static \u0275fac=function(r){return new(r||n)};static \u0275cmp=je({type:n,selectors:[["app-time-picker"]],inputs:{h:"h",m:"m",is12:"is12",minutesToday:"minutesToday",hideMinutes:"hideMinutes"},outputs:{minutesTodayChange:"minutesTodayChange"},decls:7,vars:5,consts:[[1,"ion-align-items-start"],["interface","popover",1,"time-select",3,"ngModelChange","ionChange","value","ngModel"],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],[3,"value"]],template:function(r,i){1&r&&(I(0,"table")(1,"tr",0)(2,"td")(3,"ion-select",1),Vn("ngModelChange",function(u){return Gn(i.selectedHour,u)||(i.selectedHour=u),u}),re("ionChange",function(){return i.countMinutesOfDay()}),se(4,Tie,2,2,"ion-select-option",2),E()(),se(5,Eie,3,3,"td",3)(6,Die,3,3,"td",3),E()()),2&r&&(C(3),P("value",i.selectedHour),zn("ngModel",i.selectedHour),C(),P("ngForOf",i.hours),C(),P("ngIf",!i.hideMinutes),C(),P("ngIf",i.is12))},dependencies:[Gy,Wy,Pl,fo,Gt,Xr,Zr],styles:[".time-select[_ngcontent-%COMP%]{width:70px!important}"]})}return n})();function Mie(n,o){if(1&n){const t=Me();I(0,"ion-header")(1,"ion-toolbar",3)(2,"ion-buttons",4)(3,"ion-button",5),re("click",function(){return le(t),ce(M().navigateBack())}),oe(4,"ion-icon",6),E()(),I(5,"ion-title"),z(6),E(),I(7,"ion-buttons",7)(8,"ion-button",5),re("click",function(i){return le(t),ce(M().showUserMenu(i))}),oe(9,"ion-icon",8),E()()(),oe(10,"app-smart-bar"),E()}if(2&n){const t=M();C(6),Re(t.orgService.organization.settings.screens.waitingListItem.toolbarText.value)}}function $ie(n,o){1&n&&oe(0,"ion-progress-bar",9)}function Aie(n,o){if(1&n){const t=Me();I(0,"ion-item",24),re("click",function(){return le(t),ce(M(2).showSelectModal("location"))}),oe(1,"ion-icon",25),I(2,"ion-label"),z(3),E()()}if(2&n){const t=M(2);P("disabled",t.itemLoading),C(),P("name",t.orgService.organization.settings.images.icons.location.value),C(2),Re(t.orgService.organization.settings.screens.waitingListItem.locationSelectText.value)}}function Nie(n,o){if(1&n){const t=Me();I(0,"app-location-item",26),re("click",function(){return le(t),ce(M(2).showSelectModal("location"))}),E()}if(2&n){const t=M(2);P("disabled",t.itemLoading)("location",t.item.location)("isFromBooking",!0)("hideStreetAddress",t.hideStreetAddress)}}function xie(n,o){if(1&n){const t=Me();I(0,"ion-item",24),re("click",function(){return le(t),ce(M(2).showSelectModal("barber"))}),oe(1,"ion-icon",27),I(2,"ion-card-header")(3,"ion-card-title"),z(4),E()()()}if(2&n){const t=M(2);P("disabled",t.itemLoading),C(),P("name",t.orgService.organization.settings.images.icons.barber.value),C(3),Te(" ",t.orgService.organization.settings.screens.waitingListItem.barberSelectText.value," ")}}function Oie(n,o){if(1&n){const t=Me();I(0,"app-stylist-item",28),re("click",function(){return le(t),ce(M(2).showSelectModal("barber"))})("onClose",function(){return le(t),ce(M(2).item.employee=null)}),E()}if(2&n){const t=M(2);P("disabled",t.itemLoading)("stylist",t.item.employee)("showCloseButton",t.canEdit)}}function kie(n,o){if(1&n){const t=Me();I(0,"ion-item",24),re("click",function(){return le(t),ce(M(2).showSelectModal("services"))}),oe(1,"ion-icon",27),I(2,"ion-card-header")(3,"ion-card-title",29),z(4),E()()()}if(2&n){const t=M(2);P("disabled",t.itemLoading),C(),P("name",t.orgService.organization.settings.images.icons.service.value),C(3),Te(" ",t.orgService.organization.settings.screens.waitingListItem.servicesSelectText.value," ")}}function Rie(n,o){if(1&n){const t=Me();I(0,"app-service-item",31),re("click",function(){le(t);const i=M().$implicit;return ce(M(2).showSelectModal("services",i.id))})("onClose",function(){le(t);const i=M().$implicit;return ce(M(2).onRemoveService(i))}),E()}if(2&n){const t=M().$implicit,r=M(2);P("disabled",r.itemLoading)("extras",r.getExtras(t.id))("showCloseButton",r.canEdit)("service",t)}}function Lie(n,o){if(1&n&&(I(0,"span"),se(1,Rie,1,4,"app-service-item",30),E()),2&n){const t=o.$implicit,r=M(2);C(),P("ngIf",!r.isExtra(t.id))}}function Fie(n,o){if(1&n){const t=Me();I(0,"p")(1,"ion-datetime",32),Vn("ngModelChange",function(i){le(t);const s=M(2);return Gn(s.item.date,i)||(s.item.date=i),ce(i)}),E()()}if(2&n){const t=M(2);C(),zn("ngModel",t.item.date),P("displayFormat",t.orgService.getDateFormat().toUpperCase())("min",t.getMinDateString())("locale",t.locale)("showDefaultButtons",!1)("max",t.getMaxDateString())}}function Bie(n,o){if(1&n){const t=Me();I(0,"ion-button",33),re("click",function(i){return le(t),ce(M(2).onUpdate(i))}),z(1),E()}if(2&n){const t=M(2);P("disabled",t.itemLoading),C(),Te(" ",t.orgService.organization.settings.screens.waitingListItem.updateButtonText.value," ")}}function Uie(n,o){if(1&n){const t=Me();I(0,"ion-button",33),re("click",function(){return le(t),ce(M(2).onAddToWaitingList())}),z(1),E()}if(2&n){const t=M(2);P("disabled",!t.canSaveItem()||t.itemLoading),C(),Te(" ",t.orgService.organization.settings.screens.waitingListItem.addToWaitingListButtonText.value," ")}}function zie(n,o){if(1&n){const t=Me();I(0,"ion-button",33),re("click",function(){return le(t),ce(M(2).onLoginAndAdd())}),z(1),E()}if(2&n){const t=M(2);P("disabled",!t.canSaveItem()||t.itemLoading),C(),Te(" ",t.orgService.organization.settings.screens.waitingListItem.loginAndAddButtonText.value," ")}}function Vie(n,o){if(1&n){const t=Me();I(0,"ion-button",33),re("click",function(){le(t);const i=M(2);return ce(i.onAvailableOptionsClick(i.item))}),z(1),E()}if(2&n){const t=M(2);P("disabled",t.itemLoading),C(),Co(" ",t.orgService.organization.settings.screens.appointments.optionAvailableCountText.value,": ",t.item.options.length," ")}}function Hie(n,o){if(1&n){const t=Me();I(0,"ion-button",34),re("click",function(i){le(t);const s=M(2);return ce(s.onCalcel(i,s.item))}),z(1),E()}if(2&n){const t=M(2);P("disabled",t.itemLoading),C(),Te(" ",t.orgService.organization.settings.screens.appointments.cancelButtonText.value," ")}}function jie(n,o){if(1&n){const t=Me();I(0,"ion-content",10)(1,"ion-list",11),se(2,Aie,4,3,"ion-item",12)(3,Nie,1,4,"app-location-item",13)(4,xie,5,3,"ion-item",12)(5,Oie,1,3,"app-stylist-item",14)(6,kie,5,3,"ion-item",12)(7,Lie,2,1,"span",15),I(8,"ion-item",16)(9,"ion-label")(10,"p",17),z(11),E(),se(12,Fie,2,6,"p",0),E()(),I(13,"table",18)(14,"tr")(15,"td")(16,"ion-label"),z(17),E()(),I(18,"td",19)(19,"app-time-picker",20),Vn("minutesTodayChange",function(i){le(t);const s=M();return Gn(s.item.timeFrom,i)||(s.item.timeFrom=i),ce(i)}),re("minutesTodayChange",function(){return le(t),ce(M().onCustomStartTimeChanged())}),E()()(),I(20,"tr")(21,"td")(22,"ion-label"),z(23),E()(),I(24,"td",19)(25,"app-time-picker",21),Vn("minutesTodayChange",function(i){le(t);const s=M();return Gn(s.item.timeTo,i)||(s.item.timeTo=i),ce(i)}),re("minutesTodayChange",function(){return le(t),ce(M().onCustomEndTimeChanged())}),E()()()(),I(26,"span"),se(27,Bie,2,2,"ion-button",22)(28,Uie,2,2,"ion-button",22)(29,zie,2,2,"ion-button",22)(30,Vie,2,3,"ion-button",22)(31,Hie,2,2,"ion-button",23),E()()()}if(2&n){const t=M();C(2),P("ngIf",!t.item.location),C(),P("ngIf",t.item.location),C(),P("ngIf",!t.item.employee),C(),P("ngIf",t.item.employee),C(),P("ngIf",!t.item.services||!t.item.services.length),C(),P("ngForOf",t.item.services),C(4),Te(" ",t.orgService.organization.settings.screens.waitingListItem.dateSelectText.value,": "),C(),P("ngIf",t.item.date&&t.locale),C(5),Te(" ",t.orgService.organization.settings.screens.waitingListItem.timeFromSelectText.value,": "),C(2),P("h",t.hourFrom)("m",t.minuteFrom),zn("minutesToday",t.item.timeFrom),P("is12",t.orgService.organization.is12HoursTimeFormat),C(4),Te(" ",t.orgService.organization.settings.screens.waitingListItem.timeToSelectText.value,": "),C(2),P("h",t.hourTo)("m",t.minuteTo),zn("minutesToday",t.item.timeTo),P("is12",t.orgService.organization.is12HoursTimeFormat),C(2),P("ngIf",t.isAuthorized&&t.waitingListService.canUpdate(t.item)),C(),P("ngIf",t.isAuthorized&&!t.waitingListService.canUpdate(t.item)),C(),P("ngIf",!t.isAuthorized),C(),P("ngIf",t.isAuthorized&&t.waitingListService.hasAvailableOptions(t.item)),C(),P("ngIf",t.isAuthorized&&t.waitingListService.canCancel(t.item))}}let PP=(()=>{class n extends cb{injector;locationsService;accountService;dateTimeService;route;itemLoading;canEdit;timeFromInString;timeToInString;hourFrom=8;minuteFrom=0;hourTo=20;minuteTo=0;monthToCreateItemInFuture=36;locale=null;item=new iP;hideStreetAddress=!1;isAuthorized;constructor(t,r,i,s,u){super(t),this.injector=t,this.locationsService=r,this.accountService=i,this.dateTimeService=s,this.route=u}ngOnInit(){var t=this;return(0,Ge.A)(function*(){yield t.showLoading(),t.organizationPromise.subscribe(i=>t.hideStreetAddress=i.streetAddressHidden),t.accountService.getCustomer().subscribe(i=>{t.isAuthorized=!!i&&!!i.customerId}),t.itemLoading=!0,t.orgService.getCurrentLocale().then(i=>{t.locale=i});const r=t.route.snapshot.paramMap.get("id");r?t.waitingListService.getItemById(r).subscribe(function(){var i=(0,Ge.A)(function*(s){if(!s)return yield t.hideLoading(),void t.navigateBack();t.item=s,t.setInitialTimeRange(),yield t.loadItem(),t.waitingListService.setItem(t.item),t.itemLoading=!1,yield t.hideLoading()});return function(s){return i.apply(this,arguments)}}(),()=>{t.hideLoading(),t.navigateBack()}):(t.item=t.waitingListService.getItem(),t.setInitialTimeRange(),yield t.loadItem(),t.itemLoading=!1,yield t.hideLoading())})()}ionViewWillEnter(){this.accountService.getCustomer().subscribe(t=>{this.isAuthorized=!!t&&!!t.customerId})}formatTimeSlot(t,r){return Wh(t,r,this.locale)}loadItem(){var t=this;return(0,Ge.A)(function*(){t.canEdit=!0,t.item.location||(yield t.setDefaultLocation()),t.item.employee||(yield t.setPossibleDefaultBarber())})()}canSaveItem(){const t=this.item;return t.location&&t.services&&!!t.services.length&&!!t.date&&!this.itemLoading}setInitialTimeRange(){this.item.timeFrom||(this.item.timeFrom=60*this.hourFrom),this.item.timeTo||(this.item.timeTo=60*this.hourTo),this.onCustomStartTimeChanged(),this.onCustomEndTimeChanged()}setDefaultLocation(){var t=this;return(0,Ge.A)(function*(){const r=t.injector.get(Nl);try{const i=yield t.locationsService.getLocations().toPromise();yield r.set("locations",i),i.length>0&&t.waitingListService.updateLocation(i[0])}catch{const s=yield r.get("locations").toPromise();s&&s.length?t.waitingListService.updateLocation(s[0]):t.networkError()}})()}onLoginAndAdd(){this.navCtrl.navigateForward("login")}onAddToWaitingList(t=!0){this.itemLoading=!0,this.waitingListService.saveItem(this.item).pipe(Wn(()=>this.itemLoading=!1)).subscribe(r=>{this.presentSuccessAlert(this.orgService.organization.settings.screens.waitingListItem.successAddedTitle.value,this.orgService.organization.settings.screens.waitingListItem.successAddedMessage.value).then(()=>{this.navigateBack(),t&&this.waitingListService.voidItem()})},r=>{this.presentAlert("Failed to add item to waiting list","Try again later"),this.navCtrl.back()})}onCalcel(t,r){var i=()=>super.onCalcel,s=this;return(0,Ge.A)(function*(){(yield s.confirmCancel(t))&&(s.itemLoading=!0,yield i().call(s,t,r),s.navCtrl.back(),s.itemLoading=!1)})()}onUpdate(t){const r=this.orgService.organization.settings.screens.waitingListItem;this.showConfirmPopUp(t,r.updateConfirmTitle.value,r.updateConfirmSubtitle.value,r.updateConfirmYesText.value,r.updateConfirmNoText.value).then(i=>{i&&this.onAddToWaitingList(!1)})}setPossibleDefaultBarber(){var t=this;return(0,Ge.A)(function*(){try{const r=yield t.waitingListService.getBarbers(t.item).toPromise();if(1===r.length){const i=r[0];yield t.waitingListService.updateBarber(i,t.item)}}catch{t.networkError()}})()}showSelectModal(t,r=null){var i=this;return(0,Ge.A)(function*(){"location"!==t?"services"!==t?"barber"!==t||i.navCtrl.navigateForward("stylists",{state:{isFromWaitingListItem:!0}}):i.navCtrl.navigateForward("services",{state:{isFromWaitingListItem:!0,selectedServiceIdFromBookingPage:r}}):i.navCtrl.navigateForward("locations",{state:{isFromWaitingListItem:!0}})})()}onRemoveService(t){this.waitingListService.removeService(t)}onTimeFromChange(t){const r=new Date(t.detail.value);r.setHours(r.getUTCHours());const i=this.waitingListService.mapDateToMinutesTime(r);this.waitingListService.updateTimeFrom(i),this.item.timeFrom>this.item.timeTo&&(this.waitingListService.updateTimeTo(i),this.timeToInString=this.timeFromInString)}onTimeToChange(t){const r=new Date(t.detail.value);r.setHours(r.getUTCHours());const i=this.waitingListService.mapDateToMinutesTime(r);this.waitingListService.updateTimeTo(i),this.item.timeTo<this.item.timeFrom&&(this.waitingListService.updateTimeFrom(i),this.timeFromInString=this.timeToInString)}getMaxDateString(){const t=new Date(Date.now());return t.setMonth(t.getMonth()+this.monthToCreateItemInFuture),t.setMinutes(0),this.dateTimeService.normalizeDate(t),t.toISOString()}getMinDateString(){const t=new Date(Date.now());return this.dateTimeService.normalizeDate(t),t.toISOString()}onCustomStartTimeChanged(){this.hourFrom=Math.floor(this.item.timeFrom/60),this.minuteFrom=this.item.timeFrom%60}onCustomEndTimeChanged(){this.hourTo=Math.floor(this.item.timeTo/60),this.minuteTo=this.item.timeTo%60}isExtra(t){const r=this.waitingListService.getItem();if(!r.servicesConfig)return!1;for(let i=0;i<r.servicesConfig.length;i++){const s=r.servicesConfig[i];if(s.serviceId==t)return!!s.parentServiceId}return!1}getExtras(t){const r=this.waitingListService.getItem();var i=[];if(!r.servicesConfig)return i;for(let s=0;s<r.servicesConfig.length;s++){const u=r.servicesConfig[s];if(u.parentServiceId==t){const p=r.services.find(m=>m.id==u.serviceId);p&&i.push(p)}}return i}navigateBack(){this.navCtrl.navigateBack("bookings",{queryParams:{tab:"waiting"}})}static \u0275fac=function(r){return new(r||n)(N(Ht),N(i1),N(gr),N(s1),N(dr))};static \u0275cmp=je({type:n,selectors:[["app-waiting-list-item-page"]],features:[Dt],decls:3,vars:3,consts:[[4,"ngIf"],["type","indeterminate","color","secondary",4,"ngIf"],["class","padding",4,"ngIf"],["color","secondary",1,"mobile-item"],["slot","start"],[3,"click"],["name","arrow-back"],["slot","primary"],["name","person-circle-outline"],["type","indeterminate","color","secondary"],[1,"padding"],[1,"screen-item","content"],["color","primary","class","pointer","detail","true",3,"disabled","click",4,"ngIf"],[3,"disabled","location","isFromBooking","hideStreetAddress","click",4,"ngIf"],[3,"disabled","stylist","showCloseButton","click","onClose",4,"ngIf"],[4,"ngFor","ngForOf"],["color","primary"],[1,"mb-5"],[1,"frames"],[1,"time-block"],[3,"minutesTodayChange","h","m","minutesToday","is12"],[1,"time-block",3,"minutesTodayChange","h","m","minutesToday","is12"],["color","success","expand","full",3,"disabled","click",4,"ngIf"],["color","danger","expand","full",3,"disabled","click",4,"ngIf"],["color","primary","detail","true",1,"pointer",3,"click","disabled"],["size","large",3,"name"],[3,"click","disabled","location","isFromBooking","hideStreetAddress"],["slot","start","size","large",3,"name"],[3,"click","onClose","disabled","stylist","showCloseButton"],[1,"btn-title"],[3,"disabled","extras","showCloseButton","service","click","onClose",4,"ngIf"],[3,"click","onClose","disabled","extras","showCloseButton","service"],["color","primary","presentation","date","doneText","OK","cancelText","X",3,"ngModelChange","ngModel","displayFormat","min","locale","showDefaultButtons","max"],["color","success","expand","full",3,"click","disabled"],["color","danger","expand","full",3,"click","disabled"]],template:function(r,i){1&r&&se(0,Mie,11,1,"ion-header",0)(1,$ie,1,0,"ion-progress-bar",1)(2,jie,32,23,"ion-content",2),2&r&&(P("ngIf",i.orgService.organization&&i.orgService.organization.settings&&i.orgService.organization.settings.screens&&i.orgService.organization.settings.screens.waitingListItem),C(),P("ngIf",i.itemLoading),C(),P("ngIf",i.orgService.organization&&i.orgService.organization.settings&&i.orgService.organization.settings.screens&&i.orgService.organization.settings.screens.waitingListItem))},dependencies:[fo,Gt,Xr,Zr,on,Ln,oo,lo,Sn,pD,En,un,Dn,co,Bo,ar,An,In,Pl,c1,d1,ib,Uo,Pie],styles:[".frames[_ngcontent-%COMP%]{background-color:var(--ion-color-primary)!important;color:var(--ion-color-primary-contrast)!important;vertical-align:middle;margin-right:10px;margin-left:20px;margin-top:10px}.frames[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{height:55px}.frames[_ngcontent-%COMP%]   .time-block[_ngcontent-%COMP%]{padding-left:10px!important;width:250px!important}.content[_ngcontent-%COMP%]{background-color:var(--ion-color-primary)!important}"]})}return n})();const Gie=[{path:"",redirectTo:"tabs/home",pathMatch:"full"},{path:"booking",component:sb},{path:"book/:stylistId",component:sb},{path:"b/:tid",component:sb},{path:"stylists",component:EP},{path:"stylist/:id",component:wP},{path:"services",component:mb},{path:"service/:id",component:TP},{path:"locations",component:ub},{path:"location/:id",component:db},{path:"bookings",component:WJ},{path:"table",component:IP},{path:"customer",component:aJ},{path:"saved",component:pJ},{path:"feedback",component:p1},{path:"b/:tid/f",component:p1},{path:"login",component:gP},{path:"register",component:hb},{path:"invite/:id",component:hb},{path:"confirm",component:dP},{path:"reset",component:CP},{path:"tips",component:pie},{path:"payment-cards",component:wte},{path:"payment-cards/new",component:pP},{path:"payment-summary",component:qte},{path:"payment-confirm",component:$te},{path:"cancel",component:qQ},{path:"waiting-list-item",component:PP},{path:"waiting-list/:id",component:PP},{path:"products",component:Mne},{path:"order",component:ooe},{path:"orders",component:goe},{path:"products/:id",component:Ioe},{path:"delivery-methods",component:pb},{path:"confirmation",component:Xte},{path:"payment-summary-order",component:kte},{path:"bonuses",component:rP},{path:"user",component:DP},{path:"address",component:uP}];let Wie=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275mod=bn({type:n});static \u0275inj=mn({imports:[Jo.forRoot(Gie,{preloadingStrategy:Sq}),_o,Jo]})}return n})();const MP=(0,h1.F3)("SplashScreen",{web:()=>_.e(4292).then(_.bind(_,4292)).then(n=>new n.SplashScreenWeb)});var $P=function(n){return n.Dark="DARK",n.Light="LIGHT",n.Default="DEFAULT",n}($P||{});const Yie=(0,h1.F3)("StatusBar");function AP(n){return null!==n&&"object"==typeof n&&"constructor"in n&&n.constructor===Object}function _b(n,o){void 0===n&&(n={}),void 0===o&&(o={}),Object.keys(o).forEach(t=>{typeof n[t]>"u"?n[t]=o[t]:AP(o[t])&&AP(n[t])&&Object.keys(o[t]).length>0&&_b(n[t],o[t])})}const NP={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function Si(){const n=typeof document<"u"?document:{};return _b(n,NP),n}const Kie={document:NP,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:n=>typeof setTimeout>"u"?(n(),null):setTimeout(n,0),cancelAnimationFrame(n){typeof setTimeout>"u"||clearTimeout(n)}};function fr(){const n=typeof window<"u"?window:{};return _b(n,Kie),n}function Dc(n,o){return void 0===o&&(o=0),setTimeout(n,o)}function Ds(){return Date.now()}function vb(n,o){void 0===o&&(o="x");const t=fr();let r,i,s;const u=function Zie(n){const o=fr();let t;return o.getComputedStyle&&(t=o.getComputedStyle(n,null)),!t&&n.currentStyle&&(t=n.currentStyle),t||(t=n.style),t}(n);return t.WebKitCSSMatrix?(i=u.transform||u.webkitTransform,i.split(",").length>6&&(i=i.split(", ").map(p=>p.replace(",",".")).join(", ")),s=new t.WebKitCSSMatrix("none"===i?"":i)):(s=u.MozTransform||u.OTransform||u.MsTransform||u.msTransform||u.transform||u.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),r=s.toString().split(",")),"x"===o&&(i=t.WebKitCSSMatrix?s.m41:16===r.length?parseFloat(r[12]):parseFloat(r[4])),"y"===o&&(i=t.WebKitCSSMatrix?s.m42:16===r.length?parseFloat(r[13]):parseFloat(r[5])),i||0}function Pf(n){return"object"==typeof n&&null!==n&&n.constructor&&"Object"===Object.prototype.toString.call(n).slice(8,-1)}function Qie(n){return typeof window<"u"&&typeof window.HTMLElement<"u"?n instanceof HTMLElement:n&&(1===n.nodeType||11===n.nodeType)}function ds(){const n=Object(arguments.length<=0?void 0:arguments[0]),o=["__proto__","constructor","prototype"];for(let t=1;t<arguments.length;t+=1){const r=t<0||arguments.length<=t?void 0:arguments[t];if(null!=r&&!Qie(r)){const i=Object.keys(Object(r)).filter(s=>o.indexOf(s)<0);for(let s=0,u=i.length;s<u;s+=1){const p=i[s],m=Object.getOwnPropertyDescriptor(r,p);void 0!==m&&m.enumerable&&(Pf(n[p])&&Pf(r[p])?r[p].__swiper__?n[p]=r[p]:ds(n[p],r[p]):!Pf(n[p])&&Pf(r[p])?(n[p]={},r[p].__swiper__?n[p]=r[p]:ds(n[p],r[p])):n[p]=r[p])}}}return n}function Mf(n,o,t){n.style.setProperty(o,t)}function xP(n){let{swiper:o,targetPosition:t,side:r}=n;const i=fr(),s=-o.translate;let p,u=null;const m=o.params.speed;o.wrapperEl.style.scrollSnapType="none",i.cancelAnimationFrame(o.cssModeFrameID);const v=t>s?"next":"prev",S=(D,$)=>"next"===v&&D>=$||"prev"===v&&D<=$,T=()=>{p=(new Date).getTime(),null===u&&(u=p);const D=Math.max(Math.min((p-u)/m,1),0),$=.5-Math.cos(D*Math.PI)/2;let x=s+$*(t-s);if(S(x,t)&&(x=t),o.wrapperEl.scrollTo({[r]:x}),S(x,t))return o.wrapperEl.style.overflow="hidden",o.wrapperEl.style.scrollSnapType="",setTimeout(()=>{o.wrapperEl.style.overflow="",o.wrapperEl.scrollTo({[r]:x})}),void i.cancelAnimationFrame(o.cssModeFrameID);o.cssModeFrameID=i.requestAnimationFrame(T)};T()}function Pc(n){return n.querySelector(".swiper-slide-transform")||n.shadowRoot&&n.shadowRoot.querySelector(".swiper-slide-transform")||n}function pi(n,o){return void 0===o&&(o=""),[...n.children].filter(t=>t.matches(o))}function Js(n,o){void 0===o&&(o=[]);const t=document.createElement(n);return t.classList.add(...Array.isArray(o)?o:[o]),t}function v1(n){const o=fr(),t=Si(),r=n.getBoundingClientRect(),i=t.body;return{top:r.top+(n===o?o.scrollY:n.scrollTop)-(n.clientTop||i.clientTop||0),left:r.left+(n===o?o.scrollX:n.scrollLeft)-(n.clientLeft||i.clientLeft||0)}}function Rl(n,o){return fr().getComputedStyle(n,null).getPropertyValue(o)}function $f(n){let t,o=n;if(o){for(t=0;null!==(o=o.previousSibling);)1===o.nodeType&&(t+=1);return t}}function Mc(n,o){const t=[];let r=n.parentElement;for(;r;)o?r.matches(o)&&t.push(r):t.push(r),r=r.parentElement;return t}function Af(n,o){o&&n.addEventListener("transitionend",function t(r){r.target===n&&(o.call(n,r),n.removeEventListener("transitionend",t))})}function yb(n,o,t){const r=fr();return t?n["width"===o?"offsetWidth":"offsetHeight"]+parseFloat(r.getComputedStyle(n,null).getPropertyValue("width"===o?"margin-right":"margin-top"))+parseFloat(r.getComputedStyle(n,null).getPropertyValue("width"===o?"margin-left":"margin-bottom")):n.offsetWidth}let bb,Sb,Cb;function OP(){return bb||(bb=function tse(){const n=fr(),o=Si();return{smoothScroll:o.documentElement&&o.documentElement.style&&"scrollBehavior"in o.documentElement.style,touch:!!("ontouchstart"in n||n.DocumentTouch&&o instanceof n.DocumentTouch)}}()),bb}const y1=(n,o)=>{if(!n||n.destroyed||!n.params)return;const r=o.closest(n.isElement?"swiper-slide":`.${n.params.slideClass}`);if(r){let i=r.querySelector(`.${n.params.lazyPreloaderClass}`);!i&&n.isElement&&(r.shadowRoot?i=r.shadowRoot.querySelector(`.${n.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{r.shadowRoot&&(i=r.shadowRoot.querySelector(`.${n.params.lazyPreloaderClass}`),i&&i.remove())})),i&&i.remove()}},Tb=(n,o)=>{if(!n.slides[o])return;const t=n.slides[o].querySelector('[loading="lazy"]');t&&t.removeAttribute("loading")},wb=n=>{if(!n||n.destroyed||!n.params)return;let o=n.params.lazyPreloadPrevNext;const t=n.slides.length;if(!t||!o||o<0)return;o=Math.min(o,t);const r="auto"===n.params.slidesPerView?n.slidesPerViewDynamic():Math.ceil(n.params.slidesPerView),i=n.activeIndex;if(n.params.grid&&n.params.grid.rows>1){const u=i,p=[u-o];return p.push(...Array.from({length:o}).map((m,v)=>u+r+v)),void n.slides.forEach((m,v)=>{p.includes(m.column)&&Tb(n,v)})}const s=i+r-1;if(n.params.rewind||n.params.loop)for(let u=i-o;u<=s+o;u+=1){const p=(u%t+t)%t;(p<i||p>s)&&Tb(n,p)}else for(let u=Math.max(i-o,0);u<=Math.min(s+o,t-1);u+=1)u!==i&&(u>s||u<i)&&Tb(n,u)};function kP(n){let{swiper:o,runCallbacks:t,direction:r,step:i}=n;const{activeIndex:s,previousIndex:u}=o;let p=r;if(p||(p=s>u?"next":s<u?"prev":"reset"),o.emit(`transition${i}`),t&&s!==u){if("reset"===p)return void o.emit(`slideResetTransition${i}`);o.emit(`slideChangeTransition${i}`),o.emit("next"===p?`slideNextTransition${i}`:`slidePrevTransition${i}`)}}function Wse(n){const o=this,t=Si(),r=fr(),i=o.touchEventsData;i.evCache.push(n);const{params:s,touches:u,enabled:p}=o;if(!p||!s.simulateTouch&&"mouse"===n.pointerType||o.animating&&s.preventInteractionOnTransition)return;!o.animating&&s.cssMode&&s.loop&&o.loopFix();let m=n;m.originalEvent&&(m=m.originalEvent);let v=m.target;if("wrapper"===s.touchEventsTarget&&!o.wrapperEl.contains(v)||"which"in m&&3===m.which||"button"in m&&m.button>0||i.isTouched&&i.isMoved)return;const S=!!s.noSwipingClass&&""!==s.noSwipingClass,T=n.composedPath?n.composedPath():n.path;S&&m.target&&m.target.shadowRoot&&T&&(v=T[0]);const D=s.noSwipingSelector?s.noSwipingSelector:`.${s.noSwipingClass}`;if(s.noSwiping&&(m.target&&m.target.shadowRoot?function Gse(n,o){return void 0===o&&(o=this),function t(r){if(!r||r===Si()||r===fr())return null;r.assignedSlot&&(r=r.assignedSlot);const i=r.closest(n);return i||r.getRootNode?i||t(r.getRootNode().host):null}(o)}(D,v):v.closest(D)))return void(o.allowClick=!0);if(s.swipeHandler&&!v.closest(s.swipeHandler))return;u.currentX=m.pageX,u.currentY=m.pageY;const x=u.currentX,k=u.currentY,B=s.edgeSwipeDetection||s.iOSEdgeSwipeDetection,G=s.edgeSwipeThreshold||s.iOSEdgeSwipeThreshold;if(B&&(x<=G||x>=r.innerWidth-G)){if("prevent"!==B)return;n.preventDefault()}Object.assign(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),u.startX=x,u.startY=k,i.touchStartTime=Ds(),o.allowClick=!0,o.updateSize(),o.swipeDirection=void 0,s.threshold>0&&(i.allowThresholdMove=!1);let L=!0;v.matches(i.focusableElements)&&(L=!1,"SELECT"===v.nodeName&&(i.isTouched=!1)),t.activeElement&&t.activeElement.matches(i.focusableElements)&&t.activeElement!==v&&t.activeElement.blur(),(s.touchStartForcePreventDefault||L&&o.allowTouchMove&&s.touchStartPreventDefault)&&!v.isContentEditable&&m.preventDefault(),s.freeMode&&s.freeMode.enabled&&o.freeMode&&o.animating&&!s.cssMode&&o.freeMode.onTouchStart(),o.emit("touchStart",m)}function qse(n){const o=Si(),t=this,r=t.touchEventsData,{params:i,touches:s,rtlTranslate:u,enabled:p}=t;if(!p||!i.simulateTouch&&"mouse"===n.pointerType)return;let m=n;if(m.originalEvent&&(m=m.originalEvent),!r.isTouched)return void(r.startMoving&&r.isScrolling&&t.emit("touchMoveOpposite",m));const v=r.evCache.findIndex(ze=>ze.pointerId===m.pointerId);v>=0&&(r.evCache[v]=m);const S=r.evCache.length>1?r.evCache[0]:m,T=S.pageX,D=S.pageY;if(m.preventedByNestedSwiper)return s.startX=T,void(s.startY=D);if(!t.allowTouchMove)return m.target.matches(r.focusableElements)||(t.allowClick=!1),void(r.isTouched&&(Object.assign(s,{startX:T,startY:D,prevX:t.touches.currentX,prevY:t.touches.currentY,currentX:T,currentY:D}),r.touchStartTime=Ds()));if(i.touchReleaseOnEdges&&!i.loop)if(t.isVertical()){if(D<s.startY&&t.translate<=t.maxTranslate()||D>s.startY&&t.translate>=t.minTranslate())return r.isTouched=!1,void(r.isMoved=!1)}else if(T<s.startX&&t.translate<=t.maxTranslate()||T>s.startX&&t.translate>=t.minTranslate())return;if(o.activeElement&&m.target===o.activeElement&&m.target.matches(r.focusableElements))return r.isMoved=!0,void(t.allowClick=!1);if(r.allowTouchCallbacks&&t.emit("touchMove",m),m.targetTouches&&m.targetTouches.length>1)return;s.currentX=T,s.currentY=D;const $=s.currentX-s.startX,x=s.currentY-s.startY;if(t.params.threshold&&Math.sqrt($**2+x**2)<t.params.threshold)return;if(typeof r.isScrolling>"u"){let ze;t.isHorizontal()&&s.currentY===s.startY||t.isVertical()&&s.currentX===s.startX?r.isScrolling=!1:$*$+x*x>=25&&(ze=180*Math.atan2(Math.abs(x),Math.abs($))/Math.PI,r.isScrolling=t.isHorizontal()?ze>i.touchAngle:90-ze>i.touchAngle)}if(r.isScrolling&&t.emit("touchMoveOpposite",m),typeof r.startMoving>"u"&&(s.currentX!==s.startX||s.currentY!==s.startY)&&(r.startMoving=!0),r.isScrolling||t.zoom&&t.params.zoom&&t.params.zoom.enabled&&r.evCache.length>1)return void(r.isTouched=!1);if(!r.startMoving)return;t.allowClick=!1,!i.cssMode&&m.cancelable&&m.preventDefault(),i.touchMoveStopPropagation&&!i.nested&&m.stopPropagation();let k=t.isHorizontal()?$:x,B=t.isHorizontal()?s.currentX-s.previousX:s.currentY-s.previousY;i.oneWayMovement&&(k=Math.abs(k)*(u?1:-1),B=Math.abs(B)*(u?1:-1)),s.diff=k,k*=i.touchRatio,u&&(k=-k,B=-B);const G=t.touchesDirection;t.swipeDirection=k>0?"prev":"next",t.touchesDirection=B>0?"prev":"next";const L=t.params.loop&&!i.cssMode,H="next"===t.swipeDirection&&t.allowSlideNext||"prev"===t.swipeDirection&&t.allowSlidePrev;if(!r.isMoved){if(L&&H&&t.loopFix({direction:t.swipeDirection}),r.startTranslate=t.getTranslate(),t.setTransition(0),t.animating){const ze=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});t.wrapperEl.dispatchEvent(ze)}r.allowMomentumBounce=!1,i.grabCursor&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!0),t.emit("sliderFirstMove",m)}let ge;r.isMoved&&G!==t.touchesDirection&&L&&H&&Math.abs(k)>=1&&(t.loopFix({direction:t.swipeDirection,setTranslate:!0}),ge=!0),t.emit("sliderMove",m),r.isMoved=!0,r.currentTranslate=k+r.startTranslate;let Fe=!0,He=i.resistanceRatio;if(i.touchReleaseOnEdges&&(He=0),k>0?(L&&H&&!ge&&r.currentTranslate>(i.centeredSlides?t.minTranslate()-t.size/2:t.minTranslate())&&t.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),r.currentTranslate>t.minTranslate()&&(Fe=!1,i.resistance&&(r.currentTranslate=t.minTranslate()-1+(-t.minTranslate()+r.startTranslate+k)**He))):k<0&&(L&&H&&!ge&&r.currentTranslate<(i.centeredSlides?t.maxTranslate()+t.size/2:t.maxTranslate())&&t.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:t.slides.length-("auto"===i.slidesPerView?t.slidesPerViewDynamic():Math.ceil(parseFloat(i.slidesPerView,10)))}),r.currentTranslate<t.maxTranslate()&&(Fe=!1,i.resistance&&(r.currentTranslate=t.maxTranslate()+1-(t.maxTranslate()-r.startTranslate-k)**He))),Fe&&(m.preventedByNestedSwiper=!0),!t.allowSlideNext&&"next"===t.swipeDirection&&r.currentTranslate<r.startTranslate&&(r.currentTranslate=r.startTranslate),!t.allowSlidePrev&&"prev"===t.swipeDirection&&r.currentTranslate>r.startTranslate&&(r.currentTranslate=r.startTranslate),!t.allowSlidePrev&&!t.allowSlideNext&&(r.currentTranslate=r.startTranslate),i.threshold>0){if(!(Math.abs(k)>i.threshold||r.allowThresholdMove))return void(r.currentTranslate=r.startTranslate);if(!r.allowThresholdMove)return r.allowThresholdMove=!0,s.startX=s.currentX,s.startY=s.currentY,r.currentTranslate=r.startTranslate,void(s.diff=t.isHorizontal()?s.currentX-s.startX:s.currentY-s.startY)}!i.followFinger||i.cssMode||((i.freeMode&&i.freeMode.enabled&&t.freeMode||i.watchSlidesProgress)&&(t.updateActiveIndex(),t.updateSlidesClasses()),i.freeMode&&i.freeMode.enabled&&t.freeMode&&t.freeMode.onTouchMove(),t.updateProgress(r.currentTranslate),t.setTranslate(r.currentTranslate))}function Yse(n){const o=this,t=o.touchEventsData,r=t.evCache.findIndex(H=>H.pointerId===n.pointerId);if(r>=0&&t.evCache.splice(r,1),["pointercancel","pointerout","pointerleave","contextmenu"].includes(n.type)&&(!["pointercancel","contextmenu"].includes(n.type)||!o.browser.isSafari&&!o.browser.isWebView))return;const{params:i,touches:s,rtlTranslate:u,slidesGrid:p,enabled:m}=o;if(!m||!i.simulateTouch&&"mouse"===n.pointerType)return;let v=n;if(v.originalEvent&&(v=v.originalEvent),t.allowTouchCallbacks&&o.emit("touchEnd",v),t.allowTouchCallbacks=!1,!t.isTouched)return t.isMoved&&i.grabCursor&&o.setGrabCursor(!1),t.isMoved=!1,void(t.startMoving=!1);i.grabCursor&&t.isMoved&&t.isTouched&&(!0===o.allowSlideNext||!0===o.allowSlidePrev)&&o.setGrabCursor(!1);const S=Ds(),T=S-t.touchStartTime;if(o.allowClick){const H=v.path||v.composedPath&&v.composedPath();o.updateClickedSlide(H&&H[0]||v.target,H),o.emit("tap click",v),T<300&&S-t.lastClickTime<300&&o.emit("doubleTap doubleClick",v)}if(t.lastClickTime=Ds(),Dc(()=>{o.destroyed||(o.allowClick=!0)}),!t.isTouched||!t.isMoved||!o.swipeDirection||0===s.diff||t.currentTranslate===t.startTranslate)return t.isTouched=!1,t.isMoved=!1,void(t.startMoving=!1);let D;if(t.isTouched=!1,t.isMoved=!1,t.startMoving=!1,D=i.followFinger?u?o.translate:-o.translate:-t.currentTranslate,i.cssMode)return;if(i.freeMode&&i.freeMode.enabled)return void o.freeMode.onTouchEnd({currentPos:D});let $=0,x=o.slidesSizesGrid[0];for(let H=0;H<p.length;H+=H<i.slidesPerGroupSkip?1:i.slidesPerGroup){const ge=H<i.slidesPerGroupSkip-1?1:i.slidesPerGroup;typeof p[H+ge]<"u"?D>=p[H]&&D<p[H+ge]&&($=H,x=p[H+ge]-p[H]):D>=p[H]&&($=H,x=p[p.length-1]-p[p.length-2])}let k=null,B=null;i.rewind&&(o.isBeginning?B=i.virtual&&i.virtual.enabled&&o.virtual?o.virtual.slides.length-1:o.slides.length-1:o.isEnd&&(k=0));const G=(D-p[$])/x,L=$<i.slidesPerGroupSkip-1?1:i.slidesPerGroup;if(T>i.longSwipesMs){if(!i.longSwipes)return void o.slideTo(o.activeIndex);"next"===o.swipeDirection&&o.slideTo(G>=i.longSwipesRatio?i.rewind&&o.isEnd?k:$+L:$),"prev"===o.swipeDirection&&(G>1-i.longSwipesRatio?o.slideTo($+L):null!==B&&G<0&&Math.abs(G)>i.longSwipesRatio?o.slideTo(B):o.slideTo($))}else{if(!i.shortSwipes)return void o.slideTo(o.activeIndex);!o.navigation||v.target!==o.navigation.nextEl&&v.target!==o.navigation.prevEl?("next"===o.swipeDirection&&o.slideTo(null!==k?k:$+L),"prev"===o.swipeDirection&&o.slideTo(null!==B?B:$)):o.slideTo(v.target===o.navigation.nextEl?$+L:$)}}function RP(){const n=this,{params:o,el:t}=n;if(t&&0===t.offsetWidth)return;o.breakpoints&&n.setBreakpoint();const{allowSlideNext:r,allowSlidePrev:i,snapGrid:s}=n,u=n.virtual&&n.params.virtual.enabled;n.allowSlideNext=!0,n.allowSlidePrev=!0,n.updateSize(),n.updateSlides(),n.updateSlidesClasses(),!("auto"===o.slidesPerView||o.slidesPerView>1)||!n.isEnd||n.isBeginning||n.params.centeredSlides||u&&o.loop?n.params.loop&&!u?n.slideToLoop(n.realIndex,0,!1,!0):n.slideTo(n.activeIndex,0,!1,!0):n.slideTo(n.slides.length-1,0,!1,!0),n.autoplay&&n.autoplay.running&&n.autoplay.paused&&(clearTimeout(n.autoplay.resizeTimeout),n.autoplay.resizeTimeout=setTimeout(()=>{n.autoplay&&n.autoplay.running&&n.autoplay.paused&&n.autoplay.resume()},500)),n.allowSlidePrev=i,n.allowSlideNext=r,n.params.watchOverflow&&s!==n.snapGrid&&n.checkOverflow()}function Kse(n){const o=this;o.enabled&&(o.allowClick||(o.params.preventClicks&&n.preventDefault(),o.params.preventClicksPropagation&&o.animating&&(n.stopPropagation(),n.stopImmediatePropagation())))}function Xse(){const n=this,{wrapperEl:o,rtlTranslate:t,enabled:r}=n;if(!r)return;let i;n.previousTranslate=n.translate,n.translate=n.isHorizontal()?-o.scrollLeft:-o.scrollTop,0===n.translate&&(n.translate=0),n.updateActiveIndex(),n.updateSlidesClasses();const s=n.maxTranslate()-n.minTranslate();i=0===s?0:(n.translate-n.minTranslate())/s,i!==n.progress&&n.updateProgress(t?-n.translate:n.translate),n.emit("setTranslate",n.translate,!1)}function Zse(n){const o=this;y1(o,n.target),!o.params.cssMode&&("auto"===o.params.slidesPerView||o.params.autoHeight)&&o.update()}let LP=!1;function Qse(){}const FP=(n,o)=>{const t=Si(),{params:r,el:i,wrapperEl:s,device:u}=n,p=!!r.nested,m="on"===o?"addEventListener":"removeEventListener",v=o;i[m]("pointerdown",n.onTouchStart,{passive:!1}),t[m]("pointermove",n.onTouchMove,{passive:!1,capture:p}),t[m]("pointerup",n.onTouchEnd,{passive:!0}),t[m]("pointercancel",n.onTouchEnd,{passive:!0}),t[m]("pointerout",n.onTouchEnd,{passive:!0}),t[m]("pointerleave",n.onTouchEnd,{passive:!0}),t[m]("contextmenu",n.onTouchEnd,{passive:!0}),(r.preventClicks||r.preventClicksPropagation)&&i[m]("click",n.onClick,!0),r.cssMode&&s[m]("scroll",n.onScroll),n[v](r.updateOnWindowResize?u.ios||u.android?"resize orientationchange observerUpdate":"resize observerUpdate":"observerUpdate",RP,!0),i[m]("load",n.onLoad,{capture:!0})},BP=(n,o)=>n.grid&&o.grid&&o.grid.rows>1;var Eb={init:!0,direction:"horizontal",oneWayMovement:!1,touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopedSlides:null,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function uae(n,o){return function(r){void 0===r&&(r={});const i=Object.keys(r)[0],s=r[i];"object"==typeof s&&null!==s?(!0===n[i]&&(n[i]={enabled:!0}),"navigation"===i&&n[i]&&n[i].enabled&&!n[i].prevEl&&!n[i].nextEl&&(n[i].auto=!0),["pagination","scrollbar"].indexOf(i)>=0&&n[i]&&n[i].enabled&&!n[i].el&&(n[i].auto=!0),i in n&&"enabled"in s?("object"==typeof n[i]&&!("enabled"in n[i])&&(n[i].enabled=!0),n[i]||(n[i]={enabled:!1}),ds(o,r)):ds(o,r)):ds(o,r)}}const Ib={eventsEmitter:{on(n,o,t){const r=this;if(!r.eventsListeners||r.destroyed||"function"!=typeof o)return r;const i=t?"unshift":"push";return n.split(" ").forEach(s=>{r.eventsListeners[s]||(r.eventsListeners[s]=[]),r.eventsListeners[s][i](o)}),r},once(n,o,t){const r=this;if(!r.eventsListeners||r.destroyed||"function"!=typeof o)return r;function i(){r.off(n,i),i.__emitterProxy&&delete i.__emitterProxy;for(var s=arguments.length,u=new Array(s),p=0;p<s;p++)u[p]=arguments[p];o.apply(r,u)}return i.__emitterProxy=o,r.on(n,i,t)},onAny(n,o){const t=this;if(!t.eventsListeners||t.destroyed||"function"!=typeof n)return t;const r=o?"unshift":"push";return t.eventsAnyListeners.indexOf(n)<0&&t.eventsAnyListeners[r](n),t},offAny(n){const o=this;if(!o.eventsListeners||o.destroyed||!o.eventsAnyListeners)return o;const t=o.eventsAnyListeners.indexOf(n);return t>=0&&o.eventsAnyListeners.splice(t,1),o},off(n,o){const t=this;return!t.eventsListeners||t.destroyed||!t.eventsListeners||n.split(" ").forEach(r=>{typeof o>"u"?t.eventsListeners[r]=[]:t.eventsListeners[r]&&t.eventsListeners[r].forEach((i,s)=>{(i===o||i.__emitterProxy&&i.__emitterProxy===o)&&t.eventsListeners[r].splice(s,1)})}),t},emit(){const n=this;if(!n.eventsListeners||n.destroyed||!n.eventsListeners)return n;let o,t,r;for(var i=arguments.length,s=new Array(i),u=0;u<i;u++)s[u]=arguments[u];return"string"==typeof s[0]||Array.isArray(s[0])?(o=s[0],t=s.slice(1,s.length),r=n):(o=s[0].events,t=s[0].data,r=s[0].context||n),t.unshift(r),(Array.isArray(o)?o:o.split(" ")).forEach(m=>{n.eventsAnyListeners&&n.eventsAnyListeners.length&&n.eventsAnyListeners.forEach(v=>{v.apply(r,[m,...t])}),n.eventsListeners&&n.eventsListeners[m]&&n.eventsListeners[m].forEach(v=>{v.apply(r,t)})}),n}},update:{updateSize:function cse(){const n=this;let o,t;const r=n.el;o=typeof n.params.width<"u"&&null!==n.params.width?n.params.width:r.clientWidth,t=typeof n.params.height<"u"&&null!==n.params.height?n.params.height:r.clientHeight,!(0===o&&n.isHorizontal()||0===t&&n.isVertical())&&(o=o-parseInt(Rl(r,"padding-left")||0,10)-parseInt(Rl(r,"padding-right")||0,10),t=t-parseInt(Rl(r,"padding-top")||0,10)-parseInt(Rl(r,"padding-bottom")||0,10),Number.isNaN(o)&&(o=0),Number.isNaN(t)&&(t=0),Object.assign(n,{width:o,height:t,size:n.isHorizontal()?o:t}))},updateSlides:function dse(){const n=this;function o(ct){return n.isHorizontal()?ct:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[ct]}function t(ct,tt){return parseFloat(ct.getPropertyValue(o(tt))||0)}const r=n.params,{wrapperEl:i,slidesEl:s,size:u,rtlTranslate:p,wrongRTL:m}=n,v=n.virtual&&r.virtual.enabled,S=v?n.virtual.slides.length:n.slides.length,T=pi(s,`.${n.params.slideClass}, swiper-slide`),D=v?n.virtual.slides.length:T.length;let $=[];const x=[],k=[];let B=r.slidesOffsetBefore;"function"==typeof B&&(B=r.slidesOffsetBefore.call(n));let G=r.slidesOffsetAfter;"function"==typeof G&&(G=r.slidesOffsetAfter.call(n));const L=n.snapGrid.length,H=n.slidesGrid.length;let ge=r.spaceBetween,Fe=-B,He=0,ze=0;if(typeof u>"u")return;"string"==typeof ge&&ge.indexOf("%")>=0?ge=parseFloat(ge.replace("%",""))/100*u:"string"==typeof ge&&(ge=parseFloat(ge)),n.virtualSize=-ge,T.forEach(ct=>{p?ct.style.marginLeft="":ct.style.marginRight="",ct.style.marginBottom="",ct.style.marginTop=""}),r.centeredSlides&&r.cssMode&&(Mf(i,"--swiper-centered-offset-before",""),Mf(i,"--swiper-centered-offset-after",""));const lt=r.grid&&r.grid.rows>1&&n.grid;let Le;lt&&n.grid.initSlides(D);const Ft="auto"===r.slidesPerView&&r.breakpoints&&Object.keys(r.breakpoints).filter(ct=>typeof r.breakpoints[ct].slidesPerView<"u").length>0;for(let ct=0;ct<D;ct+=1){let tt;if(Le=0,T[ct]&&(tt=T[ct]),lt&&n.grid.updateSlide(ct,tt,D,o),!T[ct]||"none"!==Rl(tt,"display")){if("auto"===r.slidesPerView){Ft&&(T[ct].style[o("width")]="");const ot=getComputedStyle(tt),be=tt.style.transform,Ke=tt.style.webkitTransform;if(be&&(tt.style.transform="none"),Ke&&(tt.style.webkitTransform="none"),r.roundLengths)Le=n.isHorizontal()?yb(tt,"width",!0):yb(tt,"height",!0);else{const We=t(ot,"width"),Ne=t(ot,"padding-left"),Ze=t(ot,"padding-right"),Qe=t(ot,"margin-left"),Zt=t(ot,"margin-right"),Hn=ot.getPropertyValue("box-sizing");if(Hn&&"border-box"===Hn)Le=We+Qe+Zt;else{const{clientWidth:No,offsetWidth:en}=tt;Le=We+Ne+Ze+Qe+Zt+(en-No)}}be&&(tt.style.transform=be),Ke&&(tt.style.webkitTransform=Ke),r.roundLengths&&(Le=Math.floor(Le))}else Le=(u-(r.slidesPerView-1)*ge)/r.slidesPerView,r.roundLengths&&(Le=Math.floor(Le)),T[ct]&&(T[ct].style[o("width")]=`${Le}px`);T[ct]&&(T[ct].swiperSlideSize=Le),k.push(Le),r.centeredSlides?(Fe=Fe+Le/2+He/2+ge,0===He&&0!==ct&&(Fe=Fe-u/2-ge),0===ct&&(Fe=Fe-u/2-ge),Math.abs(Fe)<.001&&(Fe=0),r.roundLengths&&(Fe=Math.floor(Fe)),ze%r.slidesPerGroup==0&&$.push(Fe),x.push(Fe)):(r.roundLengths&&(Fe=Math.floor(Fe)),(ze-Math.min(n.params.slidesPerGroupSkip,ze))%n.params.slidesPerGroup==0&&$.push(Fe),x.push(Fe),Fe=Fe+Le+ge),n.virtualSize+=Le+ge,He=Le,ze+=1}}if(n.virtualSize=Math.max(n.virtualSize,u)+G,p&&m&&("slide"===r.effect||"coverflow"===r.effect)&&(i.style.width=`${n.virtualSize+ge}px`),r.setWrapperSize&&(i.style[o("width")]=`${n.virtualSize+ge}px`),lt&&n.grid.updateWrapperSize(Le,$,o),!r.centeredSlides){const ct=[];for(let tt=0;tt<$.length;tt+=1){let ot=$[tt];r.roundLengths&&(ot=Math.floor(ot)),$[tt]<=n.virtualSize-u&&ct.push(ot)}$=ct,Math.floor(n.virtualSize-u)-Math.floor($[$.length-1])>1&&$.push(n.virtualSize-u)}if(v&&r.loop){const ct=k[0]+ge;if(r.slidesPerGroup>1){const tt=Math.ceil((n.virtual.slidesBefore+n.virtual.slidesAfter)/r.slidesPerGroup),ot=ct*r.slidesPerGroup;for(let be=0;be<tt;be+=1)$.push($[$.length-1]+ot)}for(let tt=0;tt<n.virtual.slidesBefore+n.virtual.slidesAfter;tt+=1)1===r.slidesPerGroup&&$.push($[$.length-1]+ct),x.push(x[x.length-1]+ct),n.virtualSize+=ct}if(0===$.length&&($=[0]),0!==ge){const ct=n.isHorizontal()&&p?"marginLeft":o("marginRight");T.filter((tt,ot)=>!(r.cssMode&&!r.loop)||ot!==T.length-1).forEach(tt=>{tt.style[ct]=`${ge}px`})}if(r.centeredSlides&&r.centeredSlidesBounds){let ct=0;k.forEach(ot=>{ct+=ot+(ge||0)}),ct-=ge;const tt=ct-u;$=$.map(ot=>ot<=0?-B:ot>tt?tt+G:ot)}if(r.centerInsufficientSlides){let ct=0;if(k.forEach(tt=>{ct+=tt+(ge||0)}),ct-=ge,ct<u){const tt=(u-ct)/2;$.forEach((ot,be)=>{$[be]=ot-tt}),x.forEach((ot,be)=>{x[be]=ot+tt})}}if(Object.assign(n,{slides:T,snapGrid:$,slidesGrid:x,slidesSizesGrid:k}),r.centeredSlides&&r.cssMode&&!r.centeredSlidesBounds){Mf(i,"--swiper-centered-offset-before",-$[0]+"px"),Mf(i,"--swiper-centered-offset-after",n.size/2-k[k.length-1]/2+"px");const ct=-n.snapGrid[0],tt=-n.slidesGrid[0];n.snapGrid=n.snapGrid.map(ot=>ot+ct),n.slidesGrid=n.slidesGrid.map(ot=>ot+tt)}if(D!==S&&n.emit("slidesLengthChange"),$.length!==L&&(n.params.watchOverflow&&n.checkOverflow(),n.emit("snapGridLengthChange")),x.length!==H&&n.emit("slidesGridLengthChange"),r.watchSlidesProgress&&n.updateSlidesOffset(),!(v||r.cssMode||"slide"!==r.effect&&"fade"!==r.effect)){const ct=`${r.containerModifierClass}backface-hidden`,tt=n.el.classList.contains(ct);D<=r.maxBackfaceHiddenSlides?tt||n.el.classList.add(ct):tt&&n.el.classList.remove(ct)}},updateAutoHeight:function use(n){const o=this,t=[],r=o.virtual&&o.params.virtual.enabled;let s,i=0;"number"==typeof n?o.setTransition(n):!0===n&&o.setTransition(o.params.speed);const u=p=>r?o.slides[o.getSlideIndexByData(p)]:o.slides[p];if("auto"!==o.params.slidesPerView&&o.params.slidesPerView>1)if(o.params.centeredSlides)(o.visibleSlides||[]).forEach(p=>{t.push(p)});else for(s=0;s<Math.ceil(o.params.slidesPerView);s+=1){const p=o.activeIndex+s;if(p>o.slides.length&&!r)break;t.push(u(p))}else t.push(u(o.activeIndex));for(s=0;s<t.length;s+=1)if(typeof t[s]<"u"){const p=t[s].offsetHeight;i=p>i?p:i}(i||0===i)&&(o.wrapperEl.style.height=`${i}px`)},updateSlidesOffset:function gse(){const n=this,o=n.slides,t=n.isElement?n.isHorizontal()?n.wrapperEl.offsetLeft:n.wrapperEl.offsetTop:0;for(let r=0;r<o.length;r+=1)o[r].swiperSlideOffset=(n.isHorizontal()?o[r].offsetLeft:o[r].offsetTop)-t-n.cssOverflowAdjustment()},updateSlidesProgress:function fse(n){void 0===n&&(n=this&&this.translate||0);const o=this,t=o.params,{slides:r,rtlTranslate:i,snapGrid:s}=o;if(0===r.length)return;typeof r[0].swiperSlideOffset>"u"&&o.updateSlidesOffset();let u=-n;i&&(u=n),r.forEach(m=>{m.classList.remove(t.slideVisibleClass)}),o.visibleSlidesIndexes=[],o.visibleSlides=[];let p=t.spaceBetween;"string"==typeof p&&p.indexOf("%")>=0?p=parseFloat(p.replace("%",""))/100*o.size:"string"==typeof p&&(p=parseFloat(p));for(let m=0;m<r.length;m+=1){const v=r[m];let S=v.swiperSlideOffset;t.cssMode&&t.centeredSlides&&(S-=r[0].swiperSlideOffset);const T=(u+(t.centeredSlides?o.minTranslate():0)-S)/(v.swiperSlideSize+p),D=(u-s[0]+(t.centeredSlides?o.minTranslate():0)-S)/(v.swiperSlideSize+p),$=-(u-S),x=$+o.slidesSizesGrid[m];($>=0&&$<o.size-1||x>1&&x<=o.size||$<=0&&x>=o.size)&&(o.visibleSlides.push(v),o.visibleSlidesIndexes.push(m),r[m].classList.add(t.slideVisibleClass)),v.progress=i?-T:T,v.originalProgress=i?-D:D}},updateProgress:function pse(n){const o=this;typeof n>"u"&&(n=o&&o.translate&&o.translate*(o.rtlTranslate?-1:1)||0);const t=o.params,r=o.maxTranslate()-o.minTranslate();let{progress:i,isBeginning:s,isEnd:u,progressLoop:p}=o;const m=s,v=u;if(0===r)i=0,s=!0,u=!0;else{i=(n-o.minTranslate())/r;const S=Math.abs(n-o.minTranslate())<1,T=Math.abs(n-o.maxTranslate())<1;s=S||i<=0,u=T||i>=1,S&&(i=0),T&&(i=1)}if(t.loop){const S=o.getSlideIndexByData(0),T=o.getSlideIndexByData(o.slides.length-1),D=o.slidesGrid[S],$=o.slidesGrid[T],x=o.slidesGrid[o.slidesGrid.length-1],k=Math.abs(n);p=k>=D?(k-D)/x:(k+x-$)/x,p>1&&(p-=1)}Object.assign(o,{progress:i,progressLoop:p,isBeginning:s,isEnd:u}),(t.watchSlidesProgress||t.centeredSlides&&t.autoHeight)&&o.updateSlidesProgress(n),s&&!m&&o.emit("reachBeginning toEdge"),u&&!v&&o.emit("reachEnd toEdge"),(m&&!s||v&&!u)&&o.emit("fromEdge"),o.emit("progress",i)},updateSlidesClasses:function hse(){const n=this,{slides:o,params:t,slidesEl:r,activeIndex:i}=n,s=n.virtual&&t.virtual.enabled,u=m=>pi(r,`.${t.slideClass}${m}, swiper-slide${m}`)[0];let p;if(o.forEach(m=>{m.classList.remove(t.slideActiveClass,t.slideNextClass,t.slidePrevClass)}),s)if(t.loop){let m=i-n.virtual.slidesBefore;m<0&&(m=n.virtual.slides.length+m),m>=n.virtual.slides.length&&(m-=n.virtual.slides.length),p=u(`[data-swiper-slide-index="${m}"]`)}else p=u(`[data-swiper-slide-index="${i}"]`);else p=o[i];if(p){p.classList.add(t.slideActiveClass);let m=function ese(n,o){const t=[];for(;n.nextElementSibling;){const r=n.nextElementSibling;o?r.matches(o)&&t.push(r):t.push(r),n=r}return t}(p,`.${t.slideClass}, swiper-slide`)[0];t.loop&&!m&&(m=o[0]),m&&m.classList.add(t.slideNextClass);let v=function Jie(n,o){const t=[];for(;n.previousElementSibling;){const r=n.previousElementSibling;o?r.matches(o)&&t.push(r):t.push(r),n=r}return t}(p,`.${t.slideClass}, swiper-slide`)[0];t.loop&&0===!v&&(v=o[o.length-1]),v&&v.classList.add(t.slidePrevClass)}n.emitSlidesClasses()},updateActiveIndex:function _se(n){const o=this,t=o.rtlTranslate?o.translate:-o.translate,{snapGrid:r,params:i,activeIndex:s,realIndex:u,snapIndex:p}=o;let v,m=n;const S=D=>{let $=D-o.virtual.slidesBefore;return $<0&&($=o.virtual.slides.length+$),$>=o.virtual.slides.length&&($-=o.virtual.slides.length),$};if(typeof m>"u"&&(m=function mse(n){const{slidesGrid:o,params:t}=n,r=n.rtlTranslate?n.translate:-n.translate;let i;for(let s=0;s<o.length;s+=1)typeof o[s+1]<"u"?r>=o[s]&&r<o[s+1]-(o[s+1]-o[s])/2?i=s:r>=o[s]&&r<o[s+1]&&(i=s+1):r>=o[s]&&(i=s);return t.normalizeSlideIndex&&(i<0||typeof i>"u")&&(i=0),i}(o)),r.indexOf(t)>=0)v=r.indexOf(t);else{const D=Math.min(i.slidesPerGroupSkip,m);v=D+Math.floor((m-D)/i.slidesPerGroup)}if(v>=r.length&&(v=r.length-1),m===s)return v!==p&&(o.snapIndex=v,o.emit("snapIndexChange")),void(o.params.loop&&o.virtual&&o.params.virtual.enabled&&(o.realIndex=S(m)));let T;T=o.virtual&&i.virtual.enabled&&i.loop?S(m):o.slides[m]?parseInt(o.slides[m].getAttribute("data-swiper-slide-index")||m,10):m,Object.assign(o,{previousSnapIndex:p,snapIndex:v,previousRealIndex:u,realIndex:T,previousIndex:s,activeIndex:m}),o.initialized&&wb(o),o.emit("activeIndexChange"),o.emit("snapIndexChange"),(o.initialized||o.params.runCallbacksOnInit)&&(u!==T&&o.emit("realIndexChange"),o.emit("slideChange"))},updateClickedSlide:function vse(n,o){const t=this,r=t.params;let i=n.closest(`.${r.slideClass}, swiper-slide`);!i&&t.isElement&&o&&o.length>1&&o.includes(n)&&[...o.slice(o.indexOf(n)+1,o.length)].forEach(p=>{!i&&p.matches&&p.matches(`.${r.slideClass}, swiper-slide`)&&(i=p)});let u,s=!1;if(i)for(let p=0;p<t.slides.length;p+=1)if(t.slides[p]===i){s=!0,u=p;break}if(!i||!s)return t.clickedSlide=void 0,void(t.clickedIndex=void 0);t.clickedSlide=i,t.clickedIndex=t.virtual&&t.params.virtual.enabled?parseInt(i.getAttribute("data-swiper-slide-index"),10):u,r.slideToClickedSlide&&void 0!==t.clickedIndex&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}},translate:{getTranslate:function bse(n){void 0===n&&(n=this.isHorizontal()?"x":"y");const{params:t,rtlTranslate:r,translate:i,wrapperEl:s}=this;if(t.virtualTranslate)return r?-i:i;if(t.cssMode)return i;let u=vb(s,n);return u+=this.cssOverflowAdjustment(),r&&(u=-u),u||0},setTranslate:function Sse(n,o){const t=this,{rtlTranslate:r,params:i,wrapperEl:s,progress:u}=t;let S,p=0,m=0;t.isHorizontal()?p=r?-n:n:m=n,i.roundLengths&&(p=Math.floor(p),m=Math.floor(m)),t.previousTranslate=t.translate,t.translate=t.isHorizontal()?p:m,i.cssMode?s[t.isHorizontal()?"scrollLeft":"scrollTop"]=t.isHorizontal()?-p:-m:i.virtualTranslate||(t.isHorizontal()?p-=t.cssOverflowAdjustment():m-=t.cssOverflowAdjustment(),s.style.transform=`translate3d(${p}px, ${m}px, 0px)`);const T=t.maxTranslate()-t.minTranslate();S=0===T?0:(n-t.minTranslate())/T,S!==u&&t.updateProgress(n),t.emit("setTranslate",t.translate,o)},minTranslate:function Cse(){return-this.snapGrid[0]},maxTranslate:function Tse(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function wse(n,o,t,r,i){void 0===n&&(n=0),void 0===o&&(o=this.params.speed),void 0===t&&(t=!0),void 0===r&&(r=!0);const s=this,{params:u,wrapperEl:p}=s;if(s.animating&&u.preventInteractionOnTransition)return!1;const m=s.minTranslate(),v=s.maxTranslate();let S;if(S=r&&n>m?m:r&&n<v?v:n,s.updateProgress(S),u.cssMode){const T=s.isHorizontal();if(0===o)p[T?"scrollLeft":"scrollTop"]=-S;else{if(!s.support.smoothScroll)return xP({swiper:s,targetPosition:-S,side:T?"left":"top"}),!0;p.scrollTo({[T?"left":"top"]:-S,behavior:"smooth"})}return!0}return 0===o?(s.setTransition(0),s.setTranslate(S),t&&(s.emit("beforeTransitionStart",o,i),s.emit("transitionEnd"))):(s.setTransition(o),s.setTranslate(S),t&&(s.emit("beforeTransitionStart",o,i),s.emit("transitionStart")),s.animating||(s.animating=!0,s.onTranslateToWrapperTransitionEnd||(s.onTranslateToWrapperTransitionEnd=function(D){!s||s.destroyed||D.target===this&&(s.wrapperEl.removeEventListener("transitionend",s.onTranslateToWrapperTransitionEnd),s.onTranslateToWrapperTransitionEnd=null,delete s.onTranslateToWrapperTransitionEnd,t&&s.emit("transitionEnd"))}),s.wrapperEl.addEventListener("transitionend",s.onTranslateToWrapperTransitionEnd))),!0}},transition:{setTransition:function Ise(n,o){const t=this;t.params.cssMode||(t.wrapperEl.style.transitionDuration=`${n}ms`,t.wrapperEl.style.transitionDelay=0===n?"0ms":""),t.emit("setTransition",n,o)},transitionStart:function Dse(n,o){void 0===n&&(n=!0);const t=this,{params:r}=t;r.cssMode||(r.autoHeight&&t.updateAutoHeight(),kP({swiper:t,runCallbacks:n,direction:o,step:"Start"}))},transitionEnd:function Pse(n,o){void 0===n&&(n=!0);const t=this,{params:r}=t;t.animating=!1,!r.cssMode&&(t.setTransition(0),kP({swiper:t,runCallbacks:n,direction:o,step:"End"}))}},slide:{slideTo:function $se(n,o,t,r,i){void 0===n&&(n=0),void 0===o&&(o=this.params.speed),void 0===t&&(t=!0),"string"==typeof n&&(n=parseInt(n,10));const s=this;let u=n;u<0&&(u=0);const{params:p,snapGrid:m,slidesGrid:v,previousIndex:S,activeIndex:T,rtlTranslate:D,wrapperEl:$,enabled:x}=s;if(s.animating&&p.preventInteractionOnTransition||!x&&!r&&!i)return!1;const k=Math.min(s.params.slidesPerGroupSkip,u);let B=k+Math.floor((u-k)/s.params.slidesPerGroup);B>=m.length&&(B=m.length-1);const G=-m[B];if(p.normalizeSlideIndex)for(let H=0;H<v.length;H+=1){const ge=-Math.floor(100*G),Fe=Math.floor(100*v[H]),He=Math.floor(100*v[H+1]);typeof v[H+1]<"u"?ge>=Fe&&ge<He-(He-Fe)/2?u=H:ge>=Fe&&ge<He&&(u=H+1):ge>=Fe&&(u=H)}if(s.initialized&&u!==T&&(!s.allowSlideNext&&(D?G>s.translate&&G>s.minTranslate():G<s.translate&&G<s.minTranslate())||!s.allowSlidePrev&&G>s.translate&&G>s.maxTranslate()&&(T||0)!==u))return!1;let L;if(u!==(S||0)&&t&&s.emit("beforeSlideChangeStart"),s.updateProgress(G),L=u>T?"next":u<T?"prev":"reset",D&&-G===s.translate||!D&&G===s.translate)return s.updateActiveIndex(u),p.autoHeight&&s.updateAutoHeight(),s.updateSlidesClasses(),"slide"!==p.effect&&s.setTranslate(G),"reset"!==L&&(s.transitionStart(t,L),s.transitionEnd(t,L)),!1;if(p.cssMode){const H=s.isHorizontal(),ge=D?G:-G;if(0===o){const Fe=s.virtual&&s.params.virtual.enabled;Fe&&(s.wrapperEl.style.scrollSnapType="none",s._immediateVirtual=!0),Fe&&!s._cssModeVirtualInitialSet&&s.params.initialSlide>0?(s._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{$[H?"scrollLeft":"scrollTop"]=ge})):$[H?"scrollLeft":"scrollTop"]=ge,Fe&&requestAnimationFrame(()=>{s.wrapperEl.style.scrollSnapType="",s._immediateVirtual=!1})}else{if(!s.support.smoothScroll)return xP({swiper:s,targetPosition:ge,side:H?"left":"top"}),!0;$.scrollTo({[H?"left":"top"]:ge,behavior:"smooth"})}return!0}return s.setTransition(o),s.setTranslate(G),s.updateActiveIndex(u),s.updateSlidesClasses(),s.emit("beforeTransitionStart",o,r),s.transitionStart(t,L),0===o?s.transitionEnd(t,L):s.animating||(s.animating=!0,s.onSlideToWrapperTransitionEnd||(s.onSlideToWrapperTransitionEnd=function(ge){!s||s.destroyed||ge.target===this&&(s.wrapperEl.removeEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.onSlideToWrapperTransitionEnd=null,delete s.onSlideToWrapperTransitionEnd,s.transitionEnd(t,L))}),s.wrapperEl.addEventListener("transitionend",s.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function Ase(n,o,t,r){void 0===n&&(n=0),void 0===o&&(o=this.params.speed),void 0===t&&(t=!0),"string"==typeof n&&(n=parseInt(n,10));const i=this;let s=n;return i.params.loop&&(i.virtual&&i.params.virtual.enabled?s+=i.virtual.slidesBefore:s=i.getSlideIndexByData(s)),i.slideTo(s,o,t,r)},slideNext:function Nse(n,o,t){void 0===n&&(n=this.params.speed),void 0===o&&(o=!0);const r=this,{enabled:i,params:s,animating:u}=r;if(!i)return r;let p=s.slidesPerGroup;"auto"===s.slidesPerView&&1===s.slidesPerGroup&&s.slidesPerGroupAuto&&(p=Math.max(r.slidesPerViewDynamic("current",!0),1));const m=r.activeIndex<s.slidesPerGroupSkip?1:p;if(s.loop){if(u&&(!r.virtual||!s.virtual.enabled)&&s.loopPreventsSliding)return!1;if(r.loopFix({direction:"next"}),r._clientLeft=r.wrapperEl.clientLeft,r.activeIndex===r.slides.length-1&&s.cssMode)return requestAnimationFrame(()=>{r.slideTo(r.activeIndex+m,n,o,t)}),!0}return r.slideTo(s.rewind&&r.isEnd?0:r.activeIndex+m,n,o,t)},slidePrev:function xse(n,o,t){void 0===n&&(n=this.params.speed),void 0===o&&(o=!0);const r=this,{params:i,snapGrid:s,slidesGrid:u,rtlTranslate:p,enabled:m,animating:v}=r;if(!m)return r;if(i.loop){if(v&&(!r.virtual||!i.virtual.enabled)&&i.loopPreventsSliding)return!1;r.loopFix({direction:"prev"}),r._clientLeft=r.wrapperEl.clientLeft}function D(G){return G<0?-Math.floor(Math.abs(G)):Math.floor(G)}const $=D(p?r.translate:-r.translate),x=s.map(G=>D(G));let k=s[x.indexOf($)-1];if(typeof k>"u"&&i.cssMode){let G;s.forEach((L,H)=>{$>=L&&(G=H)}),typeof G<"u"&&(k=s[G>0?G-1:G])}let B=0;return typeof k<"u"&&(B=u.indexOf(k),B<0&&(B=r.activeIndex-1),"auto"===i.slidesPerView&&1===i.slidesPerGroup&&i.slidesPerGroupAuto&&(B=B-r.slidesPerViewDynamic("previous",!0)+1,B=Math.max(B,0))),i.rewind&&r.isBeginning?r.slideTo(r.params.virtual&&r.params.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1,n,o,t):i.loop&&0===r.activeIndex&&i.cssMode?(requestAnimationFrame(()=>{r.slideTo(B,n,o,t)}),!0):r.slideTo(B,n,o,t)},slideReset:function Ose(n,o,t){return void 0===n&&(n=this.params.speed),void 0===o&&(o=!0),this.slideTo(this.activeIndex,n,o,t)},slideToClosest:function kse(n,o,t,r){void 0===n&&(n=this.params.speed),void 0===o&&(o=!0),void 0===r&&(r=.5);const i=this;let s=i.activeIndex;const u=Math.min(i.params.slidesPerGroupSkip,s),p=u+Math.floor((s-u)/i.params.slidesPerGroup),m=i.rtlTranslate?i.translate:-i.translate;if(m>=i.snapGrid[p]){const v=i.snapGrid[p];m-v>(i.snapGrid[p+1]-v)*r&&(s+=i.params.slidesPerGroup)}else{const v=i.snapGrid[p-1];m-v<=(i.snapGrid[p]-v)*r&&(s-=i.params.slidesPerGroup)}return s=Math.max(s,0),s=Math.min(s,i.slidesGrid.length-1),i.slideTo(s,n,o,t)},slideToClickedSlide:function Rse(){const n=this,{params:o,slidesEl:t}=n,r="auto"===o.slidesPerView?n.slidesPerViewDynamic():o.slidesPerView;let s,i=n.clickedIndex;const u=n.isElement?"swiper-slide":`.${o.slideClass}`;if(o.loop){if(n.animating)return;s=parseInt(n.clickedSlide.getAttribute("data-swiper-slide-index"),10),o.centeredSlides?i<n.loopedSlides-r/2||i>n.slides.length-n.loopedSlides+r/2?(n.loopFix(),i=n.getSlideIndex(pi(t,`${u}[data-swiper-slide-index="${s}"]`)[0]),Dc(()=>{n.slideTo(i)})):n.slideTo(i):i>n.slides.length-r?(n.loopFix(),i=n.getSlideIndex(pi(t,`${u}[data-swiper-slide-index="${s}"]`)[0]),Dc(()=>{n.slideTo(i)})):n.slideTo(i)}else n.slideTo(i)}},loop:{loopCreate:function Fse(n){const o=this,{params:t,slidesEl:r}=o;!t.loop||o.virtual&&o.params.virtual.enabled||(pi(r,`.${t.slideClass}, swiper-slide`).forEach((s,u)=>{s.setAttribute("data-swiper-slide-index",u)}),o.loopFix({slideRealIndex:n,direction:t.centeredSlides?void 0:"next"}))},loopFix:function Bse(n){let{slideRealIndex:o,slideTo:t=!0,direction:r,setTranslate:i,activeSlideIndex:s,byController:u,byMousewheel:p}=void 0===n?{}:n;const m=this;if(!m.params.loop)return;m.emit("beforeLoopFix");const{slides:v,allowSlidePrev:S,allowSlideNext:T,slidesEl:D,params:$}=m;if(m.allowSlidePrev=!0,m.allowSlideNext=!0,m.virtual&&$.virtual.enabled)return t&&($.centeredSlides||0!==m.snapIndex?$.centeredSlides&&m.snapIndex<$.slidesPerView?m.slideTo(m.virtual.slides.length+m.snapIndex,0,!1,!0):m.snapIndex===m.snapGrid.length-1&&m.slideTo(m.virtual.slidesBefore,0,!1,!0):m.slideTo(m.virtual.slides.length,0,!1,!0)),m.allowSlidePrev=S,m.allowSlideNext=T,void m.emit("loopFix");const x="auto"===$.slidesPerView?m.slidesPerViewDynamic():Math.ceil(parseFloat($.slidesPerView,10));let k=$.loopedSlides||x;k%$.slidesPerGroup!=0&&(k+=$.slidesPerGroup-k%$.slidesPerGroup),m.loopedSlides=k;const B=[],G=[];let L=m.activeIndex;typeof s>"u"?s=m.getSlideIndex(m.slides.filter(ze=>ze.classList.contains($.slideActiveClass))[0]):L=s;const H="next"===r||!r,ge="prev"===r||!r;let Fe=0,He=0;if(s<k){Fe=Math.max(k-s,$.slidesPerGroup);for(let ze=0;ze<k-s;ze+=1){const lt=ze-Math.floor(ze/v.length)*v.length;B.push(v.length-lt-1)}}else if(s>m.slides.length-2*k){He=Math.max(s-(m.slides.length-2*k),$.slidesPerGroup);for(let ze=0;ze<He;ze+=1){const lt=ze-Math.floor(ze/v.length)*v.length;G.push(lt)}}if(ge&&B.forEach(ze=>{m.slides[ze].swiperLoopMoveDOM=!0,D.prepend(m.slides[ze]),m.slides[ze].swiperLoopMoveDOM=!1}),H&&G.forEach(ze=>{m.slides[ze].swiperLoopMoveDOM=!0,D.append(m.slides[ze]),m.slides[ze].swiperLoopMoveDOM=!1}),m.recalcSlides(),"auto"===$.slidesPerView&&m.updateSlides(),$.watchSlidesProgress&&m.updateSlidesOffset(),t)if(B.length>0&&ge)if(typeof o>"u"){const Le=m.slidesGrid[L+Fe]-m.slidesGrid[L];p?m.setTranslate(m.translate-Le):(m.slideTo(L+Fe,0,!1,!0),i&&(m.touches[m.isHorizontal()?"startX":"startY"]+=Le,m.touchEventsData.currentTranslate=m.translate))}else i&&(m.slideToLoop(o,0,!1,!0),m.touchEventsData.currentTranslate=m.translate);else if(G.length>0&&H)if(typeof o>"u"){const Le=m.slidesGrid[L-He]-m.slidesGrid[L];p?m.setTranslate(m.translate-Le):(m.slideTo(L-He,0,!1,!0),i&&(m.touches[m.isHorizontal()?"startX":"startY"]+=Le,m.touchEventsData.currentTranslate=m.translate))}else m.slideToLoop(o,0,!1,!0);if(m.allowSlidePrev=S,m.allowSlideNext=T,m.controller&&m.controller.control&&!u){const ze={slideRealIndex:o,direction:r,setTranslate:i,activeSlideIndex:s,byController:!0};Array.isArray(m.controller.control)?m.controller.control.forEach(lt=>{!lt.destroyed&&lt.params.loop&&lt.loopFix({...ze,slideTo:lt.params.slidesPerView===$.slidesPerView&&t})}):m.controller.control instanceof m.constructor&&m.controller.control.params.loop&&m.controller.control.loopFix({...ze,slideTo:m.controller.control.params.slidesPerView===$.slidesPerView&&t})}m.emit("loopFix")},loopDestroy:function Use(){const n=this,{params:o,slidesEl:t}=n;if(!o.loop||n.virtual&&n.params.virtual.enabled)return;n.recalcSlides();const r=[];n.slides.forEach(i=>{const s=typeof i.swiperSlideIndex>"u"?1*i.getAttribute("data-swiper-slide-index"):i.swiperSlideIndex;r[s]=i}),n.slides.forEach(i=>{i.removeAttribute("data-swiper-slide-index")}),r.forEach(i=>{t.append(i)}),n.recalcSlides(),n.slideTo(n.realIndex,0)}},grabCursor:{setGrabCursor:function Vse(n){const o=this;if(!o.params.simulateTouch||o.params.watchOverflow&&o.isLocked||o.params.cssMode)return;const t="container"===o.params.touchEventsTarget?o.el:o.wrapperEl;o.isElement&&(o.__preventObserver__=!0),t.style.cursor="move",t.style.cursor=n?"grabbing":"grab",o.isElement&&requestAnimationFrame(()=>{o.__preventObserver__=!1})},unsetGrabCursor:function Hse(){const n=this;n.params.watchOverflow&&n.isLocked||n.params.cssMode||(n.isElement&&(n.__preventObserver__=!0),n["container"===n.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",n.isElement&&requestAnimationFrame(()=>{n.__preventObserver__=!1}))}},events:{attachEvents:function Jse(){const n=this,o=Si(),{params:t}=n;n.onTouchStart=Wse.bind(n),n.onTouchMove=qse.bind(n),n.onTouchEnd=Yse.bind(n),t.cssMode&&(n.onScroll=Xse.bind(n)),n.onClick=Kse.bind(n),n.onLoad=Zse.bind(n),LP||(o.addEventListener("touchstart",Qse),LP=!0),FP(n,"on")},detachEvents:function eae(){FP(this,"off")}},breakpoints:{setBreakpoint:function nae(){const n=this,{realIndex:o,initialized:t,params:r,el:i}=n,s=r.breakpoints;if(!s||s&&0===Object.keys(s).length)return;const u=n.getBreakpoint(s,n.params.breakpointsBase,n.el);if(!u||n.currentBreakpoint===u)return;const m=(u in s?s[u]:void 0)||n.originalParams,v=BP(n,r),S=BP(n,m),T=r.enabled;v&&!S?(i.classList.remove(`${r.containerModifierClass}grid`,`${r.containerModifierClass}grid-column`),n.emitContainerClasses()):!v&&S&&(i.classList.add(`${r.containerModifierClass}grid`),(m.grid.fill&&"column"===m.grid.fill||!m.grid.fill&&"column"===r.grid.fill)&&i.classList.add(`${r.containerModifierClass}grid-column`),n.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(G=>{if(typeof m[G]>"u")return;const L=r[G]&&r[G].enabled,H=m[G]&&m[G].enabled;L&&!H&&n[G].disable(),!L&&H&&n[G].enable()});const D=m.direction&&m.direction!==r.direction,$=r.loop&&(m.slidesPerView!==r.slidesPerView||D),x=r.loop;D&&t&&n.changeDirection(),ds(n.params,m);const k=n.params.enabled,B=n.params.loop;Object.assign(n,{allowTouchMove:n.params.allowTouchMove,allowSlideNext:n.params.allowSlideNext,allowSlidePrev:n.params.allowSlidePrev}),T&&!k?n.disable():!T&&k&&n.enable(),n.currentBreakpoint=u,n.emit("_beforeBreakpoint",m),t&&($?(n.loopDestroy(),n.loopCreate(o),n.updateSlides()):!x&&B?(n.loopCreate(o),n.updateSlides()):x&&!B&&n.loopDestroy()),n.emit("breakpoint",m)},getBreakpoint:function oae(n,o,t){if(void 0===o&&(o="window"),!n||"container"===o&&!t)return;let r=!1;const i=fr(),s="window"===o?i.innerHeight:t.clientHeight,u=Object.keys(n).map(p=>{if("string"==typeof p&&0===p.indexOf("@")){const m=parseFloat(p.substr(1));return{value:s*m,point:p}}return{value:p,point:p}});u.sort((p,m)=>parseInt(p.value,10)-parseInt(m.value,10));for(let p=0;p<u.length;p+=1){const{point:m,value:v}=u[p];"window"===o?i.matchMedia(`(min-width: ${v}px)`).matches&&(r=m):v<=t.clientWidth&&(r=m)}return r||"max"}},checkOverflow:{checkOverflow:function cae(){const n=this,{isLocked:o,params:t}=n,{slidesOffsetBefore:r}=t;if(r){const i=n.slides.length-1;n.isLocked=n.size>n.slidesGrid[i]+n.slidesSizesGrid[i]+2*r}else n.isLocked=1===n.snapGrid.length;!0===t.allowSlideNext&&(n.allowSlideNext=!n.isLocked),!0===t.allowSlidePrev&&(n.allowSlidePrev=!n.isLocked),o&&o!==n.isLocked&&(n.isEnd=!1),o!==n.isLocked&&n.emit(n.isLocked?"lock":"unlock")}},classes:{addClasses:function sae(){const n=this,{classNames:o,params:t,rtl:r,el:i,device:s}=n,u=function iae(n,o){const t=[];return n.forEach(r=>{"object"==typeof r?Object.keys(r).forEach(i=>{r[i]&&t.push(o+i)}):"string"==typeof r&&t.push(o+r)}),t}(["initialized",t.direction,{"free-mode":n.params.freeMode&&t.freeMode.enabled},{autoheight:t.autoHeight},{rtl:r},{grid:t.grid&&t.grid.rows>1},{"grid-column":t.grid&&t.grid.rows>1&&"column"===t.grid.fill},{android:s.android},{ios:s.ios},{"css-mode":t.cssMode},{centered:t.cssMode&&t.centeredSlides},{"watch-progress":t.watchSlidesProgress}],t.containerModifierClass);o.push(...u),i.classList.add(...o),n.emitContainerClasses()},removeClasses:function aae(){const{el:o,classNames:t}=this;o.classList.remove(...t),this.emitContainerClasses()}}},Db={};class us{constructor(){let o,t;for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];1===i.length&&i[0].constructor&&"Object"===Object.prototype.toString.call(i[0]).slice(8,-1)?t=i[0]:[o,t]=i,t||(t={}),t=ds({},t),o&&!t.el&&(t.el=o);const u=Si();if(t.el&&"string"==typeof t.el&&u.querySelectorAll(t.el).length>1){const S=[];return u.querySelectorAll(t.el).forEach(T=>{const D=ds({},t,{el:T});S.push(new us(D))}),S}const p=this;p.__swiper__=!0,p.support=OP(),p.device=function ose(n){return void 0===n&&(n={}),Sb||(Sb=function nse(n){let{userAgent:o}=void 0===n?{}:n;const t=OP(),r=fr(),i=r.navigator.platform,s=o||r.navigator.userAgent,u={ios:!1,android:!1},p=r.screen.width,m=r.screen.height,v=s.match(/(Android);?[\s\/]+([\d.]+)?/);let S=s.match(/(iPad).*OS\s([\d_]+)/);const T=s.match(/(iPod)(.*OS\s([\d_]+))?/),D=!S&&s.match(/(iPhone\sOS|iOS)\s([\d_]+)/),$="Win32"===i;let x="MacIntel"===i;return!S&&x&&t.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${p}x${m}`)>=0&&(S=s.match(/(Version)\/([\d.]+)/),S||(S=[0,1,"13_0_0"]),x=!1),v&&!$&&(u.os="android",u.android=!0),(S||D||T)&&(u.os="ios",u.ios=!0),u}(n)),Sb}({userAgent:t.userAgent}),p.browser=function ise(){return Cb||(Cb=function rse(){const n=fr();let o=!1;function t(){const r=n.navigator.userAgent.toLowerCase();return r.indexOf("safari")>=0&&r.indexOf("chrome")<0&&r.indexOf("android")<0}if(t()){const r=String(n.navigator.userAgent);if(r.includes("Version/")){const[i,s]=r.split("Version/")[1].split(" ")[0].split(".").map(u=>Number(u));o=i<16||16===i&&s<2}}return{isSafari:o||t(),needPerspectiveFix:o,isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(n.navigator.userAgent)}}()),Cb}(),p.eventsListeners={},p.eventsAnyListeners=[],p.modules=[...p.__modules__],t.modules&&Array.isArray(t.modules)&&p.modules.push(...t.modules);const m={};p.modules.forEach(S=>{S({params:t,swiper:p,extendParams:uae(t,m),on:p.on.bind(p),once:p.once.bind(p),off:p.off.bind(p),emit:p.emit.bind(p)})});const v=ds({},Eb,m);return p.params=ds({},v,Db,t),p.originalParams=ds({},p.params),p.passedParams=ds({},t),p.params&&p.params.on&&Object.keys(p.params.on).forEach(S=>{p.on(S,p.params.on[S])}),p.params&&p.params.onAny&&p.onAny(p.params.onAny),Object.assign(p,{enabled:p.params.enabled,el:o,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===p.params.direction,isVertical:()=>"vertical"===p.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:p.params.allowSlideNext,allowSlidePrev:p.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:p.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,evCache:[]},allowClick:!0,allowTouchMove:p.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),p.emit("_swiper"),p.params.init&&p.init(),p}getSlideIndex(o){const{slidesEl:t,params:r}=this,s=$f(pi(t,`.${r.slideClass}, swiper-slide`)[0]);return $f(o)-s}getSlideIndexByData(o){return this.getSlideIndex(this.slides.filter(t=>1*t.getAttribute("data-swiper-slide-index")===o)[0])}recalcSlides(){const{slidesEl:t,params:r}=this;this.slides=pi(t,`.${r.slideClass}, swiper-slide`)}enable(){const o=this;o.enabled||(o.enabled=!0,o.params.grabCursor&&o.setGrabCursor(),o.emit("enable"))}disable(){const o=this;o.enabled&&(o.enabled=!1,o.params.grabCursor&&o.unsetGrabCursor(),o.emit("disable"))}setProgress(o,t){const r=this;o=Math.min(Math.max(o,0),1);const i=r.minTranslate(),u=(r.maxTranslate()-i)*o+i;r.translateTo(u,typeof t>"u"?0:t),r.updateActiveIndex(),r.updateSlidesClasses()}emitContainerClasses(){const o=this;if(!o.params._emitClasses||!o.el)return;const t=o.el.className.split(" ").filter(r=>0===r.indexOf("swiper")||0===r.indexOf(o.params.containerModifierClass));o.emit("_containerClasses",t.join(" "))}getSlideClasses(o){const t=this;return t.destroyed?"":o.className.split(" ").filter(r=>0===r.indexOf("swiper-slide")||0===r.indexOf(t.params.slideClass)).join(" ")}emitSlidesClasses(){const o=this;if(!o.params._emitClasses||!o.el)return;const t=[];o.slides.forEach(r=>{const i=o.getSlideClasses(r);t.push({slideEl:r,classNames:i}),o.emit("_slideClass",r,i)}),o.emit("_slideClasses",t)}slidesPerViewDynamic(o,t){void 0===o&&(o="current"),void 0===t&&(t=!1);const{params:i,slides:s,slidesGrid:u,slidesSizesGrid:p,size:m,activeIndex:v}=this;let S=1;if("number"==typeof i.slidesPerView)return i.slidesPerView;if(i.centeredSlides){let D,T=s[v]?s[v].swiperSlideSize:0;for(let $=v+1;$<s.length;$+=1)s[$]&&!D&&(T+=s[$].swiperSlideSize,S+=1,T>m&&(D=!0));for(let $=v-1;$>=0;$-=1)s[$]&&!D&&(T+=s[$].swiperSlideSize,S+=1,T>m&&(D=!0))}else if("current"===o)for(let T=v+1;T<s.length;T+=1)(t?u[T]+p[T]-u[v]<m:u[T]-u[v]<m)&&(S+=1);else for(let T=v-1;T>=0;T-=1)u[v]-u[T]<m&&(S+=1);return S}update(){const o=this;if(!o||o.destroyed)return;const{snapGrid:t,params:r}=o;function i(){const p=Math.min(Math.max(o.rtlTranslate?-1*o.translate:o.translate,o.maxTranslate()),o.minTranslate());o.setTranslate(p),o.updateActiveIndex(),o.updateSlidesClasses()}let s;r.breakpoints&&o.setBreakpoint(),[...o.el.querySelectorAll('[loading="lazy"]')].forEach(u=>{u.complete&&y1(o,u)}),o.updateSize(),o.updateSlides(),o.updateProgress(),o.updateSlidesClasses(),r.freeMode&&r.freeMode.enabled&&!r.cssMode?(i(),r.autoHeight&&o.updateAutoHeight()):(s=o.slideTo(("auto"===r.slidesPerView||r.slidesPerView>1)&&o.isEnd&&!r.centeredSlides?(o.virtual&&r.virtual.enabled?o.virtual.slides:o.slides).length-1:o.activeIndex,0,!1,!0),s||i()),r.watchOverflow&&t!==o.snapGrid&&o.checkOverflow(),o.emit("update")}changeDirection(o,t){void 0===t&&(t=!0);const r=this,i=r.params.direction;return o||(o="horizontal"===i?"vertical":"horizontal"),o===i||"horizontal"!==o&&"vertical"!==o||(r.el.classList.remove(`${r.params.containerModifierClass}${i}`),r.el.classList.add(`${r.params.containerModifierClass}${o}`),r.emitContainerClasses(),r.params.direction=o,r.slides.forEach(s=>{"vertical"===o?s.style.width="":s.style.height=""}),r.emit("changeDirection"),t&&r.update()),r}changeLanguageDirection(o){const t=this;t.rtl&&"rtl"===o||!t.rtl&&"ltr"===o||(t.rtl="rtl"===o,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.el.classList.add(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.el.classList.remove(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(o){const t=this;if(t.mounted)return!0;let r=o||t.params.el;if("string"==typeof r&&(r=document.querySelector(r)),!r)return!1;r.swiper=t,r.parentNode&&r.parentNode.host&&"SWIPER-CONTAINER"===r.parentNode.host.nodeName&&(t.isElement=!0);const i=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let u=r&&r.shadowRoot&&r.shadowRoot.querySelector?r.shadowRoot.querySelector(i()):pi(r,i())[0];return!u&&t.params.createElements&&(u=Js("div",t.params.wrapperClass),r.append(u),pi(r,`.${t.params.slideClass}`).forEach(p=>{u.append(p)})),Object.assign(t,{el:r,wrapperEl:u,slidesEl:t.isElement&&!r.parentNode.host.slideSlots?r.parentNode.host:u,hostEl:t.isElement?r.parentNode.host:r,mounted:!0,rtl:"rtl"===r.dir.toLowerCase()||"rtl"===Rl(r,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===r.dir.toLowerCase()||"rtl"===Rl(r,"direction")),wrongRTL:"-webkit-box"===Rl(u,"display")}),!0}init(o){const t=this;if(t.initialized||!1===t.mount(o))return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.slideTo(t.params.loop&&t.virtual&&t.params.virtual.enabled?t.params.initialSlide+t.virtual.slidesBefore:t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(),t.attachEvents();const i=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&i.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),i.forEach(s=>{s.complete?y1(t,s):s.addEventListener("load",u=>{y1(t,u.target)})}),wb(t),t.initialized=!0,wb(t),t.emit("init"),t.emit("afterInit"),t}destroy(o,t){void 0===o&&(o=!0),void 0===t&&(t=!0);const r=this,{params:i,el:s,wrapperEl:u,slides:p}=r;return typeof r.params>"u"||r.destroyed||(r.emit("beforeDestroy"),r.initialized=!1,r.detachEvents(),i.loop&&r.loopDestroy(),t&&(r.removeClasses(),s.removeAttribute("style"),u.removeAttribute("style"),p&&p.length&&p.forEach(m=>{m.classList.remove(i.slideVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass),m.removeAttribute("style"),m.removeAttribute("data-swiper-slide-index")})),r.emit("destroy"),Object.keys(r.eventsListeners).forEach(m=>{r.off(m)}),!1!==o&&(r.el.swiper=null,function Xie(n){const o=n;Object.keys(o).forEach(t=>{try{o[t]=null}catch{}try{delete o[t]}catch{}})}(r)),r.destroyed=!0),null}static extendDefaults(o){ds(Db,o)}static get extendedDefaults(){return Db}static get defaults(){return Eb}static installModule(o){us.prototype.__modules__||(us.prototype.__modules__=[]);const t=us.prototype.__modules__;"function"==typeof o&&t.indexOf(o)<0&&t.push(o)}static use(o){return Array.isArray(o)?(o.forEach(t=>us.installModule(t)),us):(us.installModule(o),us)}}function Pb(n,o,t,r){return n.params.createElements&&Object.keys(r).forEach(i=>{if(!t[i]&&!0===t.auto){let s=pi(n.el,`.${r[i]}`)[0];s||(s=Js("div",r[i]),s.className=r[i],n.el.append(s)),t[i]=s,o[i]=s}}),t}function Ll(n){return void 0===n&&(n=""),`.${n.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function Pae(n){const o=this,{params:t,slidesEl:r}=o;t.loop&&o.loopDestroy();const i=s=>{if("string"==typeof s){const u=document.createElement("div");u.innerHTML=s,r.append(u.children[0]),u.innerHTML=""}else r.append(s)};if("object"==typeof n&&"length"in n)for(let s=0;s<n.length;s+=1)n[s]&&i(n[s]);else i(n);o.recalcSlides(),t.loop&&o.loopCreate(),(!t.observer||o.isElement)&&o.update()}function Mae(n){const o=this,{params:t,activeIndex:r,slidesEl:i}=o;t.loop&&o.loopDestroy();let s=r+1;const u=p=>{if("string"==typeof p){const m=document.createElement("div");m.innerHTML=p,i.prepend(m.children[0]),m.innerHTML=""}else i.prepend(p)};if("object"==typeof n&&"length"in n){for(let p=0;p<n.length;p+=1)n[p]&&u(n[p]);s=r+n.length}else u(n);o.recalcSlides(),t.loop&&o.loopCreate(),(!t.observer||o.isElement)&&o.update(),o.slideTo(s,0,!1)}function $ae(n,o){const t=this,{params:r,activeIndex:i,slidesEl:s}=t;let u=i;r.loop&&(u-=t.loopedSlides,t.loopDestroy(),t.recalcSlides());const p=t.slides.length;if(n<=0)return void t.prependSlide(o);if(n>=p)return void t.appendSlide(o);let m=u>n?u+1:u;const v=[];for(let S=p-1;S>=n;S-=1){const T=t.slides[S];T.remove(),v.unshift(T)}if("object"==typeof o&&"length"in o){for(let S=0;S<o.length;S+=1)o[S]&&s.append(o[S]);m=u>n?u+o.length:u}else s.append(o);for(let S=0;S<v.length;S+=1)s.append(v[S]);t.recalcSlides(),r.loop&&t.loopCreate(),(!r.observer||t.isElement)&&t.update(),t.slideTo(r.loop?m+t.loopedSlides:m,0,!1)}function Aae(n){const o=this,{params:t,activeIndex:r}=o;let i=r;t.loop&&(i-=o.loopedSlides,o.loopDestroy());let u,s=i;if("object"==typeof n&&"length"in n){for(let p=0;p<n.length;p+=1)u=n[p],o.slides[u]&&o.slides[u].remove(),u<s&&(s-=1);s=Math.max(s,0)}else u=n,o.slides[u]&&o.slides[u].remove(),u<s&&(s-=1),s=Math.max(s,0);o.recalcSlides(),t.loop&&o.loopCreate(),(!t.observer||o.isElement)&&o.update(),o.slideTo(t.loop?s+o.loopedSlides:s,0,!1)}function Nae(){const n=this,o=[];for(let t=0;t<n.slides.length;t+=1)o.push(t);n.removeSlide(o)}function pu(n){const{effect:o,swiper:t,on:r,setTranslate:i,setTransition:s,overwriteParams:u,perspective:p,recreateShadows:m,getEffectParams:v}=n;let S;r("beforeInit",()=>{if(t.params.effect!==o)return;t.classNames.push(`${t.params.containerModifierClass}${o}`),p&&p()&&t.classNames.push(`${t.params.containerModifierClass}3d`);const T=u?u():{};Object.assign(t.params,T),Object.assign(t.originalParams,T)}),r("setTranslate",()=>{t.params.effect===o&&i()}),r("setTransition",(T,D)=>{t.params.effect===o&&s(D)}),r("transitionEnd",()=>{if(t.params.effect===o&&m){if(!v||!v().slideShadows)return;t.slides.forEach(T=>{T.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(D=>D.remove())}),m()}}),r("virtualUpdate",()=>{t.params.effect===o&&(t.slides.length||(S=!0),requestAnimationFrame(()=>{S&&t.slides&&t.slides.length&&(i(),S=!1)}))})}function Nf(n,o){const t=Pc(o);return t!==o&&(t.style.backfaceVisibility="hidden",t.style["-webkit-backface-visibility"]="hidden"),t}function b1(n){let{swiper:o,duration:t,transformElements:r,allSlides:i}=n;const{activeIndex:s}=o;if(o.params.virtualTranslate&&0!==t){let m,p=!1;m=i?r:r.filter(v=>{const S=v.classList.contains("swiper-slide-transform")?(p=>p.parentElement?p.parentElement:o.slides.filter(v=>v.shadowRoot&&v.shadowRoot===p.parentNode)[0])(v):v;return o.getSlideIndex(S)===s}),m.forEach(v=>{Af(v,()=>{if(p||!o||o.destroyed)return;p=!0,o.animating=!1;const S=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});o.wrapperEl.dispatchEvent(S)})})}}function hu(n,o,t){const r=`swiper-slide-shadow${t?`-${t}`:""}${n?` swiper-slide-shadow-${n}`:""}`,i=Pc(o);let s=i.querySelector(`.${r.split(" ").join(".")}`);return s||(s=Js("div",r.split(" ")),i.append(s)),s}Object.keys(Ib).forEach(n=>{Object.keys(Ib[n]).forEach(o=>{us.prototype[o]=Ib[n][o]})}),us.use([function sse(n){let{swiper:o,on:t,emit:r}=n;const i=fr();let s=null,u=null;const p=()=>{!o||o.destroyed||!o.initialized||(r("beforeResize"),r("resize"))},S=()=>{!o||o.destroyed||!o.initialized||r("orientationchange")};t("init",()=>{o.params.resizeObserver&&typeof i.ResizeObserver<"u"?!o||o.destroyed||!o.initialized||(s=new ResizeObserver(T=>{u=i.requestAnimationFrame(()=>{const{width:D,height:$}=o;let x=D,k=$;T.forEach(B=>{let{contentBoxSize:G,contentRect:L,target:H}=B;H&&H!==o.el||(x=L?L.width:(G[0]||G).inlineSize,k=L?L.height:(G[0]||G).blockSize)}),(x!==D||k!==$)&&p()})}),s.observe(o.el)):(i.addEventListener("resize",p),i.addEventListener("orientationchange",S))}),t("destroy",()=>{u&&i.cancelAnimationFrame(u),s&&s.unobserve&&o.el&&(s.unobserve(o.el),s=null),i.removeEventListener("resize",p),i.removeEventListener("orientationchange",S)})},function ase(n){let{swiper:o,extendParams:t,on:r,emit:i}=n;const s=[],u=fr(),p=function(S,T){void 0===T&&(T={});const $=new(u.MutationObserver||u.WebkitMutationObserver)(x=>{if(o.__preventObserver__)return;if(1===x.length)return void i("observerUpdate",x[0]);const k=function(){i("observerUpdate",x[0])};u.requestAnimationFrame?u.requestAnimationFrame(k):u.setTimeout(k,0)});$.observe(S,{attributes:typeof T.attributes>"u"||T.attributes,childList:typeof T.childList>"u"||T.childList,characterData:typeof T.characterData>"u"||T.characterData}),s.push($)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),r("init",()=>{if(o.params.observer){if(o.params.observeParents){const S=Mc(o.hostEl);for(let T=0;T<S.length;T+=1)p(S[T])}p(o.hostEl,{childList:o.params.observeSlideChildren}),p(o.wrapperEl,{attributes:!1})}}),r("destroy",()=>{s.forEach(S=>{S.disconnect()}),s.splice(0,s.length)})}]),us.use([function gae(n){let s,{swiper:o,extendParams:t,on:r,emit:i}=n;t({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}});const u=Si();o.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]};const p=u.createElement("div");function m(x,k){const B=o.params.virtual;if(B.cache&&o.virtual.cache[k])return o.virtual.cache[k];let G;return B.renderSlide?(G=B.renderSlide.call(o,x,k),"string"==typeof G&&(p.innerHTML=G,G=p.children[0])):G=o.isElement?Js("swiper-slide"):Js("div",o.params.slideClass),G.setAttribute("data-swiper-slide-index",k),B.renderSlide||(G.innerHTML=x),B.cache&&(o.virtual.cache[k]=G),G}function v(x){const{slidesPerView:k,slidesPerGroup:B,centeredSlides:G,loop:L}=o.params,{addSlidesBefore:H,addSlidesAfter:ge}=o.params.virtual,{from:Fe,to:He,slides:ze,slidesGrid:lt,offset:Le}=o.virtual;o.params.cssMode||o.updateActiveIndex();const Ft=o.activeIndex||0;let ct,tt,ot;ct=o.rtlTranslate?"right":o.isHorizontal()?"left":"top",G?(tt=Math.floor(k/2)+B+ge,ot=Math.floor(k/2)+B+H):(tt=k+(B-1)+ge,ot=(L?k:B)+H);let be=Ft-ot,Ke=Ft+tt;L||(be=Math.max(be,0),Ke=Math.min(Ke,ze.length-1));let We=(o.slidesGrid[be]||0)-(o.slidesGrid[0]||0);function Ne(){o.updateSlides(),o.updateProgress(),o.updateSlidesClasses(),i("virtualUpdate")}if(L&&Ft>=ot?(be-=ot,G||(We+=o.slidesGrid[0])):L&&Ft<ot&&(be=-ot,G&&(We+=o.slidesGrid[0])),Object.assign(o.virtual,{from:be,to:Ke,offset:We,slidesGrid:o.slidesGrid,slidesBefore:ot,slidesAfter:tt}),Fe===be&&He===Ke&&!x)return o.slidesGrid!==lt&&We!==Le&&o.slides.forEach(en=>{en.style[ct]=We-Math.abs(o.cssOverflowAdjustment())+"px"}),o.updateProgress(),void i("virtualUpdate");if(o.params.virtual.renderExternal)return o.params.virtual.renderExternal.call(o,{offset:We,from:be,to:Ke,slides:function(){const cn=[];for(let ki=be;ki<=Ke;ki+=1)cn.push(ze[ki]);return cn}()}),void(o.params.virtual.renderExternalUpdate?Ne():i("virtualUpdate"));const Ze=[],Qe=[],Zt=en=>{let cn=en;return en<0?cn=ze.length+en:cn>=ze.length&&(cn-=ze.length),cn};if(x)o.slides.filter(en=>en.matches(`.${o.params.slideClass}, swiper-slide`)).forEach(en=>{en.remove()});else for(let en=Fe;en<=He;en+=1)if(en<be||en>Ke){const cn=Zt(en);o.slides.filter(ki=>ki.matches(`.${o.params.slideClass}[data-swiper-slide-index="${cn}"], swiper-slide[data-swiper-slide-index="${cn}"]`)).forEach(ki=>{ki.remove()})}const No=L?2*ze.length:ze.length;for(let en=L?-ze.length:0;en<No;en+=1)if(en>=be&&en<=Ke){const cn=Zt(en);typeof He>"u"||x?Qe.push(cn):(en>He&&Qe.push(cn),en<Fe&&Ze.push(cn))}if(Qe.forEach(en=>{o.slidesEl.append(m(ze[en],en))}),L)for(let en=Ze.length-1;en>=0;en-=1){const cn=Ze[en];o.slidesEl.prepend(m(ze[cn],cn))}else Ze.sort((en,cn)=>cn-en),Ze.forEach(en=>{o.slidesEl.prepend(m(ze[en],en))});pi(o.slidesEl,".swiper-slide, swiper-slide").forEach(en=>{en.style[ct]=We-Math.abs(o.cssOverflowAdjustment())+"px"}),Ne()}r("beforeInit",()=>{if(!o.params.virtual.enabled)return;let x;if(typeof o.passedParams.virtual.slides>"u"){const k=[...o.slidesEl.children].filter(B=>B.matches(`.${o.params.slideClass}, swiper-slide`));k&&k.length&&(o.virtual.slides=[...k],x=!0,k.forEach((B,G)=>{B.setAttribute("data-swiper-slide-index",G),o.virtual.cache[G]=B,B.remove()}))}x||(o.virtual.slides=o.params.virtual.slides),o.classNames.push(`${o.params.containerModifierClass}virtual`),o.params.watchSlidesProgress=!0,o.originalParams.watchSlidesProgress=!0,v()}),r("setTranslate",()=>{o.params.virtual.enabled&&(o.params.cssMode&&!o._immediateVirtual?(clearTimeout(s),s=setTimeout(()=>{v()},100)):v())}),r("init update resize",()=>{o.params.virtual.enabled&&o.params.cssMode&&Mf(o.wrapperEl,"--swiper-virtual-size",`${o.virtualSize}px`)}),Object.assign(o.virtual,{appendSlide:function S(x){if("object"==typeof x&&"length"in x)for(let k=0;k<x.length;k+=1)x[k]&&o.virtual.slides.push(x[k]);else o.virtual.slides.push(x);v(!0)},prependSlide:function T(x){const k=o.activeIndex;let B=k+1,G=1;if(Array.isArray(x)){for(let L=0;L<x.length;L+=1)x[L]&&o.virtual.slides.unshift(x[L]);B=k+x.length,G=x.length}else o.virtual.slides.unshift(x);if(o.params.virtual.cache){const L=o.virtual.cache,H={};Object.keys(L).forEach(ge=>{const Fe=L[ge],He=Fe.getAttribute("data-swiper-slide-index");He&&Fe.setAttribute("data-swiper-slide-index",parseInt(He,10)+G),H[parseInt(ge,10)+G]=Fe}),o.virtual.cache=H}v(!0),o.slideTo(B,0)},removeSlide:function D(x){if(typeof x>"u"||null===x)return;let k=o.activeIndex;if(Array.isArray(x))for(let B=x.length-1;B>=0;B-=1)o.params.virtual.cache&&(delete o.virtual.cache[x[B]],Object.keys(o.virtual.cache).forEach(G=>{G>x&&(o.virtual.cache[G-1]=o.virtual.cache[G],o.virtual.cache[G-1].setAttribute("data-swiper-slide-index",G-1),delete o.virtual.cache[G])})),o.virtual.slides.splice(x[B],1),x[B]<k&&(k-=1),k=Math.max(k,0);else o.params.virtual.cache&&(delete o.virtual.cache[x],Object.keys(o.virtual.cache).forEach(B=>{B>x&&(o.virtual.cache[B-1]=o.virtual.cache[B],o.virtual.cache[B-1].setAttribute("data-swiper-slide-index",B-1),delete o.virtual.cache[B])})),o.virtual.slides.splice(x,1),x<k&&(k-=1),k=Math.max(k,0);v(!0),o.slideTo(k,0)},removeAllSlides:function $(){o.virtual.slides=[],o.params.virtual.cache&&(o.virtual.cache={}),v(!0),o.slideTo(0,0)},update:v})},function fae(n){let{swiper:o,extendParams:t,on:r,emit:i}=n;const s=Si(),u=fr();function p(S){if(!o.enabled)return;const{rtlTranslate:T}=o;let D=S;D.originalEvent&&(D=D.originalEvent);const $=D.keyCode||D.charCode,x=o.params.keyboard.pageUpDown,k=x&&33===$,B=x&&34===$,G=37===$,L=39===$,H=38===$,ge=40===$;if(!o.allowSlideNext&&(o.isHorizontal()&&L||o.isVertical()&&ge||B)||!o.allowSlidePrev&&(o.isHorizontal()&&G||o.isVertical()&&H||k))return!1;if(!(D.shiftKey||D.altKey||D.ctrlKey||D.metaKey||s.activeElement&&s.activeElement.nodeName&&("input"===s.activeElement.nodeName.toLowerCase()||"textarea"===s.activeElement.nodeName.toLowerCase()))){if(o.params.keyboard.onlyInViewport&&(k||B||G||L||H||ge)){let Fe=!1;if(Mc(o.el,`.${o.params.slideClass}, swiper-slide`).length>0&&0===Mc(o.el,`.${o.params.slideActiveClass}`).length)return;const He=o.el,ze=He.clientWidth,lt=He.clientHeight,Le=u.innerWidth,Ft=u.innerHeight,ct=v1(He);T&&(ct.left-=He.scrollLeft);const tt=[[ct.left,ct.top],[ct.left+ze,ct.top],[ct.left,ct.top+lt],[ct.left+ze,ct.top+lt]];for(let ot=0;ot<tt.length;ot+=1){const be=tt[ot];if(be[0]>=0&&be[0]<=Le&&be[1]>=0&&be[1]<=Ft){if(0===be[0]&&0===be[1])continue;Fe=!0}}if(!Fe)return}o.isHorizontal()?((k||B||G||L)&&(D.preventDefault?D.preventDefault():D.returnValue=!1),((B||L)&&!T||(k||G)&&T)&&o.slideNext(),((k||G)&&!T||(B||L)&&T)&&o.slidePrev()):((k||B||H||ge)&&(D.preventDefault?D.preventDefault():D.returnValue=!1),(B||ge)&&o.slideNext(),(k||H)&&o.slidePrev()),i("keyPress",$)}}function m(){o.keyboard.enabled||(s.addEventListener("keydown",p),o.keyboard.enabled=!0)}function v(){o.keyboard.enabled&&(s.removeEventListener("keydown",p),o.keyboard.enabled=!1)}o.keyboard={enabled:!1},t({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}}),r("init",()=>{o.params.keyboard.enabled&&m()}),r("destroy",()=>{o.keyboard.enabled&&v()}),Object.assign(o.keyboard,{enable:m,disable:v})},function pae(n){let{swiper:o,extendParams:t,on:r,emit:i}=n;const s=fr();t({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),o.mousewheel={enabled:!1};let u,m,p=Ds();const v=[];function T(){o.enabled&&(o.mouseEntered=!0)}function D(){o.enabled&&(o.mouseEntered=!1)}function $(H){return!(o.params.mousewheel.thresholdDelta&&H.delta<o.params.mousewheel.thresholdDelta||o.params.mousewheel.thresholdTime&&Ds()-p<o.params.mousewheel.thresholdTime)&&(H.delta>=6&&Ds()-p<60||(H.direction<0?(!o.isEnd||o.params.loop)&&!o.animating&&(o.slideNext(),i("scroll",H.raw)):(!o.isBeginning||o.params.loop)&&!o.animating&&(o.slidePrev(),i("scroll",H.raw)),p=(new s.Date).getTime(),!1))}function k(H){let ge=H,Fe=!0;if(!o.enabled||H.target.closest(`.${o.params.mousewheel.noMousewheelClass}`))return;const He=o.params.mousewheel;o.params.cssMode&&ge.preventDefault();let ze=o.el;"container"!==o.params.mousewheel.eventsTarget&&(ze=document.querySelector(o.params.mousewheel.eventsTarget));const lt=ze&&ze.contains(ge.target);if(!o.mouseEntered&&!lt&&!He.releaseOnEdges)return!0;ge.originalEvent&&(ge=ge.originalEvent);let Le=0;const Ft=o.rtlTranslate?-1:1,ct=function S(H){let ze=0,lt=0,Le=0,Ft=0;return"detail"in H&&(lt=H.detail),"wheelDelta"in H&&(lt=-H.wheelDelta/120),"wheelDeltaY"in H&&(lt=-H.wheelDeltaY/120),"wheelDeltaX"in H&&(ze=-H.wheelDeltaX/120),"axis"in H&&H.axis===H.HORIZONTAL_AXIS&&(ze=lt,lt=0),Le=10*ze,Ft=10*lt,"deltaY"in H&&(Ft=H.deltaY),"deltaX"in H&&(Le=H.deltaX),H.shiftKey&&!Le&&(Le=Ft,Ft=0),(Le||Ft)&&H.deltaMode&&(1===H.deltaMode?(Le*=40,Ft*=40):(Le*=800,Ft*=800)),Le&&!ze&&(ze=Le<1?-1:1),Ft&&!lt&&(lt=Ft<1?-1:1),{spinX:ze,spinY:lt,pixelX:Le,pixelY:Ft}}(ge);if(He.forceToAxis)if(o.isHorizontal()){if(!(Math.abs(ct.pixelX)>Math.abs(ct.pixelY)))return!0;Le=-ct.pixelX*Ft}else{if(!(Math.abs(ct.pixelY)>Math.abs(ct.pixelX)))return!0;Le=-ct.pixelY}else Le=Math.abs(ct.pixelX)>Math.abs(ct.pixelY)?-ct.pixelX*Ft:-ct.pixelY;if(0===Le)return!0;He.invert&&(Le=-Le);let tt=o.getTranslate()+Le*He.sensitivity;if(tt>=o.minTranslate()&&(tt=o.minTranslate()),tt<=o.maxTranslate()&&(tt=o.maxTranslate()),Fe=!!o.params.loop||!(tt===o.minTranslate()||tt===o.maxTranslate()),Fe&&o.params.nested&&ge.stopPropagation(),o.params.freeMode&&o.params.freeMode.enabled){const ot={time:Ds(),delta:Math.abs(Le),direction:Math.sign(Le)},be=m&&ot.time<m.time+500&&ot.delta<=m.delta&&ot.direction===m.direction;if(!be){m=void 0;let Ke=o.getTranslate()+Le*He.sensitivity;const We=o.isBeginning,Ne=o.isEnd;if(Ke>=o.minTranslate()&&(Ke=o.minTranslate()),Ke<=o.maxTranslate()&&(Ke=o.maxTranslate()),o.setTransition(0),o.setTranslate(Ke),o.updateProgress(),o.updateActiveIndex(),o.updateSlidesClasses(),(!We&&o.isBeginning||!Ne&&o.isEnd)&&o.updateSlidesClasses(),o.params.loop&&o.loopFix({direction:ot.direction<0?"next":"prev",byMousewheel:!0}),o.params.freeMode.sticky){clearTimeout(u),u=void 0,v.length>=15&&v.shift();const Ze=v.length?v[v.length-1]:void 0,Qe=v[0];if(v.push(ot),Ze&&(ot.delta>Ze.delta||ot.direction!==Ze.direction))v.splice(0);else if(v.length>=15&&ot.time-Qe.time<500&&Qe.delta-ot.delta>=1&&ot.delta<=6){const Zt=Le>0?.8:.2;m=ot,v.splice(0),u=Dc(()=>{o.slideToClosest(o.params.speed,!0,void 0,Zt)},0)}u||(u=Dc(()=>{m=ot,v.splice(0),o.slideToClosest(o.params.speed,!0,void 0,.5)},500))}if(be||i("scroll",ge),o.params.autoplay&&o.params.autoplayDisableOnInteraction&&o.autoplay.stop(),He.releaseOnEdges&&(Ke===o.minTranslate()||Ke===o.maxTranslate()))return!0}}else{const ot={time:Ds(),delta:Math.abs(Le),direction:Math.sign(Le),raw:H};v.length>=2&&v.shift();const be=v.length?v[v.length-1]:void 0;if(v.push(ot),be?(ot.direction!==be.direction||ot.delta>be.delta||ot.time>be.time+150)&&$(ot):$(ot),function x(H){const ge=o.params.mousewheel;if(H.direction<0){if(o.isEnd&&!o.params.loop&&ge.releaseOnEdges)return!0}else if(o.isBeginning&&!o.params.loop&&ge.releaseOnEdges)return!0;return!1}(ot))return!0}return ge.preventDefault?ge.preventDefault():ge.returnValue=!1,!1}function B(H){let ge=o.el;"container"!==o.params.mousewheel.eventsTarget&&(ge=document.querySelector(o.params.mousewheel.eventsTarget)),ge[H]("mouseenter",T),ge[H]("mouseleave",D),ge[H]("wheel",k)}function G(){return o.params.cssMode?(o.wrapperEl.removeEventListener("wheel",k),!0):!o.mousewheel.enabled&&(B("addEventListener"),o.mousewheel.enabled=!0,!0)}function L(){return o.params.cssMode?(o.wrapperEl.addEventListener(event,k),!0):!!o.mousewheel.enabled&&(B("removeEventListener"),o.mousewheel.enabled=!1,!0)}r("init",()=>{!o.params.mousewheel.enabled&&o.params.cssMode&&L(),o.params.mousewheel.enabled&&G()}),r("destroy",()=>{o.params.cssMode&&G(),o.mousewheel.enabled&&L()}),Object.assign(o.mousewheel,{enable:G,disable:L})},function hae(n){let{swiper:o,extendParams:t,on:r,emit:i}=n;t({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),o.navigation={nextEl:null,prevEl:null};const s=k=>(Array.isArray(k)?k:[k]).filter(B=>!!B);function u(k){let B;return k&&"string"==typeof k&&o.isElement&&(B=o.el.querySelector(k),B)?B:(k&&("string"==typeof k&&(B=[...document.querySelectorAll(k)]),o.params.uniqueNavElements&&"string"==typeof k&&B.length>1&&1===o.el.querySelectorAll(k).length&&(B=o.el.querySelector(k))),k&&!B?k:B)}function p(k,B){const G=o.params.navigation;(k=s(k)).forEach(L=>{L&&(L.classList[B?"add":"remove"](...G.disabledClass.split(" ")),"BUTTON"===L.tagName&&(L.disabled=B),o.params.watchOverflow&&o.enabled&&L.classList[o.isLocked?"add":"remove"](G.lockClass))})}function m(){const{nextEl:k,prevEl:B}=o.navigation;if(o.params.loop)return p(B,!1),void p(k,!1);p(B,o.isBeginning&&!o.params.rewind),p(k,o.isEnd&&!o.params.rewind)}function v(k){k.preventDefault(),(!o.isBeginning||o.params.loop||o.params.rewind)&&(o.slidePrev(),i("navigationPrev"))}function S(k){k.preventDefault(),(!o.isEnd||o.params.loop||o.params.rewind)&&(o.slideNext(),i("navigationNext"))}function T(){const k=o.params.navigation;if(o.params.navigation=Pb(o,o.originalParams.navigation,o.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!k.nextEl&&!k.prevEl)return;let B=u(k.nextEl),G=u(k.prevEl);Object.assign(o.navigation,{nextEl:B,prevEl:G}),B=s(B),G=s(G);const L=(H,ge)=>{H&&H.addEventListener("click","next"===ge?S:v),!o.enabled&&H&&H.classList.add(...k.lockClass.split(" "))};B.forEach(H=>L(H,"next")),G.forEach(H=>L(H,"prev"))}function D(){let{nextEl:k,prevEl:B}=o.navigation;k=s(k),B=s(B);const G=(L,H)=>{L.removeEventListener("click","next"===H?S:v),L.classList.remove(...o.params.navigation.disabledClass.split(" "))};k.forEach(L=>G(L,"next")),B.forEach(L=>G(L,"prev"))}r("init",()=>{!1===o.params.navigation.enabled?x():(T(),m())}),r("toEdge fromEdge lock unlock",()=>{m()}),r("destroy",()=>{D()}),r("enable disable",()=>{let{nextEl:k,prevEl:B}=o.navigation;k=s(k),B=s(B),o.enabled?m():[...k,...B].filter(G=>!!G).forEach(G=>G.classList.add(o.params.navigation.lockClass))}),r("click",(k,B)=>{let{nextEl:G,prevEl:L}=o.navigation;G=s(G),L=s(L);const H=B.target;if(o.params.navigation.hideOnClick&&!L.includes(H)&&!G.includes(H)){if(o.pagination&&o.params.pagination&&o.params.pagination.clickable&&(o.pagination.el===H||o.pagination.el.contains(H)))return;let ge;G.length?ge=G[0].classList.contains(o.params.navigation.hiddenClass):L.length&&(ge=L[0].classList.contains(o.params.navigation.hiddenClass)),i(!0===ge?"navigationShow":"navigationHide"),[...G,...L].filter(Fe=>!!Fe).forEach(Fe=>Fe.classList.toggle(o.params.navigation.hiddenClass))}});const x=()=>{o.el.classList.add(...o.params.navigation.navigationDisabledClass.split(" ")),D()};Object.assign(o.navigation,{enable:()=>{o.el.classList.remove(...o.params.navigation.navigationDisabledClass.split(" ")),T(),m()},disable:x,update:m,init:T,destroy:D})},function mae(n){let{swiper:o,extendParams:t,on:r,emit:i}=n;const s="swiper-pagination";t({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:L=>L,formatFractionTotal:L=>L,bulletClass:`${s}-bullet`,bulletActiveClass:`${s}-bullet-active`,modifierClass:`${s}-`,currentClass:`${s}-current`,totalClass:`${s}-total`,hiddenClass:`${s}-hidden`,progressbarFillClass:`${s}-progressbar-fill`,progressbarOppositeClass:`${s}-progressbar-opposite`,clickableClass:`${s}-clickable`,lockClass:`${s}-lock`,horizontalClass:`${s}-horizontal`,verticalClass:`${s}-vertical`,paginationDisabledClass:`${s}-disabled`}}),o.pagination={el:null,bullets:[]};let u,p=0;const m=L=>(Array.isArray(L)?L:[L]).filter(H=>!!H);function v(){return!o.params.pagination.el||!o.pagination.el||Array.isArray(o.pagination.el)&&0===o.pagination.el.length}function S(L,H){const{bulletActiveClass:ge}=o.params.pagination;L&&(L=L[("prev"===H?"previous":"next")+"ElementSibling"])&&(L.classList.add(`${ge}-${H}`),(L=L[("prev"===H?"previous":"next")+"ElementSibling"])&&L.classList.add(`${ge}-${H}-${H}`))}function T(L){const H=L.target.closest(Ll(o.params.pagination.bulletClass));if(!H)return;L.preventDefault();const ge=$f(H)*o.params.slidesPerGroup;if(o.params.loop){if(o.realIndex===ge)return;const Fe=o.realIndex,He=o.getSlideIndexByData(ge),ze=o.getSlideIndexByData(o.realIndex),lt=Le=>{const Ft=o.activeIndex;o.loopFix({direction:Le,activeSlideIndex:He,slideTo:!1}),Ft===o.activeIndex&&o.slideToLoop(Fe,0,!1,!0)};if(He>o.slides.length-o.loopedSlides)lt(He>ze?"next":"prev");else if(o.params.centeredSlides){const Le="auto"===o.params.slidesPerView?o.slidesPerViewDynamic():Math.ceil(parseFloat(o.params.slidesPerView,10));He<Math.floor(Le/2)&&lt("prev")}o.slideToLoop(ge)}else o.slideTo(ge)}function D(){const L=o.rtl,H=o.params.pagination;if(v())return;let Fe,He,ge=o.pagination.el;ge=m(ge);const lt=o.params.loop?Math.ceil((o.virtual&&o.params.virtual.enabled?o.virtual.slides.length:o.slides.length)/o.params.slidesPerGroup):o.snapGrid.length;if(o.params.loop?(He=o.previousRealIndex||0,Fe=o.params.slidesPerGroup>1?Math.floor(o.realIndex/o.params.slidesPerGroup):o.realIndex):typeof o.snapIndex<"u"?(Fe=o.snapIndex,He=o.previousSnapIndex):(He=o.previousIndex||0,Fe=o.activeIndex||0),"bullets"===H.type&&o.pagination.bullets&&o.pagination.bullets.length>0){const Le=o.pagination.bullets;let Ft,ct,tt;if(H.dynamicBullets&&(u=yb(Le[0],o.isHorizontal()?"width":"height",!0),ge.forEach(ot=>{ot.style[o.isHorizontal()?"width":"height"]=u*(H.dynamicMainBullets+4)+"px"}),H.dynamicMainBullets>1&&void 0!==He&&(p+=Fe-(He||0),p>H.dynamicMainBullets-1?p=H.dynamicMainBullets-1:p<0&&(p=0)),Ft=Math.max(Fe-p,0),ct=Ft+(Math.min(Le.length,H.dynamicMainBullets)-1),tt=(ct+Ft)/2),Le.forEach(ot=>{const be=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(Ke=>`${H.bulletActiveClass}${Ke}`)].map(Ke=>"string"==typeof Ke&&Ke.includes(" ")?Ke.split(" "):Ke).flat();ot.classList.remove(...be)}),ge.length>1)Le.forEach(ot=>{const be=$f(ot);be===Fe?ot.classList.add(...H.bulletActiveClass.split(" ")):o.isElement&&ot.setAttribute("part","bullet"),H.dynamicBullets&&(be>=Ft&&be<=ct&&ot.classList.add(...`${H.bulletActiveClass}-main`.split(" ")),be===Ft&&S(ot,"prev"),be===ct&&S(ot,"next"))});else{const ot=Le[Fe];if(ot&&ot.classList.add(...H.bulletActiveClass.split(" ")),o.isElement&&Le.forEach((be,Ke)=>{be.setAttribute("part",Ke===Fe?"bullet-active":"bullet")}),H.dynamicBullets){const be=Le[Ft],Ke=Le[ct];for(let We=Ft;We<=ct;We+=1)Le[We]&&Le[We].classList.add(...`${H.bulletActiveClass}-main`.split(" "));S(be,"prev"),S(Ke,"next")}}if(H.dynamicBullets){const ot=Math.min(Le.length,H.dynamicMainBullets+4),be=(u*ot-u)/2-tt*u,Ke=L?"right":"left";Le.forEach(We=>{We.style[o.isHorizontal()?Ke:"top"]=`${be}px`})}}ge.forEach((Le,Ft)=>{if("fraction"===H.type&&(Le.querySelectorAll(Ll(H.currentClass)).forEach(ct=>{ct.textContent=H.formatFractionCurrent(Fe+1)}),Le.querySelectorAll(Ll(H.totalClass)).forEach(ct=>{ct.textContent=H.formatFractionTotal(lt)})),"progressbar"===H.type){let ct;ct=H.progressbarOpposite?o.isHorizontal()?"vertical":"horizontal":o.isHorizontal()?"horizontal":"vertical";const tt=(Fe+1)/lt;let ot=1,be=1;"horizontal"===ct?ot=tt:be=tt,Le.querySelectorAll(Ll(H.progressbarFillClass)).forEach(Ke=>{Ke.style.transform=`translate3d(0,0,0) scaleX(${ot}) scaleY(${be})`,Ke.style.transitionDuration=`${o.params.speed}ms`})}"custom"===H.type&&H.renderCustom?(Le.innerHTML=H.renderCustom(o,Fe+1,lt),0===Ft&&i("paginationRender",Le)):(0===Ft&&i("paginationRender",Le),i("paginationUpdate",Le)),o.params.watchOverflow&&o.enabled&&Le.classList[o.isLocked?"add":"remove"](H.lockClass)})}function $(){const L=o.params.pagination;if(v())return;const H=o.virtual&&o.params.virtual.enabled?o.virtual.slides.length:o.slides.length;let ge=o.pagination.el;ge=m(ge);let Fe="";if("bullets"===L.type){let He=o.params.loop?Math.ceil(H/o.params.slidesPerGroup):o.snapGrid.length;o.params.freeMode&&o.params.freeMode.enabled&&He>H&&(He=H);for(let ze=0;ze<He;ze+=1)Fe+=L.renderBullet?L.renderBullet.call(o,ze,L.bulletClass):`<${L.bulletElement} ${o.isElement?'part="bullet"':""} class="${L.bulletClass}"></${L.bulletElement}>`}"fraction"===L.type&&(Fe=L.renderFraction?L.renderFraction.call(o,L.currentClass,L.totalClass):`<span class="${L.currentClass}"></span> / <span class="${L.totalClass}"></span>`),"progressbar"===L.type&&(Fe=L.renderProgressbar?L.renderProgressbar.call(o,L.progressbarFillClass):`<span class="${L.progressbarFillClass}"></span>`),o.pagination.bullets=[],ge.forEach(He=>{"custom"!==L.type&&(He.innerHTML=Fe||""),"bullets"===L.type&&o.pagination.bullets.push(...He.querySelectorAll(Ll(L.bulletClass)))}),"custom"!==L.type&&i("paginationRender",ge[0])}function x(){o.params.pagination=Pb(o,o.originalParams.pagination,o.params.pagination,{el:"swiper-pagination"});const L=o.params.pagination;if(!L.el)return;let H;"string"==typeof L.el&&o.isElement&&(H=o.el.querySelector(L.el)),!H&&"string"==typeof L.el&&(H=[...document.querySelectorAll(L.el)]),H||(H=L.el),H&&0!==H.length&&(o.params.uniqueNavElements&&"string"==typeof L.el&&Array.isArray(H)&&H.length>1&&(H=[...o.el.querySelectorAll(L.el)],H.length>1&&(H=H.filter(ge=>Mc(ge,".swiper")[0]===o.el)[0])),Array.isArray(H)&&1===H.length&&(H=H[0]),Object.assign(o.pagination,{el:H}),H=m(H),H.forEach(ge=>{"bullets"===L.type&&L.clickable&&ge.classList.add(...(L.clickableClass||"").split(" ")),ge.classList.add(L.modifierClass+L.type),ge.classList.add(o.isHorizontal()?L.horizontalClass:L.verticalClass),"bullets"===L.type&&L.dynamicBullets&&(ge.classList.add(`${L.modifierClass}${L.type}-dynamic`),p=0,L.dynamicMainBullets<1&&(L.dynamicMainBullets=1)),"progressbar"===L.type&&L.progressbarOpposite&&ge.classList.add(L.progressbarOppositeClass),L.clickable&&ge.addEventListener("click",T),o.enabled||ge.classList.add(L.lockClass)}))}function k(){const L=o.params.pagination;if(v())return;let H=o.pagination.el;H&&(H=m(H),H.forEach(ge=>{ge.classList.remove(L.hiddenClass),ge.classList.remove(L.modifierClass+L.type),ge.classList.remove(o.isHorizontal()?L.horizontalClass:L.verticalClass),L.clickable&&(ge.classList.remove(...(L.clickableClass||"").split(" ")),ge.removeEventListener("click",T))})),o.pagination.bullets&&o.pagination.bullets.forEach(ge=>ge.classList.remove(...L.bulletActiveClass.split(" ")))}r("changeDirection",()=>{if(!o.pagination||!o.pagination.el)return;const L=o.params.pagination;let{el:H}=o.pagination;H=m(H),H.forEach(ge=>{ge.classList.remove(L.horizontalClass,L.verticalClass),ge.classList.add(o.isHorizontal()?L.horizontalClass:L.verticalClass)})}),r("init",()=>{!1===o.params.pagination.enabled?G():(x(),$(),D())}),r("activeIndexChange",()=>{typeof o.snapIndex>"u"&&D()}),r("snapIndexChange",()=>{D()}),r("snapGridLengthChange",()=>{$(),D()}),r("destroy",()=>{k()}),r("enable disable",()=>{let{el:L}=o.pagination;L&&(L=m(L),L.forEach(H=>H.classList[o.enabled?"remove":"add"](o.params.pagination.lockClass)))}),r("lock unlock",()=>{D()}),r("click",(L,H)=>{const ge=H.target,Fe=m(o.pagination.el);if(o.params.pagination.el&&o.params.pagination.hideOnClick&&Fe&&Fe.length>0&&!ge.classList.contains(o.params.pagination.bulletClass)){if(o.navigation&&(o.navigation.nextEl&&ge===o.navigation.nextEl||o.navigation.prevEl&&ge===o.navigation.prevEl))return;const He=Fe[0].classList.contains(o.params.pagination.hiddenClass);i(!0===He?"paginationShow":"paginationHide"),Fe.forEach(ze=>ze.classList.toggle(o.params.pagination.hiddenClass))}});const G=()=>{o.el.classList.add(o.params.pagination.paginationDisabledClass);let{el:L}=o.pagination;L&&(L=m(L),L.forEach(H=>H.classList.add(o.params.pagination.paginationDisabledClass))),k()};Object.assign(o.pagination,{enable:()=>{o.el.classList.remove(o.params.pagination.paginationDisabledClass);let{el:L}=o.pagination;L&&(L=m(L),L.forEach(H=>H.classList.remove(o.params.pagination.paginationDisabledClass))),x(),$(),D()},disable:G,render:$,update:D,init:x,destroy:k})},function _ae(n){let{swiper:o,extendParams:t,on:r,emit:i}=n;const s=Si();let v,S,T,D,u=!1,p=null,m=null;function $(){if(!o.params.scrollbar.el||!o.scrollbar.el)return;const{scrollbar:tt,rtlTranslate:ot}=o,{dragEl:be,el:Ke}=tt,We=o.params.scrollbar;let Ze=S,Qe=(T-S)*(o.params.loop?o.progressLoop:o.progress);ot?(Qe=-Qe,Qe>0?(Ze=S-Qe,Qe=0):-Qe+S>T&&(Ze=T+Qe)):Qe<0?(Ze=S+Qe,Qe=0):Qe+S>T&&(Ze=T-Qe),o.isHorizontal()?(be.style.transform=`translate3d(${Qe}px, 0, 0)`,be.style.width=`${Ze}px`):(be.style.transform=`translate3d(0px, ${Qe}px, 0)`,be.style.height=`${Ze}px`),We.hide&&(clearTimeout(p),Ke.style.opacity=1,p=setTimeout(()=>{Ke.style.opacity=0,Ke.style.transitionDuration="400ms"},1e3))}function k(){if(!o.params.scrollbar.el||!o.scrollbar.el)return;const{scrollbar:tt}=o,{dragEl:ot,el:be}=tt;ot.style.width="",ot.style.height="",T=o.isHorizontal()?be.offsetWidth:be.offsetHeight,D=o.size/(o.virtualSize+o.params.slidesOffsetBefore-(o.params.centeredSlides?o.snapGrid[0]:0)),S="auto"===o.params.scrollbar.dragSize?T*D:parseInt(o.params.scrollbar.dragSize,10),o.isHorizontal()?ot.style.width=`${S}px`:ot.style.height=`${S}px`,be.style.display=D>=1?"none":"",o.params.scrollbar.hide&&(be.style.opacity=0),o.params.watchOverflow&&o.enabled&&tt.el.classList[o.isLocked?"add":"remove"](o.params.scrollbar.lockClass)}function B(tt){return o.isHorizontal()?tt.clientX:tt.clientY}function G(tt){const{scrollbar:ot,rtlTranslate:be}=o,{el:Ke}=ot;let We;We=(B(tt)-v1(Ke)[o.isHorizontal()?"left":"top"]-(null!==v?v:S/2))/(T-S),We=Math.max(Math.min(We,1),0),be&&(We=1-We);const Ne=o.minTranslate()+(o.maxTranslate()-o.minTranslate())*We;o.updateProgress(Ne),o.setTranslate(Ne),o.updateActiveIndex(),o.updateSlidesClasses()}function L(tt){const ot=o.params.scrollbar,{scrollbar:be,wrapperEl:Ke}=o,{el:We,dragEl:Ne}=be;u=!0,v=tt.target===Ne?B(tt)-tt.target.getBoundingClientRect()[o.isHorizontal()?"left":"top"]:null,tt.preventDefault(),tt.stopPropagation(),Ke.style.transitionDuration="100ms",Ne.style.transitionDuration="100ms",G(tt),clearTimeout(m),We.style.transitionDuration="0ms",ot.hide&&(We.style.opacity=1),o.params.cssMode&&(o.wrapperEl.style["scroll-snap-type"]="none"),i("scrollbarDragStart",tt)}function H(tt){const{scrollbar:ot,wrapperEl:be}=o,{el:Ke,dragEl:We}=ot;u&&(tt.preventDefault?tt.preventDefault():tt.returnValue=!1,G(tt),be.style.transitionDuration="0ms",Ke.style.transitionDuration="0ms",We.style.transitionDuration="0ms",i("scrollbarDragMove",tt))}function ge(tt){const ot=o.params.scrollbar,{scrollbar:be,wrapperEl:Ke}=o,{el:We}=be;u&&(u=!1,o.params.cssMode&&(o.wrapperEl.style["scroll-snap-type"]="",Ke.style.transitionDuration=""),ot.hide&&(clearTimeout(m),m=Dc(()=>{We.style.opacity=0,We.style.transitionDuration="400ms"},1e3)),i("scrollbarDragEnd",tt),ot.snapOnRelease&&o.slideToClosest())}function Fe(tt){const{scrollbar:ot,params:be}=o,Ke=ot.el;if(!Ke)return;const Ne=!!be.passiveListeners&&{passive:!1,capture:!1},Ze=!!be.passiveListeners&&{passive:!0,capture:!1};if(!Ke)return;const Qe="on"===tt?"addEventListener":"removeEventListener";Ke[Qe]("pointerdown",L,Ne),s[Qe]("pointermove",H,Ne),s[Qe]("pointerup",ge,Ze)}function lt(){const{scrollbar:tt,el:ot}=o;o.params.scrollbar=Pb(o,o.originalParams.scrollbar,o.params.scrollbar,{el:"swiper-scrollbar"});const be=o.params.scrollbar;if(!be.el)return;let Ke,We;"string"==typeof be.el&&o.isElement&&(Ke=o.el.querySelector(be.el)),Ke||"string"!=typeof be.el?Ke||(Ke=be.el):Ke=s.querySelectorAll(be.el),o.params.uniqueNavElements&&"string"==typeof be.el&&Ke.length>1&&1===ot.querySelectorAll(be.el).length&&(Ke=ot.querySelector(be.el)),Ke.length>0&&(Ke=Ke[0]),Ke.classList.add(o.isHorizontal()?be.horizontalClass:be.verticalClass),Ke&&(We=Ke.querySelector(`.${o.params.scrollbar.dragClass}`),We||(We=Js("div",o.params.scrollbar.dragClass),Ke.append(We))),Object.assign(tt,{el:Ke,dragEl:We}),be.draggable&&function He(){!o.params.scrollbar.el||!o.scrollbar.el||Fe("on")}(),Ke&&Ke.classList[o.enabled?"remove":"add"](o.params.scrollbar.lockClass)}function Le(){const tt=o.params.scrollbar,ot=o.scrollbar.el;ot&&ot.classList.remove(o.isHorizontal()?tt.horizontalClass:tt.verticalClass),function ze(){!o.params.scrollbar.el||!o.scrollbar.el||Fe("off")}()}t({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),o.scrollbar={el:null,dragEl:null},r("init",()=>{!1===o.params.scrollbar.enabled?ct():(lt(),k(),$())}),r("update resize observerUpdate lock unlock",()=>{k()}),r("setTranslate",()=>{$()}),r("setTransition",(tt,ot)=>{!function x(tt){!o.params.scrollbar.el||!o.scrollbar.el||(o.scrollbar.dragEl.style.transitionDuration=`${tt}ms`)}(ot)}),r("enable disable",()=>{const{el:tt}=o.scrollbar;tt&&tt.classList[o.enabled?"remove":"add"](o.params.scrollbar.lockClass)}),r("destroy",()=>{Le()});const ct=()=>{o.el.classList.add(o.params.scrollbar.scrollbarDisabledClass),o.scrollbar.el&&o.scrollbar.el.classList.add(o.params.scrollbar.scrollbarDisabledClass),Le()};Object.assign(o.scrollbar,{enable:()=>{o.el.classList.remove(o.params.scrollbar.scrollbarDisabledClass),o.scrollbar.el&&o.scrollbar.el.classList.remove(o.params.scrollbar.scrollbarDisabledClass),lt(),k(),$()},disable:ct,updateSize:k,setTranslate:$,init:lt,destroy:Le})},function vae(n){let{swiper:o,extendParams:t,on:r}=n;t({parallax:{enabled:!1}});const i="[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]",s=(m,v)=>{const{rtl:S}=o,T=S?-1:1,D=m.getAttribute("data-swiper-parallax")||"0";let $=m.getAttribute("data-swiper-parallax-x"),x=m.getAttribute("data-swiper-parallax-y");const k=m.getAttribute("data-swiper-parallax-scale"),B=m.getAttribute("data-swiper-parallax-opacity"),G=m.getAttribute("data-swiper-parallax-rotate");if($||x?($=$||"0",x=x||"0"):o.isHorizontal()?($=D,x="0"):(x=D,$="0"),$=$.indexOf("%")>=0?parseInt($,10)*v*T+"%":$*v*T+"px",x=x.indexOf("%")>=0?parseInt(x,10)*v+"%":x*v+"px",typeof B<"u"&&null!==B){const H=B-(B-1)*(1-Math.abs(v));m.style.opacity=H}let L=`translate3d(${$}, ${x}, 0px)`;typeof k<"u"&&null!==k&&(L+=` scale(${k-(k-1)*(1-Math.abs(v))})`),G&&typeof G<"u"&&null!==G&&(L+=` rotate(${G*v*-1}deg)`),m.style.transform=L},u=()=>{const{el:m,slides:v,progress:S,snapGrid:T}=o,$=pi(m,i);o.isElement&&$.push(...pi(o.hostEl,i)),$.forEach(x=>{s(x,S)}),v.forEach((x,k)=>{let B=x.progress;o.params.slidesPerGroup>1&&"auto"!==o.params.slidesPerView&&(B+=Math.ceil(k/2)-S*(T.length-1)),B=Math.min(Math.max(B,-1),1),x.querySelectorAll(`${i}, [data-swiper-parallax-rotate]`).forEach(G=>{s(G,B)})})};r("beforeInit",()=>{o.params.parallax.enabled&&(o.params.watchSlidesProgress=!0,o.originalParams.watchSlidesProgress=!0)}),r("init",()=>{o.params.parallax.enabled&&u()}),r("setTranslate",()=>{o.params.parallax.enabled&&u()}),r("setTransition",(m,v)=>{o.params.parallax.enabled&&function(m){void 0===m&&(m=o.params.speed);const{el:v,hostEl:S}=o,T=[...v.querySelectorAll(i)];o.isElement&&T.push(...S.querySelectorAll(i)),T.forEach(D=>{let $=parseInt(D.getAttribute("data-swiper-parallax-duration"),10)||m;0===m&&($=0),D.style.transitionDuration=`${$}ms`})}(v)})},function yae(n){let{swiper:o,extendParams:t,on:r,emit:i}=n;const s=fr();t({zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),o.zoom={enabled:!1};let m,v,u=1,p=!1;const S=[],T={originX:0,originY:0,slideEl:void 0,slideWidth:void 0,slideHeight:void 0,imageEl:void 0,imageWrapEl:void 0,maxRatio:3},D={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},$={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let x=1;function k(){return S.length<2?1:Math.sqrt((S[1].pageX-S[0].pageX)**2+(S[1].pageY-S[0].pageY)**2)}function L(Ne){const Ze=function G(){return o.isElement?"swiper-slide":`.${o.params.slideClass}`}();return!!(Ne.target.matches(Ze)||o.slides.filter(Qe=>Qe.contains(Ne.target)).length>0)}function ge(Ne){if("mouse"===Ne.pointerType&&S.splice(0,S.length),!L(Ne))return;const Ze=o.params.zoom;if(m=!1,v=!1,S.push(Ne),!(S.length<2)){if(m=!0,T.scaleStart=k(),!T.slideEl){T.slideEl=Ne.target.closest(`.${o.params.slideClass}, swiper-slide`),T.slideEl||(T.slideEl=o.slides[o.activeIndex]);let Qe=T.slideEl.querySelector(`.${Ze.containerClass}`);if(Qe&&(Qe=Qe.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),T.imageEl=Qe,T.imageWrapEl=Qe?Mc(T.imageEl,`.${Ze.containerClass}`)[0]:void 0,!T.imageWrapEl)return void(T.imageEl=void 0);T.maxRatio=T.imageWrapEl.getAttribute("data-swiper-zoom")||Ze.maxRatio}if(T.imageEl){const[Qe,Zt]=function B(){if(S.length<2)return{x:null,y:null};const Ne=T.imageEl.getBoundingClientRect();return[(S[0].pageX+(S[1].pageX-S[0].pageX)/2-Ne.x-s.scrollX)/u,(S[0].pageY+(S[1].pageY-S[0].pageY)/2-Ne.y-s.scrollY)/u]}();T.originX=Qe,T.originY=Zt,T.imageEl.style.transitionDuration="0ms"}p=!0}}function Fe(Ne){if(!L(Ne))return;const Ze=o.params.zoom,Qe=o.zoom,Zt=S.findIndex(Hn=>Hn.pointerId===Ne.pointerId);Zt>=0&&(S[Zt]=Ne),!(S.length<2)&&(v=!0,T.scaleMove=k(),T.imageEl&&(Qe.scale=T.scaleMove/T.scaleStart*u,Qe.scale>T.maxRatio&&(Qe.scale=T.maxRatio-1+(Qe.scale-T.maxRatio+1)**.5),Qe.scale<Ze.minRatio&&(Qe.scale=Ze.minRatio+1-(Ze.minRatio-Qe.scale+1)**.5),T.imageEl.style.transform=`translate3d(0,0,0) scale(${Qe.scale})`))}function He(Ne){if(!L(Ne)||"mouse"===Ne.pointerType&&"pointerout"===Ne.type)return;const Ze=o.params.zoom,Qe=o.zoom,Zt=S.findIndex(Hn=>Hn.pointerId===Ne.pointerId);Zt>=0&&S.splice(Zt,1),m&&v&&(m=!1,v=!1,T.imageEl&&(Qe.scale=Math.max(Math.min(Qe.scale,T.maxRatio),Ze.minRatio),T.imageEl.style.transitionDuration=`${o.params.speed}ms`,T.imageEl.style.transform=`translate3d(0,0,0) scale(${Qe.scale})`,u=Qe.scale,p=!1,Qe.scale>1&&T.slideEl?T.slideEl.classList.add(`${Ze.zoomedSlideClass}`):Qe.scale<=1&&T.slideEl&&T.slideEl.classList.remove(`${Ze.zoomedSlideClass}`),1===Qe.scale&&(T.originX=0,T.originY=0,T.slideEl=void 0)))}function lt(Ne){if(!L(Ne)||!function H(Ne){const Ze=`.${o.params.zoom.containerClass}`;return!!(Ne.target.matches(Ze)||[...o.hostEl.querySelectorAll(Ze)].filter(Qe=>Qe.contains(Ne.target)).length>0)}(Ne))return;const Ze=o.zoom;if(!T.imageEl||!D.isTouched||!T.slideEl)return;D.isMoved||(D.width=T.imageEl.offsetWidth,D.height=T.imageEl.offsetHeight,D.startX=vb(T.imageWrapEl,"x")||0,D.startY=vb(T.imageWrapEl,"y")||0,T.slideWidth=T.slideEl.offsetWidth,T.slideHeight=T.slideEl.offsetHeight,T.imageWrapEl.style.transitionDuration="0ms");const Qe=D.width*Ze.scale,Zt=D.height*Ze.scale;if(Qe<T.slideWidth&&Zt<T.slideHeight)return;if(D.minX=Math.min(T.slideWidth/2-Qe/2,0),D.maxX=-D.minX,D.minY=Math.min(T.slideHeight/2-Zt/2,0),D.maxY=-D.minY,D.touchesCurrent.x=S.length>0?S[0].pageX:Ne.pageX,D.touchesCurrent.y=S.length>0?S[0].pageY:Ne.pageY,Math.max(Math.abs(D.touchesCurrent.x-D.touchesStart.x),Math.abs(D.touchesCurrent.y-D.touchesStart.y))>5&&(o.allowClick=!1),!D.isMoved&&!p){if(o.isHorizontal()&&(Math.floor(D.minX)===Math.floor(D.startX)&&D.touchesCurrent.x<D.touchesStart.x||Math.floor(D.maxX)===Math.floor(D.startX)&&D.touchesCurrent.x>D.touchesStart.x))return void(D.isTouched=!1);if(!o.isHorizontal()&&(Math.floor(D.minY)===Math.floor(D.startY)&&D.touchesCurrent.y<D.touchesStart.y||Math.floor(D.maxY)===Math.floor(D.startY)&&D.touchesCurrent.y>D.touchesStart.y))return void(D.isTouched=!1)}Ne.cancelable&&Ne.preventDefault(),Ne.stopPropagation(),D.isMoved=!0;const No=(Ze.scale-u)/(T.maxRatio-o.params.zoom.minRatio),{originX:en,originY:cn}=T;D.currentX=D.touchesCurrent.x-D.touchesStart.x+D.startX+No*(D.width-2*en),D.currentY=D.touchesCurrent.y-D.touchesStart.y+D.startY+No*(D.height-2*cn),D.currentX<D.minX&&(D.currentX=D.minX+1-(D.minX-D.currentX+1)**.8),D.currentX>D.maxX&&(D.currentX=D.maxX-1+(D.currentX-D.maxX+1)**.8),D.currentY<D.minY&&(D.currentY=D.minY+1-(D.minY-D.currentY+1)**.8),D.currentY>D.maxY&&(D.currentY=D.maxY-1+(D.currentY-D.maxY+1)**.8),$.prevPositionX||($.prevPositionX=D.touchesCurrent.x),$.prevPositionY||($.prevPositionY=D.touchesCurrent.y),$.prevTime||($.prevTime=Date.now()),$.x=(D.touchesCurrent.x-$.prevPositionX)/(Date.now()-$.prevTime)/2,$.y=(D.touchesCurrent.y-$.prevPositionY)/(Date.now()-$.prevTime)/2,Math.abs(D.touchesCurrent.x-$.prevPositionX)<2&&($.x=0),Math.abs(D.touchesCurrent.y-$.prevPositionY)<2&&($.y=0),$.prevPositionX=D.touchesCurrent.x,$.prevPositionY=D.touchesCurrent.y,$.prevTime=Date.now(),T.imageWrapEl.style.transform=`translate3d(${D.currentX}px, ${D.currentY}px,0)`}function Ft(){const Ne=o.zoom;T.slideEl&&o.activeIndex!==o.slides.indexOf(T.slideEl)&&(T.imageEl&&(T.imageEl.style.transform="translate3d(0,0,0) scale(1)"),T.imageWrapEl&&(T.imageWrapEl.style.transform="translate3d(0,0,0)"),T.slideEl.classList.remove(`${o.params.zoom.zoomedSlideClass}`),Ne.scale=1,u=1,T.slideEl=void 0,T.imageEl=void 0,T.imageWrapEl=void 0,T.originX=0,T.originY=0)}function ct(Ne){const Ze=o.zoom,Qe=o.params.zoom;if(!T.slideEl){Ne&&Ne.target&&(T.slideEl=Ne.target.closest(`.${o.params.slideClass}, swiper-slide`)),T.slideEl||(T.slideEl=o.params.virtual&&o.params.virtual.enabled&&o.virtual?pi(o.slidesEl,`.${o.params.slideActiveClass}`)[0]:o.slides[o.activeIndex]);let Bf=T.slideEl.querySelector(`.${Qe.containerClass}`);Bf&&(Bf=Bf.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),T.imageEl=Bf,T.imageWrapEl=Bf?Mc(T.imageEl,`.${Qe.containerClass}`)[0]:void 0}if(!T.imageEl||!T.imageWrapEl)return;let Zt,Hn,No,en,cn,ki,na,er,Aa,Ri,kc,yu,L1,F1,t3,n3,o3,r3;o.params.cssMode&&(o.wrapperEl.style.overflow="hidden",o.wrapperEl.style.touchAction="none"),T.slideEl.classList.add(`${Qe.zoomedSlideClass}`),typeof D.touchesStart.x>"u"&&Ne?(Zt=Ne.pageX,Hn=Ne.pageY):(Zt=D.touchesStart.x,Hn=D.touchesStart.y);const Ff="number"==typeof Ne?Ne:null;1===u&&Ff&&(Zt=void 0,Hn=void 0),Ze.scale=Ff||T.imageWrapEl.getAttribute("data-swiper-zoom")||Qe.maxRatio,u=Ff||T.imageWrapEl.getAttribute("data-swiper-zoom")||Qe.maxRatio,!Ne||1===u&&Ff?(na=0,er=0):(o3=T.slideEl.offsetWidth,r3=T.slideEl.offsetHeight,No=v1(T.slideEl).left+s.scrollX,en=v1(T.slideEl).top+s.scrollY,cn=No+o3/2-Zt,ki=en+r3/2-Hn,Aa=T.imageEl.offsetWidth,Ri=T.imageEl.offsetHeight,kc=Aa*Ze.scale,yu=Ri*Ze.scale,L1=Math.min(o3/2-kc/2,0),F1=Math.min(r3/2-yu/2,0),t3=-L1,n3=-F1,na=cn*Ze.scale,er=ki*Ze.scale,na<L1&&(na=L1),na>t3&&(na=t3),er<F1&&(er=F1),er>n3&&(er=n3)),Ff&&1===Ze.scale&&(T.originX=0,T.originY=0),T.imageWrapEl.style.transitionDuration="300ms",T.imageWrapEl.style.transform=`translate3d(${na}px, ${er}px,0)`,T.imageEl.style.transitionDuration="300ms",T.imageEl.style.transform=`translate3d(0,0,0) scale(${Ze.scale})`}function tt(){const Ne=o.zoom,Ze=o.params.zoom;if(!T.slideEl){T.slideEl=o.params.virtual&&o.params.virtual.enabled&&o.virtual?pi(o.slidesEl,`.${o.params.slideActiveClass}`)[0]:o.slides[o.activeIndex];let Qe=T.slideEl.querySelector(`.${Ze.containerClass}`);Qe&&(Qe=Qe.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),T.imageEl=Qe,T.imageWrapEl=Qe?Mc(T.imageEl,`.${Ze.containerClass}`)[0]:void 0}!T.imageEl||!T.imageWrapEl||(o.params.cssMode&&(o.wrapperEl.style.overflow="",o.wrapperEl.style.touchAction=""),Ne.scale=1,u=1,T.imageWrapEl.style.transitionDuration="300ms",T.imageWrapEl.style.transform="translate3d(0,0,0)",T.imageEl.style.transitionDuration="300ms",T.imageEl.style.transform="translate3d(0,0,0) scale(1)",T.slideEl.classList.remove(`${Ze.zoomedSlideClass}`),T.slideEl=void 0,T.originX=0,T.originY=0)}function ot(Ne){const Ze=o.zoom;Ze.scale&&1!==Ze.scale?tt():ct(Ne)}function be(){return{passiveListener:!!o.params.passiveListeners&&{passive:!0,capture:!1},activeListenerWithCapture:!o.params.passiveListeners||{passive:!1,capture:!0}}}function Ke(){const Ne=o.zoom;if(Ne.enabled)return;Ne.enabled=!0;const{passiveListener:Ze,activeListenerWithCapture:Qe}=be();o.wrapperEl.addEventListener("pointerdown",ge,Ze),o.wrapperEl.addEventListener("pointermove",Fe,Qe),["pointerup","pointercancel","pointerout"].forEach(Zt=>{o.wrapperEl.addEventListener(Zt,He,Ze)}),o.wrapperEl.addEventListener("pointermove",lt,Qe)}function We(){const Ne=o.zoom;if(!Ne.enabled)return;Ne.enabled=!1;const{passiveListener:Ze,activeListenerWithCapture:Qe}=be();o.wrapperEl.removeEventListener("pointerdown",ge,Ze),o.wrapperEl.removeEventListener("pointermove",Fe,Qe),["pointerup","pointercancel","pointerout"].forEach(Zt=>{o.wrapperEl.removeEventListener(Zt,He,Ze)}),o.wrapperEl.removeEventListener("pointermove",lt,Qe)}Object.defineProperty(o.zoom,"scale",{get:()=>x,set(Ne){x!==Ne&&i("zoomChange",Ne,T.imageEl,T.slideEl),x=Ne}}),r("init",()=>{o.params.zoom.enabled&&Ke()}),r("destroy",()=>{We()}),r("touchStart",(Ne,Ze)=>{o.zoom.enabled&&function ze(Ne){if(!T.imageEl||D.isTouched)return;o.device.android&&Ne.cancelable&&Ne.preventDefault(),D.isTouched=!0;const Qe=S.length>0?S[0]:Ne;D.touchesStart.x=Qe.pageX,D.touchesStart.y=Qe.pageY}(Ze)}),r("touchEnd",(Ne,Ze)=>{o.zoom.enabled&&function Le(){const Ne=o.zoom;if(!T.imageEl)return;if(!D.isTouched||!D.isMoved)return D.isTouched=!1,void(D.isMoved=!1);D.isTouched=!1,D.isMoved=!1;let Ze=300,Qe=300;const Hn=D.currentX+$.x*Ze,en=D.currentY+$.y*Qe;0!==$.x&&(Ze=Math.abs((Hn-D.currentX)/$.x)),0!==$.y&&(Qe=Math.abs((en-D.currentY)/$.y));const cn=Math.max(Ze,Qe);D.currentX=Hn,D.currentY=en;const na=D.height*Ne.scale;D.minX=Math.min(T.slideWidth/2-D.width*Ne.scale/2,0),D.maxX=-D.minX,D.minY=Math.min(T.slideHeight/2-na/2,0),D.maxY=-D.minY,D.currentX=Math.max(Math.min(D.currentX,D.maxX),D.minX),D.currentY=Math.max(Math.min(D.currentY,D.maxY),D.minY),T.imageWrapEl.style.transitionDuration=`${cn}ms`,T.imageWrapEl.style.transform=`translate3d(${D.currentX}px, ${D.currentY}px,0)`}()}),r("doubleTap",(Ne,Ze)=>{!o.animating&&o.params.zoom.enabled&&o.zoom.enabled&&o.params.zoom.toggle&&ot(Ze)}),r("transitionEnd",()=>{o.zoom.enabled&&o.params.zoom.enabled&&Ft()}),r("slideChange",()=>{o.zoom.enabled&&o.params.zoom.enabled&&o.params.cssMode&&Ft()}),Object.assign(o.zoom,{enable:Ke,disable:We,in:ct,out:tt,toggle:ot})},function bae(n){let{swiper:o,extendParams:t,on:r}=n;function i(v,S){const T=function(){let k,B,G;return(L,H)=>{for(B=-1,k=L.length;k-B>1;)G=k+B>>1,L[G]<=H?B=G:k=G;return k}}();let D,$;return this.x=v,this.y=S,this.lastIndex=v.length-1,this.interpolate=function(k){return k?($=T(this.x,k),D=$-1,(k-this.x[D])*(this.y[$]-this.y[D])/(this.x[$]-this.x[D])+this.y[D]):0},this}function m(){o.controller.control&&o.controller.spline&&(o.controller.spline=void 0,delete o.controller.spline)}t({controller:{control:void 0,inverse:!1,by:"slide"}}),o.controller={control:void 0},r("beforeInit",()=>{if(typeof window<"u"&&("string"==typeof o.params.controller.control||o.params.controller.control instanceof HTMLElement)){const v=document.querySelector(o.params.controller.control);if(v&&v.swiper)o.controller.control=v.swiper;else if(v){const S=T=>{o.controller.control=T.detail[0],o.update(),v.removeEventListener("init",S)};v.addEventListener("init",S)}}else o.controller.control=o.params.controller.control}),r("update",()=>{m()}),r("resize",()=>{m()}),r("observerUpdate",()=>{m()}),r("setTranslate",(v,S,T)=>{!o.controller.control||o.controller.control.destroyed||o.controller.setTranslate(S,T)}),r("setTransition",(v,S,T)=>{!o.controller.control||o.controller.control.destroyed||o.controller.setTransition(S,T)}),Object.assign(o.controller,{setTranslate:function u(v,S){const T=o.controller.control;let D,$;const x=o.constructor;function k(B){if(B.destroyed)return;const G=o.rtlTranslate?-o.translate:o.translate;"slide"===o.params.controller.by&&(function s(v){o.controller.spline=o.params.loop?new i(o.slidesGrid,v.slidesGrid):new i(o.snapGrid,v.snapGrid)}(B),$=-o.controller.spline.interpolate(-G)),(!$||"container"===o.params.controller.by)&&(D=(B.maxTranslate()-B.minTranslate())/(o.maxTranslate()-o.minTranslate()),(Number.isNaN(D)||!Number.isFinite(D))&&(D=1),$=(G-o.minTranslate())*D+B.minTranslate()),o.params.controller.inverse&&($=B.maxTranslate()-$),B.updateProgress($),B.setTranslate($,o),B.updateActiveIndex(),B.updateSlidesClasses()}if(Array.isArray(T))for(let B=0;B<T.length;B+=1)T[B]!==S&&T[B]instanceof x&&k(T[B]);else T instanceof x&&S!==T&&k(T)},setTransition:function p(v,S){const T=o.constructor,D=o.controller.control;let $;function x(k){k.destroyed||(k.setTransition(v,o),0!==v&&(k.transitionStart(),k.params.autoHeight&&Dc(()=>{k.updateAutoHeight()}),Af(k.wrapperEl,()=>{D&&k.transitionEnd()})))}if(Array.isArray(D))for($=0;$<D.length;$+=1)D[$]!==S&&D[$]instanceof T&&x(D[$]);else D instanceof T&&S!==D&&x(D)}})},function Sae(n){let{swiper:o,extendParams:t,on:r}=n;t({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null}}),o.a11y={clicked:!1};let i=null;function s(be){const Ke=i;0!==Ke.length&&(Ke.innerHTML="",Ke.innerHTML=be)}const u=be=>(Array.isArray(be)?be:[be]).filter(Ke=>!!Ke);function m(be){(be=u(be)).forEach(Ke=>{Ke.setAttribute("tabIndex","0")})}function v(be){(be=u(be)).forEach(Ke=>{Ke.setAttribute("tabIndex","-1")})}function S(be,Ke){(be=u(be)).forEach(We=>{We.setAttribute("role",Ke)})}function T(be,Ke){(be=u(be)).forEach(We=>{We.setAttribute("aria-roledescription",Ke)})}function $(be,Ke){(be=u(be)).forEach(We=>{We.setAttribute("aria-label",Ke)})}function B(be){(be=u(be)).forEach(Ke=>{Ke.setAttribute("aria-disabled",!0)})}function G(be){(be=u(be)).forEach(Ke=>{Ke.setAttribute("aria-disabled",!1)})}function L(be){if(13!==be.keyCode&&32!==be.keyCode)return;const Ke=o.params.a11y,We=be.target;o.pagination&&o.pagination.el&&(We===o.pagination.el||o.pagination.el.contains(be.target))&&!be.target.matches(Ll(o.params.pagination.bulletClass))||(o.navigation&&o.navigation.nextEl&&We===o.navigation.nextEl&&(o.isEnd&&!o.params.loop||o.slideNext(),s(o.isEnd?Ke.lastSlideMessage:Ke.nextSlideMessage)),o.navigation&&o.navigation.prevEl&&We===o.navigation.prevEl&&(o.isBeginning&&!o.params.loop||o.slidePrev(),s(o.isBeginning?Ke.firstSlideMessage:Ke.prevSlideMessage)),o.pagination&&We.matches(Ll(o.params.pagination.bulletClass))&&We.click())}function ge(){return o.pagination&&o.pagination.bullets&&o.pagination.bullets.length}function Fe(){return ge()&&o.params.pagination.clickable}const ze=(be,Ke,We)=>{m(be),"BUTTON"!==be.tagName&&(S(be,"button"),be.addEventListener("keydown",L)),$(be,We),function D(be,Ke){(be=u(be)).forEach(We=>{We.setAttribute("aria-controls",Ke)})}(be,Ke)},lt=()=>{o.a11y.clicked=!0},Le=()=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{o.destroyed||(o.a11y.clicked=!1)})})},Ft=be=>{if(o.a11y.clicked)return;const Ke=be.target.closest(`.${o.params.slideClass}, swiper-slide`);if(!Ke||!o.slides.includes(Ke))return;const We=o.slides.indexOf(Ke)===o.activeIndex,Ne=o.params.watchSlidesProgress&&o.visibleSlides&&o.visibleSlides.includes(Ke);We||Ne||be.sourceCapabilities&&be.sourceCapabilities.firesTouchEvents||(o.isHorizontal()?o.el.scrollLeft=0:o.el.scrollTop=0,o.slideTo(o.slides.indexOf(Ke),0))},ct=()=>{const be=o.params.a11y;be.itemRoleDescriptionMessage&&T(o.slides,be.itemRoleDescriptionMessage),be.slideRole&&S(o.slides,be.slideRole);const Ke=o.slides.length;be.slideLabelMessage&&o.slides.forEach((We,Ne)=>{const Ze=o.params.loop?parseInt(We.getAttribute("data-swiper-slide-index"),10):Ne;$(We,be.slideLabelMessage.replace(/\{\{index\}\}/,Ze+1).replace(/\{\{slidesLength\}\}/,Ke))})};r("beforeInit",()=>{i=Js("span",o.params.a11y.notificationClass),i.setAttribute("aria-live","assertive"),i.setAttribute("aria-atomic","true")}),r("afterInit",()=>{o.params.a11y.enabled&&(()=>{const be=o.params.a11y;o.el.append(i);const Ke=o.el;be.containerRoleDescriptionMessage&&T(Ke,be.containerRoleDescriptionMessage),be.containerMessage&&$(Ke,be.containerMessage);const We=o.wrapperEl,Ne=be.id||We.getAttribute("id")||`swiper-wrapper-${function p(be){return void 0===be&&(be=16),"x".repeat(be).replace(/x/g,()=>Math.round(16*Math.random()).toString(16))}(16)}`,Ze=o.params.autoplay&&o.params.autoplay.enabled?"off":"polite";(function x(be,Ke){(be=u(be)).forEach(We=>{We.setAttribute("id",Ke)})})(We,Ne),function k(be,Ke){(be=u(be)).forEach(We=>{We.setAttribute("aria-live",Ke)})}(We,Ze),ct();let{nextEl:Qe,prevEl:Zt}=o.navigation?o.navigation:{};Qe=u(Qe),Zt=u(Zt),Qe&&Qe.forEach(Hn=>ze(Hn,Ne,be.nextSlideMessage)),Zt&&Zt.forEach(Hn=>ze(Hn,Ne,be.prevSlideMessage)),Fe()&&(Array.isArray(o.pagination.el)?o.pagination.el:[o.pagination.el]).forEach(No=>{No.addEventListener("keydown",L)}),o.el.addEventListener("focus",Ft,!0),o.el.addEventListener("pointerdown",lt,!0),o.el.addEventListener("pointerup",Le,!0)})()}),r("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{o.params.a11y.enabled&&ct()}),r("fromEdge toEdge afterInit lock unlock",()=>{o.params.a11y.enabled&&function H(){if(o.params.loop||o.params.rewind||!o.navigation)return;const{nextEl:be,prevEl:Ke}=o.navigation;Ke&&(o.isBeginning?(B(Ke),v(Ke)):(G(Ke),m(Ke))),be&&(o.isEnd?(B(be),v(be)):(G(be),m(be)))}()}),r("paginationUpdate",()=>{o.params.a11y.enabled&&function He(){const be=o.params.a11y;ge()&&o.pagination.bullets.forEach(Ke=>{o.params.pagination.clickable&&(m(Ke),o.params.pagination.renderBullet||(S(Ke,"button"),$(Ke,be.paginationBulletMessage.replace(/\{\{index\}\}/,$f(Ke)+1)))),Ke.matches(Ll(o.params.pagination.bulletActiveClass))?Ke.setAttribute("aria-current","true"):Ke.removeAttribute("aria-current")})}()}),r("destroy",()=>{o.params.a11y.enabled&&function ot(){i&&i.remove();let{nextEl:be,prevEl:Ke}=o.navigation?o.navigation:{};be=u(be),Ke=u(Ke),be&&be.forEach(We=>We.removeEventListener("keydown",L)),Ke&&Ke.forEach(We=>We.removeEventListener("keydown",L)),Fe()&&(Array.isArray(o.pagination.el)?o.pagination.el:[o.pagination.el]).forEach(Ne=>{Ne.removeEventListener("keydown",L)}),o.el.removeEventListener("focus",Ft,!0),o.el.removeEventListener("pointerdown",lt,!0),o.el.removeEventListener("pointerup",Le,!0)}()})},function Cae(n){let{swiper:o,extendParams:t,on:r}=n;t({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let i=!1,s={};const u=$=>$.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),p=$=>{const x=fr();let k;k=$?new URL($):x.location;const B=k.pathname.slice(1).split("/").filter(ge=>""!==ge),G=B.length;return{key:B[G-2],value:B[G-1]}},m=($,x)=>{const k=fr();if(!i||!o.params.history.enabled)return;let B;B=o.params.url?new URL(o.params.url):k.location;let L=u(o.slides[x].getAttribute("data-history"));if(o.params.history.root.length>0){let ge=o.params.history.root;"/"===ge[ge.length-1]&&(ge=ge.slice(0,ge.length-1)),L=`${ge}/${$?`${$}/`:""}${L}`}else B.pathname.includes($)||(L=`${$?`${$}/`:""}${L}`);o.params.history.keepQuery&&(L+=B.search);const H=k.history.state;H&&H.value===L||(o.params.history.replaceState?k.history.replaceState({value:L},null,L):k.history.pushState({value:L},null,L))},v=($,x,k)=>{if(x)for(let B=0,G=o.slides.length;B<G;B+=1){const L=o.slides[B];if(u(L.getAttribute("data-history"))===x){const ge=o.getSlideIndex(L);o.slideTo(ge,$,k)}}else o.slideTo(0,$,k)},S=()=>{s=p(o.params.url),v(o.params.speed,s.value,!1)};r("init",()=>{o.params.history.enabled&&(()=>{const $=fr();if(o.params.history){if(!$.history||!$.history.pushState)return o.params.history.enabled=!1,void(o.params.hashNavigation.enabled=!0);if(i=!0,s=p(o.params.url),!s.key&&!s.value)return void(o.params.history.replaceState||$.addEventListener("popstate",S));v(0,s.value,o.params.runCallbacksOnInit),o.params.history.replaceState||$.addEventListener("popstate",S)}})()}),r("destroy",()=>{o.params.history.enabled&&(()=>{const $=fr();o.params.history.replaceState||$.removeEventListener("popstate",S)})()}),r("transitionEnd _freeModeNoMomentumRelease",()=>{i&&m(o.params.history.key,o.activeIndex)}),r("slideChange",()=>{i&&o.params.cssMode&&m(o.params.history.key,o.activeIndex)})},function Tae(n){let{swiper:o,extendParams:t,emit:r,on:i}=n,s=!1;const u=Si(),p=fr();t({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1,getSlideIndex(D,$){if(o.virtual&&o.params.virtual.enabled){const x=o.slides.filter(B=>B.getAttribute("data-hash")===$)[0];return x?parseInt(x.getAttribute("data-swiper-slide-index"),10):0}return o.getSlideIndex(pi(o.slidesEl,`.${o.params.slideClass}[data-hash="${$}"], swiper-slide[data-hash="${$}"]`)[0])}}});const m=()=>{r("hashChange");const D=u.location.hash.replace("#",""),$=o.virtual&&o.params.virtual.enabled?o.slidesEl.querySelector(`[data-swiper-slide-index="${o.activeIndex}"]`):o.slides[o.activeIndex];if(D!==($?$.getAttribute("data-hash"):"")){const k=o.params.hashNavigation.getSlideIndex(o,D);if(typeof k>"u"||Number.isNaN(k))return;o.slideTo(k)}},v=()=>{if(!s||!o.params.hashNavigation.enabled)return;const D=o.virtual&&o.params.virtual.enabled?o.slidesEl.querySelector(`[data-swiper-slide-index="${o.activeIndex}"]`):o.slides[o.activeIndex],$=D?D.getAttribute("data-hash")||D.getAttribute("data-history"):"";o.params.hashNavigation.replaceState&&p.history&&p.history.replaceState?(p.history.replaceState(null,null,`#${$}`||""),r("hashSet")):(u.location.hash=$||"",r("hashSet"))};i("init",()=>{o.params.hashNavigation.enabled&&(()=>{if(!o.params.hashNavigation.enabled||o.params.history&&o.params.history.enabled)return;s=!0;const D=u.location.hash.replace("#","");if(D){const x=o.params.hashNavigation.getSlideIndex(o,D);o.slideTo(x||0,0,o.params.runCallbacksOnInit,!0)}o.params.hashNavigation.watchState&&p.addEventListener("hashchange",m)})()}),i("destroy",()=>{o.params.hashNavigation.enabled&&o.params.hashNavigation.watchState&&p.removeEventListener("hashchange",m)}),i("transitionEnd _freeModeNoMomentumRelease",()=>{s&&v()}),i("slideChange",()=>{s&&o.params.cssMode&&v()})},function wae(n){let{swiper:o,extendParams:t,on:r,emit:i,params:s}=n;o.autoplay={running:!1,paused:!1,timeLeft:0},t({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let u,p,S,D,$,x,k,B,G,m=s&&s.autoplay?s.autoplay.delay:3e3,v=s&&s.autoplay?s.autoplay.delay:3e3,T=(new Date).getTime;function L(Ne){!o||o.destroyed||!o.wrapperEl||Ne.target===o.wrapperEl&&(o.wrapperEl.removeEventListener("transitionend",L),Le())}const H=()=>{if(o.destroyed||!o.autoplay.running)return;o.autoplay.paused?D=!0:D&&(v=S,D=!1);const Ne=o.autoplay.paused?S:T+v-(new Date).getTime();o.autoplay.timeLeft=Ne,i("autoplayTimeLeft",Ne,Ne/m),p=requestAnimationFrame(()=>{H()})},Fe=Ne=>{if(o.destroyed||!o.autoplay.running)return;cancelAnimationFrame(p),H();let Ze=typeof Ne>"u"?o.params.autoplay.delay:Ne;m=o.params.autoplay.delay,v=o.params.autoplay.delay;const Qe=(()=>{let Ne;return Ne=o.virtual&&o.params.virtual.enabled?o.slides.filter(Qe=>Qe.classList.contains("swiper-slide-active"))[0]:o.slides[o.activeIndex],Ne?parseInt(Ne.getAttribute("data-swiper-autoplay"),10):void 0})();!Number.isNaN(Qe)&&Qe>0&&typeof Ne>"u"&&(Ze=Qe,m=Qe,v=Qe),S=Ze;const Zt=o.params.speed,Hn=()=>{!o||o.destroyed||(o.params.autoplay.reverseDirection?!o.isBeginning||o.params.loop||o.params.rewind?(o.slidePrev(Zt,!0,!0),i("autoplay")):o.params.autoplay.stopOnLastSlide||(o.slideTo(o.slides.length-1,Zt,!0,!0),i("autoplay")):!o.isEnd||o.params.loop||o.params.rewind?(o.slideNext(Zt,!0,!0),i("autoplay")):o.params.autoplay.stopOnLastSlide||(o.slideTo(0,Zt,!0,!0),i("autoplay")),o.params.cssMode&&(T=(new Date).getTime(),requestAnimationFrame(()=>{Fe()})))};return Ze>0?(clearTimeout(u),u=setTimeout(()=>{Hn()},Ze)):requestAnimationFrame(()=>{Hn()}),Ze},He=()=>{o.autoplay.running=!0,Fe(),i("autoplayStart")},ze=()=>{o.autoplay.running=!1,clearTimeout(u),cancelAnimationFrame(p),i("autoplayStop")},lt=(Ne,Ze)=>{if(o.destroyed||!o.autoplay.running)return;clearTimeout(u),Ne||(G=!0);const Qe=()=>{i("autoplayPause"),o.params.autoplay.waitForTransition?o.wrapperEl.addEventListener("transitionend",L):Le()};if(o.autoplay.paused=!0,Ze)return B&&(S=o.params.autoplay.delay),B=!1,void Qe();S=(S||o.params.autoplay.delay)-((new Date).getTime()-T),(!(o.isEnd&&S<0)||o.params.loop)&&(S<0&&(S=0),Qe())},Le=()=>{o.isEnd&&S<0&&!o.params.loop||o.destroyed||!o.autoplay.running||(T=(new Date).getTime(),G?(G=!1,Fe(S)):Fe(),o.autoplay.paused=!1,i("autoplayResume"))},Ft=()=>{if(o.destroyed||!o.autoplay.running)return;const Ne=Si();"hidden"===Ne.visibilityState&&(G=!0,lt(!0)),"visible"===Ne.visibilityState&&Le()},ct=Ne=>{"mouse"===Ne.pointerType&&(G=!0,!o.animating&&!o.autoplay.paused&&lt(!0))},tt=Ne=>{"mouse"===Ne.pointerType&&o.autoplay.paused&&Le()};r("init",()=>{o.params.autoplay.enabled&&(o.params.autoplay.pauseOnMouseEnter&&(o.el.addEventListener("pointerenter",ct),o.el.addEventListener("pointerleave",tt)),Si().addEventListener("visibilitychange",Ft),T=(new Date).getTime(),He())}),r("destroy",()=>{o.el.removeEventListener("pointerenter",ct),o.el.removeEventListener("pointerleave",tt),Si().removeEventListener("visibilitychange",Ft),o.autoplay.running&&ze()}),r("beforeTransitionStart",(Ne,Ze,Qe)=>{o.destroyed||!o.autoplay.running||(Qe||!o.params.autoplay.disableOnInteraction?lt(!0,!0):ze())}),r("sliderFirstMove",()=>{if(!o.destroyed&&o.autoplay.running){if(o.params.autoplay.disableOnInteraction)return void ze();$=!0,x=!1,G=!1,k=setTimeout(()=>{G=!0,x=!0,lt(!0)},200)}}),r("touchEnd",()=>{if(!o.destroyed&&o.autoplay.running&&$){if(clearTimeout(k),clearTimeout(u),o.params.autoplay.disableOnInteraction)return x=!1,void($=!1);x&&o.params.cssMode&&Le(),x=!1,$=!1}}),r("slideChange",()=>{o.destroyed||!o.autoplay.running||(B=!0)}),Object.assign(o.autoplay,{start:He,stop:ze,pause:lt,resume:Le})},function Eae(n){let{swiper:o,extendParams:t,on:r}=n;t({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let i=!1,s=!1;function u(){const v=o.thumbs.swiper;if(!v||v.destroyed)return;const S=v.clickedIndex,T=v.clickedSlide;if(T&&T.classList.contains(o.params.thumbs.slideThumbActiveClass)||typeof S>"u"||null===S)return;let D;D=v.params.loop?parseInt(v.clickedSlide.getAttribute("data-swiper-slide-index"),10):S,o.params.loop?o.slideToLoop(D):o.slideTo(D)}function p(){const{thumbs:v}=o.params;if(i)return!1;i=!0;const S=o.constructor;if(v.swiper instanceof S)o.thumbs.swiper=v.swiper,Object.assign(o.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(o.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}),o.thumbs.swiper.update();else if(Pf(v.swiper)){const T=Object.assign({},v.swiper);Object.assign(T,{watchSlidesProgress:!0,slideToClickedSlide:!1}),o.thumbs.swiper=new S(T),s=!0}return o.thumbs.swiper.el.classList.add(o.params.thumbs.thumbsContainerClass),o.thumbs.swiper.on("tap",u),!0}function m(v){const S=o.thumbs.swiper;if(!S||S.destroyed)return;const T="auto"===S.params.slidesPerView?S.slidesPerViewDynamic():S.params.slidesPerView;let D=1;const $=o.params.thumbs.slideThumbActiveClass;if(o.params.slidesPerView>1&&!o.params.centeredSlides&&(D=o.params.slidesPerView),o.params.thumbs.multipleActiveThumbs||(D=1),D=Math.floor(D),S.slides.forEach(B=>B.classList.remove($)),S.params.loop||S.params.virtual&&S.params.virtual.enabled)for(let B=0;B<D;B+=1)pi(S.slidesEl,`[data-swiper-slide-index="${o.realIndex+B}"]`).forEach(G=>{G.classList.add($)});else for(let B=0;B<D;B+=1)S.slides[o.realIndex+B]&&S.slides[o.realIndex+B].classList.add($);const x=o.params.thumbs.autoScrollOffset,k=x&&!S.params.loop;if(o.realIndex!==S.realIndex||k){const B=S.activeIndex;let G,L;if(S.params.loop){const H=S.slides.filter(ge=>ge.getAttribute("data-swiper-slide-index")===`${o.realIndex}`)[0];G=S.slides.indexOf(H),L=o.activeIndex>o.previousIndex?"next":"prev"}else G=o.realIndex,L=G>o.previousIndex?"next":"prev";k&&(G+="next"===L?x:-1*x),S.visibleSlidesIndexes&&S.visibleSlidesIndexes.indexOf(G)<0&&(S.params.centeredSlides&&(G=G>B?G-Math.floor(T/2)+1:G+Math.floor(T/2)-1),S.slideTo(G,v?0:void 0))}}o.thumbs={swiper:null},r("beforeInit",()=>{const{thumbs:v}=o.params;if(v&&v.swiper)if("string"==typeof v.swiper||v.swiper instanceof HTMLElement){const S=Si(),T=()=>{const $="string"==typeof v.swiper?S.querySelector(v.swiper):v.swiper;if($&&$.swiper)v.swiper=$.swiper,p(),m(!0);else if($){const x=k=>{v.swiper=k.detail[0],$.removeEventListener("init",x),p(),m(!0),v.swiper.update(),o.update()};$.addEventListener("init",x)}return $},D=()=>{o.destroyed||T()||requestAnimationFrame(D)};requestAnimationFrame(D)}else p(),m(!0)}),r("slideChange update resize observerUpdate",()=>{m()}),r("setTransition",(v,S)=>{const T=o.thumbs.swiper;!T||T.destroyed||T.setTransition(S)}),r("beforeDestroy",()=>{const v=o.thumbs.swiper;!v||v.destroyed||s&&v.destroy()}),Object.assign(o.thumbs,{init:p,update:m})},function Iae(n){let{swiper:o,extendParams:t,emit:r,once:i}=n;t({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}}),Object.assign(o,{freeMode:{onTouchStart:function s(){if(o.params.cssMode)return;const m=o.getTranslate();o.setTranslate(m),o.setTransition(0),o.touchEventsData.velocities.length=0,o.freeMode.onTouchEnd({currentPos:o.rtl?o.translate:-o.translate})},onTouchMove:function u(){if(o.params.cssMode)return;const{touchEventsData:m,touches:v}=o;0===m.velocities.length&&m.velocities.push({position:v[o.isHorizontal()?"startX":"startY"],time:m.touchStartTime}),m.velocities.push({position:v[o.isHorizontal()?"currentX":"currentY"],time:Ds()})},onTouchEnd:function p(m){let{currentPos:v}=m;if(o.params.cssMode)return;const{params:S,wrapperEl:T,rtlTranslate:D,snapGrid:$,touchEventsData:x}=o,B=Ds()-x.touchStartTime;if(v<-o.minTranslate())o.slideTo(o.activeIndex);else if(v>-o.maxTranslate())o.slideTo(o.slides.length<$.length?$.length-1:o.slides.length-1);else{if(S.freeMode.momentum){if(x.velocities.length>1){const lt=x.velocities.pop(),Le=x.velocities.pop(),ct=lt.time-Le.time;o.velocity=(lt.position-Le.position)/ct,o.velocity/=2,Math.abs(o.velocity)<S.freeMode.minimumVelocity&&(o.velocity=0),(ct>150||Ds()-lt.time>300)&&(o.velocity=0)}else o.velocity=0;o.velocity*=S.freeMode.momentumVelocityRatio,x.velocities.length=0;let G=1e3*S.freeMode.momentumRatio,H=o.translate+o.velocity*G;D&&(H=-H);let Fe,ge=!1;const He=20*Math.abs(o.velocity)*S.freeMode.momentumBounceRatio;let ze;if(H<o.maxTranslate())S.freeMode.momentumBounce?(H+o.maxTranslate()<-He&&(H=o.maxTranslate()-He),Fe=o.maxTranslate(),ge=!0,x.allowMomentumBounce=!0):H=o.maxTranslate(),S.loop&&S.centeredSlides&&(ze=!0);else if(H>o.minTranslate())S.freeMode.momentumBounce?(H-o.minTranslate()>He&&(H=o.minTranslate()+He),Fe=o.minTranslate(),ge=!0,x.allowMomentumBounce=!0):H=o.minTranslate(),S.loop&&S.centeredSlides&&(ze=!0);else if(S.freeMode.sticky){let lt;for(let Le=0;Le<$.length;Le+=1)if($[Le]>-H){lt=Le;break}H=Math.abs($[lt]-H)<Math.abs($[lt-1]-H)||"next"===o.swipeDirection?$[lt]:$[lt-1],H=-H}if(ze&&i("transitionEnd",()=>{o.loopFix()}),0!==o.velocity){if(G=D?Math.abs((-H-o.translate)/o.velocity):Math.abs((H-o.translate)/o.velocity),S.freeMode.sticky){const lt=Math.abs((D?-H:H)-o.translate),Le=o.slidesSizesGrid[o.activeIndex];G=lt<Le?S.speed:lt<2*Le?1.5*S.speed:2.5*S.speed}}else if(S.freeMode.sticky)return void o.slideToClosest();S.freeMode.momentumBounce&&ge?(o.updateProgress(Fe),o.setTransition(G),o.setTranslate(H),o.transitionStart(!0,o.swipeDirection),o.animating=!0,Af(T,()=>{!o||o.destroyed||!x.allowMomentumBounce||(r("momentumBounce"),o.setTransition(S.speed),setTimeout(()=>{o.setTranslate(Fe),Af(T,()=>{!o||o.destroyed||o.transitionEnd()})},0))})):o.velocity?(r("_freeModeNoMomentumRelease"),o.updateProgress(H),o.setTransition(G),o.setTranslate(H),o.transitionStart(!0,o.swipeDirection),o.animating||(o.animating=!0,Af(T,()=>{!o||o.destroyed||o.transitionEnd()}))):o.updateProgress(H),o.updateActiveIndex(),o.updateSlidesClasses()}else{if(S.freeMode.sticky)return void o.slideToClosest();S.freeMode&&r("_freeModeNoMomentumRelease")}(!S.freeMode.momentum||B>=S.longSwipesMs)&&(o.updateProgress(),o.updateActiveIndex(),o.updateSlidesClasses())}}}})},function Dae(n){let i,s,u,p,{swiper:o,extendParams:t,on:r}=n;t({grid:{rows:1,fill:"column"}});const m=()=>{let x=o.params.spaceBetween;return"string"==typeof x&&x.indexOf("%")>=0?x=parseFloat(x.replace("%",""))/100*o.size:"string"==typeof x&&(x=parseFloat(x)),x};r("init",()=>{p=o.params.grid&&o.params.grid.rows>1}),r("update",()=>{const{params:x,el:k}=o,B=x.grid&&x.grid.rows>1;p&&!B?(k.classList.remove(`${x.containerModifierClass}grid`,`${x.containerModifierClass}grid-column`),u=1,o.emitContainerClasses()):!p&&B&&(k.classList.add(`${x.containerModifierClass}grid`),"column"===x.grid.fill&&k.classList.add(`${x.containerModifierClass}grid-column`),o.emitContainerClasses()),p=B}),o.grid={initSlides:x=>{const{slidesPerView:k}=o.params,{rows:B,fill:G}=o.params.grid;u=Math.floor(x/B),i=Math.floor(x/B)===x/B?x:Math.ceil(x/B)*B,"auto"!==k&&"row"===G&&(i=Math.max(i,k*B)),s=i/B},updateSlide:(x,k,B,G)=>{const{slidesPerGroup:L}=o.params,H=m(),{rows:ge,fill:Fe}=o.params.grid;let He,ze,lt;if("row"===Fe&&L>1){const Le=Math.floor(x/(L*ge)),Ft=x-ge*L*Le,ct=0===Le?L:Math.min(Math.ceil((B-Le*ge*L)/ge),L);lt=Math.floor(Ft/ct),ze=Ft-lt*ct+Le*L,He=ze+lt*i/ge,k.style.order=He}else"column"===Fe?(ze=Math.floor(x/ge),lt=x-ze*ge,(ze>u||ze===u&&lt===ge-1)&&(lt+=1,lt>=ge&&(lt=0,ze+=1))):(lt=Math.floor(x/s),ze=x-lt*s);k.row=lt,k.column=ze,k.style[G("margin-top")]=0!==lt?H&&`${H}px`:""},updateWrapperSize:(x,k,B)=>{const{centeredSlides:G,roundLengths:L}=o.params,H=m(),{rows:ge}=o.params.grid;if(o.virtualSize=(x+H)*i,o.virtualSize=Math.ceil(o.virtualSize/ge)-H,o.wrapperEl.style[B("width")]=`${o.virtualSize+H}px`,G){const Fe=[];for(let He=0;He<k.length;He+=1){let ze=k[He];L&&(ze=Math.floor(ze)),k[He]<o.virtualSize+k[0]&&Fe.push(ze)}k.splice(0,k.length),k.push(...Fe)}}}},function xae(n){let{swiper:o}=n;Object.assign(o,{appendSlide:Pae.bind(o),prependSlide:Mae.bind(o),addSlide:$ae.bind(o),removeSlide:Aae.bind(o),removeAllSlides:Nae.bind(o)})},function Oae(n){let{swiper:o,extendParams:t,on:r}=n;t({fadeEffect:{crossFade:!1}}),pu({effect:"fade",swiper:o,on:r,setTranslate:()=>{const{slides:u}=o;for(let m=0;m<u.length;m+=1){const v=o.slides[m];let T=-v.swiperSlideOffset;o.params.virtualTranslate||(T-=o.translate);let D=0;o.isHorizontal()||(D=T,T=0);const $=o.params.fadeEffect.crossFade?Math.max(1-Math.abs(v.progress),0):1+Math.min(Math.max(v.progress,-1),0),x=Nf(0,v);x.style.opacity=$,x.style.transform=`translate3d(${T}px, ${D}px, 0px)`}},setTransition:u=>{const p=o.slides.map(m=>Pc(m));p.forEach(m=>{m.style.transitionDuration=`${u}ms`}),b1({swiper:o,duration:u,transformElements:p,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!o.params.cssMode})})},function kae(n){let{swiper:o,extendParams:t,on:r}=n;t({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const i=(m,v,S)=>{let T=m.querySelector(S?".swiper-slide-shadow-left":".swiper-slide-shadow-top"),D=m.querySelector(S?".swiper-slide-shadow-right":".swiper-slide-shadow-bottom");T||(T=Js("div",("swiper-slide-shadow-cube swiper-slide-shadow-"+(S?"left":"top")).split(" ")),m.append(T)),D||(D=Js("div",("swiper-slide-shadow-cube swiper-slide-shadow-"+(S?"right":"bottom")).split(" ")),m.append(D)),T&&(T.style.opacity=Math.max(-v,0)),D&&(D.style.opacity=Math.max(v,0))};pu({effect:"cube",swiper:o,on:r,setTranslate:()=>{const{el:m,wrapperEl:v,slides:S,width:T,height:D,rtlTranslate:$,size:x,browser:k}=o,B=o.params.cubeEffect,G=o.isHorizontal(),L=o.virtual&&o.params.virtual.enabled;let ge,H=0;B.shadow&&(G?(ge=o.wrapperEl.querySelector(".swiper-cube-shadow"),ge||(ge=Js("div","swiper-cube-shadow"),o.wrapperEl.append(ge)),ge.style.height=`${T}px`):(ge=m.querySelector(".swiper-cube-shadow"),ge||(ge=Js("div","swiper-cube-shadow"),m.append(ge))));for(let He=0;He<S.length;He+=1){const ze=S[He];let lt=He;L&&(lt=parseInt(ze.getAttribute("data-swiper-slide-index"),10));let Le=90*lt,Ft=Math.floor(Le/360);$&&(Le=-Le,Ft=Math.floor(-Le/360));const ct=Math.max(Math.min(ze.progress,1),-1);let tt=0,ot=0,be=0;lt%4==0?(tt=4*-Ft*x,be=0):(lt-1)%4==0?(tt=0,be=4*-Ft*x):(lt-2)%4==0?(tt=x+4*Ft*x,be=x):(lt-3)%4==0&&(tt=-x,be=3*x+4*x*Ft),$&&(tt=-tt),G||(ot=tt,tt=0),ct<=1&&ct>-1&&(H=90*lt+90*ct,$&&(H=90*-lt-90*ct)),ze.style.transform=`rotateX(${G?0:-Le}deg) rotateY(${G?Le:0}deg) translate3d(${tt}px, ${ot}px, ${be}px)`,B.slideShadows&&i(ze,ct,G)}if(v.style.transformOrigin=`50% 50% -${x/2}px`,v.style["-webkit-transform-origin"]=`50% 50% -${x/2}px`,B.shadow)if(G)ge.style.transform=`translate3d(0px, ${T/2+B.shadowOffset}px, ${-T/2}px) rotateX(90deg) rotateZ(0deg) scale(${B.shadowScale})`;else{const He=Math.abs(H)-90*Math.floor(Math.abs(H)/90),ze=1.5-(Math.sin(2*He*Math.PI/360)/2+Math.cos(2*He*Math.PI/360)/2),Le=B.shadowScale/ze;ge.style.transform=`scale3d(${B.shadowScale}, 1, ${Le}) translate3d(0px, ${D/2+B.shadowOffset}px, ${-D/2/Le}px) rotateX(-90deg)`}const Fe=(k.isSafari||k.isWebView)&&k.needPerspectiveFix?-x/2:0;v.style.transform=`translate3d(0px,0,${Fe}px) rotateX(${o.isHorizontal()?0:H}deg) rotateY(${o.isHorizontal()?-H:0}deg)`,v.style.setProperty("--swiper-cube-translate-z",`${Fe}px`)},setTransition:m=>{const{el:v,slides:S}=o;if(S.forEach(T=>{T.style.transitionDuration=`${m}ms`,T.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(D=>{D.style.transitionDuration=`${m}ms`})}),o.params.cubeEffect.shadow&&!o.isHorizontal()){const T=v.querySelector(".swiper-cube-shadow");T&&(T.style.transitionDuration=`${m}ms`)}},recreateShadows:()=>{const m=o.isHorizontal();o.slides.forEach(v=>{const S=Math.max(Math.min(v.progress,1),-1);i(v,S,m)})},getEffectParams:()=>o.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})},function Rae(n){let{swiper:o,extendParams:t,on:r}=n;t({flipEffect:{slideShadows:!0,limitRotation:!0}});const i=(m,v)=>{let S=o.isHorizontal()?m.querySelector(".swiper-slide-shadow-left"):m.querySelector(".swiper-slide-shadow-top"),T=o.isHorizontal()?m.querySelector(".swiper-slide-shadow-right"):m.querySelector(".swiper-slide-shadow-bottom");S||(S=hu("flip",m,o.isHorizontal()?"left":"top")),T||(T=hu("flip",m,o.isHorizontal()?"right":"bottom")),S&&(S.style.opacity=Math.max(-v,0)),T&&(T.style.opacity=Math.max(v,0))};pu({effect:"flip",swiper:o,on:r,setTranslate:()=>{const{slides:m,rtlTranslate:v}=o,S=o.params.flipEffect;for(let T=0;T<m.length;T+=1){const D=m[T];let $=D.progress;o.params.flipEffect.limitRotation&&($=Math.max(Math.min(D.progress,1),-1));const x=D.swiperSlideOffset;let B=-180*$,G=0,L=o.params.cssMode?-x-o.translate:-x,H=0;o.isHorizontal()?v&&(B=-B):(H=L,L=0,G=-B,B=0),D.style.zIndex=-Math.abs(Math.round($))+m.length,S.slideShadows&&i(D,$);const ge=`translate3d(${L}px, ${H}px, 0px) rotateX(${G}deg) rotateY(${B}deg)`;Nf(0,D).style.transform=ge}},setTransition:m=>{const v=o.slides.map(S=>Pc(S));v.forEach(S=>{S.style.transitionDuration=`${m}ms`,S.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(T=>{T.style.transitionDuration=`${m}ms`})}),b1({swiper:o,duration:m,transformElements:v})},recreateShadows:()=>{o.slides.forEach(m=>{let v=m.progress;o.params.flipEffect.limitRotation&&(v=Math.max(Math.min(m.progress,1),-1)),i(m,v)})},getEffectParams:()=>o.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!o.params.cssMode})})},function Lae(n){let{swiper:o,extendParams:t,on:r}=n;t({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),pu({effect:"coverflow",swiper:o,on:r,setTranslate:()=>{const{width:u,height:p,slides:m,slidesSizesGrid:v}=o,S=o.params.coverflowEffect,T=o.isHorizontal(),D=o.translate,$=T?u/2-D:p/2-D,x=T?S.rotate:-S.rotate,k=S.depth;for(let B=0,G=m.length;B<G;B+=1){const L=m[B],H=v[B],Fe=($-L.swiperSlideOffset-H/2)/H,He="function"==typeof S.modifier?S.modifier(Fe):Fe*S.modifier;let ze=T?x*He:0,lt=T?0:x*He,Le=-k*Math.abs(He),Ft=S.stretch;"string"==typeof Ft&&-1!==Ft.indexOf("%")&&(Ft=parseFloat(S.stretch)/100*H);let ct=T?0:Ft*He,tt=T?Ft*He:0,ot=1-(1-S.scale)*Math.abs(He);Math.abs(tt)<.001&&(tt=0),Math.abs(ct)<.001&&(ct=0),Math.abs(Le)<.001&&(Le=0),Math.abs(ze)<.001&&(ze=0),Math.abs(lt)<.001&&(lt=0),Math.abs(ot)<.001&&(ot=0);const be=`translate3d(${tt}px,${ct}px,${Le}px)  rotateX(${lt}deg) rotateY(${ze}deg) scale(${ot})`;if(Nf(0,L).style.transform=be,L.style.zIndex=1-Math.abs(Math.round(He)),S.slideShadows){let We=L.querySelector(T?".swiper-slide-shadow-left":".swiper-slide-shadow-top"),Ne=L.querySelector(T?".swiper-slide-shadow-right":".swiper-slide-shadow-bottom");We||(We=hu("coverflow",L,T?"left":"top")),Ne||(Ne=hu("coverflow",L,T?"right":"bottom")),We&&(We.style.opacity=He>0?He:0),Ne&&(Ne.style.opacity=-He>0?-He:0)}}},setTransition:u=>{o.slides.map(m=>Pc(m)).forEach(m=>{m.style.transitionDuration=`${u}ms`,m.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(v=>{v.style.transitionDuration=`${u}ms`})})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})},function Fae(n){let{swiper:o,extendParams:t,on:r}=n;t({creativeEffect:{limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const i=p=>"string"==typeof p?p:`${p}px`;pu({effect:"creative",swiper:o,on:r,setTranslate:()=>{const{slides:p,wrapperEl:m,slidesSizesGrid:v}=o,S=o.params.creativeEffect,{progressMultiplier:T}=S,D=o.params.centeredSlides;D&&(m.style.transform=`translateX(calc(50% - ${v[0]/2-o.params.slidesOffsetBefore||0}px))`);for(let $=0;$<p.length;$+=1){const x=p[$],k=x.progress,B=Math.min(Math.max(x.progress,-S.limitProgress),S.limitProgress);let G=B;D||(G=Math.min(Math.max(x.originalProgress,-S.limitProgress),S.limitProgress));const L=x.swiperSlideOffset,H=[o.params.cssMode?-L-o.translate:-L,0,0],ge=[0,0,0];let Fe=!1;o.isHorizontal()||(H[1]=H[0],H[0]=0);let He={translate:[0,0,0],rotate:[0,0,0],scale:1,opacity:1};B<0?(He=S.next,Fe=!0):B>0&&(He=S.prev,Fe=!0),H.forEach((ot,be)=>{H[be]=`calc(${ot}px + (${i(He.translate[be])} * ${Math.abs(B*T)}))`}),ge.forEach((ot,be)=>{ge[be]=He.rotate[be]*Math.abs(B*T)}),x.style.zIndex=-Math.abs(Math.round(k))+p.length;const ze=H.join(", "),Ft=G<0?1+(1-He.opacity)*G*T:1-(1-He.opacity)*G*T,ct=`translate3d(${ze}) rotateX(${ge[0]}deg) rotateY(${ge[1]}deg) rotateZ(${ge[2]}deg) ${G<0?`scale(${1+(1-He.scale)*G*T})`:`scale(${1-(1-He.scale)*G*T})`}`;if(Fe&&He.shadow||!Fe){let ot=x.querySelector(".swiper-slide-shadow");!ot&&He.shadow&&(ot=hu("creative",x)),ot&&(ot.style.opacity=Math.min(Math.max(Math.abs(S.shadowPerProgress?B*(1/S.limitProgress):B),0),1))}const tt=Nf(0,x);tt.style.transform=ct,tt.style.opacity=Ft,He.origin&&(tt.style.transformOrigin=He.origin)}},setTransition:p=>{const m=o.slides.map(v=>Pc(v));m.forEach(v=>{v.style.transitionDuration=`${p}ms`,v.querySelectorAll(".swiper-slide-shadow").forEach(S=>{S.style.transitionDuration=`${p}ms`})}),b1({swiper:o,duration:p,transformElements:m,allSlides:!0})},perspective:()=>o.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!o.params.cssMode})})},function Bae(n){let{swiper:o,extendParams:t,on:r}=n;t({cardsEffect:{slideShadows:!0,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),pu({effect:"cards",swiper:o,on:r,setTranslate:()=>{const{slides:u,activeIndex:p,rtlTranslate:m}=o,v=o.params.cardsEffect,{startTranslate:S,isTouched:T}=o.touchEventsData,D=m?-o.translate:o.translate;for(let $=0;$<u.length;$+=1){const x=u[$],k=x.progress,B=Math.min(Math.max(k,-4),4);let G=x.swiperSlideOffset;o.params.centeredSlides&&!o.params.cssMode&&(o.wrapperEl.style.transform=`translateX(${o.minTranslate()}px)`),o.params.centeredSlides&&o.params.cssMode&&(G-=u[0].swiperSlideOffset);let L=o.params.cssMode?-G-o.translate:-G,H=0;const ge=-100*Math.abs(B);let Fe=1,He=-v.perSlideRotate*B,ze=v.perSlideOffset-.75*Math.abs(B);const lt=o.virtual&&o.params.virtual.enabled?o.virtual.from+$:$;if((lt===p||lt===p-1)&&B>0&&B<1&&(T||o.params.cssMode)&&D<S||(lt===p||lt===p+1)&&B<0&&B>-1&&(T||o.params.cssMode)&&D>S){const be=(1-Math.abs((Math.abs(B)-.5)/.5))**.5;He+=-28*B*be,Fe+=-.5*be,ze+=96*be,H=-25*be*Math.abs(B)+"%"}if(L=B<0?`calc(${L}px ${m?"-":"+"} (${ze*Math.abs(B)}%))`:B>0?`calc(${L}px ${m?"-":"+"} (-${ze*Math.abs(B)}%))`:`${L}px`,!o.isHorizontal()){const be=H;H=L,L=be}const tt=`\n        translate3d(${L}, ${H}, ${ge}px)\n        rotateZ(${v.rotate?m?-He:He:0}deg)\n        scale(${B<0?""+(1+(1-Fe)*B):""+(1-(1-Fe)*B)})\n      `;if(v.slideShadows){let be=x.querySelector(".swiper-slide-shadow");be||(be=hu("cards",x)),be&&(be.style.opacity=Math.min(Math.max((Math.abs(B)-.5)/.5,0),1))}x.style.zIndex=-Math.abs(Math.round(k))+u.length,Nf(0,x).style.transform=tt}},setTransition:u=>{const p=o.slides.map(m=>Pc(m));p.forEach(m=>{m.style.transitionDuration=`${u}ms`,m.querySelectorAll(".swiper-slide-shadow").forEach(v=>{v.style.transitionDuration=`${u}ms`})}),b1({swiper:o,duration:u,transformElements:p})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!o.params.cssMode})})}]);const S1=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopedSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideNextClass","slidePrevClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function mu(n){return"object"==typeof n&&null!==n&&n.constructor&&"Object"===Object.prototype.toString.call(n).slice(8,-1)&&!n.__swiper__}function C1(n,o){const t=["__proto__","constructor","prototype"];Object.keys(o).filter(r=>t.indexOf(r)<0).forEach(r=>{typeof n[r]>"u"?n[r]=o[r]:mu(o[r])&&mu(n[r])&&Object.keys(o[r]).length>0?o[r].__swiper__?n[r]=o[r]:C1(n[r],o[r]):n[r]=o[r]})}function T1(n){return void 0===n&&(n=""),n.replace(/-[a-z]/g,o=>o.toUpperCase().replace("-",""))}const UP=n=>{if(parseFloat(n)===Number(n))return Number(n);if("true"===n||""===n)return!0;if("false"===n)return!1;if("null"===n)return null;if("undefined"!==n){if("string"==typeof n&&n.includes("{")&&n.includes("}")&&n.includes('"')){let o;try{o=JSON.parse(n)}catch{o=n}return o}return n}},zP=["a11y","autoplay","controller","cards-effect","coverflow-effect","creative-effect","cube-effect","fade-effect","flip-effect","free-mode","grid","hash-navigation","history","keyboard","mousewheel","navigation","pagination","parallax","scrollbar","thumbs","virtual","zoom"];function VP(n,o,t){const r={},i={};C1(r,Eb);const s=[...S1,"on"],u=s.map(m=>m.replace(/_/,""));s.forEach(m=>{m=m.replace("_",""),typeof n[m]<"u"&&(i[m]=n[m])});const p=[...n.attributes];return"string"==typeof o&&typeof t<"u"&&p.push({name:o,value:mu(t)?{...t}:t}),p.forEach(m=>{const v=zP.filter(S=>0===m.name.indexOf(`${S}-`))[0];if(v){const S=T1(v),T=T1(m.name.split(`${v}-`)[1]);typeof i[S]>"u"&&(i[S]={}),!0===i[S]&&(i[S]={enabled:!0}),i[S][T]=UP(m.value)}else{const S=T1(m.name);if(!u.includes(S))return;const T=UP(m.value);i[S]&&zP.includes(m.name)&&!mu(T)?(i[S].constructor!==Object&&(i[S]={}),i[S].enabled=!!T):i[S]=T}}),C1(r,i),r.navigation?r.navigation={prevEl:".swiper-button-prev",nextEl:".swiper-button-next",...!0!==r.navigation?r.navigation:{}}:!1===r.navigation&&delete r.navigation,r.scrollbar?r.scrollbar={el:".swiper-scrollbar",...!0!==r.scrollbar?r.scrollbar:{}}:!1===r.scrollbar&&delete r.scrollbar,r.pagination?r.pagination={el:".swiper-pagination",...!0!==r.pagination?r.pagination:{}}:!1===r.pagination&&delete r.pagination,{params:r,passedParams:i}}const Gae=":host{--swiper-theme-color:#007aff}:host{position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}.swiper{width:100%;height:100%;margin-left:auto;margin-right:auto;position:relative;overflow:hidden;overflow:clip;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);box-sizing:content-box}.swiper-android ::slotted(swiper-slide),.swiper-ios ::slotted(swiper-slide),.swiper-wrapper{transform:translate3d(0px,0,0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}::slotted(swiper-slide){flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}::slotted(.swiper-slide-invisible-blank){visibility:hidden}.swiper-autoheight,.swiper-autoheight ::slotted(swiper-slide){height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden ::slotted(swiper-slide){transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d ::slotted(swiper-slide){transform-style:preserve-3d}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode ::slotted(swiper-slide){scroll-snap-align:start start}.swiper-css-mode.swiper-horizontal>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-css-mode.swiper-vertical>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode ::slotted(swiper-slide){scroll-snap-align:none}.swiper-css-mode.swiper-centered>.swiper-wrapper::before{content:'';flex-shrink:0;order:9999}.swiper-css-mode.swiper-centered ::slotted(swiper-slide){scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal ::slotted(swiper-slide):first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper::before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-css-mode.swiper-centered.swiper-vertical ::slotted(swiper-slide):first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper::before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-virtual ::slotted(swiper-slide){-webkit-backface-visibility:hidden;transform:translateZ(0)}.swiper-virtual.swiper-css-mode .swiper-wrapper::after{content:'';position:absolute;left:0;top:0;pointer-events:none}.swiper-virtual.swiper-css-mode.swiper-horizontal .swiper-wrapper::after{height:1px;width:var(--swiper-virtual-size)}.swiper-virtual.swiper-css-mode.swiper-vertical .swiper-wrapper::after{width:1px;height:var(--swiper-virtual-size)}:host{--swiper-navigation-size:44px}.swiper-button-next,.swiper-button-prev{position:absolute;top:var(--swiper-navigation-top-offset,50%);width:calc(var(--swiper-navigation-size)/ 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - (var(--swiper-navigation-size)/ 2));z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--swiper-navigation-color,var(--swiper-theme-color))}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-next.swiper-button-hidden,.swiper-button-prev.swiper-button-hidden{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled .swiper-button-next,.swiper-navigation-disabled .swiper-button-prev{display:none!important}.swiper-button-next svg,.swiper-button-prev svg{width:100%;height:100%;object-fit:contain;transform-origin:center}.swiper-rtl .swiper-button-next svg,.swiper-rtl .swiper-button-prev svg{transform:rotate(180deg)}.swiper-button-prev,.swiper-rtl .swiper-button-next{left:var(--swiper-navigation-sides-offset,10px);right:auto}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset,10px);left:auto}.swiper-button-lock{display:none}.swiper-pagination{position:absolute;text-align:center;transition:.3s opacity;transform:translate3d(0,0,0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none!important}.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:var(--swiper-pagination-bottom,8px);top:var(--swiper-pagination-top,auto);left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.swiper-pagination-bullet{width:var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,8px));height:var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,8px));display:inline-block;border-radius:var(--swiper-pagination-bullet-border-radius,50%);background:var(--swiper-pagination-bullet-inactive-color,#000);opacity:var(--swiper-pagination-bullet-inactive-opacity, .2)}button.swiper-pagination-bullet{border:none;margin:0;padding:0;box-shadow:none;-webkit-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none!important}.swiper-pagination-bullet-active{opacity:var(--swiper-pagination-bullet-opacity, 1);background:var(--swiper-pagination-color,var(--swiper-theme-color))}.swiper-pagination-vertical.swiper-pagination-bullets,.swiper-vertical>.swiper-pagination-bullets{right:var(--swiper-pagination-right,8px);left:var(--swiper-pagination-left,auto);top:50%;transform:translate3d(0px,-50%,0)}.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap,6px) 0;display:block}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:.2s transform,.2s top}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap,4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translateX(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s left}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s right}.swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color,inherit)}.swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color,rgba(0,0,0,.25));position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:left top}.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:var(--swiper-pagination-progressbar-size,4px);left:0;top:0}.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-vertical>.swiper-pagination-progressbar{width:var(--swiper-pagination-progressbar-size,4px);height:100%;left:0;top:0}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:var(--swiper-scrollbar-border-radius,10px);position:relative;touch-action:none;background:var(--swiper-scrollbar-bg-color,rgba(0,0,0,.1))}.swiper-scrollbar-disabled>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-disabled{display:none!important}.swiper-horizontal>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-horizontal{position:absolute;left:var(--swiper-scrollbar-sides-offset,1%);bottom:var(--swiper-scrollbar-bottom,4px);top:var(--swiper-scrollbar-top,auto);z-index:50;height:var(--swiper-scrollbar-size,4px);width:calc(100% - 2 * var(--swiper-scrollbar-sides-offset,1%))}.swiper-scrollbar.swiper-scrollbar-vertical,.swiper-vertical>.swiper-scrollbar{position:absolute;left:var(--swiper-scrollbar-left,auto);right:var(--swiper-scrollbar-right,4px);top:var(--swiper-scrollbar-sides-offset,1%);z-index:50;width:var(--swiper-scrollbar-size,4px);height:calc(100% - 2 * var(--swiper-scrollbar-sides-offset,1%))}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:var(--swiper-scrollbar-drag-bg-color,rgba(0,0,0,.5));border-radius:var(--swiper-scrollbar-border-radius,10px);left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}::slotted(.swiper-slide-zoomed){cursor:move;touch-action:none}.swiper .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-free-mode>.swiper-wrapper{transition-timing-function:ease-out;margin:0 auto}.swiper-grid>.swiper-wrapper{flex-wrap:wrap}.swiper-grid-column>.swiper-wrapper{flex-wrap:wrap;flex-direction:column}.swiper-fade.swiper-free-mode ::slotted(swiper-slide){transition-timing-function:ease-out}.swiper-fade ::slotted(swiper-slide){pointer-events:none;transition-property:opacity}.swiper-fade ::slotted(swiper-slide) ::slotted(swiper-slide){pointer-events:none}.swiper-fade ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-fade ::slotted(.swiper-slide-active) ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-cube{overflow:visible}.swiper-cube ::slotted(swiper-slide){pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;transform-origin:0 0;width:100%;height:100%}.swiper-cube ::slotted(swiper-slide) ::slotted(swiper-slide){pointer-events:none}.swiper-cube.swiper-rtl ::slotted(swiper-slide){transform-origin:100% 0}.swiper-cube ::slotted(.swiper-slide-active),.swiper-cube ::slotted(.swiper-slide-active) ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-cube ::slotted(.swiper-slide-active),.swiper-cube ::slotted(.swiper-slide-next),.swiper-cube ::slotted(.swiper-slide-prev){pointer-events:auto;visibility:visible}.swiper-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0px;width:100%;height:100%;opacity:.6;z-index:0}.swiper-cube .swiper-cube-shadow:before{content:'';background:#000;position:absolute;left:0;top:0;bottom:0;right:0;filter:blur(50px)}.swiper-cube ::slotted(.swiper-slide-next)+::slotted(swiper-slide){pointer-events:auto;visibility:visible}.swiper-flip{overflow:visible}.swiper-flip ::slotted(swiper-slide){pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-flip ::slotted(swiper-slide) ::slotted(swiper-slide){pointer-events:none}.swiper-flip ::slotted(.swiper-slide-active),.swiper-flip ::slotted(.swiper-slide-active) ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-creative ::slotted(swiper-slide){-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden;transition-property:transform,opacity,height}.swiper-cards{overflow:visible}.swiper-cards ::slotted(swiper-slide){transform-origin:center bottom;-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden}",HP=typeof window>"u"||typeof HTMLElement>"u"?class qae{}:HTMLElement,jP='<svg width="11" height="20" viewBox="0 0 11 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.38296 20.0762C0.111788 19.805 0.111788 19.3654 0.38296 19.0942L9.19758 10.2796L0.38296 1.46497C0.111788 1.19379 0.111788 0.754138 0.38296 0.482966C0.654131 0.211794 1.09379 0.211794 1.36496 0.482966L10.4341 9.55214C10.8359 9.9539 10.8359 10.6053 10.4341 11.007L1.36496 20.0762C1.09379 20.3474 0.654131 20.3474 0.38296 20.0762Z" fill="currentColor"/></svg>\n    ',GP=(n,o)=>{if(typeof CSSStyleSheet<"u"&&n.adoptedStyleSheets){const t=new CSSStyleSheet;t.replaceSync(o),n.adoptedStyleSheets=[t]}else{const t=document.createElement("style");t.rel="stylesheet",t.textContent=o,n.appendChild(t)}};class WP extends HP{constructor(){super(),this.attachShadow({mode:"open"})}static get nextButtonSvg(){return jP}static get prevButtonSvg(){return jP.replace("/></svg>",' transform-origin="center" transform="rotate(180)"/></svg>')}cssStyles(){return[Gae,...this.injectStyles&&Array.isArray(this.injectStyles)?this.injectStyles:[]].join("\n")}cssLinks(){return this.injectStylesUrls||[]}calcSlideSlots(){const o=this.slideSlots||0,t=[...this.querySelectorAll("[slot^=slide-]")].map(r=>parseInt(r.getAttribute("slot").split("slide-")[1],10));if(this.slideSlots=t.length?Math.max(...t)+1:0,this.rendered)if(this.slideSlots>o)for(let r=o;r<this.slideSlots;r+=1){const i=document.createElement("swiper-slide");i.setAttribute("part",`slide slide-${r+1}`);const s=document.createElement("slot");s.setAttribute("name",`slide-${r+1}`),i.appendChild(s),this.shadowRoot.querySelector(".swiper-wrapper").appendChild(i)}else if(this.slideSlots<o){const r=this.swiper.slides;for(let i=r.length-1;i>=0;i-=1)i>this.slideSlots&&r[i].remove()}}render(){if(this.rendered)return;this.calcSlideSlots();let o=this.cssStyles();this.slideSlots>0&&(o=o.replace(/::slotted\(([a-z-0-9.]*)\)/g,"$1")),o.length&&GP(this.shadowRoot,o),this.cssLinks().forEach(r=>{if(this.shadowRoot.querySelector(`link[href="${r}"]`))return;const s=document.createElement("link");s.rel="stylesheet",s.href=r,this.shadowRoot.appendChild(s)});const t=document.createElement("div");t.classList.add("swiper"),t.part="container",t.innerHTML=`\n      <slot name="container-start"></slot>\n      <div class="swiper-wrapper" part="wrapper">\n        <slot></slot>\n        ${Array.from({length:this.slideSlots}).map((r,i)=>`\n        <swiper-slide part="slide slide-${i}">\n          <slot name="slide-${i}"></slot>\n        </swiper-slide>\n        `).join("")}\n      </div>\n      <slot name="container-end"></slot>\n      ${function zae(n){return void 0===n&&(n={}),n.navigation&&typeof n.navigation.nextEl>"u"&&typeof n.navigation.prevEl>"u"}(this.passedParams)?`\n        <div part="button-prev" class="swiper-button-prev">${this.constructor.prevButtonSvg}</div>\n        <div part="button-next" class="swiper-button-next">${this.constructor.nextButtonSvg}</div>\n      `:""}\n      ${function Vae(n){return void 0===n&&(n={}),n.pagination&&typeof n.pagination.el>"u"}(this.passedParams)?'\n        <div part="pagination" class="swiper-pagination"></div>\n      ':""}\n      ${function Hae(n){return void 0===n&&(n={}),n.scrollbar&&typeof n.scrollbar.el>"u"}(this.passedParams)?'\n        <div part="scrollbar" class="swiper-scrollbar"></div>\n      ':""}\n    `,this.shadowRoot.appendChild(t),this.rendered=!0}initialize(){var o=this;if(this.initialized)return;this.initialized=!0;const{params:t,passedParams:r}=VP(this);this.swiperParams=t,this.passedParams=r,delete this.swiperParams.init,this.render(),this.swiper=new us(this.shadowRoot.querySelector(".swiper"),{...t.virtual?{}:{observer:!0,observeSlideChildren:this.slideSlots>0},...t,touchEventsTarget:"container",onAny:function(i){"observerUpdate"===i&&o.calcSlideSlots();const s=t.eventsPrefix?`${t.eventsPrefix}${i.toLowerCase()}`:i.toLowerCase();for(var u=arguments.length,p=new Array(u>1?u-1:0),m=1;m<u;m++)p[m-1]=arguments[m];const v=new CustomEvent(s,{detail:p,bubbles:"hashChange"!==i,cancelable:!0});o.dispatchEvent(v)}})}connectedCallback(){this.initialized&&this.nested&&this.closest("swiper-slide")&&this.closest("swiper-slide").swiperLoopMoveDOM||!1===this.init||"false"===this.getAttribute("init")||this.initialize()}disconnectedCallback(){this.nested&&this.closest("swiper-slide")&&this.closest("swiper-slide").swiperLoopMoveDOM||(this.swiper&&this.swiper.destroy&&this.swiper.destroy(),this.initialized=!1)}updateSwiperOnPropChange(o,t){const{params:r,passedParams:i}=VP(this,o,t);this.passedParams=i,this.swiperParams=r,function jae(n){let{swiper:o,slides:t,passedParams:r,changedParams:i,nextEl:s,prevEl:u,scrollbarEl:p,paginationEl:m}=n;const v=i.filter(Le=>"children"!==Le&&"direction"!==Le&&"wrapperClass"!==Le),{params:S,pagination:T,navigation:D,scrollbar:$,virtual:x,thumbs:k}=o;let B,G,L,H,ge,Fe,He,ze;i.includes("thumbs")&&r.thumbs&&r.thumbs.swiper&&S.thumbs&&!S.thumbs.swiper&&(B=!0),i.includes("controller")&&r.controller&&r.controller.control&&S.controller&&!S.controller.control&&(G=!0),i.includes("pagination")&&r.pagination&&(r.pagination.el||m)&&(S.pagination||!1===S.pagination)&&T&&!T.el&&(L=!0),i.includes("scrollbar")&&r.scrollbar&&(r.scrollbar.el||p)&&(S.scrollbar||!1===S.scrollbar)&&$&&!$.el&&(H=!0),i.includes("navigation")&&r.navigation&&(r.navigation.prevEl||u)&&(r.navigation.nextEl||s)&&(S.navigation||!1===S.navigation)&&D&&!D.prevEl&&!D.nextEl&&(ge=!0);const lt=Le=>{o[Le]&&(o[Le].destroy(),"navigation"===Le?(o.isElement&&(o[Le].prevEl.remove(),o[Le].nextEl.remove()),S[Le].prevEl=void 0,S[Le].nextEl=void 0,o[Le].prevEl=void 0,o[Le].nextEl=void 0):(o.isElement&&o[Le].el.remove(),S[Le].el=void 0,o[Le].el=void 0))};i.includes("loop")&&o.isElement&&(S.loop&&!r.loop?Fe=!0:!S.loop&&r.loop?He=!0:ze=!0),v.forEach(Le=>{if(mu(S[Le])&&mu(r[Le]))C1(S[Le],r[Le]),("navigation"===Le||"pagination"===Le||"scrollbar"===Le)&&"enabled"in r[Le]&&!r[Le].enabled&&lt(Le);else{const Ft=r[Le];!0!==Ft&&!1!==Ft||"navigation"!==Le&&"pagination"!==Le&&"scrollbar"!==Le?S[Le]=r[Le]:!1===Ft&&lt(Le)}}),v.includes("controller")&&!G&&o.controller&&o.controller.control&&S.controller&&S.controller.control&&(o.controller.control=S.controller.control),i.includes("children")&&t&&x&&S.virtual.enabled&&(x.slides=t,x.update(!0)),i.includes("children")&&t&&S.loop&&(ze=!0),B&&k.init()&&k.update(!0),G&&(o.controller.control=S.controller.control),L&&(o.isElement&&(!m||"string"==typeof m)&&(m=document.createElement("div"),m.classList.add("swiper-pagination"),m.part.add("pagination"),o.el.appendChild(m)),m&&(S.pagination.el=m),T.init(),T.render(),T.update()),H&&(o.isElement&&(!p||"string"==typeof p)&&(p=document.createElement("div"),p.classList.add("swiper-scrollbar"),p.part.add("scrollbar"),o.el.appendChild(p)),p&&(S.scrollbar.el=p),$.init(),$.updateSize(),$.setTranslate()),ge&&(o.isElement&&((!s||"string"==typeof s)&&(s=document.createElement("div"),s.classList.add("swiper-button-next"),s.innerHTML=o.hostEl.constructor.nextButtonSvg,s.part.add("button-next"),o.el.appendChild(s)),(!u||"string"==typeof u)&&(u=document.createElement("div"),u.classList.add("swiper-button-prev"),u.innerHTML=o.hostEl.constructor.prevButtonSvg,u.part.add("button-prev"),o.el.appendChild(u))),s&&(S.navigation.nextEl=s),u&&(S.navigation.prevEl=u),D.init(),D.update()),i.includes("allowSlideNext")&&(o.allowSlideNext=r.allowSlideNext),i.includes("allowSlidePrev")&&(o.allowSlidePrev=r.allowSlidePrev),i.includes("direction")&&o.changeDirection(r.direction,!1),(Fe||ze)&&o.loopDestroy(),(He||ze)&&o.loopCreate(),o.update()}({swiper:this.swiper,passedParams:this.passedParams,changedParams:[T1(o)],..."navigation"===o&&i[o]?{prevEl:".swiper-button-prev",nextEl:".swiper-button-next"}:{},..."pagination"===o&&i[o]?{paginationEl:".swiper-pagination"}:{},..."scrollbar"===o&&i[o]?{scrollbarEl:".swiper-scrollbar"}:{}})}attributeChangedCallback(o,t,r){this.initialized&&("true"===t&&null===r&&(r=!1),this.updateSwiperOnPropChange(o,r))}static get observedAttributes(){return S1.filter(t=>t.includes("_")).map(t=>t.replace(/[A-Z]/g,r=>`-${r}`).replace("_","").toLowerCase())}}S1.forEach(n=>{"init"!==n&&(n=n.replace("_",""),Object.defineProperty(WP.prototype,n,{configurable:!0,get(){return(this.passedParams||{})[n]},set(o){this.passedParams||(this.passedParams={}),this.passedParams[n]=o,this.initialized&&this.updateSwiperOnPropChange(n,o)}}))});typeof window<"u"&&(window.SwiperElementRegisterParams=n=>{S1.push(...n)}),typeof window>"u"||(window.customElements.get("swiper-container")||window.customElements.define("swiper-container",WP),window.customElements.get("swiper-slide")||window.customElements.define("swiper-slide",class Yae extends HP{constructor(){super(),this.attachShadow({mode:"open"})}render(){const o=this.lazy||""===this.getAttribute("lazy")||"true"===this.getAttribute("lazy");if(GP(this.shadowRoot,"::slotted(.swiper-slide-shadow),::slotted(.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-top){position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}::slotted(.swiper-slide-shadow){background:rgba(0,0,0,.15)}::slotted(.swiper-slide-shadow-left){background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}::slotted(.swiper-slide-shadow-right){background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}::slotted(.swiper-slide-shadow-top){background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}::slotted(.swiper-slide-shadow-bottom){background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear;width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}@keyframes swiper-preloader-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-top){z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-top){z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}::slotted(.swiper-zoom-container){width:100%;height:100%;display:flex;justify-content:center;align-items:center;text-align:center}::slotted(.swiper-zoom-container)>canvas,::slotted(.swiper-zoom-container)>img,::slotted(.swiper-zoom-container)>svg{max-width:100%;max-height:100%;object-fit:contain}"),this.shadowRoot.appendChild(document.createElement("slot")),o){const t=document.createElement("div");t.classList.add("swiper-lazy-preloader"),t.part.add("preloader"),this.shadowRoot.appendChild(t)}}initialize(){this.render()}connectedCallback(){this.initialize()}}));let Xae=(()=>{class n{orgService;platform;route;title;constructor(t,r,i,s){this.orgService=t,this.platform=r,this.route=i,this.title=s,this.init()}init(){var t=this;return(0,Ge.A)(function*(){yield t.platform.ready(),t.platform.is("ios")&&!t.platform.is("desktop")&&MP.show(),t.subscribeToRouteParams()})()}subscribeToRouteParams(){this.route.queryParams.pipe(Jr(this.handleRouteError.bind(this))).subscribe(t=>{this.processOrganization(t.lang)})}processOrganization(t){var r=this;return(0,Ge.A)(function*(){try{const i=yield uu(r.orgService.getLanguageConfig(t));r.orgService.initSettings(i),(r.platform.is("mobileweb")||r.platform.is("desktop"))&&r.title.setTitle(i.name)}catch{}finally{r.setDefaultStatusBarAndHideSplash()}})()}handleRouteError(t){return console.error("Error with route query parameters:",t),this.setDefaultStatusBarAndHideSplash(),[]}setDefaultStatusBarAndHideSplash(){(this.platform.is("android")||this.platform.is("ios"))&&!this.platform.is("mobileweb")&&Yie.setStyle({style:$P.Default}),this.platform.is("ios")&&!this.platform.is("desktop")&&MP.hide()}static \u0275fac=function(r){return new(r||n)(N(ei),N(Dl),N(dr),N(C6))};static \u0275cmp=je({type:n,selectors:[["app-root"]],decls:2,vars:0,template:function(r,i){1&r&&(I(0,"ion-app"),oe(1,"ion-router-outlet"),E())},dependencies:[fD,mf],encapsulation:2})}return n})();const qP=new Pt("STORAGE_CONFIG_TOKEN");class Zae extends o1{constructor(){super()}create(){var o=this;return(0,Ge.A)(function*(){return o})()}defineDriver(){return(0,Ge.A)(function*(){})()}get driver(){return"noop"}get(o){return(0,Ge.A)(function*(){return null})()}set(o,t){return(0,Ge.A)(function*(){})()}remove(o){return(0,Ge.A)(function*(){})()}clear(){return(0,Ge.A)(function*(){})()}length(){return(0,Ge.A)(function*(){return 0})()}keys(){return(0,Ge.A)(function*(){return[]})()}forEach(o){return(0,Ge.A)(function*(){})()}setEncryptionKey(o){}}function Qae(n,o){return vv(n)?new Zae:new o1(o)}let Jae=(()=>{class n{static forRoot(t=null){return{ngModule:n,providers:[{provide:qP,useValue:t},{provide:o1,useFactory:Qae,deps:[ha,qP]}]}}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=bn({type:n}),n.\u0275inj=mn({}),n})();function YP(n){return new Ve(3e3,!1)}function Fl(n){switch(n.length){case 0:return new Cf;case 1:return n[0];default:return new sP(n)}}function KP(n,o,t=new Map,r=new Map){const i=[],s=[];let u=-1,p=null;if(o.forEach(m=>{const v=m.get("offset"),S=v==u,T=S&&p||new Map;m.forEach((D,$)=>{let x=$,k=D;if("offset"!==$)switch(x=n.normalizePropertyName(x,i),k){case"!":k=t.get($);break;case el:k=r.get($);break;default:k=n.normalizeStyleValue($,x,k,i)}T.set(x,k)}),S||s.push(T),p=T,u=v}),i.length)throw function Cle(){return new Ve(3502,!1)}();return s}function Mb(n,o,t,r){switch(o){case"start":n.onStart(()=>r(t&&$b(t,"start",n)));break;case"done":n.onDone(()=>r(t&&$b(t,"done",n)));break;case"destroy":n.onDestroy(()=>r(t&&$b(t,"destroy",n)))}}function $b(n,o,t){const s=Ab(n.element,n.triggerName,n.fromState,n.toState,o||n.phaseName,t.totalTime??n.totalTime,!!t.disabled),u=n._data;return null!=u&&(s._data=u),s}function Ab(n,o,t,r,i="",s=0,u){return{element:n,triggerName:o,fromState:t,toState:r,phaseName:i,totalTime:s,disabled:!!u}}function gs(n,o,t){let r=n.get(o);return r||n.set(o,r=t),r}function XP(n){const o=n.indexOf(":");return[n.substring(1,o),n.slice(o+1)]}const Ole=typeof document>"u"?null:document.documentElement;function Nb(n){const o=n.parentNode||n.host||null;return o===Ole?null:o}let $c=null,ZP=!1;function QP(n,o){for(;o;){if(o===n)return!0;o=Nb(o)}return!1}function JP(n,o,t){if(t)return Array.from(n.querySelectorAll(o));const r=n.querySelector(o);return r?[r]:[]}let xb=(()=>{class n{validateStyleProperty(t){return function Rle(n){$c||($c=function Lle(){return typeof document<"u"?document.body:null}()||{},ZP=!!$c.style&&"WebkitAppearance"in $c.style);let o=!0;return $c.style&&!function kle(n){return"ebkit"==n.substring(1,6)}(n)&&(o=n in $c.style,!o&&ZP&&(o="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in $c.style)),o}(t)}containsElement(t,r){return QP(t,r)}getParentElement(t){return Nb(t)}query(t,r,i){return JP(t,r,i)}computeStyle(t,r,i){return i||""}animate(t,r,i,s,u,p=[],m){return new Cf(i,s)}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275prov=St({token:n,factory:n.\u0275fac})}}return n})();class Ob{static{this.NOOP=new xb}}class kb{}const Ble=1e3,Rb="ng-enter",w1="ng-leave",E1="ng-trigger",I1=".ng-trigger",tM="ng-animating",Lb=".ng-animating";function tl(n){if("number"==typeof n)return n;const o=n.match(/^(-?[\.\d]+)(m?s)/);return!o||o.length<2?0:Fb(parseFloat(o[1]),o[2])}function Fb(n,o){return"s"===o?n*Ble:n}function D1(n,o,t){return n.hasOwnProperty("duration")?n:function zle(n,o,t){let i,s=0,u="";if("string"==typeof n){const p=n.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===p)return o.push(YP()),{duration:0,delay:0,easing:""};i=Fb(parseFloat(p[1]),p[2]);const m=p[3];null!=m&&(s=Fb(parseFloat(m),p[4]));const v=p[5];v&&(u=v)}else i=n;if(!t){let p=!1,m=o.length;i<0&&(o.push(function ele(){return new Ve(3100,!1)}()),p=!0),s<0&&(o.push(function tle(){return new Ve(3101,!1)}()),p=!0),p&&o.splice(m,0,YP())}return{duration:i,delay:s,easing:u}}(n,o,t)}function Ma(n,o,t){o.forEach((r,i)=>{const s=Ub(i);t&&!t.has(i)&&t.set(i,n.style[s]),n.style[s]=r})}function Ac(n,o){o.forEach((t,r)=>{const i=Ub(r);n.style[i]=""})}function xf(n){return Array.isArray(n)?1==n.length?n[0]:function hZ(n,o=null){return{type:hn.Sequence,steps:n,options:o}}(n):n}const Bb=new RegExp("{{\\s*(.+?)\\s*}}","g");function oM(n){let o=[];if("string"==typeof n){let t;for(;t=Bb.exec(n);)o.push(t[1]);Bb.lastIndex=0}return o}function Of(n,o,t){const r=`${n}`,i=r.replace(Bb,(s,u)=>{let p=o[u];return null==p&&(t.push(function ole(){return new Ve(3003,!1)}()),p=""),p.toString()});return i==r?n:i}const jle=/-+([a-z0-9])/g;function Ub(n){return n.replace(jle,(...o)=>o[1].toUpperCase())}function fs(n,o,t){switch(o.type){case hn.Trigger:return n.visitTrigger(o,t);case hn.State:return n.visitState(o,t);case hn.Transition:return n.visitTransition(o,t);case hn.Sequence:return n.visitSequence(o,t);case hn.Group:return n.visitGroup(o,t);case hn.Animate:return n.visitAnimate(o,t);case hn.Keyframes:return n.visitKeyframes(o,t);case hn.Style:return n.visitStyle(o,t);case hn.Reference:return n.visitReference(o,t);case hn.AnimateChild:return n.visitAnimateChild(o,t);case hn.AnimateRef:return n.visitAnimateRef(o,t);case hn.Query:return n.visitQuery(o,t);case hn.Stagger:return n.visitStagger(o,t);default:throw function rle(){return new Ve(3004,!1)}()}}function zb(n,o){return window.getComputedStyle(n)[o]}const qle=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class rM extends kb{normalizePropertyName(o,t){return Ub(o)}normalizeStyleValue(o,t,r,i){let s="";const u=r.toString().trim();if(qle.has(t)&&0!==r&&"0"!==r)if("number"==typeof r)s="px";else{const p=r.match(/^[+-]?[\d\.]+([a-z]*)$/);p&&0==p[1].length&&i.push(function ile(){return new Ve(3005,!1)}())}return u+s}}const P1="*";const M1=new Set(["true","1"]),$1=new Set(["false","0"]);function iM(n,o){const t=M1.has(n)||$1.has(n),r=M1.has(o)||$1.has(o);return(i,s)=>{let u=n==P1||n==i,p=o==P1||o==s;return!u&&t&&"boolean"==typeof i&&(u=i?M1.has(n):$1.has(n)),!p&&r&&"boolean"==typeof s&&(p=s?M1.has(o):$1.has(o)),u&&p}}const Zle=new RegExp("s*:selfs*,?","g");function Vb(n,o,t,r){return new Qle(n).build(o,t,r)}class Qle{constructor(o){this._driver=o}build(o,t,r){const i=new tce(t);return this._resetContextStyleTimingState(i),fs(this,xf(o),i)}_resetContextStyleTimingState(o){o.currentQuerySelector="",o.collectedStyles=new Map,o.collectedStyles.set("",new Map),o.currentTime=0}visitTrigger(o,t){let r=t.queryCount=0,i=t.depCount=0;const s=[],u=[];return"@"==o.name.charAt(0)&&t.errors.push(function sle(){return new Ve(3006,!1)}()),o.definitions.forEach(p=>{if(this._resetContextStyleTimingState(t),p.type==hn.State){const m=p,v=m.name;v.toString().split(/\s*,\s*/).forEach(S=>{m.name=S,s.push(this.visitState(m,t))}),m.name=v}else if(p.type==hn.Transition){const m=this.visitTransition(p,t);r+=m.queryCount,i+=m.depCount,u.push(m)}else t.errors.push(function ale(){return new Ve(3007,!1)}())}),{type:hn.Trigger,name:o.name,states:s,transitions:u,queryCount:r,depCount:i,options:null}}visitState(o,t){const r=this.visitStyle(o.styles,t),i=o.options&&o.options.params||null;if(r.containsDynamicStyles){const s=new Set,u=i||{};r.styles.forEach(p=>{p instanceof Map&&p.forEach(m=>{oM(m).forEach(v=>{u.hasOwnProperty(v)||s.add(v)})})}),s.size&&t.errors.push(function lle(){return new Ve(3008,!1)}(0,s.values()))}return{type:hn.State,name:o.name,style:r,options:i?{params:i}:null}}visitTransition(o,t){t.queryCount=0,t.depCount=0;const r=fs(this,xf(o.animation),t),i=function Yle(n,o){const t=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(r=>function Kle(n,o,t){if(":"==n[0]){const m=function Xle(n,o){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,r)=>parseFloat(r)>parseFloat(t);case":decrement":return(t,r)=>parseFloat(r)<parseFloat(t);default:return o.push(function vle(){return new Ve(3016,!1)}()),"* => *"}}(n,t);if("function"==typeof m)return void o.push(m);n=m}const r=n.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return t.push(function _le(){return new Ve(3015,!1)}()),o;const i=r[1],s=r[2],u=r[3];o.push(iM(i,u)),"<"==s[0]&&(i!=P1||u!=P1)&&o.push(iM(u,i))}(r,t,o)):t.push(n),t}(o.expr,t.errors);return{type:hn.Transition,matchers:i,animation:r,queryCount:t.queryCount,depCount:t.depCount,options:Nc(o.options)}}visitSequence(o,t){return{type:hn.Sequence,steps:o.steps.map(r=>fs(this,r,t)),options:Nc(o.options)}}visitGroup(o,t){const r=t.currentTime;let i=0;const s=o.steps.map(u=>{t.currentTime=r;const p=fs(this,u,t);return i=Math.max(i,t.currentTime),p});return t.currentTime=i,{type:hn.Group,steps:s,options:Nc(o.options)}}visitAnimate(o,t){const r=function oce(n,o){if(n.hasOwnProperty("duration"))return n;if("number"==typeof n)return Hb(D1(n,o).duration,0,"");const t=n;if(t.split(/\s+/).some(s=>"{"==s.charAt(0)&&"{"==s.charAt(1))){const s=Hb(0,0,"");return s.dynamic=!0,s.strValue=t,s}const i=D1(t,o);return Hb(i.duration,i.delay,i.easing)}(o.timings,t.errors);t.currentAnimateTimings=r;let i,s=o.styles?o.styles:cr({});if(s.type==hn.Keyframes)i=this.visitKeyframes(s,t);else{let u=o.styles,p=!1;if(!u){p=!0;const v={};r.easing&&(v.easing=r.easing),u=cr(v)}t.currentTime+=r.duration+r.delay;const m=this.visitStyle(u,t);m.isEmptyStep=p,i=m}return t.currentAnimateTimings=null,{type:hn.Animate,timings:r,style:i,options:null}}visitStyle(o,t){const r=this._makeStyleAst(o,t);return this._validateStyleAst(r,t),r}_makeStyleAst(o,t){const r=[],i=Array.isArray(o.styles)?o.styles:[o.styles];for(let p of i)"string"==typeof p?p===el?r.push(p):t.errors.push(new Ve(3002,!1)):r.push(new Map(Object.entries(p)));let s=!1,u=null;return r.forEach(p=>{if(p instanceof Map&&(p.has("easing")&&(u=p.get("easing"),p.delete("easing")),!s))for(let m of p.values())if(m.toString().indexOf("{{")>=0){s=!0;break}}),{type:hn.Style,styles:r,easing:u,offset:o.offset,containsDynamicStyles:s,options:null}}_validateStyleAst(o,t){const r=t.currentAnimateTimings;let i=t.currentTime,s=t.currentTime;r&&s>0&&(s-=r.duration+r.delay),o.styles.forEach(u=>{"string"!=typeof u&&u.forEach((p,m)=>{const v=t.collectedStyles.get(t.currentQuerySelector),S=v.get(m);let T=!0;S&&(s!=i&&s>=S.startTime&&i<=S.endTime&&(t.errors.push(function dle(){return new Ve(3010,!1)}()),T=!1),s=S.startTime),T&&v.set(m,{startTime:s,endTime:i}),t.options&&function Hle(n,o,t){const r=o.params||{},i=oM(n);i.length&&i.forEach(s=>{r.hasOwnProperty(s)||t.push(function nle(){return new Ve(3001,!1)}())})}(p,t.options,t.errors)})})}visitKeyframes(o,t){const r={type:hn.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(function ule(){return new Ve(3011,!1)}()),r;let s=0;const u=[];let p=!1,m=!1,v=0;const S=o.steps.map(G=>{const L=this._makeStyleAst(G,t);let H=null!=L.offset?L.offset:function nce(n){if("string"==typeof n)return null;let o=null;if(Array.isArray(n))n.forEach(t=>{if(t instanceof Map&&t.has("offset")){const r=t;o=parseFloat(r.get("offset")),r.delete("offset")}});else if(n instanceof Map&&n.has("offset")){const t=n;o=parseFloat(t.get("offset")),t.delete("offset")}return o}(L.styles),ge=0;return null!=H&&(s++,ge=L.offset=H),m=m||ge<0||ge>1,p=p||ge<v,v=ge,u.push(ge),L});m&&t.errors.push(function gle(){return new Ve(3012,!1)}()),p&&t.errors.push(function fle(){return new Ve(3200,!1)}());const T=o.steps.length;let D=0;s>0&&s<T?t.errors.push(function ple(){return new Ve(3202,!1)}()):0==s&&(D=1/(T-1));const $=T-1,x=t.currentTime,k=t.currentAnimateTimings,B=k.duration;return S.forEach((G,L)=>{const H=D>0?L==$?1:D*L:u[L],ge=H*B;t.currentTime=x+k.delay+ge,k.duration=ge,this._validateStyleAst(G,t),G.offset=H,r.styles.push(G)}),r}visitReference(o,t){return{type:hn.Reference,animation:fs(this,xf(o.animation),t),options:Nc(o.options)}}visitAnimateChild(o,t){return t.depCount++,{type:hn.AnimateChild,options:Nc(o.options)}}visitAnimateRef(o,t){return{type:hn.AnimateRef,animation:this.visitReference(o.animation,t),options:Nc(o.options)}}visitQuery(o,t){const r=t.currentQuerySelector,i=o.options||{};t.queryCount++,t.currentQuery=o;const[s,u]=function Jle(n){const o=!!n.split(/\s*,\s*/).find(t=>":self"==t);return o&&(n=n.replace(Zle,"")),n=n.replace(/@\*/g,I1).replace(/@\w+/g,t=>I1+"-"+t.slice(1)).replace(/:animating/g,Lb),[n,o]}(o.selector);t.currentQuerySelector=r.length?r+" "+s:s,gs(t.collectedStyles,t.currentQuerySelector,new Map);const p=fs(this,xf(o.animation),t);return t.currentQuery=null,t.currentQuerySelector=r,{type:hn.Query,selector:s,limit:i.limit||0,optional:!!i.optional,includeSelf:u,animation:p,originalSelector:o.selector,options:Nc(o.options)}}visitStagger(o,t){t.currentQuery||t.errors.push(function hle(){return new Ve(3013,!1)}());const r="full"===o.timings?{duration:0,delay:0,easing:"full"}:D1(o.timings,t.errors,!0);return{type:hn.Stagger,animation:fs(this,xf(o.animation),t),timings:r,options:null}}}class tce{constructor(o){this.errors=o,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Nc(n){return n?(n={...n}).params&&(n.params=function ece(n){return n?{...n}:null}(n.params)):n={},n}function Hb(n,o,t){return{duration:n,delay:o,easing:t}}function jb(n,o,t,r,i,s,u=null,p=!1){return{type:1,element:n,keyframes:o,preStyleProps:t,postStyleProps:r,duration:i,delay:s,totalTime:i+s,easing:u,subTimeline:p}}class A1{constructor(){this._map=new Map}get(o){return this._map.get(o)||[]}append(o,t){let r=this._map.get(o);r||this._map.set(o,r=[]),r.push(...t)}has(o){return this._map.has(o)}clear(){this._map.clear()}}const sce=new RegExp(":enter","g"),lce=new RegExp(":leave","g");function Gb(n,o,t,r,i,s=new Map,u=new Map,p,m,v=[]){return(new cce).buildKeyframes(n,o,t,r,i,s,u,p,m,v)}class cce{buildKeyframes(o,t,r,i,s,u,p,m,v,S=[]){v=v||new A1;const T=new Wb(o,t,v,i,s,S,[]);T.options=m;const D=m.delay?tl(m.delay):0;T.currentTimeline.delayNextStep(D),T.currentTimeline.setStyles([u],null,T.errors,m),fs(this,r,T);const $=T.timelines.filter(x=>x.containsAnimation());if($.length&&p.size){let x;for(let k=$.length-1;k>=0;k--){const B=$[k];if(B.element===t){x=B;break}}x&&!x.allowOnlyTimelineStyles()&&x.setStyles([p],null,T.errors,m)}return $.length?$.map(x=>x.buildKeyframes()):[jb(t,[],[],[],0,D,"",!1)]}visitTrigger(o,t){}visitState(o,t){}visitTransition(o,t){}visitAnimateChild(o,t){const r=t.subInstructions.get(t.element);if(r){const i=t.createSubContext(o.options),s=t.currentTimeline.currentTime,u=this._visitSubInstructions(r,i,i.options);s!=u&&t.transformIntoNewTimeline(u)}t.previousNode=o}visitAnimateRef(o,t){const r=t.createSubContext(o.options);r.transformIntoNewTimeline(),this._applyAnimationRefDelays([o.options,o.animation.options],t,r),this.visitReference(o.animation,r),t.transformIntoNewTimeline(r.currentTimeline.currentTime),t.previousNode=o}_applyAnimationRefDelays(o,t,r){for(const i of o){const s=i?.delay;if(s){const u="number"==typeof s?s:tl(Of(s,i?.params??{},t.errors));r.delayNextStep(u)}}}_visitSubInstructions(o,t,r){let s=t.currentTimeline.currentTime;const u=null!=r.duration?tl(r.duration):null,p=null!=r.delay?tl(r.delay):null;return 0!==u&&o.forEach(m=>{const v=t.appendInstructionToTimeline(m,u,p);s=Math.max(s,v.duration+v.delay)}),s}visitReference(o,t){t.updateOptions(o.options,!0),fs(this,o.animation,t),t.previousNode=o}visitSequence(o,t){const r=t.subContextCount;let i=t;const s=o.options;if(s&&(s.params||s.delay)&&(i=t.createSubContext(s),i.transformIntoNewTimeline(),null!=s.delay)){i.previousNode.type==hn.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=N1);const u=tl(s.delay);i.delayNextStep(u)}o.steps.length&&(o.steps.forEach(u=>fs(this,u,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),t.previousNode=o}visitGroup(o,t){const r=[];let i=t.currentTimeline.currentTime;const s=o.options&&o.options.delay?tl(o.options.delay):0;o.steps.forEach(u=>{const p=t.createSubContext(o.options);s&&p.delayNextStep(s),fs(this,u,p),i=Math.max(i,p.currentTimeline.currentTime),r.push(p.currentTimeline)}),r.forEach(u=>t.currentTimeline.mergeTimelineCollectedStyles(u)),t.transformIntoNewTimeline(i),t.previousNode=o}_visitTiming(o,t){if(o.dynamic){const r=o.strValue;return D1(t.params?Of(r,t.params,t.errors):r,t.errors)}return{duration:o.duration,delay:o.delay,easing:o.easing}}visitAnimate(o,t){const r=t.currentAnimateTimings=this._visitTiming(o.timings,t),i=t.currentTimeline;r.delay&&(t.incrementTime(r.delay),i.snapshotCurrentStyles());const s=o.style;s.type==hn.Keyframes?this.visitKeyframes(s,t):(t.incrementTime(r.duration),this.visitStyle(s,t),i.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=o}visitStyle(o,t){const r=t.currentTimeline,i=t.currentAnimateTimings;!i&&r.hasCurrentStyleProperties()&&r.forwardFrame();const s=i&&i.easing||o.easing;o.isEmptyStep?r.applyEmptyStep(s):r.setStyles(o.styles,s,t.errors,t.options),t.previousNode=o}visitKeyframes(o,t){const r=t.currentAnimateTimings,i=t.currentTimeline.duration,s=r.duration,p=t.createSubContext().currentTimeline;p.easing=r.easing,o.styles.forEach(m=>{p.forwardTime((m.offset||0)*s),p.setStyles(m.styles,m.easing,t.errors,t.options),p.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(p),t.transformIntoNewTimeline(i+s),t.previousNode=o}visitQuery(o,t){const r=t.currentTimeline.currentTime,i=o.options||{},s=i.delay?tl(i.delay):0;s&&(t.previousNode.type===hn.Style||0==r&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=N1);let u=r;const p=t.invokeQuery(o.selector,o.originalSelector,o.limit,o.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=p.length;let m=null;p.forEach((v,S)=>{t.currentQueryIndex=S;const T=t.createSubContext(o.options,v);s&&T.delayNextStep(s),v===t.element&&(m=T.currentTimeline),fs(this,o.animation,T),T.currentTimeline.applyStylesToKeyframe(),u=Math.max(u,T.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(u),m&&(t.currentTimeline.mergeTimelineCollectedStyles(m),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=o}visitStagger(o,t){const r=t.parentContext,i=t.currentTimeline,s=o.timings,u=Math.abs(s.duration),p=u*(t.currentQueryTotal-1);let m=u*t.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":m=p-m;break;case"full":m=r.currentStaggerTime}const S=t.currentTimeline;m&&S.delayNextStep(m);const T=S.currentTime;fs(this,o.animation,t),t.previousNode=o,r.currentStaggerTime=i.currentTime-T+(i.startTime-r.currentTimeline.startTime)}}const N1={};class Wb{constructor(o,t,r,i,s,u,p,m){this._driver=o,this.element=t,this.subInstructions=r,this._enterClassName=i,this._leaveClassName=s,this.errors=u,this.timelines=p,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=N1,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=m||new x1(this._driver,t,0),p.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(o,t){if(!o)return;const r=o;let i=this.options;null!=r.duration&&(i.duration=tl(r.duration)),null!=r.delay&&(i.delay=tl(r.delay));const s=r.params;if(s){let u=i.params;u||(u=this.options.params={}),Object.keys(s).forEach(p=>{(!t||!u.hasOwnProperty(p))&&(u[p]=Of(s[p],u,this.errors))})}}_copyOptions(){const o={};if(this.options){const t=this.options.params;if(t){const r=o.params={};Object.keys(t).forEach(i=>{r[i]=t[i]})}}return o}createSubContext(o=null,t,r){const i=t||this.element,s=new Wb(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,r||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(o),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}transformIntoNewTimeline(o){return this.previousNode=N1,this.currentTimeline=this.currentTimeline.fork(this.element,o),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(o,t,r){const i={duration:t??o.duration,delay:this.currentTimeline.currentTime+(r??0)+o.delay,easing:""},s=new dce(this._driver,o.element,o.keyframes,o.preStyleProps,o.postStyleProps,i,o.stretchStartingKeyframe);return this.timelines.push(s),i}incrementTime(o){this.currentTimeline.forwardTime(this.currentTimeline.duration+o)}delayNextStep(o){o>0&&this.currentTimeline.delayNextStep(o)}invokeQuery(o,t,r,i,s,u){let p=[];if(i&&p.push(this.element),o.length>0){o=(o=o.replace(sce,"."+this._enterClassName)).replace(lce,"."+this._leaveClassName);let v=this._driver.query(this.element,o,1!=r);0!==r&&(v=r<0?v.slice(v.length+r,v.length):v.slice(0,r)),p.push(...v)}return!s&&0==p.length&&u.push(function mle(){return new Ve(3014,!1)}()),p}}class x1{constructor(o,t,r,i){this._driver=o,this.element=t,this.startTime=r,this._elementTimelineStylesLookup=i,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(o){const t=1===this._keyframes.size&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+o),t&&this.snapshotCurrentStyles()):this.startTime+=o}fork(o,t){return this.applyStylesToKeyframe(),new x1(this._driver,o,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(o){this.applyStylesToKeyframe(),this.duration=o,this._loadKeyframe()}_updateStyle(o,t){this._localTimelineStyles.set(o,t),this._globalTimelineStyles.set(o,t),this._styleSummary.set(o,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(o){o&&this._previousKeyframe.set("easing",o);for(let[t,r]of this._globalTimelineStyles)this._backFill.set(t,r||el),this._currentKeyframe.set(t,el);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(o,t,r,i){t&&this._previousKeyframe.set("easing",t);const s=i&&i.params||{},u=function uce(n,o){const t=new Map;let r;return n.forEach(i=>{if("*"===i){r??=o.keys();for(let s of r)t.set(s,el)}else for(let[s,u]of i)t.set(s,u)}),t}(o,this._globalTimelineStyles);for(let[p,m]of u){const v=Of(m,s,r);this._pendingStyles.set(p,v),this._localTimelineStyles.has(p)||this._backFill.set(p,this._globalTimelineStyles.get(p)??el),this._updateStyle(p,v)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((o,t)=>{this._currentKeyframe.set(t,o)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((o,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,o)}))}snapshotCurrentStyles(){for(let[o,t]of this._localTimelineStyles)this._pendingStyles.set(o,t),this._updateStyle(o,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const o=[];for(let t in this._currentKeyframe)o.push(t);return o}mergeTimelineCollectedStyles(o){o._styleSummary.forEach((t,r)=>{const i=this._styleSummary.get(r);(!i||t.time>i.time)&&this._updateStyle(r,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();const o=new Set,t=new Set,r=1===this._keyframes.size&&0===this.duration;let i=[];this._keyframes.forEach((p,m)=>{const v=new Map([...this._backFill,...p]);v.forEach((S,T)=>{"!"===S?o.add(T):S===el&&t.add(T)}),r||v.set("offset",m/this.duration),i.push(v)});const s=[...o.values()],u=[...t.values()];if(r){const p=i[0],m=new Map(p);p.set("offset",0),m.set("offset",1),i=[p,m]}return jb(this.element,i,s,u,this.duration,this.startTime,this.easing,!1)}}class dce extends x1{constructor(o,t,r,i,s,u,p=!1){super(o,t,u.delay),this.keyframes=r,this.preStyleProps=i,this.postStyleProps=s,this._stretchStartingKeyframe=p,this.timings={duration:u.duration,delay:u.delay,easing:u.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let o=this.keyframes,{delay:t,duration:r,easing:i}=this.timings;if(this._stretchStartingKeyframe&&t){const s=[],u=r+t,p=t/u,m=new Map(o[0]);m.set("offset",0),s.push(m);const v=new Map(o[0]);v.set("offset",lM(p)),s.push(v);const S=o.length-1;for(let T=1;T<=S;T++){let D=new Map(o[T]);const $=D.get("offset");D.set("offset",lM((t+$*r)/u)),s.push(D)}r=u,t=0,i="",o=s}return jb(this.element,o,this.preStyleProps,this.postStyleProps,r,t,i,!0)}}function lM(n,o=3){const t=Math.pow(10,o-1);return Math.round(n*t)/t}function cM(n,o,t,r,i,s,u,p,m,v,S,T,D){return{type:0,element:n,triggerName:o,isRemovalTransition:i,fromState:t,fromStyles:s,toState:r,toStyles:u,timelines:p,queriedElements:m,preStyleProps:v,postStyleProps:S,totalTime:T,errors:D}}const qb={};class dM{constructor(o,t,r){this._triggerName=o,this.ast=t,this._stateStyles=r}match(o,t,r,i){return function gce(n,o,t,r,i){return n.some(s=>s(o,t,r,i))}(this.ast.matchers,o,t,r,i)}buildStyles(o,t,r){let i=this._stateStyles.get("*");return void 0!==o&&(i=this._stateStyles.get(o?.toString())||i),i?i.buildStyles(t,r):new Map}build(o,t,r,i,s,u,p,m,v,S){const T=[],D=this.ast.options&&this.ast.options.params||qb,x=this.buildStyles(r,p&&p.params||qb,T),k=m&&m.params||qb,B=this.buildStyles(i,k,T),G=new Set,L=new Map,H=new Map,ge="void"===i,Fe={params:uM(k,D),delay:this.ast.options?.delay},He=S?[]:Gb(o,t,this.ast.animation,s,u,x,B,Fe,v,T);let ze=0;return He.forEach(lt=>{ze=Math.max(lt.duration+lt.delay,ze)}),T.length?cM(t,this._triggerName,r,i,ge,x,B,[],[],L,H,ze,T):(He.forEach(lt=>{const Le=lt.element,Ft=gs(L,Le,new Set);lt.preStyleProps.forEach(tt=>Ft.add(tt));const ct=gs(H,Le,new Set);lt.postStyleProps.forEach(tt=>ct.add(tt)),Le!==t&&G.add(Le)}),cM(t,this._triggerName,r,i,ge,x,B,He,[...G.values()],L,H,ze))}}function uM(n,o){const t={...o};return Object.entries(n).forEach(([r,i])=>{null!=i&&(t[r]=i)}),t}class fce{constructor(o,t,r){this.styles=o,this.defaultParams=t,this.normalizer=r}buildStyles(o,t){const r=new Map,i=uM(o,this.defaultParams);return this.styles.styles.forEach(s=>{"string"!=typeof s&&s.forEach((u,p)=>{u&&(u=Of(u,i,t));const m=this.normalizer.normalizePropertyName(p,t);u=this.normalizer.normalizeStyleValue(p,m,u,t),r.set(p,u)})}),r}}class hce{constructor(o,t,r){this.name=o,this.ast=t,this._normalizer=r,this.transitionFactories=[],this.states=new Map,t.states.forEach(i=>{this.states.set(i.name,new fce(i.style,i.options&&i.options.params||{},r))}),gM(this.states,"true","1"),gM(this.states,"false","0"),t.transitions.forEach(i=>{this.transitionFactories.push(new dM(o,i,this.states))}),this.fallbackTransition=function mce(n,o){return new dM(n,{type:hn.Transition,animation:{type:hn.Sequence,steps:[],options:null},matchers:[(u,p)=>!0],options:null,queryCount:0,depCount:0},o)}(o,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(o,t,r,i){return this.transitionFactories.find(u=>u.match(o,t,r,i))||null}matchStyles(o,t,r){return this.fallbackTransition.buildStyles(o,t,r)}}function gM(n,o,t){n.has(o)?n.has(t)||n.set(t,n.get(o)):n.has(t)&&n.set(o,n.get(t))}const _ce=new A1;class vce{constructor(o,t,r){this.bodyNode=o,this._driver=t,this._normalizer=r,this._animations=new Map,this._playersById=new Map,this.players=[]}register(o,t){const r=[],s=Vb(this._driver,t,r,[]);if(r.length)throw function Tle(){return new Ve(3503,!1)}();this._animations.set(o,s)}_buildPlayer(o,t,r){const i=o.element,s=KP(this._normalizer,o.keyframes,t,r);return this._driver.animate(i,s,o.duration,o.delay,o.easing,[],!0)}create(o,t,r={}){const i=[],s=this._animations.get(o);let u;const p=new Map;if(s?(u=Gb(this._driver,t,s,Rb,w1,new Map,new Map,r,_ce,i),u.forEach(S=>{const T=gs(p,S.element,new Map);S.postStyleProps.forEach(D=>T.set(D,null))})):(i.push(function wle(){return new Ve(3300,!1)}()),u=[]),i.length)throw function Ele(){return new Ve(3504,!1)}();p.forEach((S,T)=>{S.forEach((D,$)=>{S.set($,this._driver.computeStyle(T,$,el))})});const v=Fl(u.map(S=>{const T=p.get(S.element);return this._buildPlayer(S,new Map,T)}));return this._playersById.set(o,v),v.onDestroy(()=>this.destroy(o)),this.players.push(v),v}destroy(o){const t=this._getPlayer(o);t.destroy(),this._playersById.delete(o);const r=this.players.indexOf(t);r>=0&&this.players.splice(r,1)}_getPlayer(o){const t=this._playersById.get(o);if(!t)throw function Ile(){return new Ve(3301,!1)}();return t}listen(o,t,r,i){const s=Ab(t,"","","");return Mb(this._getPlayer(o),r,s,i),()=>{}}command(o,t,r,i){if("register"==r)return void this.register(o,i[0]);if("create"==r)return void this.create(o,t,i[0]||{});const s=this._getPlayer(o);switch(r){case"play":s.play();break;case"pause":s.pause();break;case"reset":s.reset();break;case"restart":s.restart();break;case"finish":s.finish();break;case"init":s.init();break;case"setPosition":s.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(o)}}}const fM="ng-animate-queued",Yb="ng-animate-disabled",Tce=[],pM={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},wce={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ea="__ng_removed";class Kb{get params(){return this.options.params}constructor(o,t=""){this.namespaceId=t;const r=o&&o.hasOwnProperty("value");if(this.value=function Pce(n){return n??null}(r?o.value:o),r){const{value:s,...u}=o;this.options=u}else this.options={};this.options.params||(this.options.params={})}absorbOptions(o){const t=o.params;if(t){const r=this.options.params;Object.keys(t).forEach(i=>{null==r[i]&&(r[i]=t[i])})}}}const kf="void",Xb=new Kb(kf);class Ece{constructor(o,t,r){this.id=o,this.hostElement=t,this._engine=r,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+o,Ps(t,this._hostClassName)}listen(o,t,r,i){if(!this._triggers.has(t))throw function Dle(){return new Ve(3302,!1)}();if(null==r||0==r.length)throw function Ple(){return new Ve(3303,!1)}();if(!function Mce(n){return"start"==n||"done"==n}(r))throw function Mle(){return new Ve(3400,!1)}();const s=gs(this._elementListeners,o,[]),u={name:t,phase:r,callback:i};s.push(u);const p=gs(this._engine.statesByElement,o,new Map);return p.has(t)||(Ps(o,E1),Ps(o,E1+"-"+t),p.set(t,Xb)),()=>{this._engine.afterFlush(()=>{const m=s.indexOf(u);m>=0&&s.splice(m,1),this._triggers.has(t)||p.delete(t)})}}register(o,t){return!this._triggers.has(o)&&(this._triggers.set(o,t),!0)}_getTrigger(o){const t=this._triggers.get(o);if(!t)throw function $le(){return new Ve(3401,!1)}();return t}trigger(o,t,r,i=!0){const s=this._getTrigger(t),u=new Zb(this.id,t,o);let p=this._engine.statesByElement.get(o);p||(Ps(o,E1),Ps(o,E1+"-"+t),this._engine.statesByElement.set(o,p=new Map));let m=p.get(t);const v=new Kb(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&m&&v.absorbOptions(m.options),p.set(t,v),m||(m=Xb),v.value!==kf&&m.value===v.value){if(!function Nce(n,o){const t=Object.keys(n),r=Object.keys(o);if(t.length!=r.length)return!1;for(let i=0;i<t.length;i++){const s=t[i];if(!o.hasOwnProperty(s)||n[s]!==o[s])return!1}return!0}(m.params,v.params)){const k=[],B=s.matchStyles(m.value,m.params,k),G=s.matchStyles(v.value,v.params,k);k.length?this._engine.reportError(k):this._engine.afterFlush(()=>{Ac(o,B),Ma(o,G)})}return}const D=gs(this._engine.playersByElement,o,[]);D.forEach(k=>{k.namespaceId==this.id&&k.triggerName==t&&k.queued&&k.destroy()});let $=s.matchTransition(m.value,v.value,o,v.params),x=!1;if(!$){if(!i)return;$=s.fallbackTransition,x=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:o,triggerName:t,transition:$,fromState:m,toState:v,player:u,isFallbackTransition:x}),x||(Ps(o,fM),u.onStart(()=>{_u(o,fM)})),u.onDone(()=>{let k=this.players.indexOf(u);k>=0&&this.players.splice(k,1);const B=this._engine.playersByElement.get(o);if(B){let G=B.indexOf(u);G>=0&&B.splice(G,1)}}),this.players.push(u),D.push(u),u}deregister(o){this._triggers.delete(o),this._engine.statesByElement.forEach(t=>t.delete(o)),this._elementListeners.forEach((t,r)=>{this._elementListeners.set(r,t.filter(i=>i.name!=o))})}clearElementCache(o){this._engine.statesByElement.delete(o),this._elementListeners.delete(o);const t=this._engine.playersByElement.get(o);t&&(t.forEach(r=>r.destroy()),this._engine.playersByElement.delete(o))}_signalRemovalForInnerTriggers(o,t){const r=this._engine.driver.query(o,I1,!0);r.forEach(i=>{if(i[ea])return;const s=this._engine.fetchNamespacesByElement(i);s.size?s.forEach(u=>u.triggerLeaveAnimation(i,t,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(o,t,r,i){const s=this._engine.statesByElement.get(o),u=new Map;if(s){const p=[];if(s.forEach((m,v)=>{if(u.set(v,m.value),this._triggers.has(v)){const S=this.trigger(o,v,kf,i);S&&p.push(S)}}),p.length)return this._engine.markElementAsRemoved(this.id,o,!0,t,u),r&&Fl(p).onDone(()=>this._engine.processLeaveNode(o)),!0}return!1}prepareLeaveAnimationListeners(o){const t=this._elementListeners.get(o),r=this._engine.statesByElement.get(o);if(t&&r){const i=new Set;t.forEach(s=>{const u=s.name;if(i.has(u))return;i.add(u);const m=this._triggers.get(u).fallbackTransition,v=r.get(u)||Xb,S=new Kb(kf),T=new Zb(this.id,u,o);this._engine.totalQueuedPlayers++,this._queue.push({element:o,triggerName:u,transition:m,fromState:v,toState:S,player:T,isFallbackTransition:!0})})}}removeNode(o,t){const r=this._engine;if(o.childElementCount&&this._signalRemovalForInnerTriggers(o,t),this.triggerLeaveAnimation(o,t,!0))return;let i=!1;if(r.totalAnimations){const s=r.players.length?r.playersByQueriedElement.get(o):[];if(s&&s.length)i=!0;else{let u=o;for(;u=u.parentNode;)if(r.statesByElement.get(u)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(o),i)r.markElementAsRemoved(this.id,o,!1,t);else{const s=o[ea];(!s||s===pM)&&(r.afterFlush(()=>this.clearElementCache(o)),r.destroyInnerAnimations(o),r._onRemovalComplete(o,t))}}insertNode(o,t){Ps(o,this._hostClassName)}drainQueuedTransitions(o){const t=[];return this._queue.forEach(r=>{const i=r.player;if(i.destroyed)return;const s=r.element,u=this._elementListeners.get(s);u&&u.forEach(p=>{if(p.name==r.triggerName){const m=Ab(s,r.triggerName,r.fromState.value,r.toState.value);m._data=o,Mb(r.player,p.phase,m,p.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):t.push(r)}),this._queue=[],t.sort((r,i)=>{const s=r.transition.ast.depCount,u=i.transition.ast.depCount;return 0==s||0==u?s-u:this._engine.driver.containsElement(r.element,i.element)?1:-1})}destroy(o){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,o)}}class Ice{_onRemovalComplete(o,t){this.onRemovalComplete(o,t)}constructor(o,t,r){this.bodyNode=o,this.driver=t,this._normalizer=r,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(i,s)=>{}}get queuedPlayers(){const o=[];return this._namespaceList.forEach(t=>{t.players.forEach(r=>{r.queued&&o.push(r)})}),o}createNamespace(o,t){const r=new Ece(o,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(r,t):(this.newHostElements.set(t,r),this.collectEnterElement(t)),this._namespaceLookup[o]=r}_balanceNamespaceList(o,t){const r=this._namespaceList,i=this.namespacesByHostElement;if(r.length-1>=0){let u=!1,p=this.driver.getParentElement(t);for(;p;){const m=i.get(p);if(m){const v=r.indexOf(m);r.splice(v+1,0,o),u=!0;break}p=this.driver.getParentElement(p)}u||r.unshift(o)}else r.push(o);return i.set(t,o),o}register(o,t){let r=this._namespaceLookup[o];return r||(r=this.createNamespace(o,t)),r}registerTrigger(o,t,r){let i=this._namespaceLookup[o];i&&i.register(t,r)&&this.totalAnimations++}destroy(o,t){o&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const r=this._fetchNamespace(o);this.namespacesByHostElement.delete(r.hostElement);const i=this._namespaceList.indexOf(r);i>=0&&this._namespaceList.splice(i,1),r.destroy(t),delete this._namespaceLookup[o]}))}_fetchNamespace(o){return this._namespaceLookup[o]}fetchNamespacesByElement(o){const t=new Set,r=this.statesByElement.get(o);if(r)for(let i of r.values())if(i.namespaceId){const s=this._fetchNamespace(i.namespaceId);s&&t.add(s)}return t}trigger(o,t,r,i){if(O1(t)){const s=this._fetchNamespace(o);if(s)return s.trigger(t,r,i),!0}return!1}insertNode(o,t,r,i){if(!O1(t))return;const s=t[ea];if(s&&s.setForRemoval){s.setForRemoval=!1,s.setForMove=!0;const u=this.collectedLeaveElements.indexOf(t);u>=0&&this.collectedLeaveElements.splice(u,1)}if(o){const u=this._fetchNamespace(o);u&&u.insertNode(t,r)}i&&this.collectEnterElement(t)}collectEnterElement(o){this.collectedEnterElements.push(o)}markElementAsDisabled(o,t){t?this.disabledNodes.has(o)||(this.disabledNodes.add(o),Ps(o,Yb)):this.disabledNodes.has(o)&&(this.disabledNodes.delete(o),_u(o,Yb))}removeNode(o,t,r){if(O1(t)){const i=o?this._fetchNamespace(o):null;i?i.removeNode(t,r):this.markElementAsRemoved(o,t,!1,r);const s=this.namespacesByHostElement.get(t);s&&s.id!==o&&s.removeNode(t,r)}else this._onRemovalComplete(t,r)}markElementAsRemoved(o,t,r,i,s){this.collectedLeaveElements.push(t),t[ea]={namespaceId:o,setForRemoval:i,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:s}}listen(o,t,r,i,s){return O1(t)?this._fetchNamespace(o).listen(t,r,i,s):()=>{}}_buildInstruction(o,t,r,i,s){return o.transition.build(this.driver,o.element,o.fromState.value,o.toState.value,r,i,o.fromState.options,o.toState.options,t,s)}destroyInnerAnimations(o){let t=this.driver.query(o,I1,!0);t.forEach(r=>this.destroyActiveAnimationsForElement(r)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(o,Lb,!0),t.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(o){const t=this.playersByElement.get(o);t&&t.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(o){const t=this.playersByQueriedElement.get(o);t&&t.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(o=>{if(this.players.length)return Fl(this.players).onDone(()=>o());o()})}processLeaveNode(o){const t=o[ea];if(t&&t.setForRemoval){if(o[ea]=pM,t.namespaceId){this.destroyInnerAnimations(o);const r=this._fetchNamespace(t.namespaceId);r&&r.clearElementCache(o)}this._onRemovalComplete(o,t.setForRemoval)}o.classList?.contains(Yb)&&this.markElementAsDisabled(o,!1),this.driver.query(o,".ng-animate-disabled",!0).forEach(r=>{this.markElementAsDisabled(r,!1)})}flush(o=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((r,i)=>this._balanceNamespaceList(r,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let r=0;r<this.collectedEnterElements.length;r++)Ps(this.collectedEnterElements[r],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const r=[];try{t=this._flushAnimations(r,o)}finally{for(let i=0;i<r.length;i++)r[i]()}}else for(let r=0;r<this.collectedLeaveElements.length;r++)this.processLeaveNode(this.collectedLeaveElements[r]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(r=>r()),this._flushFns=[],this._whenQuietFns.length){const r=this._whenQuietFns;this._whenQuietFns=[],t.length?Fl(t).onDone(()=>{r.forEach(i=>i())}):r.forEach(i=>i())}}reportError(o){throw function Ale(){return new Ve(3402,!1)}()}_flushAnimations(o,t){const r=new A1,i=[],s=new Map,u=[],p=new Map,m=new Map,v=new Map,S=new Set;this.disabledNodes.forEach(We=>{S.add(We);const Ne=this.driver.query(We,".ng-animate-queued",!0);for(let Ze=0;Ze<Ne.length;Ze++)S.add(Ne[Ze])});const T=this.bodyNode,D=Array.from(this.statesByElement.keys()),$=_M(D,this.collectedEnterElements),x=new Map;let k=0;$.forEach((We,Ne)=>{const Ze=Rb+k++;x.set(Ne,Ze),We.forEach(Qe=>Ps(Qe,Ze))});const B=[],G=new Set,L=new Set;for(let We=0;We<this.collectedLeaveElements.length;We++){const Ne=this.collectedLeaveElements[We],Ze=Ne[ea];Ze&&Ze.setForRemoval&&(B.push(Ne),G.add(Ne),Ze.hasAnimation?this.driver.query(Ne,".ng-star-inserted",!0).forEach(Qe=>G.add(Qe)):L.add(Ne))}const H=new Map,ge=_M(D,Array.from(G));ge.forEach((We,Ne)=>{const Ze=w1+k++;H.set(Ne,Ze),We.forEach(Qe=>Ps(Qe,Ze))}),o.push(()=>{$.forEach((We,Ne)=>{const Ze=x.get(Ne);We.forEach(Qe=>_u(Qe,Ze))}),ge.forEach((We,Ne)=>{const Ze=H.get(Ne);We.forEach(Qe=>_u(Qe,Ze))}),B.forEach(We=>{this.processLeaveNode(We)})});const Fe=[],He=[];for(let We=this._namespaceList.length-1;We>=0;We--)this._namespaceList[We].drainQueuedTransitions(t).forEach(Ze=>{const Qe=Ze.player,Zt=Ze.element;if(Fe.push(Qe),this.collectedEnterElements.length){const er=Zt[ea];if(er&&er.setForMove){if(er.previousTriggersValues&&er.previousTriggersValues.has(Ze.triggerName)){const Aa=er.previousTriggersValues.get(Ze.triggerName),Ri=this.statesByElement.get(Ze.element);if(Ri&&Ri.has(Ze.triggerName)){const kc=Ri.get(Ze.triggerName);kc.value=Aa,Ri.set(Ze.triggerName,kc)}}return void Qe.destroy()}}const Hn=!T||!this.driver.containsElement(T,Zt),No=H.get(Zt),en=x.get(Zt),cn=this._buildInstruction(Ze,r,en,No,Hn);if(cn.errors&&cn.errors.length)return void He.push(cn);if(Hn)return Qe.onStart(()=>Ac(Zt,cn.fromStyles)),Qe.onDestroy(()=>Ma(Zt,cn.toStyles)),void i.push(Qe);if(Ze.isFallbackTransition)return Qe.onStart(()=>Ac(Zt,cn.fromStyles)),Qe.onDestroy(()=>Ma(Zt,cn.toStyles)),void i.push(Qe);const ki=[];cn.timelines.forEach(er=>{er.stretchStartingKeyframe=!0,this.disabledNodes.has(er.element)||ki.push(er)}),cn.timelines=ki,r.append(Zt,cn.timelines),u.push({instruction:cn,player:Qe,element:Zt}),cn.queriedElements.forEach(er=>gs(p,er,[]).push(Qe)),cn.preStyleProps.forEach((er,Aa)=>{if(er.size){let Ri=m.get(Aa);Ri||m.set(Aa,Ri=new Set),er.forEach((kc,yu)=>Ri.add(yu))}}),cn.postStyleProps.forEach((er,Aa)=>{let Ri=v.get(Aa);Ri||v.set(Aa,Ri=new Set),er.forEach((kc,yu)=>Ri.add(yu))})});if(He.length){const We=[];He.forEach(Ne=>{We.push(function Nle(){return new Ve(3505,!1)}())}),Fe.forEach(Ne=>Ne.destroy()),this.reportError(We)}const ze=new Map,lt=new Map;u.forEach(We=>{const Ne=We.element;r.has(Ne)&&(lt.set(Ne,Ne),this._beforeAnimationBuild(We.player.namespaceId,We.instruction,ze))}),i.forEach(We=>{const Ne=We.element;this._getPreviousPlayers(Ne,!1,We.namespaceId,We.triggerName,null).forEach(Qe=>{gs(ze,Ne,[]).push(Qe),Qe.destroy()})});const Le=B.filter(We=>yM(We,m,v)),Ft=new Map;mM(Ft,this.driver,L,v,el).forEach(We=>{yM(We,m,v)&&Le.push(We)});const tt=new Map;$.forEach((We,Ne)=>{mM(tt,this.driver,new Set(We),m,"!")}),Le.forEach(We=>{const Ne=Ft.get(We),Ze=tt.get(We);Ft.set(We,new Map([...Ne?.entries()??[],...Ze?.entries()??[]]))});const ot=[],be=[],Ke={};u.forEach(We=>{const{element:Ne,player:Ze,instruction:Qe}=We;if(r.has(Ne)){if(S.has(Ne))return Ze.onDestroy(()=>Ma(Ne,Qe.toStyles)),Ze.disabled=!0,Ze.overrideTotalTime(Qe.totalTime),void i.push(Ze);let Zt=Ke;if(lt.size>1){let No=Ne;const en=[];for(;No=No.parentNode;){const cn=lt.get(No);if(cn){Zt=cn;break}en.push(No)}en.forEach(cn=>lt.set(cn,Zt))}const Hn=this._buildAnimation(Ze.namespaceId,Qe,ze,s,tt,Ft);if(Ze.setRealPlayer(Hn),Zt===Ke)ot.push(Ze);else{const No=this.playersByElement.get(Zt);No&&No.length&&(Ze.parentPlayer=Fl(No)),i.push(Ze)}}else Ac(Ne,Qe.fromStyles),Ze.onDestroy(()=>Ma(Ne,Qe.toStyles)),be.push(Ze),S.has(Ne)&&i.push(Ze)}),be.forEach(We=>{const Ne=s.get(We.element);if(Ne&&Ne.length){const Ze=Fl(Ne);We.setRealPlayer(Ze)}}),i.forEach(We=>{We.parentPlayer?We.syncPlayerEvents(We.parentPlayer):We.destroy()});for(let We=0;We<B.length;We++){const Ne=B[We],Ze=Ne[ea];if(_u(Ne,w1),Ze&&Ze.hasAnimation)continue;let Qe=[];if(p.size){let Hn=p.get(Ne);Hn&&Hn.length&&Qe.push(...Hn);let No=this.driver.query(Ne,Lb,!0);for(let en=0;en<No.length;en++){let cn=p.get(No[en]);cn&&cn.length&&Qe.push(...cn)}}const Zt=Qe.filter(Hn=>!Hn.destroyed);Zt.length?$ce(this,Ne,Zt):this.processLeaveNode(Ne)}return B.length=0,ot.forEach(We=>{this.players.push(We),We.onDone(()=>{We.destroy();const Ne=this.players.indexOf(We);this.players.splice(Ne,1)}),We.play()}),ot}afterFlush(o){this._flushFns.push(o)}afterFlushAnimationsDone(o){this._whenQuietFns.push(o)}_getPreviousPlayers(o,t,r,i,s){let u=[];if(t){const p=this.playersByQueriedElement.get(o);p&&(u=p)}else{const p=this.playersByElement.get(o);if(p){const m=!s||s==kf;p.forEach(v=>{v.queued||!m&&v.triggerName!=i||u.push(v)})}}return(r||i)&&(u=u.filter(p=>!(r&&r!=p.namespaceId||i&&i!=p.triggerName))),u}_beforeAnimationBuild(o,t,r){const s=t.element,u=t.isRemovalTransition?void 0:o,p=t.isRemovalTransition?void 0:t.triggerName;for(const m of t.timelines){const v=m.element,S=v!==s,T=gs(r,v,[]);this._getPreviousPlayers(v,S,u,p,t.toState).forEach($=>{const x=$.getRealPlayer();x.beforeDestroy&&x.beforeDestroy(),$.destroy(),T.push($)})}Ac(s,t.fromStyles)}_buildAnimation(o,t,r,i,s,u){const p=t.triggerName,m=t.element,v=[],S=new Set,T=new Set,D=t.timelines.map(x=>{const k=x.element;S.add(k);const B=k[ea];if(B&&B.removedBeforeQueried)return new Cf(x.duration,x.delay);const G=k!==m,L=function Ace(n){const o=[];return vM(n,o),o}((r.get(k)||Tce).map(ze=>ze.getRealPlayer())).filter(ze=>!!ze.element&&ze.element===k),H=s.get(k),ge=u.get(k),Fe=KP(this._normalizer,x.keyframes,H,ge),He=this._buildPlayer(x,Fe,L);if(x.subTimeline&&i&&T.add(k),G){const ze=new Zb(o,p,k);ze.setRealPlayer(He),v.push(ze)}return He});v.forEach(x=>{gs(this.playersByQueriedElement,x.element,[]).push(x),x.onDone(()=>function Dce(n,o,t){let r=n.get(o);if(r){if(r.length){const i=r.indexOf(t);r.splice(i,1)}0==r.length&&n.delete(o)}return r}(this.playersByQueriedElement,x.element,x))}),S.forEach(x=>Ps(x,tM));const $=Fl(D);return $.onDestroy(()=>{S.forEach(x=>_u(x,tM)),Ma(m,t.toStyles)}),T.forEach(x=>{gs(i,x,[]).push($)}),$}_buildPlayer(o,t,r){return t.length>0?this.driver.animate(o.element,t,o.duration,o.delay,o.easing,r):new Cf(o.duration,o.delay)}}class Zb{constructor(o,t,r){this.namespaceId=o,this.triggerName=t,this.element=r,this._player=new Cf,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(o){this._containsRealPlayer||(this._player=o,this._queuedCallbacks.forEach((t,r)=>{t.forEach(i=>Mb(o,r,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(o.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(o){this.totalTime=o}syncPlayerEvents(o){const t=this._player;t.triggerCallback&&o.onStart(()=>t.triggerCallback("start")),o.onDone(()=>this.finish()),o.onDestroy(()=>this.destroy())}_queueEvent(o,t){gs(this._queuedCallbacks,o,[]).push(t)}onDone(o){this.queued&&this._queueEvent("done",o),this._player.onDone(o)}onStart(o){this.queued&&this._queueEvent("start",o),this._player.onStart(o)}onDestroy(o){this.queued&&this._queueEvent("destroy",o),this._player.onDestroy(o)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(o){this.queued||this._player.setPosition(o)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(o){const t=this._player;t.triggerCallback&&t.triggerCallback(o)}}function O1(n){return n&&1===n.nodeType}function hM(n,o){const t=n.style.display;return n.style.display=o??"none",t}function mM(n,o,t,r,i){const s=[];t.forEach(m=>s.push(hM(m)));const u=[];r.forEach((m,v)=>{const S=new Map;m.forEach(T=>{const D=o.computeStyle(v,T,i);S.set(T,D),(!D||0==D.length)&&(v[ea]=wce,u.push(v))}),n.set(v,S)});let p=0;return t.forEach(m=>hM(m,s[p++])),u}function _M(n,o){const t=new Map;if(n.forEach(p=>t.set(p,[])),0==o.length)return t;const i=new Set(o),s=new Map;function u(p){if(!p)return 1;let m=s.get(p);if(m)return m;const v=p.parentNode;return m=t.has(v)?v:i.has(v)?1:u(v),s.set(p,m),m}return o.forEach(p=>{const m=u(p);1!==m&&t.get(m).push(p)}),t}function Ps(n,o){n.classList?.add(o)}function _u(n,o){n.classList?.remove(o)}function $ce(n,o,t){Fl(t).onDone(()=>n.processLeaveNode(o))}function vM(n,o){for(let t=0;t<n.length;t++){const r=n[t];r instanceof sP?vM(r.players,o):o.push(r)}}function yM(n,o,t){const r=t.get(n);if(!r)return!1;let i=o.get(n);return i?r.forEach(s=>i.add(s)):o.set(n,r),t.delete(n),!0}class Rf{constructor(o,t,r){this._driver=t,this._normalizer=r,this._triggerCache={},this.onRemovalComplete=(i,s)=>{},this._transitionEngine=new Ice(o.body,t,r),this._timelineEngine=new vce(o.body,t,r),this._transitionEngine.onRemovalComplete=(i,s)=>this.onRemovalComplete(i,s)}registerTrigger(o,t,r,i,s){const u=o+"-"+i;let p=this._triggerCache[u];if(!p){const m=[],S=Vb(this._driver,s,m,[]);if(m.length)throw function Sle(){return new Ve(3404,!1)}();p=function pce(n,o,t){return new hce(n,o,t)}(i,S,this._normalizer),this._triggerCache[u]=p}this._transitionEngine.registerTrigger(t,i,p)}register(o,t){this._transitionEngine.register(o,t)}destroy(o,t){this._transitionEngine.destroy(o,t)}onInsert(o,t,r,i){this._transitionEngine.insertNode(o,t,r,i)}onRemove(o,t,r){this._transitionEngine.removeNode(o,t,r)}disableAnimations(o,t){this._transitionEngine.markElementAsDisabled(o,t)}process(o,t,r,i){if("@"==r.charAt(0)){const[s,u]=XP(r);this._timelineEngine.command(s,t,u,i)}else this._transitionEngine.trigger(o,t,r,i)}listen(o,t,r,i,s){if("@"==r.charAt(0)){const[u,p]=XP(r);return this._timelineEngine.listen(u,t,p,s)}return this._transitionEngine.listen(o,t,r,i,s)}flush(o=-1){this._transitionEngine.flush(o)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(o){this._transitionEngine.afterFlushAnimationsDone(o)}}class Lf{static{this.initialStylesByElement=new WeakMap}constructor(o,t,r){this._element=o,this._startStyles=t,this._endStyles=r,this._state=0;let i=Lf.initialStylesByElement.get(o);i||Lf.initialStylesByElement.set(o,i=new Map),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&Ma(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Ma(this._element,this._initialStyles),this._endStyles&&(Ma(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Lf.initialStylesByElement.delete(this._element),this._startStyles&&(Ac(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Ac(this._element,this._endStyles),this._endStyles=null),Ma(this._element,this._initialStyles),this._state=3)}}function Qb(n){let o=null;return n.forEach((t,r)=>{(function Oce(n){return"display"===n||"position"===n})(r)&&(o=o||new Map,o.set(r,t))}),o}class bM{constructor(o,t,r,i){this.element=o,this.keyframes=t,this.options=r,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(o=>o()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const o=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,o,this.options),this._finalKeyframe=o.length?o[o.length-1]:new Map;const t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(o){const t=[];return o.forEach(r=>{t.push(Object.fromEntries(r))}),t}_triggerWebAnimation(o,t,r){return o.animate(this._convertKeyframesToObject(t),r)}onStart(o){this._originalOnStartFns.push(o),this._onStartFns.push(o)}onDone(o){this._originalOnDoneFns.push(o),this._onDoneFns.push(o)}onDestroy(o){this._onDestroyFns.push(o)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(o=>o()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(o=>o()),this._onDestroyFns=[])}setPosition(o){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=o*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const o=new Map;this.hasStarted()&&this._finalKeyframe.forEach((r,i)=>{"offset"!==i&&o.set(i,this._finished?r:zb(this.element,i))}),this.currentSnapshot=o}triggerCallback(o){const t="start"===o?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}}class SM{validateStyleProperty(o){return!0}validateAnimatableStyleProperty(o){return!0}containsElement(o,t){return QP(o,t)}getParentElement(o){return Nb(o)}query(o,t,r){return JP(o,t,r)}computeStyle(o,t,r){return zb(o,t)}animate(o,t,r,i,s,u=[]){const m={duration:r,delay:i,fill:0==i?"both":"forwards"};s&&(m.easing=s);const v=new Map,S=u.filter($=>$ instanceof bM);(function Gle(n,o){return 0===n||0===o})(r,i)&&S.forEach($=>{$.currentSnapshot.forEach((x,k)=>v.set(k,x))});let T=function Vle(n){return n.length?n[0]instanceof Map?n:n.map(o=>new Map(Object.entries(o))):[]}(t).map($=>new Map($));T=function Wle(n,o,t){if(t.size&&o.length){let r=o[0],i=[];if(t.forEach((s,u)=>{r.has(u)||i.push(u),r.set(u,s)}),i.length)for(let s=1;s<o.length;s++){let u=o[s];i.forEach(p=>u.set(p,zb(n,p)))}}return o}(o,T,v);const D=function xce(n,o){let t=null,r=null;return Array.isArray(o)&&o.length?(t=Qb(o[0]),o.length>1&&(r=Qb(o[o.length-1]))):o instanceof Map&&(t=Qb(o)),t||r?new Lf(n,t,r):null}(o,T);return new bM(o,T,m,D)}}const CM="@.disabled";class TM{constructor(o,t,r,i){this.namespaceId=o,this.delegate=t,this.engine=r,this._onDestroy=i,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(o){this.delegate.destroyNode?.(o)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(o,t){return this.delegate.createElement(o,t)}createComment(o){return this.delegate.createComment(o)}createText(o){return this.delegate.createText(o)}appendChild(o,t){this.delegate.appendChild(o,t),this.engine.onInsert(this.namespaceId,t,o,!1)}insertBefore(o,t,r,i=!0){this.delegate.insertBefore(o,t,r),this.engine.onInsert(this.namespaceId,t,o,i)}removeChild(o,t,r){this.parentNode(t)&&this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(o,t){return this.delegate.selectRootElement(o,t)}parentNode(o){return this.delegate.parentNode(o)}nextSibling(o){return this.delegate.nextSibling(o)}setAttribute(o,t,r,i){this.delegate.setAttribute(o,t,r,i)}removeAttribute(o,t,r){this.delegate.removeAttribute(o,t,r)}addClass(o,t){this.delegate.addClass(o,t)}removeClass(o,t){this.delegate.removeClass(o,t)}setStyle(o,t,r,i){this.delegate.setStyle(o,t,r,i)}removeStyle(o,t,r){this.delegate.removeStyle(o,t,r)}setProperty(o,t,r){"@"==t.charAt(0)&&t==CM?this.disableAnimations(o,!!r):this.delegate.setProperty(o,t,r)}setValue(o,t){this.delegate.setValue(o,t)}listen(o,t,r){return this.delegate.listen(o,t,r)}disableAnimations(o,t){this.engine.disableAnimations(o,t)}}class kce extends TM{constructor(o,t,r,i,s){super(t,r,i,s),this.factory=o,this.namespaceId=t}setProperty(o,t,r){"@"==t.charAt(0)?"."==t.charAt(1)&&t==CM?this.disableAnimations(o,r=void 0===r||!!r):this.engine.process(this.namespaceId,o,t.slice(1),r):this.delegate.setProperty(o,t,r)}listen(o,t,r){if("@"==t.charAt(0)){const i=function Rce(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(o);let s=t.slice(1),u="";return"@"!=s.charAt(0)&&([s,u]=function Lce(n){const o=n.indexOf(".");return[n.substring(0,o),n.slice(o+1)]}(s)),this.engine.listen(this.namespaceId,i,s,u,p=>{this.factory.scheduleListenerCallback(p._data||-1,r,p)})}return this.delegate.listen(o,t,r)}}class Fce{constructor(o,t,r){this.delegate=o,this.engine=t,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,t.onRemovalComplete=(i,s)=>{s?.removeChild(null,i)}}createRenderer(o,t){const i=this.delegate.createRenderer(o,t);if(!o||!t?.data?.animation){const v=this._rendererCache;let S=v.get(i);return S||(S=new TM("",i,this.engine,()=>v.delete(i)),v.set(i,S)),S}const s=t.id,u=t.id+"-"+this._currentId;this._currentId++,this.engine.register(u,o);const p=v=>{Array.isArray(v)?v.forEach(p):this.engine.registerTrigger(s,u,o,v.name,v)};return t.data.animation.forEach(p),new kce(this,u,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(o,t,r){if(o>=0&&o<this._microtaskId)return void this._zone.run(()=>t(r));const i=this._animationCallbacksBuffer;0==i.length&&queueMicrotask(()=>{this._zone.run(()=>{i.forEach(s=>{const[u,p]=s;u(p)}),this._animationCallbacksBuffer=[]})}),i.push([t,r])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}const wM=[{provide:kb,useFactory:function Uce(){return new rM}},{provide:Rf,useClass:(()=>{class n extends Rf{constructor(t,r,i){super(t,r,i)}ngOnDestroy(){this.flush()}static{this.\u0275fac=function(r){return new(r||n)(Tt(ui),Tt(Ob),Tt(kb))}}static{this.\u0275prov=St({token:n,factory:n.\u0275fac})}}return n})()},{provide:Zp,useFactory:function zce(n,o,t){return new Fce(n,o,t)},deps:[Dv,Rf,dt]}],Jb=[{provide:Ob,useFactory:()=>new SM},{provide:NC,useValue:"BrowserAnimations"},...wM],EM=[{provide:Ob,useClass:xb},{provide:NC,useValue:"NoopAnimations"},...wM];let IM=(()=>{class n{static withConfig(t){return{ngModule:n,providers:t.disableAnimations?EM:Jb}}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275mod=bn({type:n})}static{this.\u0275inj=mn({providers:Jb,imports:[S6]})}}return n})(),pr=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275mod=bn({type:n});static \u0275inj=mn({imports:[_o,po,Io,IM]})}return n})();const Vce=[{path:"",component:ub}];let DM=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275mod=bn({type:n});static \u0275inj=mn({imports:[po,Io,_o,pr,Jo.forChild(Vce)]})}return n})();const Hce=[{path:"",component:mb}];let jce=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275mod=bn({type:n});static \u0275inj=mn({imports:[po,Io,_o,pr,Jo.forChild(Hce)]})}return n})();const Gce=[{path:"",component:EP}];let Wce=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275mod=bn({type:n});static \u0275inj=mn({imports:[po,Io,_o,pr,Jo.forChild(Gce)]})}return n})();const qce=[{path:"",component:IP}];let Yce=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275mod=bn({type:n});static \u0275inj=mn({imports:[po,Io,_o,Jo.forChild(qce)]})}return n})();const Kce=[{path:"",component:p1}];let Xce=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275mod=bn({type:n});static \u0275inj=mn({imports:[po,Io,_o,Jo.forChild(Kce)]})}return n})();const Zce=[{path:"",component:db}];let Qce=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275mod=bn({type:n});static \u0275inj=mn({imports:[po,Io,_o,pr,Jo.forChild(Zce)]})}return n})();const Jce=[{path:"",component:TP}];let ede=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275mod=bn({type:n});static \u0275inj=mn({imports:[po,Io,_o,Jo.forChild(Jce)]})}return n})();const tde=[{path:"",component:wP}];let nde=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275mod=bn({type:n});static \u0275inj=mn({imports:[po,pr,Io,_o,Jo.forChild(tde)]})}return n})();function ode(n,o){if(1&n&&(I(0,"ion-header")(1,"ion-toolbar",1)(2,"ion-title"),z(3),E()(),oe(4,"app-smart-bar"),E()),2&n){const t=M();C(3),Re(t.orgService.organization.settings.screens.about.toolbarText.value)}}function rde(n,o){1&n&&oe(0,"ion-img",10),2&n&&P("src",M(3).orgService.organization.settings.images.logo.value)}function ide(n,o){if(1&n&&(I(0,"ion-card",8),se(1,rde,1,1,"ion-img",9),E()),2&n){const t=M(2);C(),P("ngIf",t.orgService.organization.settings.images.logo.value)}}function sde(n,o){if(1&n&&(I(0,"td")(1,"ion-fab-button",12),oe(2,"i",13),E()()),2&n){const t=M(3);C(),P("href",t.orgService.organization.instagram)}}function ade(n,o){if(1&n&&(I(0,"td")(1,"ion-fab-button",12),oe(2,"i",14),E()()),2&n){const t=M(3);C(),P("href",t.orgService.organization.facebook)}}function lde(n,o){if(1&n&&(I(0,"td")(1,"ion-fab-button",12),oe(2,"i",15),E()()),2&n){const t=M(3);C(),P("href",t.orgService.organization.twitter)}}function cde(n,o){if(1&n&&(I(0,"td")(1,"ion-fab-button",12),oe(2,"i",16),E()()),2&n){const t=M(3);C(),P("href",t.orgService.organization.youTube)}}function dde(n,o){if(1&n&&(I(0,"td")(1,"ion-fab-button",12),oe(2,"i",17),E()()),2&n){const t=M(3);C(),P("href",t.orgService.organization.snapchat)}}function ude(n,o){if(1&n&&(I(0,"table",11)(1,"tr"),se(2,sde,3,1,"td",0)(3,ade,3,1,"td",0)(4,lde,3,1,"td",0)(5,cde,3,1,"td",0)(6,dde,3,1,"td",0),E()()),2&n){const t=M(2);C(2),P("ngIf",t.orgService.organization.instagram),C(),P("ngIf",t.orgService.organization.facebook),C(),P("ngIf",t.orgService.organization.twitter),C(),P("ngIf",t.orgService.organization.youTube),C(),P("ngIf",t.orgService.organization.snapchat)}}function gde(n,o){if(1&n){const t=Me();I(0,"span",18),oe(1,"i",19),I(2,"a",20),re("click",function(){return le(t),ce(M(2).goToWebsite())}),z(3),E()()}if(2&n){const t=M(2);C(3),Re(t.orgService.organization.webSiteUrl)}}function fde(n,o){if(1&n&&(I(0,"ion-content"),se(1,ide,2,1,"ion-card",2)(2,ude,7,5,"table",3),I(3,"ion-card",4)(4,"ion-card-header")(5,"ion-card-title",5),z(6),E()(),I(7,"ion-card-content"),se(8,gde,4,1,"span",6),E(),I(9,"ion-card-content",7),z(10),E()()()),2&n){const t=M();C(),P("ngIf",t.orgService.organization.settings.images),C(),P("ngIf",t.orgService.organization.instagram||t.orgService.organization.facebook||t.orgService.organization.twitter),C(4),Re(t.orgService.organization.name),C(2),P("ngIf",t.orgService.organization.webSiteUrl),C(2),Te(" ",t.orgService.organization.description," ")}}let PM=(()=>{class n extends Nn{injector;url;constructor(t){super(t),this.injector=t}goToWebsite(t){this.url=t?this.orgService.organization[t]:this.orgService.organization.webSiteUrl,this.url=this.url.trim(),this.url.startsWith("http")||(this.url="https://"+this.url),wf.open({url:this.url})}static \u0275fac=function(r){return new(r||n)(N(Ht))};static \u0275cmp=je({type:n,selectors:[["app-about"]],features:[Dt],decls:2,vars:2,consts:[[4,"ngIf"],["color","secondary",1,"mobile-item"],["class","image-box",4,"ngIf"],["class","sm-table",4,"ngIf"],["color","primary",1,"screen-item"],[1,"wrap"],["class","link",4,"ngIf"],[1,"justify"],[1,"image-box"],[3,"src",4,"ngIf"],[3,"src"],[1,"sm-table"],["shape","round","color","secondary","target","_blank",1,"btn-clndr",3,"href"],[1,"flaticon-instagram"],[1,"flaticon-facebook"],[1,"flaticon-twitter"],[1,"flaticon-youtube-logotype"],[1,"flaticon-snapchat"],[1,"link"],[1,"flaticon-language","mr-5"],[3,"click"]],template:function(r,i){1&r&&se(0,ode,5,1,"ion-header",0)(1,fde,11,5,"ion-content",0),2&r&&(P("ngIf",i.orgService.organization&&i.orgService.organization.settings&&i.orgService.organization.settings.screens),C(),P("ngIf",i.orgService.organization&&i.orgService.organization.settings&&i.orgService.organization.settings.screens))},dependencies:[Jn,To,oo,lo,Sn,Es,En,Ja,An,In,Gt,Uo],styles:[".image-box[_ngcontent-%COMP%]{text-align:center!important;box-shadow:none!important;max-height:150px!important;margin-bottom:20px!important}.image-box[_ngcontent-%COMP%]   ion-img[_ngcontent-%COMP%]{width:auto!important;height:150px!important;max-width:50%!important;margin:auto!important}.link[_ngcontent-%COMP%]{color:var(--ion-color-primary-contrast)!important}.link[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:var(--ion-color-primary-contrast)!important;text-decoration:underline;cursor:pointer}.link[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .link[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:visited{color:var(--ion-color-primary-contrast)!important}.sm-table[_ngcontent-%COMP%]{margin:auto;text-align:center!important}.btn-clndr[_ngcontent-%COMP%]{margin:3px!important}.sm-table[_ngcontent-%COMP%]   .button-native[_ngcontent-%COMP%]{text-align:center!important;vertical-align:center!important}.sm-table[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:18px!important}"]})}return n})();const R1=(0,h1.F3)("PushNotifications",{});let pde=(()=>{class n{http;platform;serviceUrl=Er_baseUrl+"api/notifications";constructor(t,r){this.http=t,this.platform=r}init(t){var r=this;return(0,Ge.A)(function*(){if(r.platform.is("mobile"))try{const i=r.platform.is("ios")?"APNS":"FCM";yield R1.addListener("registration",u=>{try{r.http.post(r.serviceUrl+"/"+t+"/register",{registrationId:u.value,registrationType:i}).subscribe({complete:()=>{},error:m=>{}})}catch{return}});let s=yield R1.checkPermissions();if(!s||("prompt"===s.receive&&(s=yield R1.requestPermissions()),"granted"!==s.receive))return;yield R1.register()}catch{}})()}static \u0275fac=function(r){return new(r||n)(Tt(xi),Tt(Dl))};static \u0275prov=St({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),hde=(()=>{class n{http;serviceUrl=Er_baseUrl+"api/apps/";androidData;iosData;constructor(t){this.http=t}getAndroid(){return this.androidData&&this.androidData.storeUrl&&this.androidData.icon?jt(this.androidData):this.http.getType(this.serviceUrl+1).pipe(Wn(t=>this.androidData=t))}getIos(){return this.iosData&&this.iosData.storeUrl&&this.iosData.icon?jt(this.iosData):this.http.getType(this.serviceUrl+0).pipe(Wn(t=>this.iosData=t))}static \u0275fac=function(r){return new(r||n)(Tt(xi))};static \u0275prov=St({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var e3=function(n){return n[n.iOS=0]="iOS",n[n.Android=1]="Android",n}(e3||{});function mde(n,o){if(1&n&&(I(0,"ion-button",5),z(1),E()),2&n){const t=M(2);C(),Te(" ",t.installText,"")}}function _de(n,o){if(1&n){const t=Me();I(0,"ion-item",1),re("click",function(){return le(t),ce(M().openStoreLink())}),oe(1,"div",2),I(2,"ion-label")(3,"h1",3),z(4),E(),I(5,"p"),z(6),E()(),se(7,mde,2,1,"ion-button",4),E()}if(2&n){const t=M();P("button",!1),C(),gh("background-image","url("+t.mobileApp.icon+")"),C(3),Re(t.mobileApp.name),C(2),Re(t.text),C(),P("ngIf",t.installText)}}let vde=(()=>{class n{platform;translateService;orgService;mobileApp;text=null;installText=null;languageSubscription;constructor(t,r,i){this.platform=t,this.translateService=r,this.orgService=i,this.languageSubscription=this.orgService.language$.subscribe(s=>{this.initText()})}ngOnInit(){this.initText()}ngOnDestroy(){this.languageSubscription&&this.languageSubscription.unsubscribe()}initText(){if(this.mobileApp&&this.platform.is("mobileweb")){const r="Tap to install from the "+(this.platform.is("ios")?"Apple App Store":"Google Play");this.orgService.getCachedLanguage().subscribe(i=>{this.translateService.translate(r,i).subscribe(s=>this.text=s.value),this.translateService.translate("Install",i).subscribe(s=>this.installText=s.value)})}}openStoreLink(){window.open(this.mobileApp.storeUrl,"_blank")}static \u0275fac=function(r){return new(r||n)(N(Dl),N(vP),N(ei))};static \u0275cmp=je({type:n,selectors:[["app-native-app-prompt"]],inputs:{mobileApp:"mobileApp"},decls:1,vars:1,consts:[["lines","none","class","app-install-prompt",3,"button","click",4,"ngIf"],["lines","none",1,"app-install-prompt",3,"click","button"],[1,"avatar-box"],[1,"ion-text-wrap"],["slot","end","color","success","size","small",4,"ngIf"],["slot","end","color","success","size","small"]],template:function(r,i){1&r&&se(0,_de,8,6,"ion-item",0),2&r&&P("ngIf",i.mobileApp&&i.text)},dependencies:[on,Dn,co,Gt],styles:[".app-install-prompt[_ngcontent-%COMP%]{background-color:#f4f4f4}.app-install-prompt[_ngcontent-%COMP%]   ion-avatar[_ngcontent-%COMP%]{--border-radius: 25%}.app-install-prompt[_ngcontent-%COMP%]   ion-label[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{color:#000!important;font-weight:700}.app-install-prompt[_ngcontent-%COMP%]   ion-label[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:small}.avatar-box[_ngcontent-%COMP%]{width:50px;height:50px;background-size:cover;background-position:center center;border-radius:25%;margin-right:15px}"]})}return n})();function yde(n,o){1&n&&oe(0,"app-native-app-prompt",11),2&n&&P("mobileApp",M(2).appsService.iosData)}function bde(n,o){1&n&&oe(0,"app-native-app-prompt",11),2&n&&P("mobileApp",M(2).appsService.androidData)}function Sde(n,o){if(1&n){const t=Me();I(0,"ion-header"),se(1,yde,1,1,"app-native-app-prompt",5)(2,bde,1,1,"app-native-app-prompt",5),I(3,"ion-toolbar",6)(4,"ion-title"),z(5),E(),I(6,"ion-buttons",7),oe(7,"app-language-switch"),E(),I(8,"ion-buttons",8)(9,"ion-button",9),re("click",function(i){return le(t),ce(M().showUserMenu(i))}),oe(10,"ion-icon",10),E()()(),oe(11,"app-smart-bar"),E()}if(2&n){const t=M();C(),P("ngIf",t.isMobile&&t.readyToDisplayApps&&0==t.mobilePlatform),C(),P("ngIf",t.isMobile&&t.readyToDisplayApps&&1==t.mobilePlatform),C(3),Re(t.orgService.organization.settings.screens.welcome.toolbarText.value),C(),P("slot",t.isIOSDesign?"start":"end")}}function Cde(n,o){if(1&n&&(I(0,"ion-badge",16),z(1),E()),2&n){const t=M(2);C(),Re(t.bonusesService.availableBonuses)}}function Tde(n,o){if(1&n){const t=Me();I(0,"ion-fab",12),re("click",function(){return le(t),ce(M().navCtrl.navigateForward("bonuses"))}),I(1,"ion-fab-button",13),oe(2,"ion-icon",14),E(),se(3,Cde,2,1,"ion-badge",15),E()}if(2&n){const t=M();C(2),P("name",t.orgService.organization.settings.images.icons.loyalty.value),C(),P("ngIf",t.bonusesService.availableBonuses>0)}}function wde(n,o){1&n&&oe(0,"ion-img",19),2&n&&P("src",M(2).orgService.organization.settings.images.logo.value)}function Ede(n,o){if(1&n&&(I(0,"ion-card",17),se(1,wde,1,1,"ion-img",18),E()),2&n){const t=M();C(),P("ngIf",t.orgService.organization.settings.images.logo.value)}}function Ide(n,o){if(1&n){const t=Me();I(0,"ion-item",21),re("click",function(){return le(t),ce(M(2).navCtrl.navigateForward("services"))}),oe(1,"ion-icon",22),I(2,"ion-card-header")(3,"ion-card-title",23),z(4),E()(),oe(5,"ion-icon",24),E()}if(2&n){const t=M(2);P("disabled",t.orgService.changingLanguage),C(),P("name",t.orgService.organization.settings.images.icons.service.value),C(3),Te(" ",t.orgService.organization.settings.screens.welcome.servicesButtonText.value,"")}}function Dde(n,o){if(1&n){const t=Me();I(0,"ion-item",21),re("click",function(){return le(t),ce(M(2).navCtrl.navigateForward("products"))}),oe(1,"ion-icon",22),I(2,"ion-card-header")(3,"ion-card-title",23),z(4),E()(),oe(5,"ion-icon",24),E()}if(2&n){const t=M(2);P("disabled",t.orgService.changingLanguage),C(),P("name",t.orgService.organization.settings.images.icons.shop.value),C(3),Te("",t.orgService.organization.settings.screens.welcome.shopButtonText.value," ")}}function Pde(n,o){if(1&n){const t=Me();I(0,"div",28)(1,"img",29),re("click",function(){le(t);const i=M(2);return ce(i.goToStore(i.appsService.iosData.storeUrl))}),E(),I(2,"img",30),re("click",function(){le(t);const i=M(2);return ce(i.goToStore(i.appsService.androidData.storeUrl))}),E()()}}function Mde(n,o){if(1&n){const t=Me();I(0,"ion-list",20)(1,"ion-item",21),re("click",function(){return le(t),ce(M().navCtrl.navigateForward("bookings"))}),oe(2,"ion-icon",22),I(3,"ion-card-header")(4,"ion-card-title",23),z(5),E()(),oe(6,"ion-icon",24),E(),I(7,"ion-item",21),re("click",function(){return le(t),ce(M().navCtrl.navigateForward("stylists"))}),oe(8,"ion-icon",22),I(9,"ion-card-header")(10,"ion-card-title",23),z(11),E()(),oe(12,"ion-icon",24),E(),se(13,Ide,6,3,"ion-item",25)(14,Dde,6,3,"ion-item",25),I(15,"ion-item",26),re("click",function(){le(t);const i=M();return ce(i.navCtrl.navigateForward(i.orgService.organization.mainLocationId&&1==i.orgService.organization.locationsCount?"tabs/location/"+i.orgService.organization.mainLocationId:"tabs/locations"))}),oe(16,"ion-icon",22),I(17,"ion-card-header")(18,"ion-card-title",23),z(19),E()(),oe(20,"ion-icon",24),E(),I(21,"ion-item",26),re("click",function(){return le(t),ce(M().navCtrl.navigateForward("tabs/about"))}),oe(22,"ion-icon",22),I(23,"ion-card-header")(24,"ion-card-title",23),z(25),E()(),oe(26,"ion-icon",24),E(),se(27,Pde,3,0,"div",27),E()}if(2&n){const t=M();C(),P("disabled",t.orgService.changingLanguage),C(),P("name",t.orgService.organization.settings.images.icons.appointment.value),C(3),Te(" ",t.orgService.organization.settings.screens.welcome.appointmentsButtonText.value," "),C(2),P("disabled",t.orgService.changingLanguage),C(),P("name",t.orgService.organization.settings.images.icons.barber.value),C(3),Te(" ",t.orgService.organization.settings.screens.welcome.barbersButtonText.value,""),C(2),P("ngIf",!t.orgService.organization.hasShop),C(),P("ngIf",t.orgService.organization.hasShop),C(),P("disabled",t.orgService.changingLanguage),C(),P("name",t.orgService.organization.settings.images.icons.location.value),C(3),Te("",t.orgService.organization.settings.screens.tabs.locationsTab.value," "),C(2),P("disabled",t.orgService.changingLanguage),C(),P("name",t.orgService.organization.settings.images.icons.about.value),C(3),Te("",t.orgService.organization.settings.screens.tabs.aboutTab.value," "),C(2),P("ngIf",t.readyToDisplayApps&&!t.isMobile)}}let MM=(()=>{class n extends Nn{injector;accountService;bonusesService;push;appsService;platform;bonusesCount=0;hasLoyalty=!1;mobilePlatform;isMobile;readyToDisplayApps=!1;constructor(t,r,i,s,u,p){super(t),this.injector=t,this.accountService=r,this.bonusesService=i,this.push=s,this.appsService=u,this.platform=p}ngOnInit(){var t=this;return(0,Ge.A)(function*(){yield t.InitPush(),yield t.initLoyalty(),t.initAppsInformation()})()}initAppsInformation(){(this.platform.is("mobileweb")||this.platform.is("desktop"))&&Ug({androidData:this.appsService.getAndroid(),iosData:this.appsService.getIos()}).subscribe(({androidData:t,iosData:r})=>{try{if(window.location.hostname.includes("barberly.mobi"))return void(this.readyToDisplayApps=!1)}catch{return}if(this.platform.is("mobileweb"))return this.isMobile=!0,this.platform.is("android")?void(t&&t.icon&&t.storeUrl&&(this.mobilePlatform=e3.Android,this.readyToDisplayApps=!0)):void(this.platform.is("ios")&&r&&r.icon&&r.storeUrl&&(this.mobilePlatform=e3.iOS,this.readyToDisplayApps=!0));this.isMobile=!1,r&&r.storeUrl&&t&&t.storeUrl&&(this.readyToDisplayApps=!0)})}InitPush(){var t=this;return(0,Ge.A)(function*(){const r=yield t.accountService.getCustomer().toPromise();r&&r.customerId&&(yield t.push.init(r.customerId))})()}initLoyalty(){var t=this;return(0,Ge.A)(function*(){try{const r=yield t.organizationPromise.toPromise();if(t.hasLoyalty=r.hasLoyalty,t.hasLoyalty){const i=yield t.accountService.getCustomer().toPromise();null!=i&&(t.accountService.currentUser=i,t.bonusesService.availableBonuses=yield t.bonusesService.countBonuses().toPromise())}}catch{}})()}goToStore(t){wf.open({url:t})}static \u0275fac=function(r){return new(r||n)(N(Ht),N(gr),N(tb),N(pde),N(hde),N(Dl))};static \u0275cmp=je({type:n,selectors:[["app-home"]],features:[Dt],decls:5,vars:4,consts:[[4,"ngIf"],["scrollY","true","no-bounce","true",1,"ion-padding"],["class","bonus","vertical","top","horizontal","end","slot","fixed","color","secondary",3,"click",4,"ngIf"],["class","image-box",4,"ngIf"],["class","btn-box screen-item",4,"ngIf"],[3,"mobileApp",4,"ngIf"],["color","secondary",1,"mobile-item"],[3,"slot"],["slot","end"],[3,"click"],["slot","icon-only","name","person-circle-outline"],[3,"mobileApp"],["vertical","top","horizontal","end","slot","fixed","color","secondary",1,"bonus",3,"click"],["color","secondary"],[3,"name"],["color","success",4,"ngIf"],["color","success"],[1,"image-box"],[3,"src",4,"ngIf"],[3,"src"],[1,"btn-box","screen-item"],["color","secondary",1,"mb-5","font-size-20","pointer",3,"click","disabled"],["size","large","slot","start",3,"name"],[1,"btn-title"],["slot","end","name","arrow-forward"],["class","mb-5 font-size-20 pointer","color","secondary",3,"disabled","click",4,"ngIf"],["color","secondary",1,"mb-5","font-size-20","web-item","pointer",3,"click","disabled"],["class","store-badges mb-20 mt-20",4,"ngIf"],[1,"store-badges","mb-20","mt-20"],["src","assets/app-store.svg","alt","App Store",1,"badge","pointer",3,"click"],["src","assets/google-play.png","alt","Google Play",1,"badge","pointer",3,"click"]],template:function(r,i){1&r&&(se(0,Sde,12,4,"ion-header",0),I(1,"ion-content",1),se(2,Tde,4,2,"ion-fab",2)(3,Ede,2,1,"ion-card",3)(4,Mde,28,15,"ion-list",4),E()),2&r&&(P("ngIf",i.settingsReady),C(2),P("ngIf",i.settingsReady&&i.hasLoyalty&&!!i.accountService.currentUser),C(),P("ngIf",i.settingsReady),C(),P("ngIf",i.settingsReady))},dependencies:[ou,on,Ln,Jn,oo,lo,Sn,Qa,Es,En,un,Ja,Dn,Bo,An,In,Gt,Uo,oP,vde],styles:[".image-box[_ngcontent-%COMP%]{box-shadow:none!important;max-width:300px!important;max-height:500px!important;margin:auto!important}.image-box[_ngcontent-%COMP%]   ion-img[_ngcontent-%COMP%]{width:auto!important;height:100%!important;max-width:100%!important;margin:auto!important}.btn-box[_ngcontent-%COMP%]{box-shadow:none!important;width:90%!important;margin:auto!important}.btn-title[_ngcontent-%COMP%]{color:var(--ion-color-secondary-contrast)!important;font-weight:400!important;font-size:22px!important}.btn-main[_ngcontent-%COMP%]{font-size:20px!important}.bonus[_ngcontent-%COMP%]{margin-right:5px!important}.bonus[_ngcontent-%COMP%]   ion-badge[_ngcontent-%COMP%]{margin-top:-55px;margin-left:40px;position:absolute}.store-badges[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}.store-badges[_ngcontent-%COMP%]   .badge[_ngcontent-%COMP%]{margin:0 10px;height:50px!important;width:auto}@media (min-height: 0px){.image-box[_ngcontent-%COMP%]{margin-top:0!important;height:50%!important;text-align:center!important;box-shadow:none!important;max-height:300px!important}.btn-box[_ngcontent-%COMP%]{vertical-align:center!important;border:none!important;box-shadow:none!important}}@media (min-height: 666px){.image-box[_ngcontent-%COMP%]{margin-top:0!important;height:60%!important;text-align:center!important;box-shadow:none!important;max-height:500px!important}}@media (min-height: 736px){.image-box[_ngcontent-%COMP%]{margin-top:20px!important;height:55%!important;text-align:center!important;box-shadow:none!important;max-height:500px!important}}@media (min-height: 811px){.image-box[_ngcontent-%COMP%]{margin-top:20px!important;height:60%!important;text-align:center!important;box-shadow:none!important;max-height:500px!important}}@media (min-width: 760px){.btn-box[_ngcontent-%COMP%]{width:60%!important}}@media (min-width: 1200px){.btn-box[_ngcontent-%COMP%]{min-height:420px;max-height:420px;vertical-align:center!important;border:none!important;box-shadow:none!important;width:25%!important;text-align:center!important;margin-left:37%!important}.image-box[_ngcontent-%COMP%]{max-height:45%!important;margin-bottom:20px}.main-button[_ngcontent-%COMP%]{vertical-align:center!important;text-align:center!important}}"]})}return n})();function $de(n,o){if(1&n){const t=Me();I(0,"ion-fab",3)(1,"ion-fab-button",4),re("click",function(){return le(t),ce(M().addBooking())}),oe(2,"ion-icon",5),E()()}if(2&n){const t=M();C(),P("disabled",t.orgService.changingLanguage)}}function Ade(n,o){1&n&&(I(0,"ion-fab",6)(1,"ion-fab-button",7),oe(2,"ion-spinner",8),E()())}function Nde(n,o){if(1&n&&(I(0,"ion-tab-button",18),oe(1,"ion-icon",12),I(2,"ion-label"),z(3),E()()),2&n){const t=M(2);P("tab","location/"+t.orgService.organization.mainLocationId)("disabled",t.orgService.changingLanguage),C(),P("name",t.orgService.organization.settings.images.icons.location.value),C(2),Re(t.orgService.organization.settings.screens.tabs.locationsTab.value)}}function xde(n,o){if(1&n&&(I(0,"ion-tab-button",19),oe(1,"ion-icon",12),I(2,"ion-label"),z(3),E()()),2&n){const t=M(2);P("disabled",t.orgService.changingLanguage),C(),P("name",t.orgService.organization.settings.images.icons.location.value),C(2),Re(t.orgService.organization.settings.screens.tabs.locationsTab.value)}}function Ode(n,o){if(1&n&&(I(0,"ion-tabs")(1,"ion-tab-bar",9)(2,"span",10),z(3),E(),oe(4,"br"),I(5,"ion-tab-button",11),oe(6,"ion-icon",12),I(7,"ion-label"),z(8),E()(),se(9,Nde,4,4,"ion-tab-button",13)(10,xde,4,3,"ion-tab-button",14),oe(11,"ion-tab-button",15),I(12,"ion-tab-button",16),oe(13,"ion-icon",12),I(14,"ion-label"),z(15),E()(),I(16,"ion-tab-button",17),oe(17,"ion-icon",12),I(18,"ion-label"),z(19),E()()()()),2&n){const t=M();C(3),Te("\xa9 ",t.orgService.organization.name,""),C(2),P("disabled",t.orgService.changingLanguage),C(),P("name",t.orgService.organization.settings.images.icons.home.value),C(2),Re(t.orgService.organization.settings.screens.tabs.homeTab.value),C(),P("ngIf",1==t.orgService.organization.locationsCount),C(),P("ngIf",t.orgService.organization.locationsCount>1),C(2),P("disabled",t.orgService.changingLanguage),C(),P("name",t.orgService.organization.settings.images.icons.service.value),C(2),Re(t.orgService.organization.settings.screens.welcome.servicesButtonText.value),C(),P("disabled",t.orgService.changingLanguage),C(),P("name",t.orgService.organization.settings.images.icons.about.value),C(2),Re(t.orgService.organization.settings.screens.tabs.aboutTab.value)}}const kde=[{path:"tabs",component:(()=>{class n extends Nn{injector;constructor(t){super(t),this.injector=t}addBooking(){this.injector.get(qn).voidBooking(),this.navCtrl.navigateForward("booking")}static \u0275fac=function(r){return new(r||n)(N(Ht))};static \u0275cmp=je({type:n,selectors:[["app-tabs"]],features:[Dt],decls:3,vars:3,consts:[["class","mobile-item","vertical","bottom","horizontal","center","color","secondary","edge","false","slot","fixed",4,"ngIf"],["class","mobile-item","vertical","center","horizontal","center","slot","fixed","color","secondary",4,"ngIf"],[4,"ngIf"],["vertical","bottom","horizontal","center","color","secondary","edge","false","slot","fixed",1,"mobile-item"],["color","secondary",3,"click","disabled"],["name","add"],["vertical","center","horizontal","center","slot","fixed","color","secondary",1,"mobile-item"],["color","secondary"],["name","dots",1,"contrast"],["slot","bottom"],[1,"web-item"],["tab","home",1,"mobile-item",3,"disabled"],[3,"name"],["class","mobile-item",3,"tab","disabled",4,"ngIf"],["tab","locations","class","mobile-item",3,"disabled",4,"ngIf"],[1,"mobile-item"],["tab","services",1,"mobile-item",3,"disabled"],["tab","about",1,"mobile-item",3,"disabled"],[1,"mobile-item",3,"tab","disabled"],["tab","locations",1,"mobile-item",3,"disabled"]],template:function(r,i){1&r&&se(0,$de,3,1,"ion-fab",0)(1,Ade,3,0,"ion-fab",1)(2,Ode,20,12,"ion-tabs",2),2&r&&(P("ngIf",i.orgService.organization),C(),P("ngIf",!i.orgService.organization),C(),P("ngIf",i.settingsReady))},dependencies:[Qa,Es,un,co,Km,Xm,CD,TD,Gt],styles:["@media (min-width: 1200px){.mobile-item[_ngcontent-%COMP%]{display:none!important}}.contrast[_ngcontent-%COMP%]{color:var(--ion-color-secondary-contrast)}"]})}return n})(),children:[{path:"home",component:MM},{path:"locations",component:ub},{path:"location/:id",component:db},{path:"services",component:mb},{path:"about",component:PM},{path:"",redirectTo:"tabs/home",pathMatch:"full"}]},{path:"",redirectTo:"tabs/home",pathMatch:"full"}];let Rde=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275mod=bn({type:n});static \u0275inj=mn({imports:[Jo.forChild(kde),Jo]})}return n})(),Lde=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275mod=bn({type:n});static \u0275inj=mn({imports:[_o,po,Io,pr,Jo.forChild([{path:"",component:PM}])]})}return n})(),Fde=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275mod=bn({type:n});static \u0275inj=mn({imports:[_o,po,Io,pr,Jo.forChild([{path:"",component:MM}])]})}return n})(),Bde=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275mod=bn({type:n});static \u0275inj=mn({imports:[_o,po,Io,Rde,Fde,Lde,pr,DM]})}return n})(),Ude=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275mod=bn({type:n});static \u0275inj=mn({imports:[po,Io,_o]})}return n})();const zde=[{path:"",component:gP}];let Vde=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275mod=bn({type:n});static \u0275inj=mn({imports:[po,Io,_o,pr,Jo.forChild(zde)]})}return n})();const Hde=[{path:"",component:hb}];let jde=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275mod=bn({type:n});static \u0275inj=mn({imports:[po,Io,_o,pr,Jo.forChild(Hde)]})}return n})();const Gde=[{path:"",component:dP}];let Wde=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275mod=bn({type:n});static \u0275inj=mn({imports:[po,Io,_o,pr,Jo.forChild(Gde)]})}return n})();const qde=[{path:"",component:CP}];let Yde=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275mod=bn({type:n});static \u0275inj=mn({imports:[po,Io,_o,pr,Jo.forChild(qde)]})}return n})(),Kde=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275mod=bn({type:n});static \u0275inj=mn({imports:[po,Io,_o,pr]})}return n})(),Xde=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275mod=bn({type:n});static \u0275inj=mn({imports:[po,Io,_o,pr]})}return n})(),Zde=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275mod=bn({type:n});static \u0275inj=mn({imports:[po,Io,_o,pr]})}return n})();const Qde=[{path:"",component:pb}];let Jde=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275mod=bn({type:n});static \u0275inj=mn({imports:[po,Io,_o,pr,Jo.forChild(Qde)]})}return n})();const eue=[{path:"",component:rP}];let tue=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275mod=bn({type:n});static \u0275inj=mn({imports:[po,Io,_o,pr,Jo.forChild(eue)]})}return n})();const nue=[{path:"",component:eP}];let oue=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275mod=bn({type:n});static \u0275inj=mn({imports:[po,Io,_o,pr,LX,Jo.forChild(nue)]})}return n})();const Dr=void 0,iue=["sv",[["fm","em"],Dr,Dr],[["fm","em"],["f.m.","e.m."],["f\xf6rmiddag","eftermiddag"]],[["S","M","T","O","T","F","L"],["s\xf6n","m\xe5n","tis","ons","tors","fre","l\xf6r"],["s\xf6ndag","m\xe5ndag","tisdag","onsdag","torsdag","fredag","l\xf6rdag"],["s\xf6","m\xe5","ti","on","to","fr","l\xf6"]],Dr,[["J","F","M","A","M","J","J","A","S","O","N","D"],["jan.","feb.","mars","apr.","maj","juni","juli","aug.","sep.","okt.","nov.","dec."],["januari","februari","mars","april","maj","juni","juli","augusti","september","oktober","november","december"]],Dr,[["f.Kr.","e.Kr."],Dr,["f\xf6re Kristus","efter Kristus"]],1,[6,0],["y-MM-dd","d MMM y","d MMMM y","EEEE d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1} {0}",Dr,Dr,Dr],[",","\xa0",";","%","+","\u2212","\xd710^","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"SEK","kr","svensk krona",{AUD:[Dr,"$"],BBD:["Bds$","$"],BMD:["BM$","$"],BRL:["BR$","R$"],BSD:["BS$","$"],BYN:[Dr,"\u0440."],BZD:["BZ$","$"],CNY:[Dr,"\xa5"],DKK:["Dkr","kr"],DOP:["RD$","$"],EEK:["Ekr"],EGP:["EG\xa3","E\xa3"],ESP:[],GBP:[Dr,"\xa3"],HKD:[Dr,"$"],IEP:["IE\xa3"],INR:[Dr,"\u20b9"],ISK:["Ikr","kr"],JMD:["JM$","$"],JPY:[Dr,"\xa5"],KRW:[Dr,"\u20a9"],NOK:["Nkr","kr"],NZD:[Dr,"$"],PHP:[Dr,"\u20b1"],RON:[Dr,"L"],SEK:["kr"],TWD:[Dr,"NT$"],USD:["US$","$"],VND:[Dr,"\u20ab"]},"ltr",function rue(n){const t=Math.floor(Math.abs(n)),r=n.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===r?1:5}],Pr=void 0,aue=["fr",[["AM","PM"],Pr,Pr],Pr,[["D","L","M","M","J","V","S"],["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],["di","lu","ma","me","je","ve","sa"]],Pr,[["J","F","M","A","M","J","J","A","S","O","N","D"],["janv.","f\xe9vr.","mars","avr.","mai","juin","juil.","ao\xfbt","sept.","oct.","nov.","d\xe9c."],["janvier","f\xe9vrier","mars","avril","mai","juin","juillet","ao\xfbt","septembre","octobre","novembre","d\xe9cembre"]],Pr,[["av. J.-C.","ap. J.-C."],Pr,["avant J\xe9sus-Christ","apr\xe8s J\xe9sus-Christ"]],1,[6,0],["dd/MM/y","d MMM y","d MMMM y","EEEE d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1} {0}","{1}, {0}","{1} '\xe0' {0}",Pr],[",","\u202f",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"EUR","\u20ac","euro",{ARS:["$AR","$"],AUD:["$AU","$"],BEF:["FB"],BMD:["$BM","$"],BND:["$BN","$"],BYN:[Pr,"\u0440."],BZD:["$BZ","$"],CAD:["$CA","$"],CLP:["$CL","$"],CNY:[Pr,"\xa5"],COP:["$CO","$"],CYP:["\xa3CY"],EGP:[Pr,"\xa3E"],FJD:["$FJ","$"],FKP:["\xa3FK","\xa3"],FRF:["F"],GBP:["\xa3GB","\xa3"],GIP:["\xa3GI","\xa3"],HKD:[Pr,"$"],IEP:["\xa3IE"],ILP:["\xa3IL"],ITL:["\u20a4IT"],JPY:[Pr,"\xa5"],KMF:[Pr,"FC"],LBP:["\xa3LB","\xa3L"],MTP:["\xa3MT"],MXN:["$MX","$"],NAD:["$NA","$"],NIO:[Pr,"$C"],NZD:["$NZ","$"],PHP:[Pr,"\u20b1"],RHD:["$RH"],RON:[Pr,"L"],RWF:[Pr,"FR"],SBD:["$SB","$"],SGD:["$SG","$"],SRD:["$SR","$"],TOP:[Pr,"$T"],TTD:["$TT","$"],TWD:[Pr,"NT$"],USD:["$US","$"],UYU:["$UY","$"],WST:["$WS"],XCD:[Pr,"$"],XPF:["FCFP"],ZMW:[Pr,"Kw"]},"ltr",function sue(n){const t=Math.floor(Math.abs(n)),r=n.toString().replace(/^[^.]*\.?/,"").length,i=parseInt(n.toString().replace(/^[^e]*(e([-+]?\d+))?/,"$2"))||0;return 0===t||1===t?1:0===i&&0!==t&&t%1e6==0&&0===r||!(i>=0&&i<=5)?4:5}],ti=void 0,cue=["de",[["AM","PM"],ti,ti],ti,[["S","M","D","M","D","F","S"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["S","M","D","M","D","F","S"],["So","Mo","Di","Mi","Do","Fr","Sa"],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan.","Feb.","M\xe4rz","Apr.","Mai","Juni","Juli","Aug.","Sept.","Okt.","Nov.","Dez."],["Januar","Februar","M\xe4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","M\xe4r","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],["Januar","Februar","M\xe4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["v. Chr.","n. Chr."],ti,ti],1,[6,0],["dd.MM.yy","dd.MM.y","d. MMMM y","EEEE, d. MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",ti,"{1} 'um' {0}",ti],[",",".",";","%","+","-","E","\xb7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"EUR","\u20ac","Euro",{ATS:["\xf6S"],AUD:["AU$","$"],BGM:["BGK"],BGO:["BGJ"],BYN:[ti,"\u0440."],CUC:[ti,"Cub$"],DEM:["DM"],FKP:[ti,"Fl\xa3"],GHS:[ti,"\u20b5"],GNF:[ti,"F.G."],KMF:[ti,"FC"],PHP:[ti,"\u20b1"],RON:[ti,"L"],RUR:[ti,"\u0440."],RWF:[ti,"F.Rw"],SYP:[],THB:["\u0e3f"],TWD:["NT$"],XXX:[],ZMW:[ti,"K"]},"ltr",function lue(n){const t=Math.floor(Math.abs(n)),r=n.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===r?1:5}],ni=void 0,uue=["it",[["m.","p."],["AM","PM"],ni],ni,[["D","L","M","M","G","V","S"],["dom","lun","mar","mer","gio","ven","sab"],["domenica","luned\xec","marted\xec","mercoled\xec","gioved\xec","venerd\xec","sabato"],["dom","lun","mar","mer","gio","ven","sab"]],ni,[["G","F","M","A","M","G","L","A","S","O","N","D"],["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic"],["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"]],ni,[["aC","dC"],["a.C.","d.C."],["avanti Cristo","dopo Cristo"]],1,[6,0],["dd/MM/yy","d MMM y","d MMMM y","EEEE d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",ni,"{1} {0}",ni],[",",".",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","#,##0.00\xa0\xa4","#E0"],"EUR","\u20ac","euro",{BRL:[ni,"R$"],BYN:[ni,"Br"],EGP:[ni,"\xa3E"],HKD:[ni,"$"],INR:[ni,"\u20b9"],JPY:[ni,"\xa5"],KRW:[ni,"\u20a9"],MXN:[ni,"$"],NOK:[ni,"NKr"],THB:["\u0e3f"],TWD:[ni,"NT$"],USD:[ni,"$"],VND:[ni,"\u20ab"]},"ltr",function due(n){const t=Math.floor(Math.abs(n)),r=n.toString().replace(/^[^.]*\.?/,"").length,i=parseInt(n.toString().replace(/^[^e]*(e([-+]?\d+))?/,"$2"))||0;return 1===t&&0===r?1:0===i&&0!==t&&t%1e6==0&&0===r||!(i>=0&&i<=5)?4:5}],ta=void 0,fue=["ru",[["AM","PM"],ta,ta],ta,[["\u0412","\u041f","\u0412","\u0421","\u0427","\u041f","\u0421"],["\u0432\u0441","\u043f\u043d","\u0432\u0442","\u0441\u0440","\u0447\u0442","\u043f\u0442","\u0441\u0431"],["\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435","\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a","\u0432\u0442\u043e\u0440\u043d\u0438\u043a","\u0441\u0440\u0435\u0434\u0430","\u0447\u0435\u0442\u0432\u0435\u0440\u0433","\u043f\u044f\u0442\u043d\u0438\u0446\u0430","\u0441\u0443\u0431\u0431\u043e\u0442\u0430"],["\u0432\u0441","\u043f\u043d","\u0432\u0442","\u0441\u0440","\u0447\u0442","\u043f\u0442","\u0441\u0431"]],ta,[["\u042f","\u0424","\u041c","\u0410","\u041c","\u0418","\u0418","\u0410","\u0421","\u041e","\u041d","\u0414"],["\u044f\u043d\u0432.","\u0444\u0435\u0432\u0440.","\u043c\u0430\u0440.","\u0430\u043f\u0440.","\u043c\u0430\u044f","\u0438\u044e\u043d.","\u0438\u044e\u043b.","\u0430\u0432\u0433.","\u0441\u0435\u043d\u0442.","\u043e\u043a\u0442.","\u043d\u043e\u044f\u0431.","\u0434\u0435\u043a."],["\u044f\u043d\u0432\u0430\u0440\u044f","\u0444\u0435\u0432\u0440\u0430\u043b\u044f","\u043c\u0430\u0440\u0442\u0430","\u0430\u043f\u0440\u0435\u043b\u044f","\u043c\u0430\u044f","\u0438\u044e\u043d\u044f","\u0438\u044e\u043b\u044f","\u0430\u0432\u0433\u0443\u0441\u0442\u0430","\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f","\u043e\u043a\u0442\u044f\u0431\u0440\u044f","\u043d\u043e\u044f\u0431\u0440\u044f","\u0434\u0435\u043a\u0430\u0431\u0440\u044f"]],[["\u042f","\u0424","\u041c","\u0410","\u041c","\u0418","\u0418","\u0410","\u0421","\u041e","\u041d","\u0414"],["\u044f\u043d\u0432.","\u0444\u0435\u0432\u0440.","\u043c\u0430\u0440\u0442","\u0430\u043f\u0440.","\u043c\u0430\u0439","\u0438\u044e\u043d\u044c","\u0438\u044e\u043b\u044c","\u0430\u0432\u0433.","\u0441\u0435\u043d\u0442.","\u043e\u043a\u0442.","\u043d\u043e\u044f\u0431.","\u0434\u0435\u043a."],["\u044f\u043d\u0432\u0430\u0440\u044c","\u0444\u0435\u0432\u0440\u0430\u043b\u044c","\u043c\u0430\u0440\u0442","\u0430\u043f\u0440\u0435\u043b\u044c","\u043c\u0430\u0439","\u0438\u044e\u043d\u044c","\u0438\u044e\u043b\u044c","\u0430\u0432\u0433\u0443\u0441\u0442","\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c","\u043e\u043a\u0442\u044f\u0431\u0440\u044c","\u043d\u043e\u044f\u0431\u0440\u044c","\u0434\u0435\u043a\u0430\u0431\u0440\u044c"]],[["\u0434\u043e \u043d.\u044d.","\u043d.\u044d."],["\u0434\u043e \u043d. \u044d.","\u043d. \u044d."],["\u0434\u043e \u0420\u043e\u0436\u0434\u0435\u0441\u0442\u0432\u0430 \u0425\u0440\u0438\u0441\u0442\u043e\u0432\u0430","\u043e\u0442 \u0420\u043e\u0436\u0434\u0435\u0441\u0442\u0432\u0430 \u0425\u0440\u0438\u0441\u0442\u043e\u0432\u0430"]],1,[6,0],["dd.MM.y","d MMM y '\u0433'.","d MMMM y '\u0433'.","EEEE, d MMMM y '\u0433'."],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",ta,ta,ta],[",","\xa0",";","%","+","-","E","\xd7","\u2030","\u221e","\u043d\u0435\xa0\u0447\u0438\u0441\u043b\u043e",":"],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"RUB","\u20bd","\u0440\u043e\u0441\u0441\u0438\u0439\u0441\u043a\u0438\u0439 \u0440\u0443\u0431\u043b\u044c",{BYN:[ta,"\u0440."],GEL:[ta,"\u10da"],PHP:[ta,"\u20b1"],RON:[ta,"L"],RUB:["\u20bd"],RUR:["\u0440."],THB:["\u0e3f"],TMT:["\u0422\u041c\u0422"],TWD:["NT$"],UAH:["\u20b4"],XXX:["XXXX"]},"ltr",function gue(n){const t=Math.floor(Math.abs(n)),r=n.toString().replace(/^[^.]*\.?/,"").length;return 0===r&&t%10==1&&t%100!=11?1:0===r&&t%10===Math.floor(t%10)&&t%10>=2&&t%10<=4&&!(t%100>=12&&t%100<=14)?3:0===r&&t%10==0||0===r&&t%10===Math.floor(t%10)&&t%10>=5&&t%10<=9||0===r&&t%100===Math.floor(t%100)&&t%100>=11&&t%100<=14?4:5}],zo=void 0,hue=["es",[["a.\xa0m.","p.\xa0m."],zo,zo],zo,[["D","L","M","X","J","V","S"],["dom","lun","mar","mi\xe9","jue","vie","s\xe1b"],["domingo","lunes","martes","mi\xe9rcoles","jueves","viernes","s\xe1bado"],["DO","LU","MA","MI","JU","VI","SA"]],zo,[["E","F","M","A","M","J","J","A","S","O","N","D"],["ene","feb","mar","abr","may","jun","jul","ago","sept","oct","nov","dic"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]],zo,[["a. C.","d. C."],zo,["antes de Cristo","despu\xe9s de Cristo"]],1,[6,0],["d/M/yy","d MMM y","d 'de' MMMM 'de' y","EEEE, d 'de' MMMM 'de' y"],["H:mm","H:mm:ss","H:mm:ss z","H:mm:ss (zzzz)"],["{1}, {0}",zo,zo,zo],[",",".",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"EUR","\u20ac","euro",{AUD:[zo,"$"],BRL:[zo,"R$"],BYN:[zo,"\u0440."],CAD:[zo,"$"],CNY:[zo,"\xa5"],EGP:[],ESP:["\u20a7"],GBP:[zo,"\xa3"],HKD:[zo,"$"],ILS:[zo,"\u20aa"],INR:[zo,"\u20b9"],JPY:[zo,"\xa5"],KRW:[zo,"\u20a9"],MXN:[zo,"$"],NZD:[zo,"$"],PHP:[zo,"\u20b1"],RON:[zo,"L"],THB:["\u0e3f"],TWD:[zo,"NT$"],USD:["US$","$"],XAF:[],XCD:[zo,"$"],XOF:[]},"ltr",function pue(n){const o=n,t=Math.floor(Math.abs(n)),r=n.toString().replace(/^[^.]*\.?/,"").length,i=parseInt(n.toString().replace(/^[^e]*(e([-+]?\d+))?/,"$2"))||0;return 1===o?1:0===i&&0!==t&&t%1e6==0&&0===r||!(i>=0&&i<=5)?4:5}],$a=void 0,_ue=["nl",[["a.m.","p.m."],$a,$a],$a,[["Z","M","D","W","D","V","Z"],["zo","ma","di","wo","do","vr","za"],["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],["zo","ma","di","wo","do","vr","za"]],$a,[["J","F","M","A","M","J","J","A","S","O","N","D"],["jan.","feb.","mrt.","apr.","mei","jun.","jul.","aug.","sep.","okt.","nov.","dec."],["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"]],$a,[["v.C.","n.C."],["v.Chr.","n.Chr."],["voor Christus","na Christus"]],1,[6,0],["dd-MM-y","d MMM y","d MMMM y","EEEE d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1} {0}",$a,"{1} 'om' {0}",$a],[",",".",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4\xa0#,##0.00;\xa4\xa0-#,##0.00","#E0"],"EUR","\u20ac","Euro",{AUD:["AU$","$"],BYN:[$a,"\u0440."],CAD:["C$","$"],FJD:["FJ$","$"],JPY:["JP\xa5","\xa5"],PHP:[$a,"\u20b1"],RUR:[$a,"\u0440."],SBD:["SI$","$"],THB:["\u0e3f"],TWD:["NT$"],USD:["US$","$"],XPF:[],XXX:[]},"ltr",function mue(n){const t=Math.floor(Math.abs(n)),r=n.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===r?1:5}],ps=void 0,yue=["pt",[["AM","PM"],ps,ps],ps,[["D","S","T","Q","Q","S","S"],["dom.","seg.","ter.","qua.","qui.","sex.","s\xe1b."],["domingo","segunda-feira","ter\xe7a-feira","quarta-feira","quinta-feira","sexta-feira","s\xe1bado"],["dom.","seg.","ter.","qua.","qui.","sex.","s\xe1b."]],ps,[["J","F","M","A","M","J","J","A","S","O","N","D"],["jan.","fev.","mar.","abr.","mai.","jun.","jul.","ago.","set.","out.","nov.","dez."],["janeiro","fevereiro","mar\xe7o","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"]],ps,[["a.C.","d.C."],ps,["antes de Cristo","depois de Cristo"]],0,[6,0],["dd/MM/y","d 'de' MMM 'de' y","d 'de' MMMM 'de' y","EEEE, d 'de' MMMM 'de' y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1} {0}",ps,ps,ps],[",",".",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4\xa0#,##0.00","#E0"],"BRL","R$","Real brasileiro",{AUD:["AU$","$"],BYN:[ps,"\u0440."],JPY:["JP\xa5","\xa5"],PHP:[ps,"\u20b1"],PTE:["Esc."],RON:[ps,"L"],SYP:[ps,"S\xa3"],THB:["\u0e3f"],TWD:["NT$"],USD:["US$","$"]},"ltr",function vue(n){const t=Math.floor(Math.abs(n)),r=n.toString().replace(/^[^.]*\.?/,"").length,i=parseInt(n.toString().replace(/^[^e]*(e([-+]?\d+))?/,"$2"))||0;return t===Math.floor(t)&&t>=0&&t<=1?1:0===i&&0!==t&&t%1e6==0&&0===r||!(i>=0&&i<=5)?4:5}],Bl=void 0,Sue=["el",[["\u03c0\u03bc","\u03bc\u03bc"],["\u03c0.\u03bc.","\u03bc.\u03bc."],Bl],Bl,[["\u039a","\u0394","\u03a4","\u03a4","\u03a0","\u03a0","\u03a3"],["\u039a\u03c5\u03c1","\u0394\u03b5\u03c5","\u03a4\u03c1\u03af","\u03a4\u03b5\u03c4","\u03a0\u03ad\u03bc","\u03a0\u03b1\u03c1","\u03a3\u03ac\u03b2"],["\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae","\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1","\u03a4\u03c1\u03af\u03c4\u03b7","\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7","\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7","\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae","\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf"],["\u039a\u03c5","\u0394\u03b5","\u03a4\u03c1","\u03a4\u03b5","\u03a0\u03ad","\u03a0\u03b1","\u03a3\u03ac"]],Bl,[["\u0399","\u03a6","\u039c","\u0391","\u039c","\u0399","\u0399","\u0391","\u03a3","\u039f","\u039d","\u0394"],["\u0399\u03b1\u03bd","\u03a6\u03b5\u03b2","\u039c\u03b1\u03c1","\u0391\u03c0\u03c1","\u039c\u03b1\u0390","\u0399\u03bf\u03c5\u03bd","\u0399\u03bf\u03c5\u03bb","\u0391\u03c5\u03b3","\u03a3\u03b5\u03c0","\u039f\u03ba\u03c4","\u039d\u03bf\u03b5","\u0394\u03b5\u03ba"],["\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5","\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5","\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5","\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5","\u039c\u03b1\u0390\u03bf\u03c5","\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5","\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5","\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5","\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5","\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5","\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5","\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5"]],[["\u0399","\u03a6","\u039c","\u0391","\u039c","\u0399","\u0399","\u0391","\u03a3","\u039f","\u039d","\u0394"],["\u0399\u03b1\u03bd","\u03a6\u03b5\u03b2","\u039c\u03ac\u03c1","\u0391\u03c0\u03c1","\u039c\u03ac\u03b9","\u0399\u03bf\u03cd\u03bd","\u0399\u03bf\u03cd\u03bb","\u0391\u03cd\u03b3","\u03a3\u03b5\u03c0","\u039f\u03ba\u03c4","\u039d\u03bf\u03ad","\u0394\u03b5\u03ba"],["\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2","\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2","\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2","\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2","\u039c\u03ac\u03b9\u03bf\u03c2","\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2","\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2","\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2","\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2","\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2","\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2","\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2"]],[["\u03c0.\u03a7.","\u03bc.\u03a7."],Bl,["\u03c0\u03c1\u03bf \u03a7\u03c1\u03b9\u03c3\u03c4\u03bf\u03cd","\u03bc\u03b5\u03c4\u03ac \u03a7\u03c1\u03b9\u03c3\u03c4\u03cc\u03bd"]],1,[6,0],["d/M/yy","d MMM y","d MMMM y","EEEE d MMMM y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Bl,"{1} - {0}",Bl],[",",".",";","%","+","-","e","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","#,##0.00\xa0\xa4","#E0"],"EUR","\u20ac","\u0395\u03c5\u03c1\u03ce",{BYN:[Bl,"\u0440."],GRD:["\u0394\u03c1\u03c7"],JPY:["JP\xa5","\xa5"],PHP:[Bl,"\u20b1"],THB:["\u0e3f"]},"ltr",function bue(n){return 1===n?1:5}],hs=void 0,Tue=["da",[["a","p"],["AM","PM"],hs],[["AM","PM"],hs,hs],[["S","M","T","O","T","F","L"],["s\xf8n.","man.","tir.","ons.","tor.","fre.","l\xf8r."],["s\xf8ndag","mandag","tirsdag","onsdag","torsdag","fredag","l\xf8rdag"],["s\xf8","ma","ti","on","to","fr","l\xf8"]],[["S","M","T","O","T","F","L"],["s\xf8n","man","tir","ons","tor","fre","l\xf8r"],["s\xf8ndag","mandag","tirsdag","onsdag","torsdag","fredag","l\xf8rdag"],["s\xf8","ma","ti","on","to","fr","l\xf8"]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["jan.","feb.","mar.","apr.","maj","jun.","jul.","aug.","sep.","okt.","nov.","dec."],["januar","februar","marts","april","maj","juni","juli","august","september","oktober","november","december"]],hs,[["fKr","eKr"],["f.Kr.","e.Kr."],hs],1,[6,0],["dd.MM.y","d. MMM y","d. MMMM y","EEEE 'den' d. MMMM y"],["HH.mm","HH.mm.ss","HH.mm.ss z","HH.mm.ss zzzz"],["{1} {0}",hs,"{1} 'kl'. {0}",hs],[",",".",";","%","+","-","E","\xd7","\u2030","\u221e","NaN","."],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"DKK","kr.","dansk krone",{AUD:["AU$","$"],BYN:[hs,"Br."],DKK:["kr."],ISK:[hs,"kr."],JPY:["JP\xa5","\xa5"],NOK:[hs,"kr."],PHP:[hs,"\u20b1"],RON:[hs,"L"],SEK:[hs,"kr."],THB:["\u0e3f"],TWD:["NT$"],USD:["US$","$"]},"ltr",function Cue(n){const o=n,t=Math.floor(Math.abs(n)),r=parseInt(n.toString().replace(/^[^.]*\.?|0+$/g,""),10)||0;return 1===o||0!==r&&(0===t||1===t)?1:5}],Yi=void 0,Eue=["zh",[["\u4e0a\u5348","\u4e0b\u5348"],Yi,Yi],Yi,[["\u65e5","\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d"],["\u5468\u65e5","\u5468\u4e00","\u5468\u4e8c","\u5468\u4e09","\u5468\u56db","\u5468\u4e94","\u5468\u516d"],["\u661f\u671f\u65e5","\u661f\u671f\u4e00","\u661f\u671f\u4e8c","\u661f\u671f\u4e09","\u661f\u671f\u56db","\u661f\u671f\u4e94","\u661f\u671f\u516d"],["\u5468\u65e5","\u5468\u4e00","\u5468\u4e8c","\u5468\u4e09","\u5468\u56db","\u5468\u4e94","\u5468\u516d"]],Yi,[["1","2","3","4","5","6","7","8","9","10","11","12"],["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],["\u4e00\u6708","\u4e8c\u6708","\u4e09\u6708","\u56db\u6708","\u4e94\u6708","\u516d\u6708","\u4e03\u6708","\u516b\u6708","\u4e5d\u6708","\u5341\u6708","\u5341\u4e00\u6708","\u5341\u4e8c\u6708"]],Yi,[["\u516c\u5143\u524d","\u516c\u5143"],Yi,Yi],0,[6,0],["y/M/d","y\u5e74M\u6708d\u65e5",Yi,"y\u5e74M\u6708d\u65e5EEEE"],["HH:mm","HH:mm:ss","z HH:mm:ss","zzzz HH:mm:ss"],["{1} {0}",Yi,Yi,Yi],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"CNY","\xa5","\u4eba\u6c11\u5e01",{AUD:["AU$","$"],BYN:[Yi,"\u0440."],CNY:["\xa5"],ILR:["ILS"],JPY:["JP\xa5","\xa5"],KRW:["\uffe6","\u20a9"],PHP:[Yi,"\u20b1"],RUR:[Yi,"\u0440."],TWD:["NT$"],USD:["US$","$"],XXX:[]},"ltr",function wue(n){return 5}],Oi=void 0,Due=["ja",[["\u5348\u524d","\u5348\u5f8c"],Oi,Oi],Oi,[["\u65e5","\u6708","\u706b","\u6c34","\u6728","\u91d1","\u571f"],Oi,["\u65e5\u66dc\u65e5","\u6708\u66dc\u65e5","\u706b\u66dc\u65e5","\u6c34\u66dc\u65e5","\u6728\u66dc\u65e5","\u91d1\u66dc\u65e5","\u571f\u66dc\u65e5"],["\u65e5","\u6708","\u706b","\u6c34","\u6728","\u91d1","\u571f"]],Oi,[["1","2","3","4","5","6","7","8","9","10","11","12"],["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],Oi],Oi,[["BC","AD"],["\u7d00\u5143\u524d","\u897f\u66a6"],Oi],0,[6,0],["y/MM/dd",Oi,"y\u5e74M\u6708d\u65e5","y\u5e74M\u6708d\u65e5EEEE"],["H:mm","H:mm:ss","H:mm:ss z","H\u6642mm\u5206ss\u79d2 zzzz"],["{1} {0}",Oi,Oi,Oi],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"JPY","\uffe5","\u65e5\u672c\u5186",{BYN:[Oi,"\u0440."],CNY:["\u5143","\uffe5"],JPY:["\uffe5"],PHP:[Oi,"\u20b1"],RON:[Oi,"\u30ec\u30a4"],XXX:[]},"ltr",function Iue(n){return 5}],Wo=void 0,$M=["uk",[["\u0434\u043f","\u043f\u043f"],Wo,Wo],Wo,[["\u041d","\u041f","\u0412","\u0421","\u0427","\u041f","\u0421"],["\u043d\u0434","\u043f\u043d","\u0432\u0442","\u0441\u0440","\u0447\u0442","\u043f\u0442","\u0441\u0431"],["\u043d\u0435\u0434\u0456\u043b\u044f","\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a","\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a","\u0441\u0435\u0440\u0435\u0434\u0430","\u0447\u0435\u0442\u0432\u0435\u0440","\u043f\u02bc\u044f\u0442\u043d\u0438\u0446\u044f","\u0441\u0443\u0431\u043e\u0442\u0430"],["\u043d\u0434","\u043f\u043d","\u0432\u0442","\u0441\u0440","\u0447\u0442","\u043f\u0442","\u0441\u0431"]],Wo,[["\u0441","\u043b","\u0431","\u043a","\u0442","\u0447","\u043b","\u0441","\u0432","\u0436","\u043b","\u0433"],["\u0441\u0456\u0447.","\u043b\u044e\u0442.","\u0431\u0435\u0440.","\u043a\u0432\u0456\u0442.","\u0442\u0440\u0430\u0432.","\u0447\u0435\u0440\u0432.","\u043b\u0438\u043f.","\u0441\u0435\u0440\u043f.","\u0432\u0435\u0440.","\u0436\u043e\u0432\u0442.","\u043b\u0438\u0441\u0442.","\u0433\u0440\u0443\u0434."],["\u0441\u0456\u0447\u043d\u044f","\u043b\u044e\u0442\u043e\u0433\u043e","\u0431\u0435\u0440\u0435\u0437\u043d\u044f","\u043a\u0432\u0456\u0442\u043d\u044f","\u0442\u0440\u0430\u0432\u043d\u044f","\u0447\u0435\u0440\u0432\u043d\u044f","\u043b\u0438\u043f\u043d\u044f","\u0441\u0435\u0440\u043f\u043d\u044f","\u0432\u0435\u0440\u0435\u0441\u043d\u044f","\u0436\u043e\u0432\u0442\u043d\u044f","\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430","\u0433\u0440\u0443\u0434\u043d\u044f"]],[["\u0421","\u041b","\u0411","\u041a","\u0422","\u0427","\u041b","\u0421","\u0412","\u0416","\u041b","\u0413"],["\u0441\u0456\u0447","\u043b\u044e\u0442","\u0431\u0435\u0440","\u043a\u0432\u0456","\u0442\u0440\u0430","\u0447\u0435\u0440","\u043b\u0438\u043f","\u0441\u0435\u0440","\u0432\u0435\u0440","\u0436\u043e\u0432","\u043b\u0438\u0441","\u0433\u0440\u0443"],["\u0441\u0456\u0447\u0435\u043d\u044c","\u043b\u044e\u0442\u0438\u0439","\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c","\u043a\u0432\u0456\u0442\u0435\u043d\u044c","\u0442\u0440\u0430\u0432\u0435\u043d\u044c","\u0447\u0435\u0440\u0432\u0435\u043d\u044c","\u043b\u0438\u043f\u0435\u043d\u044c","\u0441\u0435\u0440\u043f\u0435\u043d\u044c","\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c","\u0436\u043e\u0432\u0442\u0435\u043d\u044c","\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434","\u0433\u0440\u0443\u0434\u0435\u043d\u044c"]],[["\u0434\u043e \u043d.\u0435.","\u043d.\u0435."],["\u0434\u043e \u043d. \u0435.","\u043d. \u0435."],["\u0434\u043e \u043d\u0430\u0448\u043e\u0457 \u0435\u0440\u0438","\u043d\u0430\u0448\u043e\u0457 \u0435\u0440\u0438"]],1,[6,0],["dd.MM.yy","d MMM y '\u0440'.","d MMMM y '\u0440'.","EEEE, d MMMM y '\u0440'."],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",Wo,"{1} '\u043e' {0}",Wo],[",","\xa0",";","%","+","-","\u0415","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","#,##0.00\xa0\xa4","#E0"],"UAH","\u20b4","\u0443\u043a\u0440\u0430\u0457\u043d\u0441\u044c\u043a\u0430 \u0433\u0440\u0438\u0432\u043d\u044f",{AUD:[Wo,"$"],BRL:[Wo,"R$"],BYN:[Wo,"\u0440."],CAD:[Wo,"$"],CNY:[Wo,"\xa5"],EUR:[Wo,"\u20ac"],GBP:[Wo,"\xa3"],HKD:[Wo,"$"],ILS:[Wo,"\u20aa"],INR:[Wo,"\u20b9"],KRW:[Wo,"\u20a9"],MXN:[Wo,"$"],NZD:[Wo,"$"],PHP:[Wo,"\u20b1"],RUR:[Wo,"\u0440."],TWD:[Wo,"$"],UAH:["\u20b4"],UAK:["\u043a\u0440\u0431."],USD:[Wo,"$"],VND:[Wo,"\u20ab"],XCD:[Wo,"$"]},"ltr",function Pue(n){const t=Math.floor(Math.abs(n)),r=n.toString().replace(/^[^.]*\.?/,"").length;return 0===r&&t%10==1&&t%100!=11?1:0===r&&t%10===Math.floor(t%10)&&t%10>=2&&t%10<=4&&!(t%100>=12&&t%100<=14)?3:0===r&&t%10==0||0===r&&t%10===Math.floor(t%10)&&t%10>=5&&t%10<=9||0===r&&t%100===Math.floor(t%100)&&t%100>=11&&t%100<=14?4:5}],vu=void 0,$ue=["en-CA",[["am","pm"],["a.m.","p.m."],vu],[["a.m.","pm"],["a.m.","p.m."],vu],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],vu,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sept","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],vu,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["y-MM-dd","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",vu,"{1} 'at' {0}",vu],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"CAD","$","Canadian Dollar",{CAD:["$"],JPY:["JP\xa5","\xa5"],USD:["US$","$"]},"ltr",function Mue(n){const t=Math.floor(Math.abs(n)),r=n.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===r?1:5}],vo=void 0,Nue=["en-AU",[["am","pm"],vo,vo],vo,[["Su.","M.","Tu.","W.","Th.","F.","Sa."],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mon","Tu","Wed","Th","Fri","Sat"]],vo,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","June","July","Aug","Sept","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],1,[6,0],["d/M/yy","d MMM y","d MMMM y","EEEE, d MMMM y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",vo,"{1} 'at' {0}",vo],[".",",",";","%","+","-","e","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"AUD","$","Australian Dollar",{AUD:["$"],BDT:[vo,"Tk"],BRL:[vo,"R$"],CAD:[vo,"$"],CNY:[vo,"\xa5"],CUP:[vo,"\u20b1"],EGP:[vo,"\xa3"],EUR:[vo,"\u20ac"],GBP:[vo,"\xa3"],HKD:[vo,"$"],ILS:[vo,"\u20aa"],INR:[vo,"\u20b9"],ISK:[vo,"Kr"],JPY:[vo,"\xa5"],KRW:[vo,"\u20a9"],MXN:[vo,"$"],NZD:[vo,"$"],PHP:[vo,"\u20b1"],PYG:[vo,"Gs"],SCR:["Rs"],SEK:[vo,"Kr"],TWD:[vo,"$"],USD:[vo,"$"],UYU:[vo,"$U"],VND:[vo,"\u20ab"],XAF:[],XCD:[vo,"$"],XOF:[],XPF:["CFP"]},"ltr",function Aue(n){const t=Math.floor(Math.abs(n)),r=n.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===r?1:5}],xc=void 0,Oue=["en-GB",[["a","p"],["am","pm"],xc],[["am","pm"],xc,xc],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],xc,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sept","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],xc,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],1,[6,0],["dd/MM/y","d MMM y","d MMMM y","EEEE, d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",xc,"{1} 'at' {0}",xc],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"GBP","\xa3","British Pound",{JPY:["JP\xa5","\xa5"],USD:["US$","$"]},"ltr",function xue(n){const t=Math.floor(Math.abs(n)),r=n.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===r?1:5}],Oc=void 0,Rue=["en-NZ",[["a","p"],["am","pm"],Oc],[["am","pm"],Oc,Oc],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Oc,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sept","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Oc,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],1,[6,0],["d/MM/yy","d/MM/y","d MMMM y","EEEE, d MMMM y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Oc,"{1} 'at' {0}",Oc],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"NZD","$","New Zealand Dollar",{JPY:["JP\xa5","\xa5"],NZD:["$"],USD:["US$","$"]},"ltr",function kue(n){const t=Math.floor(Math.abs(n)),r=n.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===r?1:5}],Po=void 0,Fue=["ro",[["a.m.","p.m."],Po,Po],Po,[["D","L","M","M","J","V","S"],["dum.","lun.","mar.","mie.","joi","vin.","s\xe2m."],["duminic\u0103","luni","mar\u021bi","miercuri","joi","vineri","s\xe2mb\u0103t\u0103"],["du.","lu.","ma.","mi.","joi","vi.","s\xe2."]],Po,[["I","F","M","A","M","I","I","A","S","O","N","D"],["ian.","feb.","mar.","apr.","mai","iun.","iul.","aug.","sept.","oct.","nov.","dec."],["ianuarie","februarie","martie","aprilie","mai","iunie","iulie","august","septembrie","octombrie","noiembrie","decembrie"]],Po,[["\xee.Hr.","d.Hr."],Po,["\xeenainte de Hristos","dup\u0103 Hristos"]],1,[6,0],["dd.MM.y","d MMM y","d MMMM y","EEEE, d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",Po,Po,Po],[",",".",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"RON","RON","leu rom\xe2nesc",{AUD:[Po,"$"],BRL:[Po,"R$"],BYN:[Po,"\u0440."],CAD:[Po,"$"],CNY:[Po,"\xa5"],EUR:[Po,"\u20ac"],GBP:[Po,"\xa3"],HKD:[Po,"$"],ILS:[Po,"\u20aa"],INR:[Po,"\u20b9"],JPY:[Po,"\xa5"],KRW:[Po,"\u20a9"],MXN:[Po,"$"],NZD:[Po,"$"],PHP:[Po,"\u20b1"],TWD:[Po,"NT$"],USD:[Po,"$"],VND:[Po,"\u20ab"],XCD:[Po,"$"]},"ltr",function Lue(n){const o=n,t=Math.floor(Math.abs(n)),r=n.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===r?1:0!==r||0===o||o%100===Math.floor(o%100)&&o%100>=2&&o%100<=19?3:5}],qo=void 0,Uue=["nb",[["a","p"],["a.m.","p.m."],qo],[["a.m.","p.m."],qo,qo],[["S","M","T","O","T","F","L"],["s\xf8n.","man.","tir.","ons.","tor.","fre.","l\xf8r."],["s\xf8ndag","mandag","tirsdag","onsdag","torsdag","fredag","l\xf8rdag"],["s\xf8.","ma.","ti.","on.","to.","fr.","l\xf8."]],qo,[["J","F","M","A","M","J","J","A","S","O","N","D"],["jan.","feb.","mar.","apr.","mai","jun.","jul.","aug.","sep.","okt.","nov.","des."],["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember"]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des"],["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember"]],[["f.Kr.","e.Kr."],qo,["f\xf8r Kristus","etter Kristus"]],1,[6,0],["dd.MM.y","d. MMM y","d. MMMM y","EEEE d. MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",qo,"{1} 'kl'. {0}",qo],[",","\xa0",";","%","+","\u2212","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0\xa0%","\xa4\xa0#,##0.00;\xa4\xa0-#,##0.00","#E0"],"NOK","kr","norske kroner",{AUD:[qo,"$"],BRL:[qo,"R$"],BYN:[qo,"\u0440."],CAD:[qo,"$"],CNY:[qo,"\xa5"],HKD:[qo,"$"],ILS:[qo,"\u20aa"],INR:[qo,"\u20b9"],JPY:[qo,"\xa5"],KRW:[qo,"\u20a9"],MXN:[qo,"$"],NOK:["kr"],NZD:[qo,"$"],PHP:[qo,"\u20b1"],RON:[qo,"L"],TWD:[qo,"NT$"],USD:[qo,"$"],VND:[qo,"\u20ab"],XAF:[],XCD:[qo,"$"],XPF:[],XXX:[]},"ltr",function Bue(n){return 1===n?1:5}],zue=[{path:"",component:DP}];let Vue=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275mod=bn({type:n});static \u0275inj=mn({imports:[po,Io,_o,pr,Jo.forChild(zue)]})}return n})(),Hue=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275mod=bn({type:n});static \u0275inj=mn({imports:[po,Io,_o,pr]})}return n})(),jue=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275mod=bn({type:n});static \u0275inj=mn({imports:[po,Io,_o,pr]})}return n})();const Gue=[{path:"",component:pP}];let Wue=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275mod=bn({type:n});static \u0275inj=mn({imports:[po,Io,_o,Jo.forChild(Gue),pr,aG,jue,Hue]})}return n})();Rr(aue),Rr(iue),Rr(cue),Rr(uue),Rr(fue),Rr(hue),Rr(_ue),Rr(yue),Rr(Sue),Rr(Tue),Rr(Eue),Rr(Due),Rr($M),Rr($ue),Rr(Nue),Rr(Oue),Rr(Rue),Rr(Fue),Rr($M),Rr(Uue);let que=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275mod=bn({type:n,bootstrap:[Xae]});static \u0275inj=mn({providers:[{provide:U7,useClass:OY}],imports:[S6,cX,_o.forRoot(),Wie,DM,Qce,ede,jce,Vde,Wde,Yde,jde,nde,Wce,Bde,Yce,Ude,Xce,Kde,NX,Zde,Xde,Jde,tue,oue,Vue,Wue,IM,Jae.forRoot({name:"barberlycom",driverOrder:[cu.IndexedDB,cu.LocalStorage]})]})}return n})();yH().bootstrapModule(que).catch(n=>console.log(n))},2348:(l,h,_)=>{var y=_(4605),w={};for(var A in y)y.hasOwnProperty(A)&&(w[y[A]]=A);var O=l.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var j in O)if(O.hasOwnProperty(j)){if(!("channels"in O[j]))throw new Error("missing channels property: "+j);if(!("labels"in O[j]))throw new Error("missing channel labels property: "+j);if(O[j].labels.length!==O[j].channels)throw new Error("channel and label counts mismatch: "+j);var Z=O[j].channels,K=O[j].labels;delete O[j].channels,delete O[j].labels,Object.defineProperty(O[j],"channels",{value:Z}),Object.defineProperty(O[j],"labels",{value:K})}function ne(F,Q){return Math.pow(F[0]-Q[0],2)+Math.pow(F[1]-Q[1],2)+Math.pow(F[2]-Q[2],2)}O.rgb.hsl=function(F){var te,ve,Q=F[0]/255,V=F[1]/255,q=F[2]/255,Y=Math.min(Q,V,q),U=Math.max(Q,V,q),X=U-Y;return U===Y?te=0:Q===U?te=(V-q)/X:V===U?te=2+(q-Q)/X:q===U&&(te=4+(Q-V)/X),(te=Math.min(60*te,360))<0&&(te+=360),ve=(Y+U)/2,[te,100*(U===Y?0:ve<=.5?X/(U+Y):X/(2-U-Y)),100*ve]},O.rgb.hsv=function(F){var Q,V,q,Y,U,X=F[0]/255,te=F[1]/255,de=F[2]/255,ve=Math.max(X,te,de),Oe=ve-Math.min(X,te,de),Ce=function(Be){return(ve-Be)/6/Oe+.5};return 0===Oe?Y=U=0:(U=Oe/ve,Q=Ce(X),V=Ce(te),q=Ce(de),X===ve?Y=q-V:te===ve?Y=1/3+Q-q:de===ve&&(Y=2/3+V-Q),Y<0?Y+=1:Y>1&&(Y-=1)),[360*Y,100*U,100*ve]},O.rgb.hwb=function(F){var Q=F[0],V=F[1],q=F[2];return[O.rgb.hsl(F)[0],1/255*Math.min(Q,Math.min(V,q))*100,100*(q=1-1/255*Math.max(Q,Math.max(V,q)))]},O.rgb.cmyk=function(F){var te,Q=F[0]/255,V=F[1]/255,q=F[2]/255;return[100*((1-Q-(te=Math.min(1-Q,1-V,1-q)))/(1-te)||0),100*((1-V-te)/(1-te)||0),100*((1-q-te)/(1-te)||0),100*te]},O.rgb.keyword=function(F){var Q=w[F];if(Q)return Q;var q,V=1/0;for(var Y in y)if(y.hasOwnProperty(Y)){var X=ne(F,y[Y]);X<V&&(V=X,q=Y)}return q},O.keyword.rgb=function(F){return y[F]},O.rgb.xyz=function(F){var Q=F[0]/255,V=F[1]/255,q=F[2]/255;return[100*(.4124*(Q=Q>.04045?Math.pow((Q+.055)/1.055,2.4):Q/12.92)+.3576*(V=V>.04045?Math.pow((V+.055)/1.055,2.4):V/12.92)+.1805*(q=q>.04045?Math.pow((q+.055)/1.055,2.4):q/12.92)),100*(.2126*Q+.7152*V+.0722*q),100*(.0193*Q+.1192*V+.9505*q)]},O.rgb.lab=function(F){var Q=O.rgb.xyz(F),V=Q[0],q=Q[1],Y=Q[2];return q/=100,Y/=108.883,V=(V/=95.047)>.008856?Math.pow(V,1/3):7.787*V+16/116,[116*(q=q>.008856?Math.pow(q,1/3):7.787*q+16/116)-16,500*(V-q),200*(q-(Y=Y>.008856?Math.pow(Y,1/3):7.787*Y+16/116))]},O.hsl.rgb=function(F){var Y,U,X,te,de,Q=F[0]/360,V=F[1]/100,q=F[2]/100;if(0===V)return[de=255*q,de,de];Y=2*q-(U=q<.5?q*(1+V):q+V-q*V),te=[0,0,0];for(var ve=0;ve<3;ve++)(X=Q+1/3*-(ve-1))<0&&X++,X>1&&X--,te[ve]=255*(de=6*X<1?Y+6*(U-Y)*X:2*X<1?U:3*X<2?Y+(U-Y)*(2/3-X)*6:Y);return te},O.hsl.hsv=function(F){var Q=F[0],V=F[1]/100,q=F[2]/100,Y=V,U=Math.max(q,.01);return V*=(q*=2)<=1?q:2-q,Y*=U<=1?U:2-U,[Q,100*(0===q?2*Y/(U+Y):2*V/(q+V)),(q+V)/2*100]},O.hsv.rgb=function(F){var Q=F[0]/60,V=F[1]/100,q=F[2]/100,Y=Math.floor(Q)%6,U=Q-Math.floor(Q),X=255*q*(1-V),te=255*q*(1-V*U),de=255*q*(1-V*(1-U));switch(q*=255,Y){case 0:return[q,de,X];case 1:return[te,q,X];case 2:return[X,q,de];case 3:return[X,te,q];case 4:return[de,X,q];case 5:return[q,X,te]}},O.hsv.hsl=function(F){var U,X,te,Q=F[0],V=F[1]/100,q=F[2]/100,Y=Math.max(q,.01);return te=(2-V)*q,X=V*Y,[Q,100*(X=(X/=(U=(2-V)*Y)<=1?U:2-U)||0),100*(te/=2)]},O.hwb.rgb=function(F){var U,X,te,de,ve,Oe,Ce,Q=F[0]/360,V=F[1]/100,q=F[2]/100,Y=V+q;switch(Y>1&&(V/=Y,q/=Y),te=6*Q-(U=Math.floor(6*Q)),1&U&&(te=1-te),de=V+te*((X=1-q)-V),U){default:case 6:case 0:ve=X,Oe=de,Ce=V;break;case 1:ve=de,Oe=X,Ce=V;break;case 2:ve=V,Oe=X,Ce=de;break;case 3:ve=V,Oe=de,Ce=X;break;case 4:ve=de,Oe=V,Ce=X;break;case 5:ve=X,Oe=V,Ce=de}return[255*ve,255*Oe,255*Ce]},O.cmyk.rgb=function(F){var V=F[1]/100,q=F[2]/100,Y=F[3]/100;return[255*(1-Math.min(1,F[0]/100*(1-Y)+Y)),255*(1-Math.min(1,V*(1-Y)+Y)),255*(1-Math.min(1,q*(1-Y)+Y))]},O.xyz.rgb=function(F){var Y,U,X,Q=F[0]/100,V=F[1]/100,q=F[2]/100;return U=-.9689*Q+1.8758*V+.0415*q,X=.0557*Q+-.204*V+1.057*q,Y=(Y=3.2406*Q+-1.5372*V+-.4986*q)>.0031308?1.055*Math.pow(Y,1/2.4)-.055:12.92*Y,U=U>.0031308?1.055*Math.pow(U,1/2.4)-.055:12.92*U,X=X>.0031308?1.055*Math.pow(X,1/2.4)-.055:12.92*X,[255*(Y=Math.min(Math.max(0,Y),1)),255*(U=Math.min(Math.max(0,U),1)),255*(X=Math.min(Math.max(0,X),1))]},O.xyz.lab=function(F){var Q=F[0],V=F[1],q=F[2];return V/=100,q/=108.883,Q=(Q/=95.047)>.008856?Math.pow(Q,1/3):7.787*Q+16/116,[116*(V=V>.008856?Math.pow(V,1/3):7.787*V+16/116)-16,500*(Q-V),200*(V-(q=q>.008856?Math.pow(q,1/3):7.787*q+16/116))]},O.lab.xyz=function(F){var Y,U,X;Y=F[1]/500+(U=(F[0]+16)/116),X=U-F[2]/200;var te=Math.pow(U,3),de=Math.pow(Y,3),ve=Math.pow(X,3);return U=te>.008856?te:(U-16/116)/7.787,Y=de>.008856?de:(Y-16/116)/7.787,X=ve>.008856?ve:(X-16/116)/7.787,[Y*=95.047,U*=100,X*=108.883]},O.lab.lch=function(F){var U,Q=F[0],V=F[1],q=F[2];return(U=360*Math.atan2(q,V)/2/Math.PI)<0&&(U+=360),[Q,Math.sqrt(V*V+q*q),U]},O.lch.lab=function(F){var X,V=F[1];return X=F[2]/360*2*Math.PI,[F[0],V*Math.cos(X),V*Math.sin(X)]},O.rgb.ansi16=function(F){var Q=F[0],V=F[1],q=F[2],Y=1 in arguments?arguments[1]:O.rgb.hsv(F)[2];if(0===(Y=Math.round(Y/50)))return 30;var U=30+(Math.round(q/255)<<2|Math.round(V/255)<<1|Math.round(Q/255));return 2===Y&&(U+=60),U},O.hsv.ansi16=function(F){return O.rgb.ansi16(O.hsv.rgb(F),F[2])},O.rgb.ansi256=function(F){var Q=F[0],V=F[1],q=F[2];return Q===V&&V===q?Q<8?16:Q>248?231:Math.round((Q-8)/247*24)+232:16+36*Math.round(Q/255*5)+6*Math.round(V/255*5)+Math.round(q/255*5)},O.ansi16.rgb=function(F){var Q=F%10;if(0===Q||7===Q)return F>50&&(Q+=3.5),[Q=Q/10.5*255,Q,Q];var V=.5*(1+~~(F>50));return[(1&Q)*V*255,(Q>>1&1)*V*255,(Q>>2&1)*V*255]},O.ansi256.rgb=function(F){if(F>=232){var Q=10*(F-232)+8;return[Q,Q,Q]}var V;return F-=16,[Math.floor(F/36)/5*255,Math.floor((V=F%36)/6)/5*255,V%6/5*255]},O.rgb.hex=function(F){var V=(((255&Math.round(F[0]))<<16)+((255&Math.round(F[1]))<<8)+(255&Math.round(F[2]))).toString(16).toUpperCase();return"000000".substring(V.length)+V},O.hex.rgb=function(F){var Q=F.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!Q)return[0,0,0];var V=Q[0];3===Q[0].length&&(V=V.split("").map(function(te){return te+te}).join(""));var q=parseInt(V,16);return[q>>16&255,q>>8&255,255&q]},O.rgb.hcg=function(F){var de,Q=F[0]/255,V=F[1]/255,q=F[2]/255,Y=Math.max(Math.max(Q,V),q),U=Math.min(Math.min(Q,V),q),X=Y-U;return de=X<=0?0:Y===Q?(V-q)/X%6:Y===V?2+(q-Q)/X:4+(Q-V)/X+4,de/=6,[360*(de%=1),100*X,100*(X<1?U/(1-X):0)]},O.hsl.hcg=function(F){var q,Q=F[1]/100,V=F[2]/100,Y=0;return(q=V<.5?2*Q*V:2*Q*(1-V))<1&&(Y=(V-.5*q)/(1-q)),[F[0],100*q,100*Y]},O.hsv.hcg=function(F){var V=F[2]/100,q=F[1]/100*V,Y=0;return q<1&&(Y=(V-q)/(1-q)),[F[0],100*q,100*Y]},O.hcg.rgb=function(F){var V=F[1]/100,q=F[2]/100;if(0===V)return[255*q,255*q,255*q];var de,Y=[0,0,0],U=F[0]/360%1*6,X=U%1,te=1-X;switch(Math.floor(U)){case 0:Y[0]=1,Y[1]=X,Y[2]=0;break;case 1:Y[0]=te,Y[1]=1,Y[2]=0;break;case 2:Y[0]=0,Y[1]=1,Y[2]=X;break;case 3:Y[0]=0,Y[1]=te,Y[2]=1;break;case 4:Y[0]=X,Y[1]=0,Y[2]=1;break;default:Y[0]=1,Y[1]=0,Y[2]=te}return[255*(V*Y[0]+(de=(1-V)*q)),255*(V*Y[1]+de),255*(V*Y[2]+de)]},O.hcg.hsv=function(F){var Q=F[1]/100,q=Q+F[2]/100*(1-Q),Y=0;return q>0&&(Y=Q/q),[F[0],100*Y,100*q]},O.hcg.hsl=function(F){var Q=F[1]/100,q=F[2]/100*(1-Q)+.5*Q,Y=0;return q>0&&q<.5?Y=Q/(2*q):q>=.5&&q<1&&(Y=Q/(2*(1-q))),[F[0],100*Y,100*q]},O.hcg.hwb=function(F){var Q=F[1]/100,q=Q+F[2]/100*(1-Q);return[F[0],100*(q-Q),100*(1-q)]},O.hwb.hcg=function(F){var q=1-F[2]/100,Y=q-F[1]/100,U=0;return Y<1&&(U=(q-Y)/(1-Y)),[F[0],100*Y,100*U]},O.apple.rgb=function(F){return[F[0]/65535*255,F[1]/65535*255,F[2]/65535*255]},O.rgb.apple=function(F){return[F[0]/255*65535,F[1]/255*65535,F[2]/255*65535]},O.gray.rgb=function(F){return[F[0]/100*255,F[0]/100*255,F[0]/100*255]},O.gray.hsl=O.gray.hsv=function(F){return[0,0,F[0]]},O.gray.hwb=function(F){return[0,100,F[0]]},O.gray.cmyk=function(F){return[0,0,0,F[0]]},O.gray.lab=function(F){return[F[0],0,0]},O.gray.hex=function(F){var Q=255&Math.round(F[0]/100*255),q=((Q<<16)+(Q<<8)+Q).toString(16).toUpperCase();return"000000".substring(q.length)+q},O.rgb.gray=function(F){return[(F[0]+F[1]+F[2])/3/255*100]}},3205:(l,h,_)=>{var y=_(2348),w=_(8236),A={};Object.keys(y).forEach(function(K){A[K]={},Object.defineProperty(A[K],"channels",{value:y[K].channels}),Object.defineProperty(A[K],"labels",{value:y[K].labels});var ne=w(K);Object.keys(ne).forEach(function(Q){var V=ne[Q];A[K][Q]=function Z(K){var ne=function(F){if(null==F)return F;arguments.length>1&&(F=Array.prototype.slice.call(arguments));var Q=K(F);if("object"==typeof Q)for(var V=Q.length,q=0;q<V;q++)Q[q]=Math.round(Q[q]);return Q};return"conversion"in K&&(ne.conversion=K.conversion),ne}(V),A[K][Q].raw=function j(K){var ne=function(F){return null==F?F:(arguments.length>1&&(F=Array.prototype.slice.call(arguments)),K(F))};return"conversion"in K&&(ne.conversion=K.conversion),ne}(V)})}),l.exports=A},8236:(l,h,_)=>{var y=_(2348);function O(Z,K){return function(ne){return K(Z(ne))}}function j(Z,K){for(var ne=[K[Z].parent,Z],F=y[K[Z].parent][Z],Q=K[Z].parent;K[Q].parent;)ne.unshift(K[Q].parent),F=O(y[K[Q].parent][Q],F),Q=K[Q].parent;return F.conversion=ne,F}l.exports=function(Z){for(var K=function A(Z){var K=function w(){for(var Z={},K=Object.keys(y),ne=K.length,F=0;F<ne;F++)Z[K[F]]={distance:-1,parent:null};return Z}(),ne=[Z];for(K[Z].distance=0;ne.length;)for(var F=ne.pop(),Q=Object.keys(y[F]),V=Q.length,q=0;q<V;q++){var Y=Q[q],U=K[Y];-1===U.distance&&(U.distance=K[F].distance+1,U.parent=F,ne.unshift(Y))}return K}(Z),ne={},F=Object.keys(K),Q=F.length,V=0;V<Q;V++){var q=F[V];null!==K[q].parent&&(ne[q]=j(q,K))}return ne}},4605:l=>{"use strict";l.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},5331:(l,h,_)=>{var y=_(4605),w=_(8105),A=Object.hasOwnProperty,O=Object.create(null);for(var j in y)A.call(y,j)&&(O[y[j]]=j);var Z=l.exports={to:{},get:{}};function K(F,Q,V){return Math.min(Math.max(Q,F),V)}function ne(F){var Q=Math.round(F).toString(16).toUpperCase();return Q.length<2?"0"+Q:Q}Z.get=function(F){var V,q;switch(F.substring(0,3).toLowerCase()){case"hsl":V=Z.get.hsl(F),q="hsl";break;case"hwb":V=Z.get.hwb(F),q="hwb";break;default:V=Z.get.rgb(F),q="rgb"}return V?{model:q,value:V}:null},Z.get.rgb=function(F){if(!F)return null;var te,de,ve,X=[0,0,0,1];if(te=F.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(ve=te[2],te=te[1],de=0;de<3;de++){var Oe=2*de;X[de]=parseInt(te.slice(Oe,Oe+2),16)}ve&&(X[3]=parseInt(ve,16)/255)}else if(te=F.match(/^#([a-f0-9]{3,4})$/i)){for(ve=(te=te[1])[3],de=0;de<3;de++)X[de]=parseInt(te[de]+te[de],16);ve&&(X[3]=parseInt(ve+ve,16)/255)}else if(te=F.match(/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)){for(de=0;de<3;de++)X[de]=parseInt(te[de+1],0);te[4]&&(X[3]=te[5]?.01*parseFloat(te[4]):parseFloat(te[4]))}else{if(!(te=F.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)))return(te=F.match(/^(\w+)$/))?"transparent"===te[1]?[0,0,0,0]:A.call(y,te[1])?((X=y[te[1]])[3]=1,X):null:null;for(de=0;de<3;de++)X[de]=Math.round(2.55*parseFloat(te[de+1]));te[4]&&(X[3]=te[5]?.01*parseFloat(te[4]):parseFloat(te[4]))}for(de=0;de<3;de++)X[de]=K(X[de],0,255);return X[3]=K(X[3],0,1),X},Z.get.hsl=function(F){if(!F)return null;var V=F.match(/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(V){var q=parseFloat(V[4]);return[(parseFloat(V[1])%360+360)%360,K(parseFloat(V[2]),0,100),K(parseFloat(V[3]),0,100),K(isNaN(q)?1:q,0,1)]}return null},Z.get.hwb=function(F){if(!F)return null;var V=F.match(/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(V){var q=parseFloat(V[4]);return[(parseFloat(V[1])%360+360)%360,K(parseFloat(V[2]),0,100),K(parseFloat(V[3]),0,100),K(isNaN(q)?1:q,0,1)]}return null},Z.to.hex=function(){var F=w(arguments);return"#"+ne(F[0])+ne(F[1])+ne(F[2])+(F[3]<1?ne(Math.round(255*F[3])):"")},Z.to.rgb=function(){var F=w(arguments);return F.length<4||1===F[3]?"rgb("+Math.round(F[0])+", "+Math.round(F[1])+", "+Math.round(F[2])+")":"rgba("+Math.round(F[0])+", "+Math.round(F[1])+", "+Math.round(F[2])+", "+F[3]+")"},Z.to.rgb.percent=function(){var F=w(arguments),Q=Math.round(F[0]/255*100),V=Math.round(F[1]/255*100),q=Math.round(F[2]/255*100);return F.length<4||1===F[3]?"rgb("+Q+"%, "+V+"%, "+q+"%)":"rgba("+Q+"%, "+V+"%, "+q+"%, "+F[3]+")"},Z.to.hsl=function(){var F=w(arguments);return F.length<4||1===F[3]?"hsl("+F[0]+", "+F[1]+"%, "+F[2]+"%)":"hsla("+F[0]+", "+F[1]+"%, "+F[2]+"%, "+F[3]+")"},Z.to.hwb=function(){var F=w(arguments),Q="";return F.length>=4&&1!==F[3]&&(Q=", "+F[3]),"hwb("+F[0]+", "+F[1]+"%, "+F[2]+"%"+Q+")"},Z.to.keyword=function(F){return O[F.slice(0,3)]}},3283:(l,h,_)=>{"use strict";var y=_(5331),w=_(3205),A=[].slice,O=["keyword","gray","hex"],j={};Object.keys(w).forEach(function(U){j[A.call(w[U].labels).sort().join("")]=U});var Z={};function K(U,X){if(!(this instanceof K))return new K(U,X);if(X&&X in O&&(X=null),X&&!(X in w))throw new Error("Unknown model: "+X);var te,de;if(null==U)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(U instanceof K)this.model=U.model,this.color=U.color.slice(),this.valpha=U.valpha;else if("string"==typeof U){var ve=y.get(U);if(null===ve)throw new Error("Unable to parse color from string: "+U);this.model=ve.model,this.color=ve.value.slice(0,de=w[this.model].channels),this.valpha="number"==typeof ve.value[de]?ve.value[de]:1}else if(U.length){this.model=X||"rgb";var Oe=A.call(U,0,de=w[this.model].channels);this.color=Y(Oe,de),this.valpha="number"==typeof U[de]?U[de]:1}else if("number"==typeof U)U&=16777215,this.model="rgb",this.color=[U>>16&255,U>>8&255,255&U],this.valpha=1;else{this.valpha=1;var Ce=Object.keys(U);"alpha"in U&&(Ce.splice(Ce.indexOf("alpha"),1),this.valpha="number"==typeof U.alpha?U.alpha:0);var Be=Ce.sort().join("");if(!(Be in j))throw new Error("Unable to parse color from object: "+JSON.stringify(U));this.model=j[Be];var Ee=w[this.model].labels,ye=[];for(te=0;te<Ee.length;te++)ye.push(U[Ee[te]]);this.color=Y(ye)}if(Z[this.model])for(de=w[this.model].channels,te=0;te<de;te++){var $e=Z[this.model][te];$e&&(this.color[te]=$e(this.color[te]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}function Q(U,X,te){return(U=Array.isArray(U)?U:[U]).forEach(function(de){(Z[de]||(Z[de]=[]))[X]=te}),U=U[0],function(de){var ve;return arguments.length?(te&&(de=te(de)),(ve=this[U]()).color[X]=de,ve):(ve=this[U]().color[X],te&&(ve=te(ve)),ve)}}function V(U){return function(X){return Math.max(0,Math.min(U,X))}}function Y(U,X){for(var te=0;te<X;te++)"number"!=typeof U[te]&&(U[te]=0);return U}K.prototype={toString:function(){return this.string()},toJSON:function(){return this[this.model]()},string:function(U){var X=this.model in y.to?this:this.rgb(),te=1===(X=X.round("number"==typeof U?U:1)).valpha?X.color:X.color.concat(this.valpha);return y.to[X.model](te)},percentString:function(U){var X=this.rgb().round("number"==typeof U?U:1),te=1===X.valpha?X.color:X.color.concat(this.valpha);return y.to.rgb.percent(te)},array:function(){return 1===this.valpha?this.color.slice():this.color.concat(this.valpha)},object:function(){for(var U={},X=w[this.model].channels,te=w[this.model].labels,de=0;de<X;de++)U[te[de]]=this.color[de];return 1!==this.valpha&&(U.alpha=this.valpha),U},unitArray:function(){var U=this.rgb().color;return U[0]/=255,U[1]/=255,U[2]/=255,1!==this.valpha&&U.push(this.valpha),U},unitObject:function(){var U=this.rgb().object();return U.r/=255,U.g/=255,U.b/=255,1!==this.valpha&&(U.alpha=this.valpha),U},round:function(U){return U=Math.max(U||0,0),new K(this.color.map(function F(U){return function(X){return function ne(U,X){return Number(U.toFixed(X))}(X,U)}}(U)).concat(this.valpha),this.model)},alpha:function(U){return arguments.length?new K(this.color.concat(Math.max(0,Math.min(1,U))),this.model):this.valpha},red:Q("rgb",0,V(255)),green:Q("rgb",1,V(255)),blue:Q("rgb",2,V(255)),hue:Q(["hsl","hsv","hsl","hwb","hcg"],0,function(U){return(U%360+360)%360}),saturationl:Q("hsl",1,V(100)),lightness:Q("hsl",2,V(100)),saturationv:Q("hsv",1,V(100)),value:Q("hsv",2,V(100)),chroma:Q("hcg",1,V(100)),gray:Q("hcg",2,V(100)),white:Q("hwb",1,V(100)),wblack:Q("hwb",2,V(100)),cyan:Q("cmyk",0,V(100)),magenta:Q("cmyk",1,V(100)),yellow:Q("cmyk",2,V(100)),black:Q("cmyk",3,V(100)),x:Q("xyz",0,V(100)),y:Q("xyz",1,V(100)),z:Q("xyz",2,V(100)),l:Q("lab",0,V(100)),a:Q("lab",1),b:Q("lab",2),keyword:function(U){return arguments.length?new K(U):w[this.model].keyword(this.color)},hex:function(U){return arguments.length?new K(U):y.to.hex(this.rgb().round().color)},rgbNumber:function(){var U=this.rgb().color;return(255&U[0])<<16|(255&U[1])<<8|255&U[2]},luminosity:function(){for(var U=this.rgb().color,X=[],te=0;te<U.length;te++){var de=U[te]/255;X[te]=de<=.03928?de/12.92:Math.pow((de+.055)/1.055,2.4)}return.2126*X[0]+.7152*X[1]+.0722*X[2]},contrast:function(U){var X=this.luminosity(),te=U.luminosity();return X>te?(X+.05)/(te+.05):(te+.05)/(X+.05)},level:function(U){var X=this.contrast(U);return X>=7.1?"AAA":X>=4.5?"AA":""},isDark:function(){var U=this.rgb().color;return(299*U[0]+587*U[1]+114*U[2])/1e3<128},isLight:function(){return!this.isDark()},negate:function(){for(var U=this.rgb(),X=0;X<3;X++)U.color[X]=255-U.color[X];return U},lighten:function(U){var X=this.hsl();return X.color[2]+=X.color[2]*U,X},darken:function(U){var X=this.hsl();return X.color[2]-=X.color[2]*U,X},saturate:function(U){var X=this.hsl();return X.color[1]+=X.color[1]*U,X},desaturate:function(U){var X=this.hsl();return X.color[1]-=X.color[1]*U,X},whiten:function(U){var X=this.hwb();return X.color[1]+=X.color[1]*U,X},blacken:function(U){var X=this.hwb();return X.color[2]+=X.color[2]*U,X},grayscale:function(){var U=this.rgb().color,X=.3*U[0]+.59*U[1]+.11*U[2];return K.rgb(X,X,X)},fade:function(U){return this.alpha(this.valpha-this.valpha*U)},opaquer:function(U){return this.alpha(this.valpha+this.valpha*U)},rotate:function(U){var X=this.hsl(),te=X.color[0];return X.color[0]=te=(te=(te+U)%360)<0?360+te:te,X},mix:function(U,X){if(!U||!U.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof U);var te=U.rgb(),de=this.rgb(),ve=void 0===X?.5:X,Oe=2*ve-1,Ce=te.alpha()-de.alpha(),Be=((Oe*Ce==-1?Oe:(Oe+Ce)/(1+Oe*Ce))+1)/2,Ee=1-Be;return K.rgb(Be*te.red()+Ee*de.red(),Be*te.green()+Ee*de.green(),Be*te.blue()+Ee*de.blue(),te.alpha()*ve+de.alpha()*(1-ve))}},Object.keys(w).forEach(function(U){if(-1===O.indexOf(U)){var X=w[U].channels;K.prototype[U]=function(){if(this.model===U)return new K(this);if(arguments.length)return new K(arguments,U);var te="number"==typeof arguments[X]?X:this.valpha;return new K(function q(U){return Array.isArray(U)?U:[U]}(w[this.model][U].raw(this.color)).concat(te),U)},K[U]=function(te){return"number"==typeof te&&(te=Y(A.call(arguments),X)),new K(te,U)}}}),l.exports=K},243:l=>{"use strict";var h={single_source_shortest_paths:function(_,y,w){var A={},O={};O[y]=0;var Z,K,ne,F,Q,q,j=h.PriorityQueue.make();for(j.push(y,0);!j.empty();)for(ne in F=(Z=j.pop()).cost,Q=_[K=Z.value]||{})Q.hasOwnProperty(ne)&&(q=F+Q[ne],(typeof O[ne]>"u"||O[ne]>q)&&(O[ne]=q,j.push(ne,q),A[ne]=K));if(typeof w<"u"&&typeof O[w]>"u"){var X=["Could not find a path from ",y," to ",w,"."].join("");throw new Error(X)}return A},extract_shortest_path_from_predecessor_list:function(_,y){for(var w=[],A=y;A;)w.push(A),A=_[A];return w.reverse(),w},find_path:function(_,y,w){var A=h.single_source_shortest_paths(_,y,w);return h.extract_shortest_path_from_predecessor_list(A,w)},PriorityQueue:{make:function(_){var A,y=h.PriorityQueue,w={};for(A in _=_||{},y)y.hasOwnProperty(A)&&(w[A]=y[A]);return w.queue=[],w.sorter=_.sorter||y.default_sorter,w},default_sorter:function(_,y){return _.cost-y.cost},push:function(_,y){this.queue.push({value:_,cost:y}),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};l.exports=h},3174:l=>{"use strict";l.exports=function(_){for(var y=[],w=_.length,A=0;A<w;A++){var O=_.charCodeAt(A);if(O>=55296&&O<=56319&&w>A+1){var j=_.charCodeAt(A+1);j>=56320&&j<=57343&&(O=1024*(O-55296)+j-56320+65536,A+=1)}O<128?y.push(O):O<2048?(y.push(O>>6|192),y.push(63&O|128)):O<55296||O>=57344&&O<65536?(y.push(O>>12|224),y.push(O>>6&63|128),y.push(63&O|128)):O>=65536&&O<=1114111?(y.push(O>>18|240),y.push(O>>12&63|128),y.push(O>>6&63|128),y.push(63&O|128)):y.push(239,191,189)}return new Uint8Array(y).buffer}},6347:module=>{var l;l=function(){var define,module,exports;return function(){return function l(h,_,y){function w(j,Z){if(!_[j]){if(!h[j]){if(A)return A(j,!0);var ne=new Error("Cannot find module '"+j+"'");throw ne.code="MODULE_NOT_FOUND",ne}var F=_[j]={exports:{}};h[j][0].call(F.exports,function(Q){return w(h[j][1][Q]||Q)},F,F.exports,l,h,_,y)}return _[j].exports}for(var A=void 0,O=0;O<y.length;O++)w(y[O]);return w}}()({1:[function(require,module,exports){(function(global){(function(){var $jscomp=$jscomp||{};$jscomp.scope={},$jscomp.createTemplateTagFirstArg=function(l){return l.raw=l},$jscomp.createTemplateTagFirstArgWithRaw=function(l,h){return l.raw=h,l},$jscomp.arrayIteratorImpl=function(l){var h=0;return function(){return h<l.length?{done:!1,value:l[h++]}:{done:!0}}},$jscomp.arrayIterator=function(l){return{next:$jscomp.arrayIteratorImpl(l)}},$jscomp.makeIterator=function(l){var h=typeof Symbol<"u"&&Symbol.iterator&&l[Symbol.iterator];return h?h.call(l):$jscomp.arrayIterator(l)},$jscomp.arrayFromIterator=function(l){for(var h,_=[];!(h=l.next()).done;)_.push(h.value);return _},$jscomp.arrayFromIterable=function(l){return l instanceof Array?l:$jscomp.arrayFromIterator($jscomp.makeIterator(l))},$jscomp.checkStringArgs=function(l,h,_){if(null==l)throw new TypeError("The 'this' value for String.prototype."+_+" must not be null or undefined");if(h instanceof RegExp)throw new TypeError("First argument to String.prototype."+_+" must not be a regular expression");return l+""},$jscomp.ASSUME_ES5=!1,$jscomp.ASSUME_NO_NATIVE_MAP=!1,$jscomp.ASSUME_NO_NATIVE_SET=!1,$jscomp.SIMPLE_FROUND_POLYFILL=!1,$jscomp.ISOLATE_POLYFILLS=!1,$jscomp.FORCE_POLYFILL_PROMISE=!1,$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1,$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(l,h,_){return l==Array.prototype||l==Object.prototype||(l[h]=_.value),l},$jscomp.getGlobal=function(l){l=["object"==typeof globalThis&&globalThis,l,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var h=0;h<l.length;++h){var _=l[h];if(_&&_.Math==Math)return _}throw Error("Cannot find global object")},$jscomp.global=$jscomp.getGlobal(this),$jscomp.IS_SYMBOL_NATIVE="function"==typeof Symbol&&"symbol"==typeof Symbol("x"),$jscomp.TRUST_ES6_POLYFILLS=!$jscomp.ISOLATE_POLYFILLS||$jscomp.IS_SYMBOL_NATIVE,$jscomp.polyfills={},$jscomp.propertyToPolyfillSymbol={},$jscomp.POLYFILL_PREFIX="$jscp$";var $jscomp$lookupPolyfilledValue=function(l,h){var _=$jscomp.propertyToPolyfillSymbol[h];return null==_?l[h]:void 0!==(_=l[_])?_:l[h]};$jscomp.polyfill=function(l,h,_,y){h&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(l,h,_,y):$jscomp.polyfillUnisolated(l,h,_,y))},$jscomp.polyfillUnisolated=function(l,h,_,y){for(_=$jscomp.global,l=l.split("."),y=0;y<l.length-1;y++){var w=l[y];if(!(w in _))return;_=_[w]}(h=h(y=_[l=l[l.length-1]]))!=y&&null!=h&&$jscomp.defineProperty(_,l,{configurable:!0,writable:!0,value:h})},$jscomp.polyfillIsolated=function(l,h,_,y){var w=l.split(".");y=w[0],y=!(l=1===w.length)&&y in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var A=0;A<w.length-1;A++){var O=w[A];if(!(O in y))return;y=y[O]}w=w[w.length-1],null!=(h=h(_=$jscomp.IS_SYMBOL_NATIVE&&"es6"===_?y[w]:null))&&(l?$jscomp.defineProperty($jscomp.polyfills,w,{configurable:!0,writable:!0,value:h}):h!==_&&($jscomp.propertyToPolyfillSymbol[w]=$jscomp.IS_SYMBOL_NATIVE?$jscomp.global.Symbol(w):$jscomp.POLYFILL_PREFIX+w,$jscomp.defineProperty(y,w=$jscomp.propertyToPolyfillSymbol[w],{configurable:!0,writable:!0,value:h})))},$jscomp.polyfill("String.prototype.endsWith",function(l){return l||function(h,_){var y=$jscomp.checkStringArgs(this,h,"endsWith");h+="",void 0===_&&(_=y.length),_=Math.max(0,Math.min(0|_,y.length));for(var w=h.length;0<w&&0<_;)if(y[--_]!=h[--w])return!1;return 0>=w}},"es6","es3"),$jscomp.findInternal=function(l,h,_){l instanceof String&&(l=String(l));for(var y=l.length,w=0;w<y;w++){var A=l[w];if(h.call(_,A,w,l))return{i:w,v:A}}return{i:-1,v:void 0}},$jscomp.polyfill("Array.prototype.find",function(l){return l||function(h,_){return $jscomp.findInternal(this,h,_).v}},"es6","es3"),$jscomp.polyfill("String.prototype.startsWith",function(l){return l||function(h,_){var y=$jscomp.checkStringArgs(this,h,"startsWith"),w=y.length,A=(h+="").length;_=Math.max(0,Math.min(0|_,y.length));for(var O=0;O<A&&_<w;)if(y[_++]!=h[O++])return!1;return O>=A}},"es6","es3"),$jscomp.polyfill("String.prototype.repeat",function(l){return l||function(h){var _=$jscomp.checkStringArgs(this,null,"repeat");if(0>h||1342177279<h)throw new RangeError("Invalid count value");h|=0;for(var y="";h;)1&h&&(y+=_),(h>>>=1)&&(_+=_);return y}},"es6","es3"),$jscomp.initSymbol=function(){},$jscomp.polyfill("Symbol",function(l){if(l)return l;var h=function(w,A){this.$jscomp$symbol$id_=w,$jscomp.defineProperty(this,"description",{configurable:!0,writable:!0,value:A})};h.prototype.toString=function(){return this.$jscomp$symbol$id_};var _=0,y=function(w){if(this instanceof y)throw new TypeError("Symbol is not a constructor");return new h("jscomp_symbol_"+(w||"")+"_"+_++,w)};return y},"es6","es3"),$jscomp.polyfill("Symbol.iterator",function(l){if(l)return l;l=Symbol("Symbol.iterator");for(var h="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),_=0;_<h.length;_++){var y=$jscomp.global[h[_]];"function"==typeof y&&"function"!=typeof y.prototype[l]&&$jscomp.defineProperty(y.prototype,l,{configurable:!0,writable:!0,value:function(){return $jscomp.iteratorPrototype($jscomp.arrayIteratorImpl(this))}})}return l},"es6","es3"),$jscomp.iteratorPrototype=function(l){return(l={next:l})[Symbol.iterator]=function(){return this},l},$jscomp.iteratorFromArray=function(l,h){l instanceof String&&(l+="");var _=0,y=!1,w={next:function(){if(!y&&_<l.length){var A=_++;return{value:h(A,l[A]),done:!1}}return y=!0,{done:!0,value:void 0}}};return w[Symbol.iterator]=function(){return w},w},$jscomp.polyfill("Array.prototype.keys",function(l){return l||function(){return $jscomp.iteratorFromArray(this,function(h){return h})}},"es6","es3"),$jscomp.polyfill("Object.is",function(l){return l||function(h,_){return h===_?0!==h||1/h==1/_:h!=h&&_!=_}},"es6","es3"),$jscomp.polyfill("Array.prototype.includes",function(l){return l||function(h,_){var y=this;y instanceof String&&(y=String(y));var w=y.length;for(0>(_=_||0)&&(_=Math.max(_+w,0));_<w;_++){var A=y[_];if(A===h||Object.is(A,h))return!0}return!1}},"es7","es3"),$jscomp.polyfill("String.prototype.includes",function(l){return l||function(h,_){return-1!==$jscomp.checkStringArgs(this,h,"includes").indexOf(h,_||0)}},"es6","es3");var COMPILED=!0,goog=goog||{};function module$contents$goog$debug$Error_DebugError(l){if(Error.captureStackTrace)Error.captureStackTrace(this,module$contents$goog$debug$Error_DebugError);else{var h=Error().stack;h&&(this.stack=h)}l&&(this.message=String(l)),this.reportErrorToServer=!0}goog.global=this||self,goog.exportPath_=function(l,h,_,y){(l=l.split("."))[0]in(y=y||goog.global)||typeof y.execScript>"u"||y.execScript("var "+l[0]);for(var w;l.length&&(w=l.shift());)if(l.length||void 0===h)y=y[w]&&y[w]!==Object.prototype[w]?y[w]:y[w]={};else if(!_&&goog.isObject(h)&&goog.isObject(y[w]))for(var A in h)h.hasOwnProperty(A)&&(y[w][A]=h[A]);else y[w]=h},goog.define=function(l,h){if(!COMPILED){var _=goog.global.CLOSURE_UNCOMPILED_DEFINES,y=goog.global.CLOSURE_DEFINES;_&&void 0===_.nodeType&&Object.prototype.hasOwnProperty.call(_,l)?h=_[l]:y&&void 0===y.nodeType&&Object.prototype.hasOwnProperty.call(y,l)&&(h=y[l])}return h},goog.FEATURESET_YEAR=2012,goog.DEBUG=!0,goog.LOCALE="en",goog.TRUSTED_SITE=!0,goog.DISALLOW_TEST_ONLY_CODE=COMPILED&&!goog.DEBUG,goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING=!1,goog.provide=function(l){if(goog.isInModuleLoader_())throw Error("goog.provide cannot be used within a module.");if(!COMPILED&&goog.isProvided_(l))throw Error('Namespace "'+l+'" already declared.');goog.constructNamespace_(l)},goog.constructNamespace_=function(l,h,_){if(!COMPILED){delete goog.implicitNamespaces_[l];for(var y=l;(y=y.substring(0,y.lastIndexOf(".")))&&!goog.getObjectByName(y);)goog.implicitNamespaces_[y]=!0}goog.exportPath_(l,h,_)},goog.getScriptNonce=function(l){return l&&l!=goog.global?goog.getScriptNonce_(l.document):(null===goog.cspNonce_&&(goog.cspNonce_=goog.getScriptNonce_(goog.global.document)),goog.cspNonce_)},goog.NONCE_PATTERN_=/^[\w+/_-]+[=]{0,2}$/,goog.cspNonce_=null,goog.getScriptNonce_=function(l){return(l=l.querySelector&&l.querySelector("script[nonce]"))&&(l=l.nonce||l.getAttribute("nonce"))&&goog.NONCE_PATTERN_.test(l)?l:""},goog.VALID_MODULE_RE_=/^[a-zA-Z_$][a-zA-Z0-9._$]*$/,goog.module=function(l){if("string"!=typeof l||!l||-1==l.search(goog.VALID_MODULE_RE_))throw Error("Invalid module identifier");if(!goog.isInGoogModuleLoader_())throw Error("Module "+l+" has been loaded incorrectly. Note, modules cannot be loaded as normal scripts. They require some kind of pre-processing step. You're likely trying to load a module via a script tag or as a part of a concatenated bundle without rewriting the module. For more info see: https://github.com/google/closure-library/wiki/goog.module:-an-ES6-module-like-alternative-to-goog.provide.");if(goog.moduleLoaderState_.moduleName)throw Error("goog.module may only be called once per module.");if(goog.moduleLoaderState_.moduleName=l,!COMPILED){if(goog.isProvided_(l))throw Error('Namespace "'+l+'" already declared.');delete goog.implicitNamespaces_[l]}},goog.module.get=function(l){return goog.module.getInternal_(l)},goog.module.getInternal_=function(l){if(!COMPILED){if(l in goog.loadedModules_)return goog.loadedModules_[l].exports;if(!goog.implicitNamespaces_[l])return(l=goog.getObjectByName(l))??null}return null},goog.ModuleType={ES6:"es6",GOOG:"goog"},goog.moduleLoaderState_=null,goog.isInModuleLoader_=function(){return goog.isInGoogModuleLoader_()||goog.isInEs6ModuleLoader_()},goog.isInGoogModuleLoader_=function(){return!!goog.moduleLoaderState_&&goog.moduleLoaderState_.type==goog.ModuleType.GOOG},goog.isInEs6ModuleLoader_=function(){if(goog.moduleLoaderState_&&goog.moduleLoaderState_.type==goog.ModuleType.ES6)return!0;var l=goog.global.$jscomp;return!!l&&"function"==typeof l.getCurrentModulePath&&!!l.getCurrentModulePath()},goog.module.declareLegacyNamespace=function(){if(!COMPILED&&!goog.isInGoogModuleLoader_())throw Error("goog.module.declareLegacyNamespace must be called from within a goog.module");if(!COMPILED&&!goog.moduleLoaderState_.moduleName)throw Error("goog.module must be called prior to goog.module.declareLegacyNamespace.");goog.moduleLoaderState_.declareLegacyNamespace=!0},goog.declareModuleId=function(l){if(!COMPILED){if(!goog.isInEs6ModuleLoader_())throw Error("goog.declareModuleId may only be called from within an ES6 module");if(goog.moduleLoaderState_&&goog.moduleLoaderState_.moduleName)throw Error("goog.declareModuleId may only be called once per module.");if(l in goog.loadedModules_)throw Error('Module with namespace "'+l+'" already exists.')}if(goog.moduleLoaderState_)goog.moduleLoaderState_.moduleName=l;else{var h=goog.global.$jscomp;if(!h||"function"!=typeof h.getCurrentModulePath)throw Error('Module with namespace "'+l+'" has been loaded incorrectly.');h=h.require(h.getCurrentModulePath()),goog.loadedModules_[l]={exports:h,type:goog.ModuleType.ES6,moduleId:l}}},goog.setTestOnly=function(l){if(goog.DISALLOW_TEST_ONLY_CODE)throw l=l||"",Error("Importing test-only code into non-debug environment"+(l?": "+l:"."))},goog.forwardDeclare=function(l){},COMPILED||(goog.isProvided_=function(l){return l in goog.loadedModules_||!goog.implicitNamespaces_[l]&&null!=goog.getObjectByName(l)},goog.implicitNamespaces_={"goog.module":!0}),goog.getObjectByName=function(l,h){l=l.split("."),h=h||goog.global;for(var _=0;_<l.length;_++)if(null==(h=h[l[_]]))return null;return h},goog.addDependency=function(l,h,_,y){!COMPILED&&goog.DEPENDENCIES_ENABLED&&goog.debugLoader_.addDependency(l,h,_,y)},goog.ENABLE_DEBUG_LOADER=!0,goog.logToConsole_=function(l){goog.global.console&&goog.global.console.error(l)},goog.require=function(l){if(!COMPILED){if(goog.ENABLE_DEBUG_LOADER&&goog.debugLoader_.requested(l),goog.isProvided_(l)){if(goog.isInModuleLoader_())return goog.module.getInternal_(l)}else if(goog.ENABLE_DEBUG_LOADER){var h=goog.moduleLoaderState_;goog.moduleLoaderState_=null;try{goog.debugLoader_.load_(l)}finally{goog.moduleLoaderState_=h}}return null}},goog.requireType=function(l){return{}},goog.basePath="",goog.nullFunction=function(){},goog.abstractMethod=function(){throw Error("unimplemented abstract method")},goog.addSingletonGetter=function(l){l.instance_=void 0,l.getInstance=function(){return l.instance_?l.instance_:(goog.DEBUG&&(goog.instantiatedSingletons_[goog.instantiatedSingletons_.length]=l),l.instance_=new l)}},goog.instantiatedSingletons_=[],goog.LOAD_MODULE_USING_EVAL=!0,goog.SEAL_MODULE_EXPORTS=goog.DEBUG,goog.loadedModules_={},goog.DEPENDENCIES_ENABLED=!COMPILED&&goog.ENABLE_DEBUG_LOADER,goog.TRANSPILE="detect",goog.ASSUME_ES_MODULES_TRANSPILED=!1,goog.TRANSPILE_TO_LANGUAGE="",goog.TRANSPILER="transpile.js",goog.hasBadLetScoping=null,goog.useSafari10Workaround=function(){if(null==goog.hasBadLetScoping){try{var a=!eval('"use strict";let x = 1; function f() { return typeof x; };f() == "number";')}catch(l){a=!1}goog.hasBadLetScoping=a}return goog.hasBadLetScoping},goog.workaroundSafari10EvalBug=function(l){return"(function(){"+l+"\n;})();\n"},goog.loadModule=function(l){var h=goog.moduleLoaderState_;try{goog.moduleLoaderState_={moduleName:"",declareLegacyNamespace:!1,type:goog.ModuleType.GOOG};var _={},y=_;if("function"==typeof l)y=l.call(void 0,y);else{if("string"!=typeof l)throw Error("Invalid module definition");goog.useSafari10Workaround()&&(l=goog.workaroundSafari10EvalBug(l)),y=goog.loadModuleFromSource_.call(void 0,y,l)}var w=goog.moduleLoaderState_.moduleName;if("string"!=typeof w||!w)throw Error('Invalid module name "'+w+'"');goog.moduleLoaderState_.declareLegacyNamespace?goog.constructNamespace_(w,y,_!==y):goog.SEAL_MODULE_EXPORTS&&Object.seal&&"object"==typeof y&&null!=y&&Object.seal(y),goog.loadedModules_[w]={exports:y,type:goog.ModuleType.GOOG,moduleId:goog.moduleLoaderState_.moduleName}}finally{goog.moduleLoaderState_=h}},goog.loadModuleFromSource_=function(a,b){return eval(b),a},goog.normalizePath_=function(l){l=l.split("/");for(var h=0;h<l.length;)"."==l[h]?l.splice(h,1):h&&".."==l[h]&&l[h-1]&&".."!=l[h-1]?l.splice(--h,2):h++;return l.join("/")},goog.loadFileSync_=function(l){if(goog.global.CLOSURE_LOAD_FILE_SYNC)return goog.global.CLOSURE_LOAD_FILE_SYNC(l);try{var h=new goog.global.XMLHttpRequest;return h.open("get",l,!1),h.send(),0==h.status||200==h.status?h.responseText:null}catch{return null}},goog.transpile_=function(l,h,_){var y=goog.global.$jscomp;y||(goog.global.$jscomp=y={});var w=y.transpile;if(!w){var A=goog.basePath+goog.TRANSPILER,O=goog.loadFileSync_(A);if(O){if(function(){(0,eval)(O+"\n//# sourceURL="+A)}.call(goog.global),goog.global.$gwtExport&&goog.global.$gwtExport.$jscomp&&!goog.global.$gwtExport.$jscomp.transpile)throw Error('The transpiler did not properly export the "transpile" method. $gwtExport: '+JSON.stringify(goog.global.$gwtExport));goog.global.$jscomp.transpile=goog.global.$gwtExport.$jscomp.transpile,w=(y=goog.global.$jscomp).transpile}}return w||(w=y.transpile=function(j,Z){return goog.logToConsole_(Z+" requires transpilation but no transpiler was found."),j}),w(l,h,_)},goog.typeOf=function(l){var h=typeof l;return"object"!=h?h:l?Array.isArray(l)?"array":h:"null"},goog.isArrayLike=function(l){var h=goog.typeOf(l);return"array"==h||"object"==h&&"number"==typeof l.length},goog.isDateLike=function(l){return goog.isObject(l)&&"function"==typeof l.getFullYear},goog.isObject=function(l){var h=typeof l;return"object"==h&&null!=l||"function"==h},goog.getUid=function(l){return Object.prototype.hasOwnProperty.call(l,goog.UID_PROPERTY_)&&l[goog.UID_PROPERTY_]||(l[goog.UID_PROPERTY_]=++goog.uidCounter_)},goog.hasUid=function(l){return!!l[goog.UID_PROPERTY_]},goog.removeUid=function(l){null!==l&&"removeAttribute"in l&&l.removeAttribute(goog.UID_PROPERTY_);try{delete l[goog.UID_PROPERTY_]}catch{}},goog.UID_PROPERTY_="closure_uid_"+(1e9*Math.random()>>>0),goog.uidCounter_=0,goog.cloneObject=function(l){var h=goog.typeOf(l);if("object"==h||"array"==h){if("function"==typeof l.clone)return l.clone();for(var _ in h="array"==h?[]:{},l)h[_]=goog.cloneObject(l[_]);return h}return l},goog.bindNative_=function(l,h,_){return l.call.apply(l.bind,arguments)},goog.bindJs_=function(l,h,_){if(!l)throw Error();if(2<arguments.length){var y=Array.prototype.slice.call(arguments,2);return function(){var w=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(w,y),l.apply(h,w)}}return function(){return l.apply(h,arguments)}},goog.bind=function(l,h,_){return goog.bind=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?goog.bindNative_:goog.bindJs_,goog.bind.apply(null,arguments)},goog.partial=function(l,h){var _=Array.prototype.slice.call(arguments,1);return function(){var y=_.slice();return y.push.apply(y,arguments),l.apply(this,y)}},goog.mixin=function(l,h){for(var _ in h)l[_]=h[_]},goog.now=function(){return Date.now()},goog.globalEval=function(l){(0,eval)(l)},goog.getCssName=function(l,h){if("."==String(l).charAt(0))throw Error('className passed in goog.getCssName must not start with ".". You passed: '+l);var _=function(w){return goog.cssNameMapping_[w]||w},y=function(w){w=w.split("-");for(var A=[],O=0;O<w.length;O++)A.push(_(w[O]));return A.join("-")};return y=goog.cssNameMapping_?"BY_WHOLE"==goog.cssNameMappingStyle_?_:y:function(w){return w},l=h?l+"-"+y(h):y(l),goog.global.CLOSURE_CSS_NAME_MAP_FN?goog.global.CLOSURE_CSS_NAME_MAP_FN(l):l},goog.setCssNameMapping=function(l,h){goog.cssNameMapping_=l,goog.cssNameMappingStyle_=h},!COMPILED&&goog.global.CLOSURE_CSS_NAME_MAPPING&&(goog.cssNameMapping_=goog.global.CLOSURE_CSS_NAME_MAPPING),goog.getMsg=function(l,h,_){return _&&_.html&&(l=l.replace(/</g,"&lt;")),_&&_.unescapeHtmlEntities&&(l=l.replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&apos;/g,"'").replace(/&quot;/g,'"').replace(/&amp;/g,"&")),h&&(l=l.replace(/\{\$([^}]+)}/g,function(y,w){return null!=h&&w in h?h[w]:y})),l},goog.getMsgWithFallback=function(l,h){return l},goog.exportSymbol=function(l,h,_){goog.exportPath_(l,h,!0,_)},goog.exportProperty=function(l,h,_){l[h]=_},goog.inherits=function(l,h){function _(){}_.prototype=h.prototype,l.superClass_=h.prototype,l.prototype=new _,l.prototype.constructor=l,l.base=function(y,w,A){for(var O=Array(arguments.length-2),j=2;j<arguments.length;j++)O[j-2]=arguments[j];return h.prototype[w].apply(y,O)}},goog.scope=function(l){if(goog.isInModuleLoader_())throw Error("goog.scope is not supported within a module.");l.call(goog.global)},COMPILED||(goog.global.COMPILED=COMPILED),goog.defineClass=function(l,h){var _=h.constructor,y=h.statics;return _&&_!=Object.prototype.constructor||(_=function(){throw Error("cannot instantiate an interface (no constructor defined).")}),_=goog.defineClass.createSealingConstructor_(_,l),l&&goog.inherits(_,l),delete h.constructor,delete h.statics,goog.defineClass.applyProperties_(_.prototype,h),null!=y&&(y instanceof Function?y(_):goog.defineClass.applyProperties_(_,y)),_},goog.defineClass.SEAL_CLASS_INSTANCES=goog.DEBUG,goog.defineClass.createSealingConstructor_=function(l,h){return goog.defineClass.SEAL_CLASS_INSTANCES?function(){var _=l.apply(this,arguments)||this;return _[goog.UID_PROPERTY_]=_[goog.UID_PROPERTY_],_}:l},goog.defineClass.OBJECT_PROTOTYPE_FIELDS_="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),goog.defineClass.applyProperties_=function(l,h){for(var _ in h)Object.prototype.hasOwnProperty.call(h,_)&&(l[_]=h[_]);for(var y=0;y<goog.defineClass.OBJECT_PROTOTYPE_FIELDS_.length;y++)_=goog.defineClass.OBJECT_PROTOTYPE_FIELDS_[y],Object.prototype.hasOwnProperty.call(h,_)&&(l[_]=h[_])},!COMPILED&&goog.DEPENDENCIES_ENABLED&&(goog.inHtmlDocument_=function(){var l=goog.global.document;return null!=l&&"write"in l},goog.isDocumentLoading_=function(){var l=goog.global.document;return l.attachEvent?"complete"!=l.readyState:"loading"==l.readyState},goog.findBasePath_=function(){if(null!=goog.global.CLOSURE_BASE_PATH&&"string"==typeof goog.global.CLOSURE_BASE_PATH)goog.basePath=goog.global.CLOSURE_BASE_PATH;else if(goog.inHtmlDocument_()){var l=goog.global.document,h=l.currentScript;for(h=(l=h?[h]:l.getElementsByTagName("SCRIPT")).length-1;0<=h;--h){var _=l[h].src,y=_.lastIndexOf("?");if("base.js"==_.substr((y=-1==y?_.length:y)-7,7)){goog.basePath=_.substr(0,y-7);break}}}},goog.findBasePath_(),goog.Transpiler=function(){this.requiresTranspilation_=null,this.transpilationTarget_=goog.TRANSPILE_TO_LANGUAGE},goog.Transpiler.prototype.createRequiresTranspilation_=function(){function a(l,h){e?d[l]=!0:h()?(c=l,d[l]=!1):e=d[l]=!0}function b(g){try{return!!eval(g)}catch(l){return!1}}var c="es3",d={es3:!1},e=!1,f=goog.global.navigator&&goog.global.navigator.userAgent?goog.global.navigator.userAgent:"";return a("es5",function(){return b("[1,].length==1")}),a("es6",function(){return!f.match(/Edge\/(\d+)(\.\d)*/i)&&b('(()=>{"use strict";class X{constructor(){if(new.target!=String)throw 1;this.x=42}}let q=Reflect.construct(X,[],String);if(q.x!=42||!(q instanceof String))throw 1;for(const a of[2,3]){if(a==2)continue;function f(z={a}){let a=0;return z.a}{function f(){return 0;}}return f()==3}})()')}),a("es7",function(){return b("2 ** 2 == 4")}),a("es8",function(){return b("async () => 1, true")}),a("es9",function(){return b("({...rest} = {}), true")}),a("es_next",function(){return!1}),{target:c,map:d}},goog.Transpiler.prototype.needsTranspile=function(l,h){if("always"==goog.TRANSPILE)return!0;if("never"==goog.TRANSPILE)return!1;if(!this.requiresTranspilation_){var _=this.createRequiresTranspilation_();this.requiresTranspilation_=_.map,this.transpilationTarget_=this.transpilationTarget_||_.target}if(l in this.requiresTranspilation_)return!!this.requiresTranspilation_[l]||!(!goog.inHtmlDocument_()||"es6"!=h||"noModule"in goog.global.document.createElement("script"));throw Error("Unknown language mode: "+l)},goog.Transpiler.prototype.transpile=function(l,h){return goog.transpile_(l,h,this.transpilationTarget_)},goog.transpiler_=new goog.Transpiler,goog.protectScriptTag_=function(l){return l.replace(/<\/(SCRIPT)/gi,"\\x3c/$1")},goog.DebugLoader_=function(){this.dependencies_={},this.idToPath_={},this.written_={},this.loadingDeps_=[],this.depsToLoad_=[],this.paused_=!1,this.factory_=new goog.DependencyFactory(goog.transpiler_),this.deferredCallbacks_={},this.deferredQueue_=[]},goog.DebugLoader_.prototype.bootstrap=function(l,h){function _(){y&&(goog.global.setTimeout(y,0),y=null)}var y=h;if(l.length){h=[];for(var w=0;w<l.length;w++){var A=this.getPathFromDeps_(l[w]);if(!A)throw Error("Unregonized namespace: "+l[w]);h.push(this.dependencies_[A])}A=goog.require;var O=0;for(w=0;w<l.length;w++)A(l[w]),h[w].onLoad(function(){++O==l.length&&_()})}else _()},goog.DebugLoader_.prototype.loadClosureDeps=function(){this.depsToLoad_.push(this.factory_.createDependency(goog.normalizePath_(goog.basePath+"deps.js"),"deps.js",[],[],{},!1)),this.loadDeps_()},goog.DebugLoader_.prototype.requested=function(l,h){(l=this.getPathFromDeps_(l))&&(h||this.areDepsLoaded_(this.dependencies_[l].requires))&&(h=this.deferredCallbacks_[l])&&(delete this.deferredCallbacks_[l],h())},goog.DebugLoader_.prototype.setDependencyFactory=function(l){this.factory_=l},goog.DebugLoader_.prototype.load_=function(l){if(!this.getPathFromDeps_(l))throw goog.logToConsole_(l="goog.require could not find: "+l),Error(l);var h=this,_=[],y=function(w){var A=h.getPathFromDeps_(w);if(!A)throw Error("Bad dependency path or symbol: "+w);if(!h.written_[A]){for(h.written_[A]=!0,w=h.dependencies_[A],A=0;A<w.requires.length;A++)goog.isProvided_(w.requires[A])||y(w.requires[A]);_.push(w)}};y(l),l=!!this.depsToLoad_.length,this.depsToLoad_=this.depsToLoad_.concat(_),this.paused_||l||this.loadDeps_()},goog.DebugLoader_.prototype.loadDeps_=function(){for(var l=this,h=this.paused_;this.depsToLoad_.length&&!h;)!function(){var _=!1,y=l.depsToLoad_.shift(),w=!1;l.loading_(y);var A={pause:function(){if(_)throw Error("Cannot call pause after the call to load.");h=!0},resume:function(){_?l.resume_():h=!1},loaded:function(){if(w)throw Error("Double call to loaded.");w=!0,l.loaded_(y)},pending:function(){for(var O=[],j=0;j<l.loadingDeps_.length;j++)O.push(l.loadingDeps_[j]);return O},setModuleState:function(O){goog.moduleLoaderState_={type:O,moduleName:"",declareLegacyNamespace:!1}},registerEs6ModuleExports:function(O,j,Z){Z&&(goog.loadedModules_[Z]={exports:j,type:goog.ModuleType.ES6,moduleId:Z||""})},registerGoogModuleExports:function(O,j){goog.loadedModules_[O]={exports:j,type:goog.ModuleType.GOOG,moduleId:O}},clearModuleState:function(){goog.moduleLoaderState_=null},defer:function(O){if(_)throw Error("Cannot register with defer after the call to load.");l.defer_(y,O)},areDepsLoaded:function(){return l.areDepsLoaded_(y.requires)}};try{y.load(A)}finally{_=!0}}();h&&this.pause_()},goog.DebugLoader_.prototype.pause_=function(){this.paused_=!0},goog.DebugLoader_.prototype.resume_=function(){this.paused_&&(this.paused_=!1,this.loadDeps_())},goog.DebugLoader_.prototype.loading_=function(l){this.loadingDeps_.push(l)},goog.DebugLoader_.prototype.loaded_=function(l){for(var h=0;h<this.loadingDeps_.length;h++)if(this.loadingDeps_[h]==l){this.loadingDeps_.splice(h,1);break}for(h=0;h<this.deferredQueue_.length;h++)if(this.deferredQueue_[h]==l.path){this.deferredQueue_.splice(h,1);break}if(this.loadingDeps_.length==this.deferredQueue_.length&&!this.depsToLoad_.length)for(;this.deferredQueue_.length;)this.requested(this.deferredQueue_.shift(),!0);l.loaded()},goog.DebugLoader_.prototype.areDepsLoaded_=function(l){for(var h=0;h<l.length;h++){var _=this.getPathFromDeps_(l[h]);if(!_||!(_ in this.deferredCallbacks_)&&!goog.isProvided_(l[h]))return!1}return!0},goog.DebugLoader_.prototype.getPathFromDeps_=function(l){return l in this.idToPath_?this.idToPath_[l]:l in this.dependencies_?l:null},goog.DebugLoader_.prototype.defer_=function(l,h){this.deferredCallbacks_[l.path]=h,this.deferredQueue_.push(l.path)},goog.LoadController=function(){},goog.LoadController.prototype.pause=function(){},goog.LoadController.prototype.resume=function(){},goog.LoadController.prototype.loaded=function(){},goog.LoadController.prototype.pending=function(){},goog.LoadController.prototype.registerEs6ModuleExports=function(l,h,_){},goog.LoadController.prototype.setModuleState=function(l){},goog.LoadController.prototype.clearModuleState=function(){},goog.LoadController.prototype.defer=function(l){},goog.LoadController.prototype.areDepsLoaded=function(){},goog.Dependency=function(l,h,_,y,w){this.path=l,this.relativePath=h,this.provides=_,this.requires=y,this.loadFlags=w,this.loaded_=!1,this.loadCallbacks_=[]},goog.Dependency.prototype.getPathName=function(){var l=this.path,h=l.indexOf("://");return 0<=h&&0<=(h=(l=l.substring(h+3)).indexOf("/"))&&(l=l.substring(h+1)),l},goog.Dependency.prototype.onLoad=function(l){this.loaded_?l():this.loadCallbacks_.push(l)},goog.Dependency.prototype.loaded=function(){this.loaded_=!0;var l=this.loadCallbacks_;this.loadCallbacks_=[];for(var h=0;h<l.length;h++)l[h]()},goog.Dependency.defer_=!1,goog.Dependency.callbackMap_={},goog.Dependency.registerCallback_=function(l){var h=Math.random().toString(32);return goog.Dependency.callbackMap_[h]=l,h},goog.Dependency.unregisterCallback_=function(l){delete goog.Dependency.callbackMap_[l]},goog.Dependency.callback_=function(l,h){if(!(l in goog.Dependency.callbackMap_))throw Error("Callback key "+l+" does not exist (was base.js loaded more than once?).");for(var _=goog.Dependency.callbackMap_[l],y=[],w=1;w<arguments.length;w++)y.push(arguments[w]);_.apply(void 0,y)},goog.Dependency.prototype.load=function(l){if(goog.global.CLOSURE_IMPORT_SCRIPT)goog.global.CLOSURE_IMPORT_SCRIPT(this.path)?l.loaded():l.pause();else if(goog.inHtmlDocument_()){var h=goog.global.document;if("complete"==h.readyState&&!goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING){if(/\bdeps.js$/.test(this.path))return void l.loaded();throw Error('Cannot write "'+this.path+'" after document load')}var _=goog.getScriptNonce();if(!goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING&&goog.isDocumentLoading_()){var y=function(j){j.readyState&&"complete"!=j.readyState?j.onload=y:(goog.Dependency.unregisterCallback_(w),l.loaded())},w=goog.Dependency.registerCallback_(y),A='<script src="'+this.path+'"'+(_=_?' nonce="'+_+'"':"")+(goog.Dependency.defer_?" defer":"")+' id="script-'+w+'"><\/script>';A+="<script"+_+">",A=goog.Dependency.defer_?A+"document.getElementById('script-"+w+"').onload = function() {\n  goog.Dependency.callback_('"+w+"', this);\n};\n":A+"goog.Dependency.callback_('"+w+"', document.getElementById('script-"+w+"'));",A+="<\/script>",h.write(goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createHTML(A):A)}else{var O=h.createElement("script");O.defer=goog.Dependency.defer_,O.async=!1,_&&(O.nonce=_),goog.DebugLoader_.IS_OLD_IE_?(l.pause(),O.onreadystatechange=function(){("loaded"==O.readyState||"complete"==O.readyState)&&(l.loaded(),l.resume())}):O.onload=function(){O.onload=null,l.loaded()},O.src=goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createScriptURL(this.path):this.path,h.head.appendChild(O)}}else goog.logToConsole_("Cannot use default debug loader outside of HTML documents."),"deps.js"==this.relativePath?(goog.logToConsole_("Consider setting CLOSURE_IMPORT_SCRIPT before loading base.js, or setting CLOSURE_NO_DEPS to true."),l.loaded()):l.pause()},goog.Es6ModuleDependency=function(l,h,_,y,w){goog.Dependency.call(this,l,h,_,y,w)},goog.inherits(goog.Es6ModuleDependency,goog.Dependency),goog.Es6ModuleDependency.prototype.load=function(l){if(goog.global.CLOSURE_IMPORT_SCRIPT)goog.global.CLOSURE_IMPORT_SCRIPT(this.path)?l.loaded():l.pause();else if(goog.inHtmlDocument_()){var y=goog.global.document,w=this;if(goog.isDocumentLoading_()){var A=function h(K,ne){var F="",Q=goog.getScriptNonce();Q&&(F=' nonce="'+Q+'"'),K=ne?'<script type="module" crossorigin'+F+">"+ne+"<\/script>":'<script type="module" crossorigin src="'+K+'"'+F+"><\/script>",y.write(goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createHTML(K):K)};goog.Dependency.defer_=!0}else A=function _(K,ne){var F=y.createElement("script");F.defer=!0,F.async=!1,F.type="module",F.setAttribute("crossorigin",!0);var Q=goog.getScriptNonce();Q&&(F.nonce=Q),ne?F.text=goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createScript(ne):ne:F.src=goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createScriptURL(K):K,y.head.appendChild(F)};var O=goog.Dependency.registerCallback_(function(){goog.Dependency.unregisterCallback_(O),l.setModuleState(goog.ModuleType.ES6)});A(void 0,'goog.Dependency.callback_("'+O+'")'),A(this.path,void 0);var j=goog.Dependency.registerCallback_(function(K){goog.Dependency.unregisterCallback_(j),l.registerEs6ModuleExports(w.path,K,goog.moduleLoaderState_.moduleName)});A(void 0,'import * as m from "'+this.path+'"; goog.Dependency.callback_("'+j+'", m)');var Z=goog.Dependency.registerCallback_(function(){goog.Dependency.unregisterCallback_(Z),l.clearModuleState(),l.loaded()});A(void 0,'goog.Dependency.callback_("'+Z+'")')}else goog.logToConsole_("Cannot use default debug loader outside of HTML documents."),l.pause()},goog.TransformedDependency=function(l,h,_,y,w){goog.Dependency.call(this,l,h,_,y,w),this.contents_=null,this.lazyFetch_=!goog.inHtmlDocument_()||!("noModule"in goog.global.document.createElement("script"))},goog.inherits(goog.TransformedDependency,goog.Dependency),goog.TransformedDependency.prototype.load=function(l){function h(){w.contents_=goog.loadFileSync_(w.path),w.contents_&&(w.contents_=w.transform(w.contents_),w.contents_&&(w.contents_+="\n//# sourceURL="+w.path))}function _(){if(w.lazyFetch_&&h(),w.contents_){A&&l.setModuleState(goog.ModuleType.ES6);try{var ne=w.contents_;if(w.contents_=null,goog.globalEval(ne),A)var F=goog.moduleLoaderState_.moduleName}finally{A&&l.clearModuleState()}A&&goog.global.$jscomp.require.ensure([w.getPathName()],function(){l.registerEs6ModuleExports(w.path,goog.global.$jscomp.require(w.getPathName()),F)}),l.loaded()}}var w=this;if(goog.global.CLOSURE_IMPORT_SCRIPT)h(),this.contents_&&goog.global.CLOSURE_IMPORT_SCRIPT("",this.contents_)?(this.contents_=null,l.loaded()):l.pause();else{var A=this.loadFlags.module==goog.ModuleType.ES6;this.lazyFetch_||h();var O=1<l.pending().length,j=O&&goog.DebugLoader_.IS_OLD_IE_;if(O=goog.Dependency.defer_&&(O||goog.isDocumentLoading_()),j||O)l.defer(function(){_()});else{var Z=goog.global.document;if(j=goog.inHtmlDocument_()&&"ActiveXObject"in goog.global,A&&goog.inHtmlDocument_()&&goog.isDocumentLoading_()&&!j){goog.Dependency.defer_=!0,l.pause();var K=Z.onreadystatechange;Z.onreadystatechange=function(){"interactive"==Z.readyState&&(Z.onreadystatechange=K,_(),l.resume()),"function"==typeof K&&K.apply(void 0,arguments)}}else!goog.DebugLoader_.IS_OLD_IE_&&goog.inHtmlDocument_()&&goog.isDocumentLoading_()?function y(){var ne=goog.global.document,F=goog.Dependency.registerCallback_(function(){goog.Dependency.unregisterCallback_(F),_()}),Q=goog.getScriptNonce();Q="<script"+(Q?' nonce="'+Q+'"':"")+">"+goog.protectScriptTag_('goog.Dependency.callback_("'+F+'");')+"<\/script>",ne.write(goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createHTML(Q):Q)}():_()}}},goog.TransformedDependency.prototype.transform=function(l){},goog.TranspiledDependency=function(l,h,_,y,w,A){goog.TransformedDependency.call(this,l,h,_,y,w),this.transpiler=A},goog.inherits(goog.TranspiledDependency,goog.TransformedDependency),goog.TranspiledDependency.prototype.transform=function(l){return this.transpiler.transpile(l,this.getPathName())},goog.PreTranspiledEs6ModuleDependency=function(l,h,_,y,w){goog.TransformedDependency.call(this,l,h,_,y,w)},goog.inherits(goog.PreTranspiledEs6ModuleDependency,goog.TransformedDependency),goog.PreTranspiledEs6ModuleDependency.prototype.transform=function(l){return l},goog.GoogModuleDependency=function(l,h,_,y,w,A,O){goog.TransformedDependency.call(this,l,h,_,y,w),this.needsTranspile_=A,this.transpiler_=O},goog.inherits(goog.GoogModuleDependency,goog.TransformedDependency),goog.GoogModuleDependency.prototype.transform=function(l){return this.needsTranspile_&&(l=this.transpiler_.transpile(l,this.getPathName())),goog.LOAD_MODULE_USING_EVAL&&void 0!==goog.global.JSON?"goog.loadModule("+goog.global.JSON.stringify(l+"\n//# sourceURL="+this.path+"\n")+");":'goog.loadModule(function(exports) {"use strict";'+l+"\n;return exports});\n//# sourceURL="+this.path+"\n"},goog.DebugLoader_.IS_OLD_IE_=!(goog.global.atob||!goog.global.document||!goog.global.document.all),goog.DebugLoader_.prototype.addDependency=function(l,h,_,y){h=h||[],l=l.replace(/\\/g,"/");var w=goog.normalizePath_(goog.basePath+l);for(y&&"boolean"!=typeof y||(y=y?{module:goog.ModuleType.GOOG}:{}),_=this.factory_.createDependency(w,l,h,_,y,goog.transpiler_.needsTranspile(y.lang||"es3",y.module)),this.dependencies_[w]=_,_=0;_<h.length;_++)this.idToPath_[h[_]]=w;this.idToPath_[l]=w},goog.DependencyFactory=function(l){this.transpiler=l},goog.DependencyFactory.prototype.createDependency=function(l,h,_,y,w,A){return w.module==goog.ModuleType.GOOG?new goog.GoogModuleDependency(l,h,_,y,w,A,this.transpiler):A?new goog.TranspiledDependency(l,h,_,y,w,this.transpiler):w.module==goog.ModuleType.ES6?"never"==goog.TRANSPILE&&goog.ASSUME_ES_MODULES_TRANSPILED?new goog.PreTranspiledEs6ModuleDependency(l,h,_,y,w):new goog.Es6ModuleDependency(l,h,_,y,w):new goog.Dependency(l,h,_,y,w)},goog.debugLoader_=new goog.DebugLoader_,goog.loadClosureDeps=function(){goog.debugLoader_.loadClosureDeps()},goog.setDependencyFactory=function(l){goog.debugLoader_.setDependencyFactory(l)},goog.TRUSTED_TYPES_POLICY_=goog.TRUSTED_TYPES_POLICY_NAME?goog.createTrustedTypesPolicy(goog.TRUSTED_TYPES_POLICY_NAME+"#base"):null,goog.global.CLOSURE_NO_DEPS||goog.debugLoader_.loadClosureDeps(),goog.bootstrap=function(l,h){goog.debugLoader_.bootstrap(l,h)}),goog.TRUSTED_TYPES_POLICY_NAME="goog",goog.identity_=function(l){return l},goog.createTrustedTypesPolicy=function(l){var h=null,_=goog.global.trustedTypes;if(!_||!_.createPolicy)return h;try{h=_.createPolicy(l,{createHTML:goog.identity_,createScript:goog.identity_,createScriptURL:goog.identity_})}catch(y){goog.logToConsole_(y.message)}return h},goog.debug={},goog.inherits(module$contents$goog$debug$Error_DebugError,Error),module$contents$goog$debug$Error_DebugError.prototype.name="CustomError",goog.debug.Error=module$contents$goog$debug$Error_DebugError,goog.dom={},goog.dom.NodeType={ELEMENT:1,ATTRIBUTE:2,TEXT:3,CDATA_SECTION:4,ENTITY_REFERENCE:5,ENTITY:6,PROCESSING_INSTRUCTION:7,COMMENT:8,DOCUMENT:9,DOCUMENT_TYPE:10,DOCUMENT_FRAGMENT:11,NOTATION:12},goog.asserts={},goog.asserts.ENABLE_ASSERTS=goog.DEBUG,goog.asserts.AssertionError=function(l,h){module$contents$goog$debug$Error_DebugError.call(this,goog.asserts.subs_(l,h)),this.messagePattern=l},goog.inherits(goog.asserts.AssertionError,module$contents$goog$debug$Error_DebugError),goog.asserts.AssertionError.prototype.name="AssertionError",goog.asserts.DEFAULT_ERROR_HANDLER=function(l){throw l},goog.asserts.errorHandler_=goog.asserts.DEFAULT_ERROR_HANDLER,goog.asserts.subs_=function(l,h){for(var _="",y=(l=l.split("%s")).length-1,w=0;w<y;w++)_+=l[w]+(w<h.length?h[w]:"%s");return _+l[y]},goog.asserts.doAssertFailure_=function(l,h,_,y){var w="Assertion failed";if(_){w+=": "+_;var A=y}else l&&(w+=": "+l,A=h);l=new goog.asserts.AssertionError(""+w,A||[]),goog.asserts.errorHandler_(l)},goog.asserts.setErrorHandler=function(l){goog.asserts.ENABLE_ASSERTS&&(goog.asserts.errorHandler_=l)},goog.asserts.assert=function(l,h,_){return goog.asserts.ENABLE_ASSERTS&&!l&&goog.asserts.doAssertFailure_("",null,h,Array.prototype.slice.call(arguments,2)),l},goog.asserts.assertExists=function(l,h,_){return goog.asserts.ENABLE_ASSERTS&&null==l&&goog.asserts.doAssertFailure_("Expected to exist: %s.",[l],h,Array.prototype.slice.call(arguments,2)),l},goog.asserts.fail=function(l,h){goog.asserts.ENABLE_ASSERTS&&goog.asserts.errorHandler_(new goog.asserts.AssertionError("Failure"+(l?": "+l:""),Array.prototype.slice.call(arguments,1)))},goog.asserts.assertNumber=function(l,h,_){return goog.asserts.ENABLE_ASSERTS&&"number"!=typeof l&&goog.asserts.doAssertFailure_("Expected number but got %s: %s.",[goog.typeOf(l),l],h,Array.prototype.slice.call(arguments,2)),l},goog.asserts.assertString=function(l,h,_){return goog.asserts.ENABLE_ASSERTS&&"string"!=typeof l&&goog.asserts.doAssertFailure_("Expected string but got %s: %s.",[goog.typeOf(l),l],h,Array.prototype.slice.call(arguments,2)),l},goog.asserts.assertFunction=function(l,h,_){return goog.asserts.ENABLE_ASSERTS&&"function"!=typeof l&&goog.asserts.doAssertFailure_("Expected function but got %s: %s.",[goog.typeOf(l),l],h,Array.prototype.slice.call(arguments,2)),l},goog.asserts.assertObject=function(l,h,_){return goog.asserts.ENABLE_ASSERTS&&!goog.isObject(l)&&goog.asserts.doAssertFailure_("Expected object but got %s: %s.",[goog.typeOf(l),l],h,Array.prototype.slice.call(arguments,2)),l},goog.asserts.assertArray=function(l,h,_){return goog.asserts.ENABLE_ASSERTS&&!Array.isArray(l)&&goog.asserts.doAssertFailure_("Expected array but got %s: %s.",[goog.typeOf(l),l],h,Array.prototype.slice.call(arguments,2)),l},goog.asserts.assertBoolean=function(l,h,_){return goog.asserts.ENABLE_ASSERTS&&"boolean"!=typeof l&&goog.asserts.doAssertFailure_("Expected boolean but got %s: %s.",[goog.typeOf(l),l],h,Array.prototype.slice.call(arguments,2)),l},goog.asserts.assertElement=function(l,h,_){return!goog.asserts.ENABLE_ASSERTS||goog.isObject(l)&&l.nodeType==goog.dom.NodeType.ELEMENT||goog.asserts.doAssertFailure_("Expected Element but got %s: %s.",[goog.typeOf(l),l],h,Array.prototype.slice.call(arguments,2)),l},goog.asserts.assertInstanceof=function(l,h,_,y){return!goog.asserts.ENABLE_ASSERTS||l instanceof h||goog.asserts.doAssertFailure_("Expected instanceof %s but got %s.",[goog.asserts.getType_(h),goog.asserts.getType_(l)],_,Array.prototype.slice.call(arguments,3)),l},goog.asserts.assertFinite=function(l,h,_){return!goog.asserts.ENABLE_ASSERTS||"number"==typeof l&&isFinite(l)||goog.asserts.doAssertFailure_("Expected %s to be a finite number but it is not.",[l],h,Array.prototype.slice.call(arguments,2)),l},goog.asserts.assertObjectPrototypeIsIntact=function(){for(var l in Object.prototype)goog.asserts.fail(l+" should not be enumerable in Object.prototype.")},goog.asserts.getType_=function(l){return l instanceof Function?l.displayName||l.name||"unknown type name":l instanceof Object?l.constructor.displayName||l.constructor.name||Object.prototype.toString.call(l):null===l?"null":typeof l},goog.array={},goog.NATIVE_ARRAY_PROTOTYPES=goog.TRUSTED_SITE;var module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS=2012<goog.FEATURESET_YEAR;function module$contents$goog$array_peek(l){return l[l.length-1]}goog.array.ASSUME_NATIVE_FUNCTIONS=module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS,goog.array.peek=module$contents$goog$array_peek,goog.array.last=module$contents$goog$array_peek;var module$contents$goog$array_indexOf=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.indexOf)?function(l,h,_){return goog.asserts.assert(null!=l.length),Array.prototype.indexOf.call(l,h,_)}:function(l,h,_){if(_=null==_?0:0>_?Math.max(0,l.length+_):_,"string"==typeof l)return"string"!=typeof h||1!=h.length?-1:l.indexOf(h,_);for(;_<l.length;_++)if(_ in l&&l[_]===h)return _;return-1};goog.array.indexOf=module$contents$goog$array_indexOf;var module$contents$goog$array_lastIndexOf=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.lastIndexOf)?function(l,h,_){return goog.asserts.assert(null!=l.length),Array.prototype.lastIndexOf.call(l,h,_??l.length-1)}:function(l,h,_){if(0>(_=_??l.length-1)&&(_=Math.max(0,l.length+_)),"string"==typeof l)return"string"!=typeof h||1!=h.length?-1:l.lastIndexOf(h,_);for(;0<=_;_--)if(_ in l&&l[_]===h)return _;return-1};goog.array.lastIndexOf=module$contents$goog$array_lastIndexOf;var module$contents$goog$array_forEach=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.forEach)?function(l,h,_){goog.asserts.assert(null!=l.length),Array.prototype.forEach.call(l,h,_)}:function(l,h,_){for(var y=l.length,w="string"==typeof l?l.split(""):l,A=0;A<y;A++)A in w&&h.call(_,w[A],A,l)};function module$contents$goog$array_forEachRight(l,h,_){var y=l.length,w="string"==typeof l?l.split(""):l;for(--y;0<=y;--y)y in w&&h.call(_,w[y],y,l)}goog.array.forEach=module$contents$goog$array_forEach,goog.array.forEachRight=module$contents$goog$array_forEachRight;var module$contents$goog$array_filter=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.filter)?function(l,h,_){return goog.asserts.assert(null!=l.length),Array.prototype.filter.call(l,h,_)}:function(l,h,_){for(var y=l.length,w=[],A=0,O="string"==typeof l?l.split(""):l,j=0;j<y;j++)if(j in O){var Z=O[j];h.call(_,Z,j,l)&&(w[A++]=Z)}return w};goog.array.filter=module$contents$goog$array_filter;var module$contents$goog$array_map=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.map)?function(l,h,_){return goog.asserts.assert(null!=l.length),Array.prototype.map.call(l,h,_)}:function(l,h,_){for(var y=l.length,w=Array(y),A="string"==typeof l?l.split(""):l,O=0;O<y;O++)O in A&&(w[O]=h.call(_,A[O],O,l));return w};goog.array.map=module$contents$goog$array_map;var module$contents$goog$array_reduce=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.reduce)?function(l,h,_,y){return goog.asserts.assert(null!=l.length),y&&(h=goog.bind(h,y)),Array.prototype.reduce.call(l,h,_)}:function(l,h,_,y){var w=_;return module$contents$goog$array_forEach(l,function(A,O){w=h.call(y,w,A,O,l)}),w};goog.array.reduce=module$contents$goog$array_reduce;var module$contents$goog$array_reduceRight=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.reduceRight)?function(l,h,_,y){return goog.asserts.assert(null!=l.length),goog.asserts.assert(null!=h),y&&(h=goog.bind(h,y)),Array.prototype.reduceRight.call(l,h,_)}:function(l,h,_,y){var w=_;return module$contents$goog$array_forEachRight(l,function(A,O){w=h.call(y,w,A,O,l)}),w};goog.array.reduceRight=module$contents$goog$array_reduceRight;var module$contents$goog$array_some=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.some)?function(l,h,_){return goog.asserts.assert(null!=l.length),Array.prototype.some.call(l,h,_)}:function(l,h,_){for(var y=l.length,w="string"==typeof l?l.split(""):l,A=0;A<y;A++)if(A in w&&h.call(_,w[A],A,l))return!0;return!1};goog.array.some=module$contents$goog$array_some;var module$contents$goog$array_every=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.every)?function(l,h,_){return goog.asserts.assert(null!=l.length),Array.prototype.every.call(l,h,_)}:function(l,h,_){for(var y=l.length,w="string"==typeof l?l.split(""):l,A=0;A<y;A++)if(A in w&&!h.call(_,w[A],A,l))return!1;return!0};function module$contents$goog$array_count(l,h,_){var y=0;return module$contents$goog$array_forEach(l,function(w,A,O){h.call(_,w,A,O)&&++y},_),y}function module$contents$goog$array_find(l,h,_){return 0>(h=module$contents$goog$array_findIndex(l,h,_))?null:"string"==typeof l?l.charAt(h):l[h]}function module$contents$goog$array_findIndex(l,h,_){for(var y=l.length,w="string"==typeof l?l.split(""):l,A=0;A<y;A++)if(A in w&&h.call(_,w[A],A,l))return A;return-1}function module$contents$goog$array_findRight(l,h,_){return 0>(h=module$contents$goog$array_findIndexRight(l,h,_))?null:"string"==typeof l?l.charAt(h):l[h]}function module$contents$goog$array_findIndexRight(l,h,_){var y=l.length,w="string"==typeof l?l.split(""):l;for(--y;0<=y;y--)if(y in w&&h.call(_,w[y],y,l))return y;return-1}function module$contents$goog$array_contains(l,h){return 0<=module$contents$goog$array_indexOf(l,h)}function module$contents$goog$array_isEmpty(l){return 0==l.length}function module$contents$goog$array_clear(l){if(!Array.isArray(l))for(var h=l.length-1;0<=h;h--)delete l[h];l.length=0}function module$contents$goog$array_insert(l,h){module$contents$goog$array_contains(l,h)||l.push(h)}function module$contents$goog$array_insertAt(l,h,_){module$contents$goog$array_splice(l,_,0,h)}function module$contents$goog$array_insertArrayAt(l,h,_){goog.partial(module$contents$goog$array_splice,l,_,0).apply(null,h)}function module$contents$goog$array_insertBefore(l,h,_){var y;2==arguments.length||0>(y=module$contents$goog$array_indexOf(l,_))?l.push(h):module$contents$goog$array_insertAt(l,h,y)}function module$contents$goog$array_remove(l,h){var _;return(_=0<=(h=module$contents$goog$array_indexOf(l,h)))&&module$contents$goog$array_removeAt(l,h),_}function module$contents$goog$array_removeLast(l,h){return 0<=(h=module$contents$goog$array_lastIndexOf(l,h))&&(module$contents$goog$array_removeAt(l,h),!0)}function module$contents$goog$array_removeAt(l,h){return goog.asserts.assert(null!=l.length),1==Array.prototype.splice.call(l,h,1).length}function module$contents$goog$array_removeIf(l,h,_){return 0<=(h=module$contents$goog$array_findIndex(l,h,_))&&(module$contents$goog$array_removeAt(l,h),!0)}function module$contents$goog$array_removeAllIf(l,h,_){var y=0;return module$contents$goog$array_forEachRight(l,function(w,A){h.call(_,w,A,l)&&module$contents$goog$array_removeAt(l,A)&&y++}),y}function module$contents$goog$array_concat(l){return Array.prototype.concat.apply([],arguments)}function module$contents$goog$array_join(l){return Array.prototype.concat.apply([],arguments)}function module$contents$goog$array_toArray(l){var h=l.length;if(0<h){for(var _=Array(h),y=0;y<h;y++)_[y]=l[y];return _}return[]}goog.array.every=module$contents$goog$array_every,goog.array.count=module$contents$goog$array_count,goog.array.find=module$contents$goog$array_find,goog.array.findIndex=module$contents$goog$array_findIndex,goog.array.findRight=module$contents$goog$array_findRight,goog.array.findIndexRight=module$contents$goog$array_findIndexRight,goog.array.contains=module$contents$goog$array_contains,goog.array.isEmpty=module$contents$goog$array_isEmpty,goog.array.clear=module$contents$goog$array_clear,goog.array.insert=module$contents$goog$array_insert,goog.array.insertAt=module$contents$goog$array_insertAt,goog.array.insertArrayAt=module$contents$goog$array_insertArrayAt,goog.array.insertBefore=module$contents$goog$array_insertBefore,goog.array.remove=module$contents$goog$array_remove,goog.array.removeLast=module$contents$goog$array_removeLast,goog.array.removeAt=module$contents$goog$array_removeAt,goog.array.removeIf=module$contents$goog$array_removeIf,goog.array.removeAllIf=module$contents$goog$array_removeAllIf,goog.array.concat=module$contents$goog$array_concat,goog.array.join=module$contents$goog$array_join;var module$contents$goog$array_clone=goog.array.toArray=module$contents$goog$array_toArray;function module$contents$goog$array_extend(l,h){for(var _=1;_<arguments.length;_++){var y=arguments[_];if(goog.isArrayLike(y)){var w=l.length||0,A=y.length||0;l.length=w+A;for(var O=0;O<A;O++)l[w+O]=y[O]}else l.push(y)}}function module$contents$goog$array_splice(l,h,_,y){return goog.asserts.assert(null!=l.length),Array.prototype.splice.apply(l,module$contents$goog$array_slice(arguments,1))}function module$contents$goog$array_slice(l,h,_){return goog.asserts.assert(null!=l.length),2>=arguments.length?Array.prototype.slice.call(l,h):Array.prototype.slice.call(l,h,_)}function module$contents$goog$array_removeDuplicates(l,h,_){h=h||l;var y=function(Z){return goog.isObject(Z)?"o"+goog.getUid(Z):(typeof Z).charAt(0)+Z};_=_||y,y={};for(var w=0,A=0;A<l.length;){var O=l[A++],j=_(O);Object.prototype.hasOwnProperty.call(y,j)||(y[j]=!0,h[w++]=O)}h.length=w}function module$contents$goog$array_binarySearch(l,h,_){return module$contents$goog$array_binarySearch_(l,_||module$contents$goog$array_defaultCompare,!1,h)}function module$contents$goog$array_binarySelect(l,h,_){return module$contents$goog$array_binarySearch_(l,h,!0,void 0,_)}function module$contents$goog$array_binarySearch_(l,h,_,y,w){for(var j,A=0,O=l.length;A<O;){var Z=A+(O-A>>>1),K=_?h.call(w,l[Z],Z,l):h(y,l[Z]);0<K?A=Z+1:(O=Z,j=!K)}return j?A:-A-1}function module$contents$goog$array_sort(l,h){l.sort(h||module$contents$goog$array_defaultCompare)}function module$contents$goog$array_stableSort(l,h){for(var _=Array(l.length),y=0;y<l.length;y++)_[y]={index:y,value:l[y]};var w=h||module$contents$goog$array_defaultCompare;for(module$contents$goog$array_sort(_,function(A,O){return w(A.value,O.value)||A.index-O.index}),y=0;y<l.length;y++)l[y]=_[y].value}function module$contents$goog$array_sortByKey(l,h,_){var y=_||module$contents$goog$array_defaultCompare;module$contents$goog$array_sort(l,function(w,A){return y(h(w),h(A))})}function module$contents$goog$array_sortObjectsByKey(l,h,_){module$contents$goog$array_sortByKey(l,function(y){return y[h]},_)}function module$contents$goog$array_isSorted(l,h,_){h=h||module$contents$goog$array_defaultCompare;for(var y=1;y<l.length;y++){var w=h(l[y-1],l[y]);if(0<w||0==w&&_)return!1}return!0}function module$contents$goog$array_equals(l,h,_){if(!goog.isArrayLike(l)||!goog.isArrayLike(h)||l.length!=h.length)return!1;var y=l.length;_=_||module$contents$goog$array_defaultCompareEquality;for(var w=0;w<y;w++)if(!_(l[w],h[w]))return!1;return!0}function module$contents$goog$array_compare3(l,h,_){_=_||module$contents$goog$array_defaultCompare;for(var y=Math.min(l.length,h.length),w=0;w<y;w++){var A=_(l[w],h[w]);if(0!=A)return A}return module$contents$goog$array_defaultCompare(l.length,h.length)}function module$contents$goog$array_defaultCompare(l,h){return l>h?1:l<h?-1:0}function module$contents$goog$array_inverseDefaultCompare(l,h){return-module$contents$goog$array_defaultCompare(l,h)}function module$contents$goog$array_defaultCompareEquality(l,h){return l===h}function module$contents$goog$array_binaryInsert(l,h,_){return 0>(_=module$contents$goog$array_binarySearch(l,h,_))&&(module$contents$goog$array_insertAt(l,h,-(_+1)),!0)}function module$contents$goog$array_binaryRemove(l,h,_){return 0<=(h=module$contents$goog$array_binarySearch(l,h,_))&&module$contents$goog$array_removeAt(l,h)}function module$contents$goog$array_bucket(l,h,_){for(var y={},w=0;w<l.length;w++){var A=l[w],O=h.call(_,A,w,l);void 0!==O&&(y[O]||(y[O]=[])).push(A)}return y}function module$contents$goog$array_toObject(l,h,_){var y={};return module$contents$goog$array_forEach(l,function(w,A){y[h.call(_,w,A,l)]=w}),y}function module$contents$goog$array_range(l,h,_){var y=[],w=0,A=l;if(void 0!==h&&(w=l,A=h),0>(_=_||1)*(A-w))return[];if(0<_)for(l=w;l<A;l+=_)y.push(l);else for(l=w;l>A;l+=_)y.push(l);return y}function module$contents$goog$array_repeat(l,h){for(var _=[],y=0;y<h;y++)_[y]=l;return _}function module$contents$goog$array_flatten(l){for(var h=[],_=0;_<arguments.length;_++){var y=arguments[_];if(Array.isArray(y))for(var w=0;w<y.length;w+=8192){var A=module$contents$goog$array_slice(y,w,w+8192);A=module$contents$goog$array_flatten.apply(null,A);for(var O=0;O<A.length;O++)h.push(A[O])}else h.push(y)}return h}function module$contents$goog$array_rotate(l,h){return goog.asserts.assert(null!=l.length),l.length&&(0<(h%=l.length)?Array.prototype.unshift.apply(l,l.splice(-h,h)):0>h&&Array.prototype.push.apply(l,l.splice(0,-h))),l}function module$contents$goog$array_moveItem(l,h,_){goog.asserts.assert(0<=h&&h<l.length),goog.asserts.assert(0<=_&&_<l.length),h=Array.prototype.splice.call(l,h,1),Array.prototype.splice.call(l,_,0,h[0])}function module$contents$goog$array_zip(l){if(!arguments.length)return[];for(var h=[],_=arguments[0].length,y=1;y<arguments.length;y++)arguments[y].length<_&&(_=arguments[y].length);for(y=0;y<_;y++){for(var w=[],A=0;A<arguments.length;A++)w.push(arguments[A][y]);h.push(w)}return h}function module$contents$goog$array_shuffle(l,h){h=h||Math.random;for(var _=l.length-1;0<_;_--){var y=Math.floor(h()*(_+1)),w=l[_];l[_]=l[y],l[y]=w}}function module$contents$goog$array_copyByIndex(l,h){var _=[];return module$contents$goog$array_forEach(h,function(y){_.push(l[y])}),_}function module$contents$goog$array_concatMap(l,h,_){return module$contents$goog$array_concat.apply([],module$contents$goog$array_map(l,h,_))}goog.array.clone=module$contents$goog$array_clone,goog.array.extend=module$contents$goog$array_extend,goog.array.splice=module$contents$goog$array_splice,goog.array.slice=module$contents$goog$array_slice,goog.array.removeDuplicates=module$contents$goog$array_removeDuplicates,goog.array.binarySearch=module$contents$goog$array_binarySearch,goog.array.binarySelect=module$contents$goog$array_binarySelect,goog.array.sort=module$contents$goog$array_sort,goog.array.stableSort=module$contents$goog$array_stableSort,goog.array.sortByKey=module$contents$goog$array_sortByKey,goog.array.sortObjectsByKey=module$contents$goog$array_sortObjectsByKey,goog.array.isSorted=module$contents$goog$array_isSorted,goog.array.equals=module$contents$goog$array_equals,goog.array.compare3=module$contents$goog$array_compare3,goog.array.defaultCompare=module$contents$goog$array_defaultCompare,goog.array.inverseDefaultCompare=module$contents$goog$array_inverseDefaultCompare,goog.array.defaultCompareEquality=module$contents$goog$array_defaultCompareEquality,goog.array.binaryInsert=module$contents$goog$array_binaryInsert,goog.array.binaryRemove=module$contents$goog$array_binaryRemove,goog.array.bucket=module$contents$goog$array_bucket,goog.array.toObject=module$contents$goog$array_toObject,goog.array.range=module$contents$goog$array_range,goog.array.repeat=module$contents$goog$array_repeat,goog.array.flatten=module$contents$goog$array_flatten,goog.array.rotate=module$contents$goog$array_rotate,goog.array.moveItem=module$contents$goog$array_moveItem,goog.array.zip=module$contents$goog$array_zip,goog.array.shuffle=module$contents$goog$array_shuffle,goog.array.copyByIndex=module$contents$goog$array_copyByIndex,goog.array.concatMap=module$contents$goog$array_concatMap,goog.dom.asserts={},goog.dom.asserts.assertIsLocation=function(l){if(goog.asserts.ENABLE_ASSERTS){var h=goog.dom.asserts.getWindow_(l);h&&(!l||!(l instanceof h.Location)&&l instanceof h.Element)&&goog.asserts.fail("Argument is not a Location (or a non-Element mock); got: %s",goog.dom.asserts.debugStringForType_(l))}return l},goog.dom.asserts.assertIsElementType_=function(l,h){if(goog.asserts.ENABLE_ASSERTS){var _=goog.dom.asserts.getWindow_(l);_&&typeof _[h]<"u"&&(l&&(l instanceof _[h]||!(l instanceof _.Location||l instanceof _.Element))||goog.asserts.fail("Argument is not a %s (or a non-Element, non-Location mock); got: %s",h,goog.dom.asserts.debugStringForType_(l)))}return l},goog.dom.asserts.assertIsHTMLAnchorElement=function(l){return goog.dom.asserts.assertIsElementType_(l,"HTMLAnchorElement")},goog.dom.asserts.assertIsHTMLButtonElement=function(l){return goog.dom.asserts.assertIsElementType_(l,"HTMLButtonElement")},goog.dom.asserts.assertIsHTMLLinkElement=function(l){return goog.dom.asserts.assertIsElementType_(l,"HTMLLinkElement")},goog.dom.asserts.assertIsHTMLImageElement=function(l){return goog.dom.asserts.assertIsElementType_(l,"HTMLImageElement")},goog.dom.asserts.assertIsHTMLAudioElement=function(l){return goog.dom.asserts.assertIsElementType_(l,"HTMLAudioElement")},goog.dom.asserts.assertIsHTMLVideoElement=function(l){return goog.dom.asserts.assertIsElementType_(l,"HTMLVideoElement")},goog.dom.asserts.assertIsHTMLInputElement=function(l){return goog.dom.asserts.assertIsElementType_(l,"HTMLInputElement")},goog.dom.asserts.assertIsHTMLTextAreaElement=function(l){return goog.dom.asserts.assertIsElementType_(l,"HTMLTextAreaElement")},goog.dom.asserts.assertIsHTMLCanvasElement=function(l){return goog.dom.asserts.assertIsElementType_(l,"HTMLCanvasElement")},goog.dom.asserts.assertIsHTMLEmbedElement=function(l){return goog.dom.asserts.assertIsElementType_(l,"HTMLEmbedElement")},goog.dom.asserts.assertIsHTMLFormElement=function(l){return goog.dom.asserts.assertIsElementType_(l,"HTMLFormElement")},goog.dom.asserts.assertIsHTMLFrameElement=function(l){return goog.dom.asserts.assertIsElementType_(l,"HTMLFrameElement")},goog.dom.asserts.assertIsHTMLIFrameElement=function(l){return goog.dom.asserts.assertIsElementType_(l,"HTMLIFrameElement")},goog.dom.asserts.assertIsHTMLObjectElement=function(l){return goog.dom.asserts.assertIsElementType_(l,"HTMLObjectElement")},goog.dom.asserts.assertIsHTMLScriptElement=function(l){return goog.dom.asserts.assertIsElementType_(l,"HTMLScriptElement")},goog.dom.asserts.debugStringForType_=function(l){if(!goog.isObject(l))return void 0===l?"undefined":null===l?"null":typeof l;try{return l.constructor.displayName||l.constructor.name||Object.prototype.toString.call(l)}catch{return"<object could not be stringified>"}},goog.dom.asserts.getWindow_=function(l){try{var h=l&&l.ownerDocument,_=h&&(h.defaultView||h.parentWindow);if((_=_||goog.global).Element&&_.Location)return _}catch{}return null},goog.dom.HtmlElement=function(){},goog.functions={},goog.functions.constant=function(l){return function(){return l}},goog.functions.FALSE=function(){return!1},goog.functions.TRUE=function(){return!0},goog.functions.NULL=function(){return null},goog.functions.identity=function(l,h){return l},goog.functions.error=function(l){return function(){throw Error(l)}},goog.functions.fail=function(l){return function(){throw l}},goog.functions.lock=function(l,h){return h=h||0,function(){return l.apply(this,Array.prototype.slice.call(arguments,0,h))}},goog.functions.nth=function(l){return function(){return arguments[l]}},goog.functions.partialRight=function(l,h){var _=Array.prototype.slice.call(arguments,1);return function(){var y=this;y===goog.global&&(y=void 0);var w=Array.prototype.slice.call(arguments);return w.push.apply(w,_),l.apply(y,w)}},goog.functions.withReturnValue=function(l,h){return goog.functions.sequence(l,goog.functions.constant(h))},goog.functions.equalTo=function(l,h){return function(_){return h?l==_:l===_}},goog.functions.compose=function(l,h){var _=arguments,y=_.length;return function(){var w;y&&(w=_[y-1].apply(this,arguments));for(var A=y-2;0<=A;A--)w=_[A].call(this,w);return w}},goog.functions.sequence=function(l){var h=arguments,_=h.length;return function(){for(var y,w=0;w<_;w++)y=h[w].apply(this,arguments);return y}},goog.functions.and=function(l){var h=arguments,_=h.length;return function(){for(var y=0;y<_;y++)if(!h[y].apply(this,arguments))return!1;return!0}},goog.functions.or=function(l){var h=arguments,_=h.length;return function(){for(var y=0;y<_;y++)if(h[y].apply(this,arguments))return!0;return!1}},goog.functions.not=function(l){return function(){return!l.apply(this,arguments)}},goog.functions.create=function(l,h){var _=function(){};return _.prototype=l.prototype,_=new _,l.apply(_,Array.prototype.slice.call(arguments,1)),_},goog.functions.CACHE_RETURN_VALUE=!0,goog.functions.cacheReturnValue=function(l){var _,h=!1;return function(){return goog.functions.CACHE_RETURN_VALUE?(h||(_=l(),h=!0),_):l()}},goog.functions.once=function(l){var h=l;return function(){if(h){var _=h;h=null,_()}}},goog.functions.debounce=function(l,h,_){var y=0;return function(w){goog.global.clearTimeout(y);var A=arguments;y=goog.global.setTimeout(function(){l.apply(_,A)},h)}},goog.functions.throttle=function(l,h,_){var y=0,w=!1,A=[],O=function(){y=0,w&&(w=!1,j())},j=function(){y=goog.global.setTimeout(O,h),l.apply(_,A)};return function(Z){A=arguments,y?w=!0:j()}},goog.functions.rateLimit=function(l,h,_){var y=0,w=function(){y=0};return function(A){y||(y=goog.global.setTimeout(w,h),l.apply(_,arguments))}},goog.functions.isFunction=function(l){return"function"==typeof l},goog.dom.TagName=function(){},goog.dom.TagName.cast=function(l,h){return l},goog.dom.TagName.prototype.toString=function(){},goog.dom.TagName.A="A",goog.dom.TagName.ABBR="ABBR",goog.dom.TagName.ACRONYM="ACRONYM",goog.dom.TagName.ADDRESS="ADDRESS",goog.dom.TagName.APPLET="APPLET",goog.dom.TagName.AREA="AREA",goog.dom.TagName.ARTICLE="ARTICLE",goog.dom.TagName.ASIDE="ASIDE",goog.dom.TagName.AUDIO="AUDIO",goog.dom.TagName.B="B",goog.dom.TagName.BASE="BASE",goog.dom.TagName.BASEFONT="BASEFONT",goog.dom.TagName.BDI="BDI",goog.dom.TagName.BDO="BDO",goog.dom.TagName.BIG="BIG",goog.dom.TagName.BLOCKQUOTE="BLOCKQUOTE",goog.dom.TagName.BODY="BODY",goog.dom.TagName.BR="BR",goog.dom.TagName.BUTTON="BUTTON",goog.dom.TagName.CANVAS="CANVAS",goog.dom.TagName.CAPTION="CAPTION",goog.dom.TagName.CENTER="CENTER",goog.dom.TagName.CITE="CITE",goog.dom.TagName.CODE="CODE",goog.dom.TagName.COL="COL",goog.dom.TagName.COLGROUP="COLGROUP",goog.dom.TagName.COMMAND="COMMAND",goog.dom.TagName.DATA="DATA",goog.dom.TagName.DATALIST="DATALIST",goog.dom.TagName.DD="DD",goog.dom.TagName.DEL="DEL",goog.dom.TagName.DETAILS="DETAILS",goog.dom.TagName.DFN="DFN",goog.dom.TagName.DIALOG="DIALOG",goog.dom.TagName.DIR="DIR",goog.dom.TagName.DIV="DIV",goog.dom.TagName.DL="DL",goog.dom.TagName.DT="DT",goog.dom.TagName.EM="EM",goog.dom.TagName.EMBED="EMBED",goog.dom.TagName.FIELDSET="FIELDSET",goog.dom.TagName.FIGCAPTION="FIGCAPTION",goog.dom.TagName.FIGURE="FIGURE",goog.dom.TagName.FONT="FONT",goog.dom.TagName.FOOTER="FOOTER",goog.dom.TagName.FORM="FORM",goog.dom.TagName.FRAME="FRAME",goog.dom.TagName.FRAMESET="FRAMESET",goog.dom.TagName.H1="H1",goog.dom.TagName.H2="H2",goog.dom.TagName.H3="H3",goog.dom.TagName.H4="H4",goog.dom.TagName.H5="H5",goog.dom.TagName.H6="H6",goog.dom.TagName.HEAD="HEAD",goog.dom.TagName.HEADER="HEADER",goog.dom.TagName.HGROUP="HGROUP",goog.dom.TagName.HR="HR",goog.dom.TagName.HTML="HTML",goog.dom.TagName.I="I",goog.dom.TagName.IFRAME="IFRAME",goog.dom.TagName.IMG="IMG",goog.dom.TagName.INPUT="INPUT",goog.dom.TagName.INS="INS",goog.dom.TagName.ISINDEX="ISINDEX",goog.dom.TagName.KBD="KBD",goog.dom.TagName.KEYGEN="KEYGEN",goog.dom.TagName.LABEL="LABEL",goog.dom.TagName.LEGEND="LEGEND",goog.dom.TagName.LI="LI",goog.dom.TagName.LINK="LINK",goog.dom.TagName.MAIN="MAIN",goog.dom.TagName.MAP="MAP",goog.dom.TagName.MARK="MARK",goog.dom.TagName.MATH="MATH",goog.dom.TagName.MENU="MENU",goog.dom.TagName.MENUITEM="MENUITEM",goog.dom.TagName.META="META",goog.dom.TagName.METER="METER",goog.dom.TagName.NAV="NAV",goog.dom.TagName.NOFRAMES="NOFRAMES",goog.dom.TagName.NOSCRIPT="NOSCRIPT",goog.dom.TagName.OBJECT="OBJECT",goog.dom.TagName.OL="OL",goog.dom.TagName.OPTGROUP="OPTGROUP",goog.dom.TagName.OPTION="OPTION",goog.dom.TagName.OUTPUT="OUTPUT",goog.dom.TagName.P="P",goog.dom.TagName.PARAM="PARAM",goog.dom.TagName.PICTURE="PICTURE",goog.dom.TagName.PRE="PRE",goog.dom.TagName.PROGRESS="PROGRESS",goog.dom.TagName.Q="Q",goog.dom.TagName.RP="RP",goog.dom.TagName.RT="RT",goog.dom.TagName.RTC="RTC",goog.dom.TagName.RUBY="RUBY",goog.dom.TagName.S="S",goog.dom.TagName.SAMP="SAMP",goog.dom.TagName.SCRIPT="SCRIPT",goog.dom.TagName.SECTION="SECTION",goog.dom.TagName.SELECT="SELECT",goog.dom.TagName.SMALL="SMALL",goog.dom.TagName.SOURCE="SOURCE",goog.dom.TagName.SPAN="SPAN",goog.dom.TagName.STRIKE="STRIKE",goog.dom.TagName.STRONG="STRONG",goog.dom.TagName.STYLE="STYLE",goog.dom.TagName.SUB="SUB",goog.dom.TagName.SUMMARY="SUMMARY",goog.dom.TagName.SUP="SUP",goog.dom.TagName.SVG="SVG",goog.dom.TagName.TABLE="TABLE",goog.dom.TagName.TBODY="TBODY",goog.dom.TagName.TD="TD",goog.dom.TagName.TEMPLATE="TEMPLATE",goog.dom.TagName.TEXTAREA="TEXTAREA",goog.dom.TagName.TFOOT="TFOOT",goog.dom.TagName.TH="TH",goog.dom.TagName.THEAD="THEAD",goog.dom.TagName.TIME="TIME",goog.dom.TagName.TITLE="TITLE",goog.dom.TagName.TR="TR",goog.dom.TagName.TRACK="TRACK",goog.dom.TagName.TT="TT",goog.dom.TagName.U="U",goog.dom.TagName.UL="UL",goog.dom.TagName.VAR="VAR",goog.dom.TagName.VIDEO="VIDEO",goog.dom.TagName.WBR="WBR",goog.object={},goog.object.forEach=function(l,h,_){for(var y in l)h.call(_,l[y],y,l)},goog.object.filter=function(l,h,_){var w,y={};for(w in l)h.call(_,l[w],w,l)&&(y[w]=l[w]);return y},goog.object.map=function(l,h,_){var w,y={};for(w in l)y[w]=h.call(_,l[w],w,l);return y},goog.object.some=function(l,h,_){for(var y in l)if(h.call(_,l[y],y,l))return!0;return!1},goog.object.every=function(l,h,_){for(var y in l)if(!h.call(_,l[y],y,l))return!1;return!0},goog.object.getCount=function(l){var _,h=0;for(_ in l)h++;return h},goog.object.getAnyKey=function(l){for(var h in l)return h},goog.object.getAnyValue=function(l){for(var h in l)return l[h]},goog.object.contains=function(l,h){return goog.object.containsValue(l,h)},goog.object.getValues=function(l){var y,h=[],_=0;for(y in l)h[_++]=l[y];return h},goog.object.getKeys=function(l){var y,h=[],_=0;for(y in l)h[_++]=y;return h},goog.object.getValueByKeys=function(l,h){var _=goog.isArrayLike(h),y=_?h:arguments;for(_=_?0:1;_<y.length;_++){if(null==l)return;l=l[y[_]]}return l},goog.object.containsKey=function(l,h){return null!==l&&h in l},goog.object.containsValue=function(l,h){for(var _ in l)if(l[_]==h)return!0;return!1},goog.object.findKey=function(l,h,_){for(var y in l)if(h.call(_,l[y],y,l))return y},goog.object.findValue=function(l,h,_){return(h=goog.object.findKey(l,h,_))&&l[h]},goog.object.isEmpty=function(l){for(var h in l)return!1;return!0},goog.object.clear=function(l){for(var h in l)delete l[h]},goog.object.remove=function(l,h){var _;return(_=h in l)&&delete l[h],_},goog.object.add=function(l,h,_){if(null!==l&&h in l)throw Error('The object already contains the key "'+h+'"');goog.object.set(l,h,_)},goog.object.get=function(l,h,_){return null!==l&&h in l?l[h]:_},goog.object.set=function(l,h,_){l[h]=_},goog.object.setIfUndefined=function(l,h,_){return h in l?l[h]:l[h]=_},goog.object.setWithReturnValueIfNotSet=function(l,h,_){return h in l?l[h]:(_=_(),l[h]=_)},goog.object.equals=function(l,h){for(var _ in l)if(!(_ in h)||l[_]!==h[_])return!1;for(var y in h)if(!(y in l))return!1;return!0},goog.object.clone=function(l){var _,h={};for(_ in l)h[_]=l[_];return h},goog.object.unsafeClone=function(l){if(!l||"object"!=typeof l)return l;if("function"==typeof l.clone)return l.clone();var _,h=Array.isArray(l)?[]:"function"!=typeof ArrayBuffer||"function"!=typeof ArrayBuffer.isView||!ArrayBuffer.isView(l)||l instanceof DataView?{}:new l.constructor(l.length);for(_ in l)h[_]=goog.object.unsafeClone(l[_]);return h},goog.object.transpose=function(l){var _,h={};for(_ in l)h[l[_]]=_;return h},goog.object.PROTOTYPE_FIELDS_="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),goog.object.extend=function(l,h){for(var _,y,w=1;w<arguments.length;w++){for(_ in y=arguments[w])l[_]=y[_];for(var A=0;A<goog.object.PROTOTYPE_FIELDS_.length;A++)_=goog.object.PROTOTYPE_FIELDS_[A],Object.prototype.hasOwnProperty.call(y,_)&&(l[_]=y[_])}},goog.object.create=function(l){var h=arguments.length;if(1==h&&Array.isArray(arguments[0]))return goog.object.create.apply(null,arguments[0]);if(h%2)throw Error("Uneven number of arguments");for(var _={},y=0;y<h;y+=2)_[arguments[y]]=arguments[y+1];return _},goog.object.createSet=function(l){var h=arguments.length;if(1==h&&Array.isArray(arguments[0]))return goog.object.createSet.apply(null,arguments[0]);for(var _={},y=0;y<h;y++)_[arguments[y]]=!0;return _},goog.object.createImmutableView=function(l){var h=l;return Object.isFrozen&&!Object.isFrozen(l)&&(h=Object.create(l),Object.freeze(h)),h},goog.object.isImmutableView=function(l){return!!Object.isFrozen&&Object.isFrozen(l)},goog.object.getAllPropertyNames=function(l,h,_){if(!l)return[];if(!Object.getOwnPropertyNames||!Object.getPrototypeOf)return goog.object.getKeys(l);for(var y={};l&&(l!==Object.prototype||h)&&(l!==Function.prototype||_);){for(var w=Object.getOwnPropertyNames(l),A=0;A<w.length;A++)y[w[A]]=!0;l=Object.getPrototypeOf(l)}return goog.object.getKeys(y)},goog.object.getSuperClass=function(l){return(l=Object.getPrototypeOf(l.prototype))&&l.constructor},goog.dom.tags={},goog.dom.tags.VOID_TAGS_={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},goog.dom.tags.isVoidTag=function(l){return!0===goog.dom.tags.VOID_TAGS_[l]},goog.string={},goog.string.TypedString=function(){},goog.string.Const=function(l,h){this.stringConstValueWithSecurityContract__googStringSecurityPrivate_=l===goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_&&h||"",this.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_=goog.string.Const.TYPE_MARKER_},goog.string.Const.prototype.implementsGoogStringTypedString=!0,goog.string.Const.prototype.getTypedStringValue=function(){return this.stringConstValueWithSecurityContract__googStringSecurityPrivate_},goog.DEBUG&&(goog.string.Const.prototype.toString=function(){return"Const{"+this.stringConstValueWithSecurityContract__googStringSecurityPrivate_+"}"}),goog.string.Const.unwrap=function(l){return l instanceof goog.string.Const&&l.constructor===goog.string.Const&&l.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_===goog.string.Const.TYPE_MARKER_?l.stringConstValueWithSecurityContract__googStringSecurityPrivate_:(goog.asserts.fail("expected object of type Const, got '"+l+"'"),"type_error:Const")},goog.string.Const.from=function(l){return new goog.string.Const(goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_,l)},goog.string.Const.TYPE_MARKER_={},goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_={},goog.string.Const.EMPTY=goog.string.Const.from(""),goog.html={},goog.html.trustedtypes={},goog.html.trustedtypes.getPolicyPrivateDoNotAccessOrElse=function(){return goog.TRUSTED_TYPES_POLICY_NAME?(void 0===goog.html.trustedtypes.cachedPolicy_&&(goog.html.trustedtypes.cachedPolicy_=goog.createTrustedTypesPolicy(goog.TRUSTED_TYPES_POLICY_NAME+"#html")),goog.html.trustedtypes.cachedPolicy_):null};var module$contents$goog$html$SafeScript_CONSTRUCTOR_TOKEN_PRIVATE={},module$contents$goog$html$SafeScript_SafeScript=function(l,h){this.privateDoNotAccessOrElseSafeScriptWrappedValue_=h===module$contents$goog$html$SafeScript_CONSTRUCTOR_TOKEN_PRIVATE?l:"",this.implementsGoogStringTypedString=!0};module$contents$goog$html$SafeScript_SafeScript.fromConstant=function(l){return 0===(l=goog.string.Const.unwrap(l)).length?module$contents$goog$html$SafeScript_SafeScript.EMPTY:module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(l)},module$contents$goog$html$SafeScript_SafeScript.fromConstantAndArgs=function(l,h){for(var _=[],y=1;y<arguments.length;y++)_.push(module$contents$goog$html$SafeScript_SafeScript.stringify_(arguments[y]));return module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse("("+goog.string.Const.unwrap(l)+")("+_.join(", ")+");")},module$contents$goog$html$SafeScript_SafeScript.fromJson=function(l){return module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(module$contents$goog$html$SafeScript_SafeScript.stringify_(l))},module$contents$goog$html$SafeScript_SafeScript.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeScriptWrappedValue_.toString()},module$contents$goog$html$SafeScript_SafeScript.unwrap=function(l){return module$contents$goog$html$SafeScript_SafeScript.unwrapTrustedScript(l).toString()},module$contents$goog$html$SafeScript_SafeScript.unwrapTrustedScript=function(l){return l instanceof module$contents$goog$html$SafeScript_SafeScript&&l.constructor===module$contents$goog$html$SafeScript_SafeScript?l.privateDoNotAccessOrElseSafeScriptWrappedValue_:((0,goog.asserts.fail)("expected object of type SafeScript, got '"+l+"' of type "+goog.typeOf(l)),"type_error:SafeScript")},module$contents$goog$html$SafeScript_SafeScript.stringify_=function(l){return JSON.stringify(l).replace(/</g,"\\x3c")},module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse=function(l){var h=goog.html.trustedtypes.getPolicyPrivateDoNotAccessOrElse();return l=h?h.createScript(l):l,new module$contents$goog$html$SafeScript_SafeScript(l,module$contents$goog$html$SafeScript_CONSTRUCTOR_TOKEN_PRIVATE)},goog.DEBUG&&(module$contents$goog$html$SafeScript_SafeScript.prototype.toString=function(){return"SafeScript{"+this.privateDoNotAccessOrElseSafeScriptWrappedValue_+"}"}),module$contents$goog$html$SafeScript_SafeScript.EMPTY=module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(""),goog.html.SafeScript=module$contents$goog$html$SafeScript_SafeScript,goog.fs={},goog.fs.url={},goog.fs.url.createObjectUrl=function(l){return goog.fs.url.getUrlObject_().createObjectURL(l)},goog.fs.url.revokeObjectUrl=function(l){goog.fs.url.getUrlObject_().revokeObjectURL(l)},goog.fs.url.UrlObject_=function(){},goog.fs.url.UrlObject_.prototype.createObjectURL=function(l){},goog.fs.url.UrlObject_.prototype.revokeObjectURL=function(l){},goog.fs.url.getUrlObject_=function(){var l=goog.fs.url.findUrlObject_();if(null!=l)return l;throw Error("This browser doesn't seem to support blob URLs")},goog.fs.url.findUrlObject_=function(){return void 0!==goog.global.URL&&void 0!==goog.global.URL.createObjectURL?goog.global.URL:void 0!==goog.global.webkitURL&&void 0!==goog.global.webkitURL.createObjectURL?goog.global.webkitURL:void 0!==goog.global.createObjectURL?goog.global:null},goog.fs.url.browserSupportsObjectUrls=function(){return null!=goog.fs.url.findUrlObject_()},goog.fs.blob={},goog.fs.blob.getBlob=function(l){var h=goog.global.BlobBuilder||goog.global.WebKitBlobBuilder;if(void 0!==h){h=new h;for(var _=0;_<arguments.length;_++)h.append(arguments[_]);return h.getBlob()}return goog.fs.blob.getBlobWithProperties(module$contents$goog$array_toArray(arguments))},goog.fs.blob.getBlobWithProperties=function(l,h,_){var y=goog.global.BlobBuilder||goog.global.WebKitBlobBuilder;if(void 0!==y){y=new y;for(var w=0;w<l.length;w++)y.append(l[w],_);return y.getBlob(h)}if(void 0!==goog.global.Blob)return y={},h&&(y.type=h),_&&(y.endings=_),new Blob(l,y);throw Error("This browser doesn't seem to support creating Blobs")},goog.i18n={},goog.i18n.bidi={},goog.i18n.bidi.FORCE_RTL=!1,goog.i18n.bidi.IS_RTL=goog.i18n.bidi.FORCE_RTL||("ar"==goog.LOCALE.substring(0,2).toLowerCase()||"fa"==goog.LOCALE.substring(0,2).toLowerCase()||"he"==goog.LOCALE.substring(0,2).toLowerCase()||"iw"==goog.LOCALE.substring(0,2).toLowerCase()||"ps"==goog.LOCALE.substring(0,2).toLowerCase()||"sd"==goog.LOCALE.substring(0,2).toLowerCase()||"ug"==goog.LOCALE.substring(0,2).toLowerCase()||"ur"==goog.LOCALE.substring(0,2).toLowerCase()||"yi"==goog.LOCALE.substring(0,2).toLowerCase())&&(2==goog.LOCALE.length||"-"==goog.LOCALE.substring(2,3)||"_"==goog.LOCALE.substring(2,3))||3<=goog.LOCALE.length&&"ckb"==goog.LOCALE.substring(0,3).toLowerCase()&&(3==goog.LOCALE.length||"-"==goog.LOCALE.substring(3,4)||"_"==goog.LOCALE.substring(3,4))||7<=goog.LOCALE.length&&("-"==goog.LOCALE.substring(2,3)||"_"==goog.LOCALE.substring(2,3))&&("adlm"==goog.LOCALE.substring(3,7).toLowerCase()||"arab"==goog.LOCALE.substring(3,7).toLowerCase()||"hebr"==goog.LOCALE.substring(3,7).toLowerCase()||"nkoo"==goog.LOCALE.substring(3,7).toLowerCase()||"rohg"==goog.LOCALE.substring(3,7).toLowerCase()||"thaa"==goog.LOCALE.substring(3,7).toLowerCase())||8<=goog.LOCALE.length&&("-"==goog.LOCALE.substring(3,4)||"_"==goog.LOCALE.substring(3,4))&&("adlm"==goog.LOCALE.substring(4,8).toLowerCase()||"arab"==goog.LOCALE.substring(4,8).toLowerCase()||"hebr"==goog.LOCALE.substring(4,8).toLowerCase()||"nkoo"==goog.LOCALE.substring(4,8).toLowerCase()||"rohg"==goog.LOCALE.substring(4,8).toLowerCase()||"thaa"==goog.LOCALE.substring(4,8).toLowerCase()),goog.i18n.bidi.Format={LRE:"\u202a",RLE:"\u202b",PDF:"\u202c",LRM:"\u200e",RLM:"\u200f"},goog.i18n.bidi.Dir={LTR:1,RTL:-1,NEUTRAL:0},goog.i18n.bidi.RIGHT="right",goog.i18n.bidi.LEFT="left",goog.i18n.bidi.I18N_RIGHT=goog.i18n.bidi.IS_RTL?goog.i18n.bidi.LEFT:goog.i18n.bidi.RIGHT,goog.i18n.bidi.I18N_LEFT=goog.i18n.bidi.IS_RTL?goog.i18n.bidi.RIGHT:goog.i18n.bidi.LEFT,goog.i18n.bidi.toDir=function(l,h){return"number"==typeof l?0<l?goog.i18n.bidi.Dir.LTR:0>l?goog.i18n.bidi.Dir.RTL:h?null:goog.i18n.bidi.Dir.NEUTRAL:null==l?null:l?goog.i18n.bidi.Dir.RTL:goog.i18n.bidi.Dir.LTR},goog.i18n.bidi.ltrChars_="A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u02b8\u0300-\u0590\u0900-\u1fff\u200e\u2c00-\ud801\ud804-\ud839\ud83c-\udbff\uf900-\ufb1c\ufe00-\ufe6f\ufefd-\uffff",goog.i18n.bidi.rtlChars_="\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc",goog.i18n.bidi.htmlSkipReg_=/<[^>]*>|&[^;]+;/g,goog.i18n.bidi.stripHtmlIfNeeded_=function(l,h){return h?l.replace(goog.i18n.bidi.htmlSkipReg_,""):l},goog.i18n.bidi.rtlCharReg_=new RegExp("["+goog.i18n.bidi.rtlChars_+"]"),goog.i18n.bidi.ltrCharReg_=new RegExp("["+goog.i18n.bidi.ltrChars_+"]"),goog.i18n.bidi.hasAnyRtl=function(l,h){return goog.i18n.bidi.rtlCharReg_.test(goog.i18n.bidi.stripHtmlIfNeeded_(l,h))},goog.i18n.bidi.hasRtlChar=goog.i18n.bidi.hasAnyRtl,goog.i18n.bidi.hasAnyLtr=function(l,h){return goog.i18n.bidi.ltrCharReg_.test(goog.i18n.bidi.stripHtmlIfNeeded_(l,h))},goog.i18n.bidi.ltrRe_=new RegExp("^["+goog.i18n.bidi.ltrChars_+"]"),goog.i18n.bidi.rtlRe_=new RegExp("^["+goog.i18n.bidi.rtlChars_+"]"),goog.i18n.bidi.isRtlChar=function(l){return goog.i18n.bidi.rtlRe_.test(l)},goog.i18n.bidi.isLtrChar=function(l){return goog.i18n.bidi.ltrRe_.test(l)},goog.i18n.bidi.isNeutralChar=function(l){return!goog.i18n.bidi.isLtrChar(l)&&!goog.i18n.bidi.isRtlChar(l)},goog.i18n.bidi.ltrDirCheckRe_=new RegExp("^[^"+goog.i18n.bidi.rtlChars_+"]*["+goog.i18n.bidi.ltrChars_+"]"),goog.i18n.bidi.rtlDirCheckRe_=new RegExp("^[^"+goog.i18n.bidi.ltrChars_+"]*["+goog.i18n.bidi.rtlChars_+"]"),goog.i18n.bidi.startsWithRtl=function(l,h){return goog.i18n.bidi.rtlDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(l,h))},goog.i18n.bidi.isRtlText=goog.i18n.bidi.startsWithRtl,goog.i18n.bidi.startsWithLtr=function(l,h){return goog.i18n.bidi.ltrDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(l,h))},goog.i18n.bidi.isLtrText=goog.i18n.bidi.startsWithLtr,goog.i18n.bidi.isRequiredLtrRe_=/^http:\/\/.*/,goog.i18n.bidi.isNeutralText=function(l,h){return l=goog.i18n.bidi.stripHtmlIfNeeded_(l,h),goog.i18n.bidi.isRequiredLtrRe_.test(l)||!goog.i18n.bidi.hasAnyLtr(l)&&!goog.i18n.bidi.hasAnyRtl(l)},goog.i18n.bidi.ltrExitDirCheckRe_=new RegExp("["+goog.i18n.bidi.ltrChars_+"][^"+goog.i18n.bidi.rtlChars_+"]*$"),goog.i18n.bidi.rtlExitDirCheckRe_=new RegExp("["+goog.i18n.bidi.rtlChars_+"][^"+goog.i18n.bidi.ltrChars_+"]*$"),goog.i18n.bidi.endsWithLtr=function(l,h){return goog.i18n.bidi.ltrExitDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(l,h))},goog.i18n.bidi.isLtrExitText=goog.i18n.bidi.endsWithLtr,goog.i18n.bidi.endsWithRtl=function(l,h){return goog.i18n.bidi.rtlExitDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(l,h))},goog.i18n.bidi.isRtlExitText=goog.i18n.bidi.endsWithRtl,goog.i18n.bidi.rtlLocalesRe_=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i,goog.i18n.bidi.isRtlLanguage=function(l){return goog.i18n.bidi.rtlLocalesRe_.test(l)},goog.i18n.bidi.bracketGuardTextRe_=/(\(.*?\)+)|(\[.*?\]+)|(\{.*?\}+)|(<.*?>+)/g,goog.i18n.bidi.guardBracketInText=function(l,h){return h=(void 0===h?goog.i18n.bidi.hasAnyRtl(l):h)?goog.i18n.bidi.Format.RLM:goog.i18n.bidi.Format.LRM,l.replace(goog.i18n.bidi.bracketGuardTextRe_,h+"$&"+h)},goog.i18n.bidi.enforceRtlInHtml=function(l){return"<"==l.charAt(0)?l.replace(/<\w+/,"$& dir=rtl"):"\n<span dir=rtl>"+l+"</span>"},goog.i18n.bidi.enforceRtlInText=function(l){return goog.i18n.bidi.Format.RLE+l+goog.i18n.bidi.Format.PDF},goog.i18n.bidi.enforceLtrInHtml=function(l){return"<"==l.charAt(0)?l.replace(/<\w+/,"$& dir=ltr"):"\n<span dir=ltr>"+l+"</span>"},goog.i18n.bidi.enforceLtrInText=function(l){return goog.i18n.bidi.Format.LRE+l+goog.i18n.bidi.Format.PDF},goog.i18n.bidi.dimensionsRe_=/:\s*([.\d][.\w]*)\s+([.\d][.\w]*)\s+([.\d][.\w]*)\s+([.\d][.\w]*)/g,goog.i18n.bidi.leftRe_=/left/gi,goog.i18n.bidi.rightRe_=/right/gi,goog.i18n.bidi.tempRe_=/%%%%/g,goog.i18n.bidi.mirrorCSS=function(l){return l.replace(goog.i18n.bidi.dimensionsRe_,":$1 $4 $3 $2").replace(goog.i18n.bidi.leftRe_,"%%%%").replace(goog.i18n.bidi.rightRe_,goog.i18n.bidi.LEFT).replace(goog.i18n.bidi.tempRe_,goog.i18n.bidi.RIGHT)},goog.i18n.bidi.doubleQuoteSubstituteRe_=/([\u0591-\u05f2])"/g,goog.i18n.bidi.singleQuoteSubstituteRe_=/([\u0591-\u05f2])'/g,goog.i18n.bidi.normalizeHebrewQuote=function(l){return l.replace(goog.i18n.bidi.doubleQuoteSubstituteRe_,"$1\u05f4").replace(goog.i18n.bidi.singleQuoteSubstituteRe_,"$1\u05f3")},goog.i18n.bidi.wordSeparatorRe_=/\s+/,goog.i18n.bidi.hasNumeralsRe_=/[\d\u06f0-\u06f9]/,goog.i18n.bidi.rtlDetectionThreshold_=.4,goog.i18n.bidi.estimateDirection=function(l,h){var _=0,y=0,w=!1;for(l=goog.i18n.bidi.stripHtmlIfNeeded_(l,h).split(goog.i18n.bidi.wordSeparatorRe_),h=0;h<l.length;h++){var A=l[h];goog.i18n.bidi.startsWithRtl(A)?(_++,y++):goog.i18n.bidi.isRequiredLtrRe_.test(A)?w=!0:goog.i18n.bidi.hasAnyLtr(A)?y++:goog.i18n.bidi.hasNumeralsRe_.test(A)&&(w=!0)}return 0==y?w?goog.i18n.bidi.Dir.LTR:goog.i18n.bidi.Dir.NEUTRAL:_/y>goog.i18n.bidi.rtlDetectionThreshold_?goog.i18n.bidi.Dir.RTL:goog.i18n.bidi.Dir.LTR},goog.i18n.bidi.detectRtlDirectionality=function(l,h){return goog.i18n.bidi.estimateDirection(l,h)==goog.i18n.bidi.Dir.RTL},goog.i18n.bidi.setElementDirAndAlign=function(l,h){l&&(h=goog.i18n.bidi.toDir(h))&&(l.style.textAlign=h==goog.i18n.bidi.Dir.RTL?goog.i18n.bidi.RIGHT:goog.i18n.bidi.LEFT,l.dir=h==goog.i18n.bidi.Dir.RTL?"rtl":"ltr")},goog.i18n.bidi.setElementDirByTextDirectionality=function(l,h){switch(goog.i18n.bidi.estimateDirection(h)){case goog.i18n.bidi.Dir.LTR:"ltr"!==l.dir&&(l.dir="ltr");break;case goog.i18n.bidi.Dir.RTL:"rtl"!==l.dir&&(l.dir="rtl");break;default:l.removeAttribute("dir")}},goog.i18n.bidi.DirectionalString=function(){},goog.html.TrustedResourceUrl=function(l,h){this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_=h===goog.html.TrustedResourceUrl.CONSTRUCTOR_TOKEN_PRIVATE_?l:""},goog.html.TrustedResourceUrl.prototype.implementsGoogStringTypedString=!0,goog.html.TrustedResourceUrl.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_.toString()},goog.html.TrustedResourceUrl.prototype.implementsGoogI18nBidiDirectionalString=!0,goog.html.TrustedResourceUrl.prototype.getDirection=function(){return goog.i18n.bidi.Dir.LTR},goog.html.TrustedResourceUrl.prototype.cloneWithParams=function(l,h){var _=goog.html.TrustedResourceUrl.unwrap(this),y=(_=goog.html.TrustedResourceUrl.URL_PARAM_PARSER_.exec(_))[3]||"";return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(_[1]+goog.html.TrustedResourceUrl.stringifyParams_("?",_[2]||"",l)+goog.html.TrustedResourceUrl.stringifyParams_("#",y,h))},goog.DEBUG&&(goog.html.TrustedResourceUrl.prototype.toString=function(){return"TrustedResourceUrl{"+this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_+"}"}),goog.html.TrustedResourceUrl.unwrap=function(l){return goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(l).toString()},goog.html.TrustedResourceUrl.unwrapTrustedScriptURL=function(l){return l instanceof goog.html.TrustedResourceUrl&&l.constructor===goog.html.TrustedResourceUrl?l.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_:(goog.asserts.fail("expected object of type TrustedResourceUrl, got '"+l+"' of type "+goog.typeOf(l)),"type_error:TrustedResourceUrl")},goog.html.TrustedResourceUrl.format=function(l,h){var _=goog.string.Const.unwrap(l);if(!goog.html.TrustedResourceUrl.BASE_URL_.test(_))throw Error("Invalid TrustedResourceUrl format: "+_);return l=_.replace(goog.html.TrustedResourceUrl.FORMAT_MARKER_,function(y,w){if(!Object.prototype.hasOwnProperty.call(h,w))throw Error('Found marker, "'+w+'", in format string, "'+_+'", but no valid label mapping found in args: '+JSON.stringify(h));return(y=h[w])instanceof goog.string.Const?goog.string.Const.unwrap(y):encodeURIComponent(String(y))}),goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(l)},goog.html.TrustedResourceUrl.FORMAT_MARKER_=/%{(\w+)}/g,goog.html.TrustedResourceUrl.BASE_URL_=/^((https:)?\/\/[0-9a-z.:[\]-]+\/|\/[^/\\]|[^:/\\%]+\/|[^:/\\%]*[?#]|about:blank#)/i,goog.html.TrustedResourceUrl.URL_PARAM_PARSER_=/^([^?#]*)(\?[^#]*)?(#[\s\S]*)?/,goog.html.TrustedResourceUrl.formatWithParams=function(l,h,_,y){return goog.html.TrustedResourceUrl.format(l,h).cloneWithParams(_,y)},goog.html.TrustedResourceUrl.fromConstant=function(l){return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(goog.string.Const.unwrap(l))},goog.html.TrustedResourceUrl.fromConstants=function(l){for(var h="",_=0;_<l.length;_++)h+=goog.string.Const.unwrap(l[_]);return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(h)},goog.html.TrustedResourceUrl.fromSafeScript=function(l){return l=goog.fs.blob.getBlobWithProperties([module$contents$goog$html$SafeScript_SafeScript.unwrap(l)],"text/javascript"),l=goog.fs.url.createObjectUrl(l),goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(l)},goog.html.TrustedResourceUrl.CONSTRUCTOR_TOKEN_PRIVATE_={},goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse=function(l){var h=goog.html.trustedtypes.getPolicyPrivateDoNotAccessOrElse();return l=h?h.createScriptURL(l):l,new goog.html.TrustedResourceUrl(l,goog.html.TrustedResourceUrl.CONSTRUCTOR_TOKEN_PRIVATE_)},goog.html.TrustedResourceUrl.stringifyParams_=function(l,h,_){if(null==_)return h;if("string"==typeof _)return _?l+encodeURIComponent(_):"";for(var y in _)if(Object.prototype.hasOwnProperty.call(_,y)){var w=_[y];w=Array.isArray(w)?w:[w];for(var A=0;A<w.length;A++){var O=w[A];null!=O&&(h||(h=l),h+=(h.length>l.length?"&":"")+encodeURIComponent(y)+"="+encodeURIComponent(String(O)))}}return h},goog.string.internal={},goog.string.internal.startsWith=function(l,h){return 0==l.lastIndexOf(h,0)},goog.string.internal.endsWith=function(l,h){var _=l.length-h.length;return 0<=_&&l.indexOf(h,_)==_},goog.string.internal.caseInsensitiveStartsWith=function(l,h){return 0==goog.string.internal.caseInsensitiveCompare(h,l.substr(0,h.length))},goog.string.internal.caseInsensitiveEndsWith=function(l,h){return 0==goog.string.internal.caseInsensitiveCompare(h,l.substr(l.length-h.length,h.length))},goog.string.internal.caseInsensitiveEquals=function(l,h){return l.toLowerCase()==h.toLowerCase()},goog.string.internal.isEmptyOrWhitespace=function(l){return/^[\s\xa0]*$/.test(l)},goog.string.internal.trim=goog.TRUSTED_SITE&&String.prototype.trim?function(l){return l.trim()}:function(l){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(l)[1]},goog.string.internal.caseInsensitiveCompare=function(l,h){return(l=String(l).toLowerCase())<(h=String(h).toLowerCase())?-1:l==h?0:1},goog.string.internal.newLineToBr=function(l,h){return l.replace(/(\r\n|\r|\n)/g,h?"<br />":"<br>")},goog.string.internal.htmlEscape=function(l,h){if(h)l=l.replace(goog.string.internal.AMP_RE_,"&amp;").replace(goog.string.internal.LT_RE_,"&lt;").replace(goog.string.internal.GT_RE_,"&gt;").replace(goog.string.internal.QUOT_RE_,"&quot;").replace(goog.string.internal.SINGLE_QUOTE_RE_,"&#39;").replace(goog.string.internal.NULL_RE_,"&#0;");else{if(!goog.string.internal.ALL_RE_.test(l))return l;-1!=l.indexOf("&")&&(l=l.replace(goog.string.internal.AMP_RE_,"&amp;")),-1!=l.indexOf("<")&&(l=l.replace(goog.string.internal.LT_RE_,"&lt;")),-1!=l.indexOf(">")&&(l=l.replace(goog.string.internal.GT_RE_,"&gt;")),-1!=l.indexOf('"')&&(l=l.replace(goog.string.internal.QUOT_RE_,"&quot;")),-1!=l.indexOf("'")&&(l=l.replace(goog.string.internal.SINGLE_QUOTE_RE_,"&#39;")),-1!=l.indexOf("\0")&&(l=l.replace(goog.string.internal.NULL_RE_,"&#0;"))}return l},goog.string.internal.AMP_RE_=/&/g,goog.string.internal.LT_RE_=/</g,goog.string.internal.GT_RE_=/>/g,goog.string.internal.QUOT_RE_=/"/g,goog.string.internal.SINGLE_QUOTE_RE_=/'/g,goog.string.internal.NULL_RE_=/\x00/g,goog.string.internal.ALL_RE_=/[\x00&<>"']/,goog.string.internal.whitespaceEscape=function(l,h){return goog.string.internal.newLineToBr(l.replace(/  /g," &#160;"),h)},goog.string.internal.contains=function(l,h){return-1!=l.indexOf(h)},goog.string.internal.caseInsensitiveContains=function(l,h){return goog.string.internal.contains(l.toLowerCase(),h.toLowerCase())},goog.string.internal.compareVersions=function(l,h){var _=0;l=goog.string.internal.trim(String(l)).split("."),h=goog.string.internal.trim(String(h)).split(".");for(var y=Math.max(l.length,h.length),w=0;0==_&&w<y;w++){var A=l[w]||"",O=h[w]||"";do{if(A=/(\d*)(\D*)(.*)/.exec(A)||["","","",""],O=/(\d*)(\D*)(.*)/.exec(O)||["","","",""],0==A[0].length&&0==O[0].length)break;_=0==A[1].length?0:parseInt(A[1],10);var j=0==O[1].length?0:parseInt(O[1],10);_=goog.string.internal.compareElements_(_,j)||goog.string.internal.compareElements_(0==A[2].length,0==O[2].length)||goog.string.internal.compareElements_(A[2],O[2]),A=A[3],O=O[3]}while(0==_)}return _},goog.string.internal.compareElements_=function(l,h){return l<h?-1:l>h?1:0},goog.html.SafeUrl=function(l,h){this.privateDoNotAccessOrElseSafeUrlWrappedValue_=h===goog.html.SafeUrl.CONSTRUCTOR_TOKEN_PRIVATE_?l:""},goog.html.SafeUrl.INNOCUOUS_STRING="about:invalid#zClosurez",goog.html.SafeUrl.prototype.implementsGoogStringTypedString=!0,goog.html.SafeUrl.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeUrlWrappedValue_.toString()},goog.html.SafeUrl.prototype.implementsGoogI18nBidiDirectionalString=!0,goog.html.SafeUrl.prototype.getDirection=function(){return goog.i18n.bidi.Dir.LTR},goog.DEBUG&&(goog.html.SafeUrl.prototype.toString=function(){return"SafeUrl{"+this.privateDoNotAccessOrElseSafeUrlWrappedValue_+"}"}),goog.html.SafeUrl.unwrap=function(l){return l instanceof goog.html.SafeUrl&&l.constructor===goog.html.SafeUrl?l.privateDoNotAccessOrElseSafeUrlWrappedValue_:(goog.asserts.fail("expected object of type SafeUrl, got '"+l+"' of type "+goog.typeOf(l)),"type_error:SafeUrl")},goog.html.SafeUrl.fromConstant=function(l){return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(goog.string.Const.unwrap(l))},goog.html.SAFE_MIME_TYPE_PATTERN_=/^(?:audio\/(?:3gpp2|3gpp|aac|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-matroska|x-wav|wav|webm)|font\/\w+|image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon)|video\/(?:mpeg|mp4|ogg|webm|quicktime|x-matroska))(?:;\w+=(?:\w+|"[\w;,= ]+"))*$/i,goog.html.SafeUrl.isSafeMimeType=function(l){return goog.html.SAFE_MIME_TYPE_PATTERN_.test(l)},goog.html.SafeUrl.fromBlob=function(l){return l=goog.html.SafeUrl.isSafeMimeType(l.type)?goog.fs.url.createObjectUrl(l):goog.html.SafeUrl.INNOCUOUS_STRING,goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(l)},goog.html.SafeUrl.revokeObjectUrl=function(l){(l=l.getTypedStringValue())!==goog.html.SafeUrl.INNOCUOUS_STRING&&goog.fs.url.revokeObjectUrl(l)},goog.html.SafeUrl.fromMediaSource=function(l){return goog.asserts.assert("MediaSource"in goog.global,"No support for MediaSource"),l=l instanceof MediaSource?goog.fs.url.createObjectUrl(l):goog.html.SafeUrl.INNOCUOUS_STRING,goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(l)},goog.html.DATA_URL_PATTERN_=/^data:(.*);base64,[a-z0-9+\/]+=*$/i,goog.html.SafeUrl.tryFromDataUrl=function(l){var h=(l=(l=String(l)).replace(/(%0A|%0D)/g,"")).match(goog.html.DATA_URL_PATTERN_);return h&&goog.html.SafeUrl.isSafeMimeType(h[1])?goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(l):null},goog.html.SafeUrl.fromDataUrl=function(l){return goog.html.SafeUrl.tryFromDataUrl(l)||goog.html.SafeUrl.INNOCUOUS_URL},goog.html.SafeUrl.fromTelUrl=function(l){return goog.string.internal.caseInsensitiveStartsWith(l,"tel:")||(l=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(l)},goog.html.SIP_URL_PATTERN_=/^sip[s]?:[+a-z0-9_.!$%&'*\/=^`{|}~-]+@([a-z0-9-]+\.)+[a-z0-9]{2,63}$/i,goog.html.SafeUrl.fromSipUrl=function(l){return goog.html.SIP_URL_PATTERN_.test(decodeURIComponent(l))||(l=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(l)},goog.html.SafeUrl.fromFacebookMessengerUrl=function(l){return goog.string.internal.caseInsensitiveStartsWith(l,"fb-messenger://share")||(l=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(l)},goog.html.SafeUrl.fromWhatsAppUrl=function(l){return goog.string.internal.caseInsensitiveStartsWith(l,"whatsapp://send")||(l=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(l)},goog.html.SafeUrl.fromSmsUrl=function(l){return goog.string.internal.caseInsensitiveStartsWith(l,"sms:")&&goog.html.SafeUrl.isSmsUrlBodyValid_(l)||(l=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(l)},goog.html.SafeUrl.isSmsUrlBodyValid_=function(l){var h=l.indexOf("#");if(0<h&&(l=l.substring(0,h)),!(h=l.match(/[?&]body=/gi)))return!0;if(1<h.length)return!1;if(!(l=l.match(/[?&]body=([^&]*)/)[1]))return!0;try{decodeURIComponent(l)}catch{return!1}return/^(?:[a-z0-9\-_.~]|%[0-9a-f]{2})+$/i.test(l)},goog.html.SafeUrl.fromSshUrl=function(l){return goog.string.internal.caseInsensitiveStartsWith(l,"ssh://")||(l=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(l)},goog.html.SafeUrl.sanitizeChromeExtensionUrl=function(l,h){return goog.html.SafeUrl.sanitizeExtensionUrl_(/^chrome-extension:\/\/([^\/]+)\//,l,h)},goog.html.SafeUrl.sanitizeFirefoxExtensionUrl=function(l,h){return goog.html.SafeUrl.sanitizeExtensionUrl_(/^moz-extension:\/\/([^\/]+)\//,l,h)},goog.html.SafeUrl.sanitizeEdgeExtensionUrl=function(l,h){return goog.html.SafeUrl.sanitizeExtensionUrl_(/^ms-browser-extension:\/\/([^\/]+)\//,l,h)},goog.html.SafeUrl.sanitizeExtensionUrl_=function(l,h,_){return(l=l.exec(h))?(l=l[1],-1==(_ instanceof goog.string.Const?[goog.string.Const.unwrap(_)]:_.map(function(y){return goog.string.Const.unwrap(y)})).indexOf(l)&&(h=goog.html.SafeUrl.INNOCUOUS_STRING)):h=goog.html.SafeUrl.INNOCUOUS_STRING,goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(h)},goog.html.SafeUrl.fromTrustedResourceUrl=function(l){return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(goog.html.TrustedResourceUrl.unwrap(l))},goog.html.SAFE_URL_PATTERN_=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,goog.html.SafeUrl.SAFE_URL_PATTERN=goog.html.SAFE_URL_PATTERN_,goog.html.SafeUrl.trySanitize=function(l){return l instanceof goog.html.SafeUrl?l:(l="object"==typeof l&&l.implementsGoogStringTypedString?l.getTypedStringValue():String(l),goog.html.SAFE_URL_PATTERN_.test(l)?goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(l):goog.html.SafeUrl.tryFromDataUrl(l))},goog.html.SafeUrl.sanitize=function(l){return goog.html.SafeUrl.trySanitize(l)||goog.html.SafeUrl.INNOCUOUS_URL},goog.html.SafeUrl.sanitizeAssertUnchanged=function(l,h){return l instanceof goog.html.SafeUrl?l:(l="object"==typeof l&&l.implementsGoogStringTypedString?l.getTypedStringValue():String(l),h&&/^data:/i.test(l)&&(h=goog.html.SafeUrl.fromDataUrl(l)).getTypedStringValue()==l?h:(goog.asserts.assert(goog.html.SAFE_URL_PATTERN_.test(l),"%s does not match the safe URL pattern",l)||(l=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(l)))},goog.html.SafeUrl.CONSTRUCTOR_TOKEN_PRIVATE_={},goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse=function(l){return new goog.html.SafeUrl(l,goog.html.SafeUrl.CONSTRUCTOR_TOKEN_PRIVATE_)},goog.html.SafeUrl.INNOCUOUS_URL=goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.ABOUT_BLANK=goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse("about:blank"),goog.html.SafeStyle=function(l,h){this.privateDoNotAccessOrElseSafeStyleWrappedValue_=h===goog.html.SafeStyle.CONSTRUCTOR_TOKEN_PRIVATE_?l:""},goog.html.SafeStyle.prototype.implementsGoogStringTypedString=!0,goog.html.SafeStyle.fromConstant=function(l){return 0===(l=goog.string.Const.unwrap(l)).length?goog.html.SafeStyle.EMPTY:(goog.asserts.assert(goog.string.internal.endsWith(l,";"),"Last character of style string is not ';': "+l),goog.asserts.assert(goog.string.internal.contains(l,":"),"Style string must contain at least one ':', to specify a \"name: value\" pair: "+l),goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(l))},goog.html.SafeStyle.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeStyleWrappedValue_},goog.DEBUG&&(goog.html.SafeStyle.prototype.toString=function(){return"SafeStyle{"+this.privateDoNotAccessOrElseSafeStyleWrappedValue_+"}"}),goog.html.SafeStyle.unwrap=function(l){return l instanceof goog.html.SafeStyle&&l.constructor===goog.html.SafeStyle?l.privateDoNotAccessOrElseSafeStyleWrappedValue_:(goog.asserts.fail("expected object of type SafeStyle, got '"+l+"' of type "+goog.typeOf(l)),"type_error:SafeStyle")},goog.html.SafeStyle.CONSTRUCTOR_TOKEN_PRIVATE_={},goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse=function(l){return new goog.html.SafeStyle(l,goog.html.SafeStyle.CONSTRUCTOR_TOKEN_PRIVATE_)},goog.html.SafeStyle.EMPTY=goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(""),goog.html.SafeStyle.INNOCUOUS_STRING="zClosurez",goog.html.SafeStyle.create=function(l){var _,h="";for(_ in l)if(Object.prototype.hasOwnProperty.call(l,_)){if(!/^[-_a-zA-Z0-9]+$/.test(_))throw Error("Name allows only [-_a-zA-Z0-9], got: "+_);var y=l[_];null!=y&&(h+=_+":"+(y=Array.isArray(y)?module$contents$goog$array_map(y,goog.html.SafeStyle.sanitizePropertyValue_).join(" "):goog.html.SafeStyle.sanitizePropertyValue_(y))+";")}return h?goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(h):goog.html.SafeStyle.EMPTY},goog.html.SafeStyle.sanitizePropertyValue_=function(l){if(l instanceof goog.html.SafeUrl)return'url("'+goog.html.SafeUrl.unwrap(l).replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';if(l=l instanceof goog.string.Const?goog.string.Const.unwrap(l):goog.html.SafeStyle.sanitizePropertyValueString_(String(l)),/[{;}]/.test(l))throw new goog.asserts.AssertionError("Value does not allow [{;}], got: %s.",[l]);return l},goog.html.SafeStyle.sanitizePropertyValueString_=function(l){var h=l.replace(goog.html.SafeStyle.FUNCTIONS_RE_,"$1").replace(goog.html.SafeStyle.FUNCTIONS_RE_,"$1").replace(goog.html.SafeStyle.URL_RE_,"url");return goog.html.SafeStyle.VALUE_RE_.test(h)?goog.html.SafeStyle.COMMENT_RE_.test(l)?(goog.asserts.fail("String value disallows comments, got: "+l),goog.html.SafeStyle.INNOCUOUS_STRING):goog.html.SafeStyle.hasBalancedQuotes_(l)?goog.html.SafeStyle.hasBalancedSquareBrackets_(l)?goog.html.SafeStyle.sanitizeUrl_(l):(goog.asserts.fail("String value requires balanced square brackets and one identifier per pair of brackets, got: "+l),goog.html.SafeStyle.INNOCUOUS_STRING):(goog.asserts.fail("String value requires balanced quotes, got: "+l),goog.html.SafeStyle.INNOCUOUS_STRING):(goog.asserts.fail("String value allows only "+goog.html.SafeStyle.VALUE_ALLOWED_CHARS_+" and simple functions, got: "+l),goog.html.SafeStyle.INNOCUOUS_STRING)},goog.html.SafeStyle.hasBalancedQuotes_=function(l){for(var h=!0,_=!0,y=0;y<l.length;y++){var w=l.charAt(y);"'"==w&&_?h=!h:'"'==w&&h&&(_=!_)}return h&&_},goog.html.SafeStyle.hasBalancedSquareBrackets_=function(l){for(var h=!0,_=/^[-_a-zA-Z0-9]$/,y=0;y<l.length;y++){var w=l.charAt(y);if("]"==w){if(h)return!1;h=!0}else if("["==w){if(!h)return!1;h=!1}else if(!h&&!_.test(w))return!1}return h},goog.html.SafeStyle.VALUE_ALLOWED_CHARS_="[-,.\"'%_!# a-zA-Z0-9\\[\\]]",goog.html.SafeStyle.VALUE_RE_=new RegExp("^"+goog.html.SafeStyle.VALUE_ALLOWED_CHARS_+"+$"),goog.html.SafeStyle.URL_RE_=/\b(url\([ \t\n]*)('[ -&(-\[\]-~]*'|"[ !#-\[\]-~]*"|[!#-&*-\[\]-~]*)([ \t\n]*\))/g,goog.html.SafeStyle.ALLOWED_FUNCTIONS_="calc cubic-bezier fit-content hsl hsla linear-gradient matrix minmax repeat rgb rgba (rotate|scale|translate)(X|Y|Z|3d)?".split(" "),goog.html.SafeStyle.FUNCTIONS_RE_=new RegExp("\\b("+goog.html.SafeStyle.ALLOWED_FUNCTIONS_.join("|")+")\\([-+*/0-9a-z.%\\[\\], ]+\\)","g"),goog.html.SafeStyle.COMMENT_RE_=/\/\*/,goog.html.SafeStyle.sanitizeUrl_=function(l){return l.replace(goog.html.SafeStyle.URL_RE_,function(h,_,y,w){var A="";return y=y.replace(/^(['"])(.*)\1$/,function(O,j,Z){return A=j,Z}),h=goog.html.SafeUrl.sanitize(y).getTypedStringValue(),_+A+h+A+w})},goog.html.SafeStyle.concat=function(l){var h="",_=function(y){Array.isArray(y)?module$contents$goog$array_forEach(y,_):h+=goog.html.SafeStyle.unwrap(y)};return module$contents$goog$array_forEach(arguments,_),h?goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(h):goog.html.SafeStyle.EMPTY};var module$contents$goog$html$SafeStyleSheet_CONSTRUCTOR_TOKEN_PRIVATE={},module$contents$goog$html$SafeStyleSheet_SafeStyleSheet=function(l,h){this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_=h===module$contents$goog$html$SafeStyleSheet_CONSTRUCTOR_TOKEN_PRIVATE?l:"",this.implementsGoogStringTypedString=!0};module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createRule=function(l,h){if((0,goog.string.internal.contains)(l,"<"))throw Error("Selector does not allow '<', got: "+l);var _=l.replace(/('|")((?!\1)[^\r\n\f\\]|\\[\s\S])*\1/g,"");if(!/^[-_a-zA-Z0-9#.:* ,>+~[\]()=^$|]+$/.test(_))throw Error("Selector allows only [-_a-zA-Z0-9#.:* ,>+~[\\]()=^$|] and strings, got: "+l);if(!module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.hasBalancedBrackets_(_))throw Error("() and [] in selector must be balanced, got: "+l);return h instanceof goog.html.SafeStyle||(h=goog.html.SafeStyle.create(h)),l=l+"{"+goog.html.SafeStyle.unwrap(h).replace(/</g,"\\3C ")+"}",module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(l)},module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.hasBalancedBrackets_=function(l){for(var h={"(":")","[":"]"},_=[],y=0;y<l.length;y++){var w=l[y];if(h[w])_.push(h[w]);else if(goog.object.contains(h,w)&&_.pop()!=w)return!1}return 0==_.length},module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.concat=function(l){var h="",_=function(y){Array.isArray(y)?module$contents$goog$array_forEach(y,_):h+=module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.unwrap(y)};return module$contents$goog$array_forEach(arguments,_),module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(h)},module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.fromConstant=function(l){return 0===(l=goog.string.Const.unwrap(l)).length?module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.EMPTY:((0,goog.asserts.assert)(!(0,goog.string.internal.contains)(l,"<"),"Forbidden '<' character in style sheet string: "+l),module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(l))},module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_},module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.unwrap=function(l){return l instanceof module$contents$goog$html$SafeStyleSheet_SafeStyleSheet&&l.constructor===module$contents$goog$html$SafeStyleSheet_SafeStyleSheet?l.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_:((0,goog.asserts.fail)("expected object of type SafeStyleSheet, got '"+l+"' of type "+goog.typeOf(l)),"type_error:SafeStyleSheet")},module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse=function(l){return new module$contents$goog$html$SafeStyleSheet_SafeStyleSheet(l,module$contents$goog$html$SafeStyleSheet_CONSTRUCTOR_TOKEN_PRIVATE)},goog.DEBUG&&(module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.prototype.toString=function(){return"SafeStyleSheet{"+this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_+"}"}),module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.EMPTY=module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(""),goog.html.SafeStyleSheet=module$contents$goog$html$SafeStyleSheet_SafeStyleSheet,goog.labs={},goog.labs.userAgent={},goog.labs.userAgent.util={},goog.labs.userAgent.util.getNativeUserAgentString_=function(){var l=goog.labs.userAgent.util.getNavigator_();return l&&(l=l.userAgent)?l:""},goog.labs.userAgent.util.getNavigator_=function(){return goog.global.navigator},goog.labs.userAgent.util.userAgent_=goog.labs.userAgent.util.getNativeUserAgentString_(),goog.labs.userAgent.util.setUserAgent=function(l){goog.labs.userAgent.util.userAgent_=l||goog.labs.userAgent.util.getNativeUserAgentString_()},goog.labs.userAgent.util.getUserAgent=function(){return goog.labs.userAgent.util.userAgent_},goog.labs.userAgent.util.matchUserAgent=function(l){var h=goog.labs.userAgent.util.getUserAgent();return goog.string.internal.contains(h,l)},goog.labs.userAgent.util.matchUserAgentIgnoreCase=function(l){var h=goog.labs.userAgent.util.getUserAgent();return goog.string.internal.caseInsensitiveContains(h,l)},goog.labs.userAgent.util.extractVersionTuples=function(l){for(var y,h=/(\w[\w ]+)\/([^\s]+)\s*(?:\((.*?)\))?/g,_=[];y=h.exec(l);)_.push([y[1],y[2],y[3]||void 0]);return _},goog.labs.userAgent.browser={},goog.labs.userAgent.browser.matchOpera_=function(){return goog.labs.userAgent.util.matchUserAgent("Opera")},goog.labs.userAgent.browser.matchIE_=function(){return goog.labs.userAgent.util.matchUserAgent("Trident")||goog.labs.userAgent.util.matchUserAgent("MSIE")},goog.labs.userAgent.browser.matchEdgeHtml_=function(){return goog.labs.userAgent.util.matchUserAgent("Edge")},goog.labs.userAgent.browser.matchEdgeChromium_=function(){return goog.labs.userAgent.util.matchUserAgent("Edg/")},goog.labs.userAgent.browser.matchOperaChromium_=function(){return goog.labs.userAgent.util.matchUserAgent("OPR")},goog.labs.userAgent.browser.matchFirefox_=function(){return goog.labs.userAgent.util.matchUserAgent("Firefox")||goog.labs.userAgent.util.matchUserAgent("FxiOS")},goog.labs.userAgent.browser.matchSafari_=function(){return goog.labs.userAgent.util.matchUserAgent("Safari")&&!(goog.labs.userAgent.browser.matchChrome_()||goog.labs.userAgent.browser.matchCoast_()||goog.labs.userAgent.browser.matchOpera_()||goog.labs.userAgent.browser.matchEdgeHtml_()||goog.labs.userAgent.browser.matchEdgeChromium_()||goog.labs.userAgent.browser.matchOperaChromium_()||goog.labs.userAgent.browser.matchFirefox_()||goog.labs.userAgent.browser.isSilk()||goog.labs.userAgent.util.matchUserAgent("Android"))},goog.labs.userAgent.browser.matchCoast_=function(){return goog.labs.userAgent.util.matchUserAgent("Coast")},goog.labs.userAgent.browser.matchIosWebview_=function(){return(goog.labs.userAgent.util.matchUserAgent("iPad")||goog.labs.userAgent.util.matchUserAgent("iPhone"))&&!goog.labs.userAgent.browser.matchSafari_()&&!goog.labs.userAgent.browser.matchChrome_()&&!goog.labs.userAgent.browser.matchCoast_()&&!goog.labs.userAgent.browser.matchFirefox_()&&goog.labs.userAgent.util.matchUserAgent("AppleWebKit")},goog.labs.userAgent.browser.matchChrome_=function(){return(goog.labs.userAgent.util.matchUserAgent("Chrome")||goog.labs.userAgent.util.matchUserAgent("CriOS"))&&!goog.labs.userAgent.browser.matchEdgeHtml_()},goog.labs.userAgent.browser.matchAndroidBrowser_=function(){return goog.labs.userAgent.util.matchUserAgent("Android")&&!(goog.labs.userAgent.browser.isChrome()||goog.labs.userAgent.browser.isFirefox()||goog.labs.userAgent.browser.isOpera()||goog.labs.userAgent.browser.isSilk())},goog.labs.userAgent.browser.isOpera=goog.labs.userAgent.browser.matchOpera_,goog.labs.userAgent.browser.isIE=goog.labs.userAgent.browser.matchIE_,goog.labs.userAgent.browser.isEdge=goog.labs.userAgent.browser.matchEdgeHtml_,goog.labs.userAgent.browser.isEdgeChromium=goog.labs.userAgent.browser.matchEdgeChromium_,goog.labs.userAgent.browser.isOperaChromium=goog.labs.userAgent.browser.matchOperaChromium_,goog.labs.userAgent.browser.isFirefox=goog.labs.userAgent.browser.matchFirefox_,goog.labs.userAgent.browser.isSafari=goog.labs.userAgent.browser.matchSafari_,goog.labs.userAgent.browser.isCoast=goog.labs.userAgent.browser.matchCoast_,goog.labs.userAgent.browser.isIosWebview=goog.labs.userAgent.browser.matchIosWebview_,goog.labs.userAgent.browser.isChrome=goog.labs.userAgent.browser.matchChrome_,goog.labs.userAgent.browser.isAndroidBrowser=goog.labs.userAgent.browser.matchAndroidBrowser_,goog.labs.userAgent.browser.isSilk=function(){return goog.labs.userAgent.util.matchUserAgent("Silk")},goog.labs.userAgent.browser.getVersion=function(){function l(w){return w=module$contents$goog$array_find(w,y),_[w]||""}var h=goog.labs.userAgent.util.getUserAgent();if(goog.labs.userAgent.browser.isIE())return goog.labs.userAgent.browser.getIEVersion_(h);h=goog.labs.userAgent.util.extractVersionTuples(h);var _={};module$contents$goog$array_forEach(h,function(w){_[w[0]]=w[1]});var y=goog.partial(goog.object.containsKey,_);return goog.labs.userAgent.browser.isOpera()?l(["Version","Opera"]):goog.labs.userAgent.browser.isEdge()?l(["Edge"]):goog.labs.userAgent.browser.isEdgeChromium()?l(["Edg"]):goog.labs.userAgent.browser.isChrome()?l(["Chrome","CriOS","HeadlessChrome"]):(h=h[2])&&h[1]||""},goog.labs.userAgent.browser.isVersionOrHigher=function(l){return 0<=goog.string.internal.compareVersions(goog.labs.userAgent.browser.getVersion(),l)},goog.labs.userAgent.browser.getIEVersion_=function(l){var h=/rv: *([\d\.]*)/.exec(l);if(h&&h[1])return h[1];h="";var _=/MSIE +([\d\.]+)/.exec(l);if(_&&_[1])if(l=/Trident\/(\d.\d)/.exec(l),"7.0"==_[1])if(l&&l[1])switch(l[1]){case"4.0":h="8.0";break;case"5.0":h="9.0";break;case"6.0":h="10.0";break;case"7.0":h="11.0"}else h="7.0";else h=_[1];return h},goog.html.SafeHtml=function(l,h,_){this.privateDoNotAccessOrElseSafeHtmlWrappedValue_=_===goog.html.SafeHtml.CONSTRUCTOR_TOKEN_PRIVATE_?l:"",this.dir_=h},goog.html.SafeHtml.ENABLE_ERROR_MESSAGES=goog.DEBUG,goog.html.SafeHtml.SUPPORT_STYLE_ATTRIBUTE=!0,goog.html.SafeHtml.prototype.implementsGoogI18nBidiDirectionalString=!0,goog.html.SafeHtml.prototype.getDirection=function(){return this.dir_},goog.html.SafeHtml.prototype.implementsGoogStringTypedString=!0,goog.html.SafeHtml.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeHtmlWrappedValue_.toString()},goog.DEBUG&&(goog.html.SafeHtml.prototype.toString=function(){return"SafeHtml{"+this.privateDoNotAccessOrElseSafeHtmlWrappedValue_+"}"}),goog.html.SafeHtml.unwrap=function(l){return goog.html.SafeHtml.unwrapTrustedHTML(l).toString()},goog.html.SafeHtml.unwrapTrustedHTML=function(l){return l instanceof goog.html.SafeHtml&&l.constructor===goog.html.SafeHtml?l.privateDoNotAccessOrElseSafeHtmlWrappedValue_:(goog.asserts.fail("expected object of type SafeHtml, got '"+l+"' of type "+goog.typeOf(l)),"type_error:SafeHtml")},goog.html.SafeHtml.htmlEscape=function(l){if(l instanceof goog.html.SafeHtml)return l;var h="object"==typeof l,_=null;return h&&l.implementsGoogI18nBidiDirectionalString&&(_=l.getDirection()),l=h&&l.implementsGoogStringTypedString?l.getTypedStringValue():String(l),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.internal.htmlEscape(l),_)},goog.html.SafeHtml.htmlEscapePreservingNewlines=function(l){return l instanceof goog.html.SafeHtml?l:(l=goog.html.SafeHtml.htmlEscape(l),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.internal.newLineToBr(goog.html.SafeHtml.unwrap(l)),l.getDirection()))},goog.html.SafeHtml.htmlEscapePreservingNewlinesAndSpaces=function(l){return l instanceof goog.html.SafeHtml?l:(l=goog.html.SafeHtml.htmlEscape(l),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.internal.whitespaceEscape(goog.html.SafeHtml.unwrap(l)),l.getDirection()))},goog.html.SafeHtml.from=goog.html.SafeHtml.htmlEscape,goog.html.SafeHtml.comment=function(l){return goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("\x3c!--"+goog.string.internal.htmlEscape(l)+"--\x3e",null)},goog.html.SafeHtml.VALID_NAMES_IN_TAG_=/^[a-zA-Z0-9-]+$/,goog.html.SafeHtml.URL_ATTRIBUTES_={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},goog.html.SafeHtml.NOT_ALLOWED_TAG_NAMES_=goog.object.createSet(goog.dom.TagName.APPLET,goog.dom.TagName.BASE,goog.dom.TagName.EMBED,goog.dom.TagName.IFRAME,goog.dom.TagName.LINK,goog.dom.TagName.MATH,goog.dom.TagName.META,goog.dom.TagName.OBJECT,goog.dom.TagName.SCRIPT,goog.dom.TagName.STYLE,goog.dom.TagName.SVG,goog.dom.TagName.TEMPLATE),goog.html.SafeHtml.create=function(l,h,_){return goog.html.SafeHtml.verifyTagName(String(l)),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse(String(l),h,_)},goog.html.SafeHtml.verifyTagName=function(l){if(!goog.html.SafeHtml.VALID_NAMES_IN_TAG_.test(l))throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?"Invalid tag name <"+l+">.":"");if(l.toUpperCase()in goog.html.SafeHtml.NOT_ALLOWED_TAG_NAMES_)throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?"Tag name <"+l+"> is not allowed for SafeHtml.":"")},goog.html.SafeHtml.createIframe=function(l,h,_,y){l&&goog.html.TrustedResourceUrl.unwrap(l);var w={};return w.src=l||null,w.srcdoc=h&&goog.html.SafeHtml.unwrap(h),l=goog.html.SafeHtml.combineAttributes(w,{sandbox:""},_),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("iframe",l,y)},goog.html.SafeHtml.createSandboxIframe=function(l,h,_,y){if(!goog.html.SafeHtml.canUseSandboxIframe())throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?"The browser does not support sandboxed iframes.":"");var w={};return w.src=l?goog.html.SafeUrl.unwrap(goog.html.SafeUrl.sanitize(l)):null,w.srcdoc=h||null,w.sandbox="",l=goog.html.SafeHtml.combineAttributes(w,{},_),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("iframe",l,y)},goog.html.SafeHtml.canUseSandboxIframe=function(){return goog.global.HTMLIFrameElement&&"sandbox"in goog.global.HTMLIFrameElement.prototype},goog.html.SafeHtml.createScriptSrc=function(l,h){return goog.html.TrustedResourceUrl.unwrap(l),l=goog.html.SafeHtml.combineAttributes({src:l},{},h),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("script",l)},goog.html.SafeHtml.createScript=function(l,h){for(var _ in h)if(Object.prototype.hasOwnProperty.call(h,_)){var y=_.toLowerCase();if("language"==y||"src"==y||"text"==y||"type"==y)throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'Cannot set "'+y+'" attribute':"")}for(_="",l=module$contents$goog$array_concat(l),y=0;y<l.length;y++)_+=module$contents$goog$html$SafeScript_SafeScript.unwrap(l[y]);return l=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(_,goog.i18n.bidi.Dir.NEUTRAL),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("script",h,l)},goog.html.SafeHtml.createStyle=function(l,h){h=goog.html.SafeHtml.combineAttributes({type:"text/css"},{},h);var _="";l=module$contents$goog$array_concat(l);for(var y=0;y<l.length;y++)_+=module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.unwrap(l[y]);return l=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(_,goog.i18n.bidi.Dir.NEUTRAL),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("style",h,l)},goog.html.SafeHtml.createMetaRefresh=function(l,h){return l=goog.html.SafeUrl.unwrap(goog.html.SafeUrl.sanitize(l)),(goog.labs.userAgent.browser.isIE()||goog.labs.userAgent.browser.isEdge())&&goog.string.internal.contains(l,";")&&(l="'"+l.replace(/'/g,"%27")+"'"),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("meta",{"http-equiv":"refresh",content:(h||0)+"; url="+l})},goog.html.SafeHtml.getAttrNameAndValue_=function(l,h,_){if(_ instanceof goog.string.Const)_=goog.string.Const.unwrap(_);else if("style"==h.toLowerCase()){if(!goog.html.SafeHtml.SUPPORT_STYLE_ATTRIBUTE)throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'Attribute "style" not supported.':"");_=goog.html.SafeHtml.getStyleValue_(_)}else{if(/^on/i.test(h))throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'Attribute "'+h+'" requires goog.string.Const value, "'+_+'" given.':"");if(h.toLowerCase()in goog.html.SafeHtml.URL_ATTRIBUTES_)if(_ instanceof goog.html.TrustedResourceUrl)_=goog.html.TrustedResourceUrl.unwrap(_);else if(_ instanceof goog.html.SafeUrl)_=goog.html.SafeUrl.unwrap(_);else{if("string"!=typeof _)throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'Attribute "'+h+'" on tag "'+l+'" requires goog.html.SafeUrl, goog.string.Const, or string, value "'+_+'" given.':"");_=goog.html.SafeUrl.sanitize(_).getTypedStringValue()}}return _.implementsGoogStringTypedString&&(_=_.getTypedStringValue()),goog.asserts.assert("string"==typeof _||"number"==typeof _,"String or number value expected, got "+typeof _+" with value: "+_),h+'="'+goog.string.internal.htmlEscape(String(_))+'"'},goog.html.SafeHtml.getStyleValue_=function(l){if(!goog.isObject(l))throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'The "style" attribute requires goog.html.SafeStyle or map of style properties, '+typeof l+" given: "+l:"");return l instanceof goog.html.SafeStyle||(l=goog.html.SafeStyle.create(l)),goog.html.SafeStyle.unwrap(l)},goog.html.SafeHtml.createWithDir=function(l,h,_,y){return(h=goog.html.SafeHtml.create(h,_,y)).dir_=l,h},goog.html.SafeHtml.join=function(l,h){var _=(l=goog.html.SafeHtml.htmlEscape(l)).getDirection(),y=[],w=function(A){Array.isArray(A)?module$contents$goog$array_forEach(A,w):(A=goog.html.SafeHtml.htmlEscape(A),y.push(goog.html.SafeHtml.unwrap(A)),A=A.getDirection(),_==goog.i18n.bidi.Dir.NEUTRAL?_=A:A!=goog.i18n.bidi.Dir.NEUTRAL&&_!=A&&(_=null))};return module$contents$goog$array_forEach(h,w),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(y.join(goog.html.SafeHtml.unwrap(l)),_)},goog.html.SafeHtml.concat=function(l){return goog.html.SafeHtml.join(goog.html.SafeHtml.EMPTY,Array.prototype.slice.call(arguments))},goog.html.SafeHtml.concatWithDir=function(l,h){var _=goog.html.SafeHtml.concat(module$contents$goog$array_slice(arguments,1));return _.dir_=l,_},goog.html.SafeHtml.CONSTRUCTOR_TOKEN_PRIVATE_={},goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse=function(l,h){var _=goog.html.trustedtypes.getPolicyPrivateDoNotAccessOrElse();return l=_?_.createHTML(l):l,new goog.html.SafeHtml(l,h,goog.html.SafeHtml.CONSTRUCTOR_TOKEN_PRIVATE_)},goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse=function(l,h,_){var y=null,w="<"+l+goog.html.SafeHtml.stringifyAttributes(l,h);return null==_?_=[]:Array.isArray(_)||(_=[_]),goog.dom.tags.isVoidTag(l.toLowerCase())?(goog.asserts.assert(!_.length,"Void tag <"+l+"> does not allow content."),w+=">"):(y=goog.html.SafeHtml.concat(_),w+=">"+goog.html.SafeHtml.unwrap(y)+"</"+l+">",y=y.getDirection()),(l=h&&h.dir)&&(y=/^(ltr|rtl|auto)$/i.test(l)?goog.i18n.bidi.Dir.NEUTRAL:null),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(w,y)},goog.html.SafeHtml.stringifyAttributes=function(l,h){var _="";if(h)for(var y in h)if(Object.prototype.hasOwnProperty.call(h,y)){if(!goog.html.SafeHtml.VALID_NAMES_IN_TAG_.test(y))throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'Invalid attribute name "'+y+'".':"");var w=h[y];null!=w&&(_+=" "+goog.html.SafeHtml.getAttrNameAndValue_(l,y,w))}return _},goog.html.SafeHtml.combineAttributes=function(l,h,_){var w,y={};for(w in l)Object.prototype.hasOwnProperty.call(l,w)&&(goog.asserts.assert(w.toLowerCase()==w,"Must be lower case"),y[w]=l[w]);for(w in h)Object.prototype.hasOwnProperty.call(h,w)&&(goog.asserts.assert(w.toLowerCase()==w,"Must be lower case"),y[w]=h[w]);if(_)for(w in _)if(Object.prototype.hasOwnProperty.call(_,w)){var A=w.toLowerCase();if(A in l)throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'Cannot override "'+A+'" attribute, got "'+w+'" with value "'+_[w]+'"':"");A in h&&delete y[A],y[w]=_[w]}return y},goog.html.SafeHtml.DOCTYPE_HTML=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("<!DOCTYPE html>",goog.i18n.bidi.Dir.NEUTRAL),goog.html.SafeHtml.EMPTY=new goog.html.SafeHtml(goog.global.trustedTypes&&goog.global.trustedTypes.emptyHTML||"",goog.i18n.bidi.Dir.NEUTRAL,goog.html.SafeHtml.CONSTRUCTOR_TOKEN_PRIVATE_),goog.html.SafeHtml.BR=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("<br>",goog.i18n.bidi.Dir.NEUTRAL),goog.html.uncheckedconversions={},goog.html.uncheckedconversions.safeHtmlFromStringKnownToSatisfyTypeContract=function(l,h,_){return goog.asserts.assertString(goog.string.Const.unwrap(l),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(l)),"must provide non-empty justification"),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(h,_||null)},goog.html.uncheckedconversions.safeScriptFromStringKnownToSatisfyTypeContract=function(l,h){return goog.asserts.assertString(goog.string.Const.unwrap(l),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(l)),"must provide non-empty justification"),module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(h)},goog.html.uncheckedconversions.safeStyleFromStringKnownToSatisfyTypeContract=function(l,h){return goog.asserts.assertString(goog.string.Const.unwrap(l),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(l)),"must provide non-empty justification"),goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(h)},goog.html.uncheckedconversions.safeStyleSheetFromStringKnownToSatisfyTypeContract=function(l,h){return goog.asserts.assertString(goog.string.Const.unwrap(l),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(l)),"must provide non-empty justification"),module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(h)},goog.html.uncheckedconversions.safeUrlFromStringKnownToSatisfyTypeContract=function(l,h){return goog.asserts.assertString(goog.string.Const.unwrap(l),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(l)),"must provide non-empty justification"),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(h)},goog.html.uncheckedconversions.trustedResourceUrlFromStringKnownToSatisfyTypeContract=function(l,h){return goog.asserts.assertString(goog.string.Const.unwrap(l),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(l)),"must provide non-empty justification"),goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(h)},goog.dom.safe={},goog.dom.safe.InsertAdjacentHtmlPosition={AFTERBEGIN:"afterbegin",AFTEREND:"afterend",BEFOREBEGIN:"beforebegin",BEFOREEND:"beforeend"},goog.dom.safe.insertAdjacentHtml=function(l,h,_){l.insertAdjacentHTML(h,goog.html.SafeHtml.unwrapTrustedHTML(_))},goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_={MATH:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},goog.dom.safe.isInnerHtmlCleanupRecursive_=goog.functions.cacheReturnValue(function(){if(goog.DEBUG&&typeof document>"u")return!1;var l=document.createElement("div"),h=document.createElement("div");return h.appendChild(document.createElement("div")),l.appendChild(h),!(goog.DEBUG&&!l.firstChild||(h=l.firstChild.firstChild,l.innerHTML=goog.html.SafeHtml.unwrapTrustedHTML(goog.html.SafeHtml.EMPTY),h.parentElement))}),goog.dom.safe.unsafeSetInnerHtmlDoNotUseOrElse=function(l,h){if(goog.dom.safe.isInnerHtmlCleanupRecursive_())for(;l.lastChild;)l.removeChild(l.lastChild);l.innerHTML=goog.html.SafeHtml.unwrapTrustedHTML(h)},goog.dom.safe.setInnerHtml=function(l,h){if(goog.asserts.ENABLE_ASSERTS&&l.tagName){var _=l.tagName.toUpperCase();if(goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_[_])throw Error("goog.dom.safe.setInnerHtml cannot be used to set content of "+l.tagName+".")}goog.dom.safe.unsafeSetInnerHtmlDoNotUseOrElse(l,h)},goog.dom.safe.setInnerHtmlFromConstant=function(l,h){goog.dom.safe.setInnerHtml(l,goog.html.uncheckedconversions.safeHtmlFromStringKnownToSatisfyTypeContract(goog.string.Const.from("Constant HTML to be immediatelly used."),goog.string.Const.unwrap(h)))},goog.dom.safe.setOuterHtml=function(l,h){l.outerHTML=goog.html.SafeHtml.unwrapTrustedHTML(h)},goog.dom.safe.setFormElementAction=function(l,h){h=h instanceof goog.html.SafeUrl?h:goog.html.SafeUrl.sanitizeAssertUnchanged(h),goog.dom.asserts.assertIsHTMLFormElement(l).action=goog.html.SafeUrl.unwrap(h)},goog.dom.safe.setButtonFormAction=function(l,h){h=h instanceof goog.html.SafeUrl?h:goog.html.SafeUrl.sanitizeAssertUnchanged(h),goog.dom.asserts.assertIsHTMLButtonElement(l).formAction=goog.html.SafeUrl.unwrap(h)},goog.dom.safe.setInputFormAction=function(l,h){h=h instanceof goog.html.SafeUrl?h:goog.html.SafeUrl.sanitizeAssertUnchanged(h),goog.dom.asserts.assertIsHTMLInputElement(l).formAction=goog.html.SafeUrl.unwrap(h)},goog.dom.safe.setStyle=function(l,h){l.style.cssText=goog.html.SafeStyle.unwrap(h)},goog.dom.safe.documentWrite=function(l,h){l.write(goog.html.SafeHtml.unwrapTrustedHTML(h))},goog.dom.safe.setAnchorHref=function(l,h){goog.dom.asserts.assertIsHTMLAnchorElement(l),h=h instanceof goog.html.SafeUrl?h:goog.html.SafeUrl.sanitizeAssertUnchanged(h),l.href=goog.html.SafeUrl.unwrap(h)},goog.dom.safe.setImageSrc=function(l,h){if(goog.dom.asserts.assertIsHTMLImageElement(l),!(h instanceof goog.html.SafeUrl)){var _=/^data:image\//i.test(h);h=goog.html.SafeUrl.sanitizeAssertUnchanged(h,_)}l.src=goog.html.SafeUrl.unwrap(h)},goog.dom.safe.setAudioSrc=function(l,h){if(goog.dom.asserts.assertIsHTMLAudioElement(l),!(h instanceof goog.html.SafeUrl)){var _=/^data:audio\//i.test(h);h=goog.html.SafeUrl.sanitizeAssertUnchanged(h,_)}l.src=goog.html.SafeUrl.unwrap(h)},goog.dom.safe.setVideoSrc=function(l,h){if(goog.dom.asserts.assertIsHTMLVideoElement(l),!(h instanceof goog.html.SafeUrl)){var _=/^data:video\//i.test(h);h=goog.html.SafeUrl.sanitizeAssertUnchanged(h,_)}l.src=goog.html.SafeUrl.unwrap(h)},goog.dom.safe.setEmbedSrc=function(l,h){goog.dom.asserts.assertIsHTMLEmbedElement(l),l.src=goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(h)},goog.dom.safe.setFrameSrc=function(l,h){goog.dom.asserts.assertIsHTMLFrameElement(l),l.src=goog.html.TrustedResourceUrl.unwrap(h)},goog.dom.safe.setIframeSrc=function(l,h){goog.dom.asserts.assertIsHTMLIFrameElement(l),l.src=goog.html.TrustedResourceUrl.unwrap(h)},goog.dom.safe.setIframeSrcdoc=function(l,h){goog.dom.asserts.assertIsHTMLIFrameElement(l),l.srcdoc=goog.html.SafeHtml.unwrapTrustedHTML(h)},goog.dom.safe.setLinkHrefAndRel=function(l,h,_){goog.dom.asserts.assertIsHTMLLinkElement(l),l.rel=_,goog.string.internal.caseInsensitiveContains(_,"stylesheet")?(goog.asserts.assert(h instanceof goog.html.TrustedResourceUrl,'URL must be TrustedResourceUrl because "rel" contains "stylesheet"'),l.href=goog.html.TrustedResourceUrl.unwrap(h)):l.href=h instanceof goog.html.TrustedResourceUrl?goog.html.TrustedResourceUrl.unwrap(h):goog.html.SafeUrl.unwrap(h instanceof goog.html.SafeUrl?h:goog.html.SafeUrl.sanitizeAssertUnchanged(h))},goog.dom.safe.setObjectData=function(l,h){goog.dom.asserts.assertIsHTMLObjectElement(l),l.data=goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(h)},goog.dom.safe.setScriptSrc=function(l,h){goog.dom.asserts.assertIsHTMLScriptElement(l),l.src=goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(h),goog.dom.safe.setNonceForScriptElement_(l)},goog.dom.safe.setScriptContent=function(l,h){goog.dom.asserts.assertIsHTMLScriptElement(l),l.textContent=module$contents$goog$html$SafeScript_SafeScript.unwrapTrustedScript(h),goog.dom.safe.setNonceForScriptElement_(l)},goog.dom.safe.setNonceForScriptElement_=function(l){var h=goog.getScriptNonce(l.ownerDocument&&l.ownerDocument.defaultView);h&&l.setAttribute("nonce",h)},goog.dom.safe.setLocationHref=function(l,h){goog.dom.asserts.assertIsLocation(l),h=h instanceof goog.html.SafeUrl?h:goog.html.SafeUrl.sanitizeAssertUnchanged(h),l.href=goog.html.SafeUrl.unwrap(h)},goog.dom.safe.assignLocation=function(l,h){goog.dom.asserts.assertIsLocation(l),h=h instanceof goog.html.SafeUrl?h:goog.html.SafeUrl.sanitizeAssertUnchanged(h),l.assign(goog.html.SafeUrl.unwrap(h))},goog.dom.safe.replaceLocation=function(l,h){h=h instanceof goog.html.SafeUrl?h:goog.html.SafeUrl.sanitizeAssertUnchanged(h),l.replace(goog.html.SafeUrl.unwrap(h))},goog.dom.safe.openInWindow=function(l,h,_,y,w){return l=l instanceof goog.html.SafeUrl?l:goog.html.SafeUrl.sanitizeAssertUnchanged(l),h=h||goog.global,_=_ instanceof goog.string.Const?goog.string.Const.unwrap(_):_||"",h.open(goog.html.SafeUrl.unwrap(l),_,y,w)},goog.dom.safe.parseFromStringHtml=function(l,h){return goog.dom.safe.parseFromString(l,h,"text/html")},goog.dom.safe.parseFromString=function(l,h,_){return l.parseFromString(goog.html.SafeHtml.unwrapTrustedHTML(h),_)},goog.dom.safe.createImageFromBlob=function(l){if(!/^image\/.*/g.test(l.type))throw Error("goog.dom.safe.createImageFromBlob only accepts MIME type image/.*.");var h=goog.global.URL.createObjectURL(l);return(l=new goog.global.Image).onload=function(){goog.global.URL.revokeObjectURL(h)},goog.dom.safe.setImageSrc(l,goog.html.uncheckedconversions.safeUrlFromStringKnownToSatisfyTypeContract(goog.string.Const.from("Image blob URL."),h)),l},goog.string.DETECT_DOUBLE_ESCAPING=!1,goog.string.FORCE_NON_DOM_HTML_UNESCAPING=!1,goog.string.Unicode={NBSP:"\xa0"},goog.string.startsWith=goog.string.internal.startsWith,goog.string.endsWith=goog.string.internal.endsWith,goog.string.caseInsensitiveStartsWith=goog.string.internal.caseInsensitiveStartsWith,goog.string.caseInsensitiveEndsWith=goog.string.internal.caseInsensitiveEndsWith,goog.string.caseInsensitiveEquals=goog.string.internal.caseInsensitiveEquals,goog.string.subs=function(l,h){for(var _=l.split("%s"),y="",w=Array.prototype.slice.call(arguments,1);w.length&&1<_.length;)y+=_.shift()+w.shift();return y+_.join("%s")},goog.string.collapseWhitespace=function(l){return l.replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"")},goog.string.isEmptyOrWhitespace=goog.string.internal.isEmptyOrWhitespace,goog.string.isEmptyString=function(l){return 0==l.length},goog.string.isEmpty=goog.string.isEmptyOrWhitespace,goog.string.isEmptyOrWhitespaceSafe=function(l){return goog.string.isEmptyOrWhitespace(goog.string.makeSafe(l))},goog.string.isEmptySafe=goog.string.isEmptyOrWhitespaceSafe,goog.string.isBreakingWhitespace=function(l){return!/[^\t\n\r ]/.test(l)},goog.string.isAlpha=function(l){return!/[^a-zA-Z]/.test(l)},goog.string.isNumeric=function(l){return!/[^0-9]/.test(l)},goog.string.isAlphaNumeric=function(l){return!/[^a-zA-Z0-9]/.test(l)},goog.string.isSpace=function(l){return" "==l},goog.string.isUnicodeChar=function(l){return 1==l.length&&" "<=l&&"~">=l||"\x80"<=l&&"\ufffd">=l},goog.string.stripNewlines=function(l){return l.replace(/(\r\n|\r|\n)+/g," ")},goog.string.canonicalizeNewlines=function(l){return l.replace(/(\r\n|\r|\n)/g,"\n")},goog.string.normalizeWhitespace=function(l){return l.replace(/\xa0|\s/g," ")},goog.string.normalizeSpaces=function(l){return l.replace(/\xa0|[ \t]+/g," ")},goog.string.collapseBreakingSpaces=function(l){return l.replace(/[\t\r\n ]+/g," ").replace(/^[\t\r\n ]+|[\t\r\n ]+$/g,"")},goog.string.trim=goog.string.internal.trim,goog.string.trimLeft=function(l){return l.replace(/^[\s\xa0]+/,"")},goog.string.trimRight=function(l){return l.replace(/[\s\xa0]+$/,"")},goog.string.caseInsensitiveCompare=goog.string.internal.caseInsensitiveCompare,goog.string.numberAwareCompare_=function(l,h,_){if(l==h)return 0;if(!l)return-1;if(!h)return 1;for(var y=l.toLowerCase().match(_),w=h.toLowerCase().match(_),A=Math.min(y.length,w.length),O=0;O<A;O++){var j=w[O];if((_=y[O])!=j)return l=parseInt(_,10),!isNaN(l)&&(h=parseInt(j,10),!isNaN(h)&&l-h)?l-h:_<j?-1:1}return y.length!=w.length?y.length-w.length:l<h?-1:1},goog.string.intAwareCompare=function(l,h){return goog.string.numberAwareCompare_(l,h,/\d+|\D+/g)},goog.string.floatAwareCompare=function(l,h){return goog.string.numberAwareCompare_(l,h,/\d+|\.\d+|\D+/g)},goog.string.numerateCompare=goog.string.floatAwareCompare,goog.string.urlEncode=function(l){return encodeURIComponent(String(l))},goog.string.urlDecode=function(l){return decodeURIComponent(l.replace(/\+/g," "))},goog.string.newLineToBr=goog.string.internal.newLineToBr,goog.string.htmlEscape=function(l,h){return l=goog.string.internal.htmlEscape(l,h),goog.string.DETECT_DOUBLE_ESCAPING&&(l=l.replace(goog.string.E_RE_,"&#101;")),l},goog.string.E_RE_=/e/g,goog.string.unescapeEntities=function(l){return goog.string.contains(l,"&")?!goog.string.FORCE_NON_DOM_HTML_UNESCAPING&&"document"in goog.global?goog.string.unescapeEntitiesUsingDom_(l):goog.string.unescapePureXmlEntities_(l):l},goog.string.unescapeEntitiesWithDocument=function(l,h){return goog.string.contains(l,"&")?goog.string.unescapeEntitiesUsingDom_(l,h):l},goog.string.unescapeEntitiesUsingDom_=function(l,h){var _={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"'},y=h?h.createElement("div"):goog.global.document.createElement("div");return l.replace(goog.string.HTML_ENTITY_PATTERN_,function(w,A){var O=_[w];return O||("#"==A.charAt(0)&&(A=+("0"+A.substr(1)),isNaN(A)||(O=String.fromCharCode(A))),O||(goog.dom.safe.setInnerHtml(y,goog.html.uncheckedconversions.safeHtmlFromStringKnownToSatisfyTypeContract(goog.string.Const.from("Single HTML entity."),w+" ")),O=y.firstChild.nodeValue.slice(0,-1)),_[w]=O)})},goog.string.unescapePureXmlEntities_=function(l){return l.replace(/&([^;]+);/g,function(h,_){switch(_){case"amp":return"&";case"lt":return"<";case"gt":return">";case"quot":return'"';default:return"#"!=_.charAt(0)||(_=+("0"+_.substr(1)),isNaN(_))?h:String.fromCharCode(_)}})},goog.string.HTML_ENTITY_PATTERN_=/&([^;\s<&]+);?/g,goog.string.whitespaceEscape=function(l,h){return goog.string.newLineToBr(l.replace(/  /g," &#160;"),h)},goog.string.preserveSpaces=function(l){return l.replace(/(^|[\n ]) /g,"$1"+goog.string.Unicode.NBSP)},goog.string.stripQuotes=function(l,h){for(var _=h.length,y=0;y<_;y++){var w=1==_?h:h.charAt(y);if(l.charAt(0)==w&&l.charAt(l.length-1)==w)return l.substring(1,l.length-1)}return l},goog.string.truncate=function(l,h,_){return _&&(l=goog.string.unescapeEntities(l)),l.length>h&&(l=l.substring(0,h-3)+"..."),_&&(l=goog.string.htmlEscape(l)),l},goog.string.truncateMiddle=function(l,h,_,y){if(_&&(l=goog.string.unescapeEntities(l)),y&&l.length>h){y>h&&(y=h);var w=l.length-y;l=l.substring(0,h-y)+"..."+l.substring(w)}else l.length>h&&(y=Math.floor(h/2),w=l.length-y,l=l.substring(0,y+h%2)+"..."+l.substring(w));return _&&(l=goog.string.htmlEscape(l)),l},goog.string.specialEscapeChars_={"\0":"\\0","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\x0B",'"':'\\"',"\\":"\\\\","<":"\\u003C"},goog.string.jsEscapeCache_={"'":"\\'"},goog.string.quote=function(l){l=String(l);for(var h=['"'],_=0;_<l.length;_++){var y=l.charAt(_),w=y.charCodeAt(0);h[_+1]=goog.string.specialEscapeChars_[y]||(31<w&&127>w?y:goog.string.escapeChar(y))}return h.push('"'),h.join("")},goog.string.escapeString=function(l){for(var h=[],_=0;_<l.length;_++)h[_]=goog.string.escapeChar(l.charAt(_));return h.join("")},goog.string.escapeChar=function(l){if(l in goog.string.jsEscapeCache_)return goog.string.jsEscapeCache_[l];if(l in goog.string.specialEscapeChars_)return goog.string.jsEscapeCache_[l]=goog.string.specialEscapeChars_[l];var h=l.charCodeAt(0);if(31<h&&127>h)var _=l;else 256>h?(_="\\x",(16>h||256<h)&&(_+="0")):(_="\\u",4096>h&&(_+="0")),_+=h.toString(16).toUpperCase();return goog.string.jsEscapeCache_[l]=_},goog.string.contains=goog.string.internal.contains,goog.string.caseInsensitiveContains=goog.string.internal.caseInsensitiveContains,goog.string.countOf=function(l,h){return l&&h?l.split(h).length-1:0},goog.string.removeAt=function(l,h,_){var y=l;return 0<=h&&h<l.length&&0<_&&(y=l.substr(0,h)+l.substr(h+_,l.length-h-_)),y},goog.string.remove=function(l,h){return l.replace(h,"")},goog.string.removeAll=function(l,h){return h=new RegExp(goog.string.regExpEscape(h),"g"),l.replace(h,"")},goog.string.replaceAll=function(l,h,_){return h=new RegExp(goog.string.regExpEscape(h),"g"),l.replace(h,_.replace(/\$/g,"$$$$"))},goog.string.regExpEscape=function(l){return String(l).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},goog.string.repeat=String.prototype.repeat?function(l,h){return l.repeat(h)}:function(l,h){return Array(h+1).join(l)},goog.string.padNumber=function(l,h,_){return-1==(_=(l=void 0!==_?l.toFixed(_):String(l)).indexOf("."))&&(_=l.length),goog.string.repeat("0",Math.max(0,h-_))+l},goog.string.makeSafe=function(l){return null==l?"":String(l)},goog.string.buildString=function(l){return Array.prototype.join.call(arguments,"")},goog.string.getRandomString=function(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^goog.now()).toString(36)},goog.string.compareVersions=goog.string.internal.compareVersions,goog.string.hashCode=function(l){for(var h=0,_=0;_<l.length;++_)h=31*h+l.charCodeAt(_)>>>0;return h},goog.string.uniqueStringCounter_=2147483648*Math.random()|0,goog.string.createUniqueString=function(){return"goog_"+goog.string.uniqueStringCounter_++},goog.string.toNumber=function(l){var h=Number(l);return 0==h&&goog.string.isEmptyOrWhitespace(l)?NaN:h},goog.string.isLowerCamelCase=function(l){return/^[a-z]+([A-Z][a-z]*)*$/.test(l)},goog.string.isUpperCamelCase=function(l){return/^([A-Z][a-z]*)+$/.test(l)},goog.string.toCamelCase=function(l){return String(l).replace(/\-([a-z])/g,function(h,_){return _.toUpperCase()})},goog.string.toSelectorCase=function(l){return String(l).replace(/([A-Z])/g,"-$1").toLowerCase()},goog.string.toTitleCase=function(l,h){return h="string"==typeof h?goog.string.regExpEscape(h):"\\s",l.replace(new RegExp("(^"+(h?"|["+h+"]+":"")+")([a-z])","g"),function(_,y,w){return y+w.toUpperCase()})},goog.string.capitalize=function(l){return String(l.charAt(0)).toUpperCase()+String(l.substr(1)).toLowerCase()},goog.string.parseInt=function(l){return isFinite(l)&&(l=String(l)),"string"==typeof l?/^\s*-?0x/i.test(l)?parseInt(l,16):parseInt(l,10):NaN},goog.string.splitLimit=function(l,h,_){l=l.split(h);for(var y=[];0<_&&l.length;)y.push(l.shift()),_--;return l.length&&y.push(l.join(h)),y},goog.string.lastComponent=function(l,h){if(!h)return l;"string"==typeof h&&(h=[h]);for(var _=-1,y=0;y<h.length;y++)if(""!=h[y]){var w=l.lastIndexOf(h[y]);w>_&&(_=w)}return-1==_?l:l.slice(_+1)},goog.string.editDistance=function(l,h){var _=[],y=[];if(l==h)return 0;if(!l.length||!h.length)return Math.max(l.length,h.length);for(var w=0;w<h.length+1;w++)_[w]=w;for(w=0;w<l.length;w++){y[0]=w+1;for(var A=0;A<h.length;A++)y[A+1]=Math.min(y[A]+1,_[A+1]+1,_[A]+ +(l[w]!=h[A]));for(A=0;A<_.length;A++)_[A]=y[A]}return y[h.length]},goog.proto2={},goog.proto2.Descriptor=function(l,h,_){for(this.messageType_=l,this.name_=h.name||null,this.fullName_=h.fullName||null,this.containingType_=h.containingType,this.fields_={},l=0;l<_.length;l++)this.fields_[(h=_[l]).getTag()]=h},goog.proto2.Descriptor.prototype.getName=function(){return this.name_},goog.proto2.Descriptor.prototype.getFullName=function(){return this.fullName_},goog.proto2.Descriptor.prototype.getContainingType=function(){return this.containingType_?this.containingType_.getDescriptor():null},goog.proto2.Descriptor.prototype.getFields=function(){var l=goog.object.getValues(this.fields_);return module$contents$goog$array_sort(l,function(h,_){return h.getTag()-_.getTag()}),l},goog.proto2.Descriptor.prototype.getFieldsMap=function(){return this.fields_},goog.proto2.Descriptor.prototype.findFieldByName=function(l){return goog.object.findValue(this.fields_,function(h,_,y){return h.getName()==l})||null},goog.proto2.Descriptor.prototype.findFieldByTag=function(l){return goog.asserts.assert(goog.string.isNumeric(l)),this.fields_[parseInt(l,10)]||null},goog.proto2.Descriptor.prototype.createMessageInstance=function(){return new this.messageType_},goog.proto2.FieldDescriptor=function(l,h,_){switch(this.parent_=l,goog.asserts.assert(goog.string.isNumeric(h)),this.tag_=h,this.name_=_.name,this.isPacked_=!!_.packed,this.isRepeated_=!!_.repeated,this.isRequired_=!!_.required,this.fieldType_=_.fieldType,this.nativeType_=_.type,this.deserializationConversionPermitted_=!1,this.fieldType_){case goog.proto2.FieldDescriptor.FieldType.INT64:case goog.proto2.FieldDescriptor.FieldType.UINT64:case goog.proto2.FieldDescriptor.FieldType.FIXED64:case goog.proto2.FieldDescriptor.FieldType.SFIXED64:case goog.proto2.FieldDescriptor.FieldType.SINT64:case goog.proto2.FieldDescriptor.FieldType.FLOAT:case goog.proto2.FieldDescriptor.FieldType.DOUBLE:this.deserializationConversionPermitted_=!0}this.defaultValue_=_.defaultValue},goog.proto2.FieldDescriptor.FieldType={DOUBLE:1,FLOAT:2,INT64:3,UINT64:4,INT32:5,FIXED64:6,FIXED32:7,BOOL:8,STRING:9,GROUP:10,MESSAGE:11,BYTES:12,UINT32:13,ENUM:14,SFIXED32:15,SFIXED64:16,SINT32:17,SINT64:18},goog.proto2.FieldDescriptor.prototype.getTag=function(){return this.tag_},goog.proto2.FieldDescriptor.prototype.getContainingType=function(){return this.parent_.prototype.getDescriptor()},goog.proto2.FieldDescriptor.prototype.getName=function(){return this.name_},goog.proto2.FieldDescriptor.prototype.getDefaultValue=function(){if(void 0===this.defaultValue_){var l=this.nativeType_;if(l===Boolean)this.defaultValue_=!1;else if(l===Number)this.defaultValue_=0;else{if(l!==String)return new l;this.defaultValue_=this.deserializationConversionPermitted_?"0":""}}return this.defaultValue_},goog.proto2.FieldDescriptor.prototype.getFieldType=function(){return this.fieldType_},goog.proto2.FieldDescriptor.prototype.getNativeType=function(){return this.nativeType_},goog.proto2.FieldDescriptor.prototype.deserializationConversionPermitted=function(){return this.deserializationConversionPermitted_},goog.proto2.FieldDescriptor.prototype.getFieldMessageType=function(){return this.nativeType_.prototype.getDescriptor()},goog.proto2.FieldDescriptor.prototype.isCompositeType=function(){return this.fieldType_==goog.proto2.FieldDescriptor.FieldType.MESSAGE||this.fieldType_==goog.proto2.FieldDescriptor.FieldType.GROUP},goog.proto2.FieldDescriptor.prototype.isPacked=function(){return this.isPacked_},goog.proto2.FieldDescriptor.prototype.isRepeated=function(){return this.isRepeated_},goog.proto2.FieldDescriptor.prototype.isRequired=function(){return this.isRequired_},goog.proto2.FieldDescriptor.prototype.isOptional=function(){return!this.isRepeated_&&!this.isRequired_},goog.proto2.Message=function(){this.values_={},this.fields_=this.getDescriptor().getFieldsMap(),this.deserializedFields_=this.lazyDeserializer_=null},goog.proto2.Message.FieldType={DOUBLE:1,FLOAT:2,INT64:3,UINT64:4,INT32:5,FIXED64:6,FIXED32:7,BOOL:8,STRING:9,GROUP:10,MESSAGE:11,BYTES:12,UINT32:13,ENUM:14,SFIXED32:15,SFIXED64:16,SINT32:17,SINT64:18},goog.proto2.Message.prototype.initializeForLazyDeserializer=function(l,h){this.lazyDeserializer_=l,this.values_=h,this.deserializedFields_={}},goog.proto2.Message.prototype.setUnknown=function(l,h){goog.asserts.assert(!this.fields_[l],"Field is not unknown in this message"),goog.asserts.assert(1<=l,"Tag "+l+' has value "'+h+'" in descriptor '+this.getDescriptor().getName()),goog.asserts.assert(null!==h,"Value cannot be null"),this.values_[l]=h,this.deserializedFields_&&delete this.deserializedFields_[l]},goog.proto2.Message.prototype.forEachUnknown=function(l,h){for(var _ in h=h||this,this.values_){var y=Number(_);this.fields_[y]||l.call(h,y,this.values_[_])}},goog.proto2.Message.prototype.getDescriptor=goog.abstractMethod,goog.proto2.Message.prototype.has=function(l){return goog.asserts.assert(l.getContainingType()==this.getDescriptor(),"The current message does not contain the given field"),this.has$Value(l.getTag())},goog.proto2.Message.prototype.arrayOf=function(l){return goog.asserts.assert(l.getContainingType()==this.getDescriptor(),"The current message does not contain the given field"),this.array$Values(l.getTag())},goog.proto2.Message.prototype.countOf=function(l){return goog.asserts.assert(l.getContainingType()==this.getDescriptor(),"The current message does not contain the given field"),this.count$Values(l.getTag())},goog.proto2.Message.prototype.get=function(l,h){return goog.asserts.assert(l.getContainingType()==this.getDescriptor(),"The current message does not contain the given field"),this.get$Value(l.getTag(),h)},goog.proto2.Message.prototype.getOrDefault=function(l,h){return goog.asserts.assert(l.getContainingType()==this.getDescriptor(),"The current message does not contain the given field"),this.get$ValueOrDefault(l.getTag(),h)},goog.proto2.Message.prototype.set=function(l,h){goog.asserts.assert(l.getContainingType()==this.getDescriptor(),"The current message does not contain the given field"),this.set$Value(l.getTag(),h)},goog.proto2.Message.prototype.add=function(l,h){goog.asserts.assert(l.getContainingType()==this.getDescriptor(),"The current message does not contain the given field"),this.add$Value(l.getTag(),h)},goog.proto2.Message.prototype.clear=function(l){goog.asserts.assert(l.getContainingType()==this.getDescriptor(),"The current message does not contain the given field"),this.clear$Field(l.getTag())},goog.proto2.Message.prototype.equals=function(l){if(!l||this.constructor!=l.constructor)return!1;for(var h=this.getDescriptor().getFields(),_=0;_<h.length;_++){var y=h[_],w=y.getTag();if(this.has$Value(w)!=l.has$Value(w))return!1;if(this.has$Value(w)){var A=y.isCompositeType(),O=this.getValueForTag_(w);if(w=l.getValueForTag_(w),y.isRepeated()){if(O.length!=w.length)return!1;for(y=0;y<O.length;y++){var j=O[y],Z=w[y];if(A?!j.equals(Z):j!=Z)return!1}}else if(A?!O.equals(w):O!=w)return!1}}return!0},goog.proto2.Message.prototype.copyFrom=function(l){goog.asserts.assert(this.constructor==l.constructor,"The source message must have the same type."),this!=l&&(this.values_={},this.deserializedFields_&&(this.deserializedFields_={}),this.mergeFrom(l))},goog.proto2.Message.prototype.mergeFrom=function(l){goog.asserts.assert(this.constructor==l.constructor,"The source message must have the same type.");for(var h=this.getDescriptor().getFields(),_=0;_<h.length;_++){var y=h[_],w=y.getTag();if(l.has$Value(w)){this.deserializedFields_&&delete this.deserializedFields_[y.getTag()];var A=y.isCompositeType();if(y.isRepeated()){y=l.array$Values(w);for(var O=0;O<y.length;O++)this.add$Value(w,A?y[O].clone():y[O])}else y=l.getValueForTag_(w),A?(A=this.getValueForTag_(w))?A.mergeFrom(y):this.set$Value(w,y.clone()):this.set$Value(w,y)}}},goog.proto2.Message.prototype.clone=function(){var l=new this.constructor;return l.copyFrom(this),l},goog.proto2.Message.prototype.initDefaults=function(l){for(var h=this.getDescriptor().getFields(),_=0;_<h.length;_++){var y=h[_],w=y.getTag(),A=y.isCompositeType();if(this.has$Value(w)||y.isRepeated()||(A?this.values_[w]=new(y.getNativeType()):l&&(this.values_[w]=y.getDefaultValue())),A)if(y.isRepeated())for(y=this.array$Values(w),w=0;w<y.length;w++)y[w].initDefaults(l);else this.get$Value(w).initDefaults(l)}},goog.proto2.Message.prototype.has$Value=function(l){return null!=this.values_[l]},goog.proto2.Message.prototype.getValueForTag_=function(l){var h=this.values_[l];return null==h?null:this.lazyDeserializer_?l in this.deserializedFields_?this.deserializedFields_[l]:(h=this.lazyDeserializer_.deserializeField(this,this.fields_[l],h),this.deserializedFields_[l]=h):h},goog.proto2.Message.prototype.get$Value=function(l,h){var _=this.getValueForTag_(l);return this.fields_[l].isRepeated()?(goog.asserts.assert(0<=(l=h||0)&&l<_.length,"Given index %s is out of bounds.  Repeated field length: %s",l,_.length),_[l]):_},goog.proto2.Message.prototype.get$ValueOrDefault=function(l,h){return this.has$Value(l)?this.get$Value(l,h):this.fields_[l].getDefaultValue()},goog.proto2.Message.prototype.array$Values=function(l){return this.getValueForTag_(l)||[]},goog.proto2.Message.prototype.count$Values=function(l){return this.fields_[l].isRepeated()?this.has$Value(l)?this.values_[l].length:0:this.has$Value(l)?1:0},goog.proto2.Message.prototype.set$Value=function(l,h){goog.asserts.ENABLE_ASSERTS&&this.checkFieldType_(this.fields_[l],h),this.values_[l]=h,this.deserializedFields_&&(this.deserializedFields_[l]=h)},goog.proto2.Message.prototype.add$Value=function(l,h){goog.asserts.ENABLE_ASSERTS&&this.checkFieldType_(this.fields_[l],h),this.values_[l]||(this.values_[l]=[]),this.values_[l].push(h),this.deserializedFields_&&delete this.deserializedFields_[l]},goog.proto2.Message.prototype.checkFieldType_=function(l,h){l.getFieldType()==goog.proto2.FieldDescriptor.FieldType.ENUM?goog.asserts.assertNumber(h):goog.asserts.assert(Object(h).constructor==l.getNativeType())},goog.proto2.Message.prototype.clear$Field=function(l){delete this.values_[l],this.deserializedFields_&&delete this.deserializedFields_[l]},goog.proto2.Message.createDescriptor=function(l,h){var w,_=[],y=h[0];for(w in h)0!=w&&_.push(new goog.proto2.FieldDescriptor(l,w,h[w]));return new goog.proto2.Descriptor(l,y,_)},goog.proto2.Serializer=function(){},goog.proto2.Serializer.DECODE_SYMBOLIC_ENUMS=!1,goog.proto2.Serializer.prototype.serialize=goog.abstractMethod,goog.proto2.Serializer.prototype.getSerializedValue=function(l,h){return l.isCompositeType()?this.serialize(h):"number"!=typeof h||isFinite(h)?h:h.toString()},goog.proto2.Serializer.prototype.deserialize=function(l,h){return l=l.createMessageInstance(),this.deserializeTo(l,h),goog.asserts.assert(l instanceof goog.proto2.Message),l},goog.proto2.Serializer.prototype.deserializeTo=goog.abstractMethod,goog.proto2.Serializer.prototype.getDeserializedValue=function(l,h){if(l.isCompositeType())return h instanceof goog.proto2.Message?h:this.deserialize(l.getFieldMessageType(),h);if(l.getFieldType()==goog.proto2.FieldDescriptor.FieldType.ENUM)return goog.proto2.Serializer.DECODE_SYMBOLIC_ENUMS&&"string"==typeof h&&(l=l.getNativeType()).hasOwnProperty(h)?l[h]:"string"==typeof h&&goog.proto2.Serializer.INTEGER_REGEX.test(h)&&0<(l=Number(h))?l:h;if(!l.deserializationConversionPermitted())return h;if((l=l.getNativeType())===String){if("number"==typeof h)return String(h)}else if(l===Number&&"string"==typeof h&&("Infinity"===h||"-Infinity"===h||"NaN"===h||goog.proto2.Serializer.INTEGER_REGEX.test(h)))return Number(h);return h},goog.proto2.Serializer.INTEGER_REGEX=/^-?[0-9]+$/,goog.proto2.LazyDeserializer=function(){},goog.inherits(goog.proto2.LazyDeserializer,goog.proto2.Serializer),goog.proto2.LazyDeserializer.prototype.deserialize=function(l,h){return(l=l.createMessageInstance()).initializeForLazyDeserializer(this,h),goog.asserts.assert(l instanceof goog.proto2.Message),l},goog.proto2.LazyDeserializer.prototype.deserializeTo=function(l,h){throw Error("Unimplemented")},goog.proto2.LazyDeserializer.prototype.deserializeField=goog.abstractMethod,goog.proto2.PbLiteSerializer=function(){},goog.inherits(goog.proto2.PbLiteSerializer,goog.proto2.LazyDeserializer),goog.proto2.PbLiteSerializer.prototype.zeroIndexing_=!1,goog.proto2.PbLiteSerializer.prototype.setZeroIndexed=function(l){this.zeroIndexing_=l},goog.proto2.PbLiteSerializer.prototype.serialize=function(l){for(var h=l.getDescriptor().getFields(),_=[],y=this.zeroIndexing_,w=0;w<h.length;w++){var A=h[w];if(l.has(A)){var O=A.getTag();if(O=y?O-1:O,A.isRepeated()){_[O]=[];for(var j=0;j<l.countOf(A);j++)_[O][j]=this.getSerializedValue(A,l.get(A,j))}else _[O]=this.getSerializedValue(A,l.get(A))}}return l.forEachUnknown(function(Z,K){_[y?Z-1:Z]=K}),_},goog.proto2.PbLiteSerializer.prototype.deserializeField=function(l,h,_){if(null==_)return _;if(h.isRepeated()){l=[],goog.asserts.assert(Array.isArray(_),"Value must be array: %s",_);for(var y=0;y<_.length;y++)l[y]=this.getDeserializedValue(h,_[y]);return l}return this.getDeserializedValue(h,_)},goog.proto2.PbLiteSerializer.prototype.getSerializedValue=function(l,h){return l.getFieldType()==goog.proto2.FieldDescriptor.FieldType.BOOL?h?1:0:goog.proto2.Serializer.prototype.getSerializedValue.apply(this,arguments)},goog.proto2.PbLiteSerializer.prototype.getDeserializedValue=function(l,h){return l.getFieldType()==goog.proto2.FieldDescriptor.FieldType.BOOL?(goog.asserts.assert("number"==typeof h||"boolean"==typeof h,"Value is expected to be a number or boolean"),!!h):goog.proto2.Serializer.prototype.getDeserializedValue.apply(this,arguments)},goog.proto2.PbLiteSerializer.prototype.deserialize=function(l,h){var _=h;if(this.zeroIndexing_)for(var y in _=[],h)_[parseInt(y,10)+1]=h[y];return goog.proto2.PbLiteSerializer.superClass_.deserialize.call(this,l,_)},goog.string.StringBuffer=function(l,h){null!=l&&this.append.apply(this,arguments)},goog.string.StringBuffer.prototype.buffer_="",goog.string.StringBuffer.prototype.set=function(l){this.buffer_=""+l},goog.string.StringBuffer.prototype.append=function(l,h,_){if(this.buffer_+=String(l),null!=h)for(var y=1;y<arguments.length;y++)this.buffer_+=arguments[y];return this},goog.string.StringBuffer.prototype.clear=function(){this.buffer_=""},goog.string.StringBuffer.prototype.getLength=function(){return this.buffer_.length},goog.string.StringBuffer.prototype.toString=function(){return this.buffer_};var i18n={phonenumbers:{}};i18n.phonenumbers.NumberFormat=function(){goog.proto2.Message.call(this)},goog.inherits(i18n.phonenumbers.NumberFormat,goog.proto2.Message),i18n.phonenumbers.NumberFormat.descriptor_=null,i18n.phonenumbers.NumberFormat.prototype.getPattern=function(){return this.get$Value(1)},i18n.phonenumbers.NumberFormat.prototype.getPatternOrDefault=function(){return this.get$ValueOrDefault(1)},i18n.phonenumbers.NumberFormat.prototype.setPattern=function(l){this.set$Value(1,l)},i18n.phonenumbers.NumberFormat.prototype.hasPattern=function(){return this.has$Value(1)},i18n.phonenumbers.NumberFormat.prototype.patternCount=function(){return this.count$Values(1)},i18n.phonenumbers.NumberFormat.prototype.clearPattern=function(){this.clear$Field(1)},i18n.phonenumbers.NumberFormat.prototype.getFormat=function(){return this.get$Value(2)},i18n.phonenumbers.NumberFormat.prototype.getFormatOrDefault=function(){return this.get$ValueOrDefault(2)},i18n.phonenumbers.NumberFormat.prototype.setFormat=function(l){this.set$Value(2,l)},i18n.phonenumbers.NumberFormat.prototype.hasFormat=function(){return this.has$Value(2)},i18n.phonenumbers.NumberFormat.prototype.formatCount=function(){return this.count$Values(2)},i18n.phonenumbers.NumberFormat.prototype.clearFormat=function(){this.clear$Field(2)},i18n.phonenumbers.NumberFormat.prototype.getLeadingDigitsPattern=function(l){return this.get$Value(3,l)},i18n.phonenumbers.NumberFormat.prototype.getLeadingDigitsPatternOrDefault=function(l){return this.get$ValueOrDefault(3,l)},i18n.phonenumbers.NumberFormat.prototype.addLeadingDigitsPattern=function(l){this.add$Value(3,l)},i18n.phonenumbers.NumberFormat.prototype.leadingDigitsPatternArray=function(){return this.array$Values(3)},i18n.phonenumbers.NumberFormat.prototype.hasLeadingDigitsPattern=function(){return this.has$Value(3)},i18n.phonenumbers.NumberFormat.prototype.leadingDigitsPatternCount=function(){return this.count$Values(3)},i18n.phonenumbers.NumberFormat.prototype.clearLeadingDigitsPattern=function(){this.clear$Field(3)},i18n.phonenumbers.NumberFormat.prototype.getNationalPrefixFormattingRule=function(){return this.get$Value(4)},i18n.phonenumbers.NumberFormat.prototype.getNationalPrefixFormattingRuleOrDefault=function(){return this.get$ValueOrDefault(4)},i18n.phonenumbers.NumberFormat.prototype.setNationalPrefixFormattingRule=function(l){this.set$Value(4,l)},i18n.phonenumbers.NumberFormat.prototype.hasNationalPrefixFormattingRule=function(){return this.has$Value(4)},i18n.phonenumbers.NumberFormat.prototype.nationalPrefixFormattingRuleCount=function(){return this.count$Values(4)},i18n.phonenumbers.NumberFormat.prototype.clearNationalPrefixFormattingRule=function(){this.clear$Field(4)},i18n.phonenumbers.NumberFormat.prototype.getNationalPrefixOptionalWhenFormatting=function(){return this.get$Value(6)},i18n.phonenumbers.NumberFormat.prototype.getNationalPrefixOptionalWhenFormattingOrDefault=function(){return this.get$ValueOrDefault(6)},i18n.phonenumbers.NumberFormat.prototype.setNationalPrefixOptionalWhenFormatting=function(l){this.set$Value(6,l)},i18n.phonenumbers.NumberFormat.prototype.hasNationalPrefixOptionalWhenFormatting=function(){return this.has$Value(6)},i18n.phonenumbers.NumberFormat.prototype.nationalPrefixOptionalWhenFormattingCount=function(){return this.count$Values(6)},i18n.phonenumbers.NumberFormat.prototype.clearNationalPrefixOptionalWhenFormatting=function(){this.clear$Field(6)},i18n.phonenumbers.NumberFormat.prototype.getDomesticCarrierCodeFormattingRule=function(){return this.get$Value(5)},i18n.phonenumbers.NumberFormat.prototype.getDomesticCarrierCodeFormattingRuleOrDefault=function(){return this.get$ValueOrDefault(5)},i18n.phonenumbers.NumberFormat.prototype.setDomesticCarrierCodeFormattingRule=function(l){this.set$Value(5,l)},i18n.phonenumbers.NumberFormat.prototype.hasDomesticCarrierCodeFormattingRule=function(){return this.has$Value(5)},i18n.phonenumbers.NumberFormat.prototype.domesticCarrierCodeFormattingRuleCount=function(){return this.count$Values(5)},i18n.phonenumbers.NumberFormat.prototype.clearDomesticCarrierCodeFormattingRule=function(){this.clear$Field(5)},i18n.phonenumbers.PhoneNumberDesc=function(){goog.proto2.Message.call(this)},goog.inherits(i18n.phonenumbers.PhoneNumberDesc,goog.proto2.Message),i18n.phonenumbers.PhoneNumberDesc.descriptor_=null,i18n.phonenumbers.PhoneNumberDesc.prototype.getNationalNumberPattern=function(){return this.get$Value(2)},i18n.phonenumbers.PhoneNumberDesc.prototype.getNationalNumberPatternOrDefault=function(){return this.get$ValueOrDefault(2)},i18n.phonenumbers.PhoneNumberDesc.prototype.setNationalNumberPattern=function(l){this.set$Value(2,l)},i18n.phonenumbers.PhoneNumberDesc.prototype.hasNationalNumberPattern=function(){return this.has$Value(2)},i18n.phonenumbers.PhoneNumberDesc.prototype.nationalNumberPatternCount=function(){return this.count$Values(2)},i18n.phonenumbers.PhoneNumberDesc.prototype.clearNationalNumberPattern=function(){this.clear$Field(2)},i18n.phonenumbers.PhoneNumberDesc.prototype.getPossibleLength=function(l){return this.get$Value(9,l)},i18n.phonenumbers.PhoneNumberDesc.prototype.getPossibleLengthOrDefault=function(l){return this.get$ValueOrDefault(9,l)},i18n.phonenumbers.PhoneNumberDesc.prototype.addPossibleLength=function(l){this.add$Value(9,l)},i18n.phonenumbers.PhoneNumberDesc.prototype.possibleLengthArray=function(){return this.array$Values(9)},i18n.phonenumbers.PhoneNumberDesc.prototype.hasPossibleLength=function(){return this.has$Value(9)},i18n.phonenumbers.PhoneNumberDesc.prototype.possibleLengthCount=function(){return this.count$Values(9)},i18n.phonenumbers.PhoneNumberDesc.prototype.clearPossibleLength=function(){this.clear$Field(9)},i18n.phonenumbers.PhoneNumberDesc.prototype.getPossibleLengthLocalOnly=function(l){return this.get$Value(10,l)},i18n.phonenumbers.PhoneNumberDesc.prototype.getPossibleLengthLocalOnlyOrDefault=function(l){return this.get$ValueOrDefault(10,l)},i18n.phonenumbers.PhoneNumberDesc.prototype.addPossibleLengthLocalOnly=function(l){this.add$Value(10,l)},i18n.phonenumbers.PhoneNumberDesc.prototype.possibleLengthLocalOnlyArray=function(){return this.array$Values(10)},i18n.phonenumbers.PhoneNumberDesc.prototype.hasPossibleLengthLocalOnly=function(){return this.has$Value(10)},i18n.phonenumbers.PhoneNumberDesc.prototype.possibleLengthLocalOnlyCount=function(){return this.count$Values(10)},i18n.phonenumbers.PhoneNumberDesc.prototype.clearPossibleLengthLocalOnly=function(){this.clear$Field(10)},i18n.phonenumbers.PhoneNumberDesc.prototype.getExampleNumber=function(){return this.get$Value(6)},i18n.phonenumbers.PhoneNumberDesc.prototype.getExampleNumberOrDefault=function(){return this.get$ValueOrDefault(6)},i18n.phonenumbers.PhoneNumberDesc.prototype.setExampleNumber=function(l){this.set$Value(6,l)},i18n.phonenumbers.PhoneNumberDesc.prototype.hasExampleNumber=function(){return this.has$Value(6)},i18n.phonenumbers.PhoneNumberDesc.prototype.exampleNumberCount=function(){return this.count$Values(6)},i18n.phonenumbers.PhoneNumberDesc.prototype.clearExampleNumber=function(){this.clear$Field(6)},i18n.phonenumbers.PhoneMetadata=function(){goog.proto2.Message.call(this)},goog.inherits(i18n.phonenumbers.PhoneMetadata,goog.proto2.Message),i18n.phonenumbers.PhoneMetadata.descriptor_=null,i18n.phonenumbers.PhoneMetadata.prototype.getGeneralDesc=function(){return this.get$Value(1)},i18n.phonenumbers.PhoneMetadata.prototype.getGeneralDescOrDefault=function(){return this.get$ValueOrDefault(1)},i18n.phonenumbers.PhoneMetadata.prototype.setGeneralDesc=function(l){this.set$Value(1,l)},i18n.phonenumbers.PhoneMetadata.prototype.hasGeneralDesc=function(){return this.has$Value(1)},i18n.phonenumbers.PhoneMetadata.prototype.generalDescCount=function(){return this.count$Values(1)},i18n.phonenumbers.PhoneMetadata.prototype.clearGeneralDesc=function(){this.clear$Field(1)},i18n.phonenumbers.PhoneMetadata.prototype.getFixedLine=function(){return this.get$Value(2)},i18n.phonenumbers.PhoneMetadata.prototype.getFixedLineOrDefault=function(){return this.get$ValueOrDefault(2)},i18n.phonenumbers.PhoneMetadata.prototype.setFixedLine=function(l){this.set$Value(2,l)},i18n.phonenumbers.PhoneMetadata.prototype.hasFixedLine=function(){return this.has$Value(2)},i18n.phonenumbers.PhoneMetadata.prototype.fixedLineCount=function(){return this.count$Values(2)},i18n.phonenumbers.PhoneMetadata.prototype.clearFixedLine=function(){this.clear$Field(2)},i18n.phonenumbers.PhoneMetadata.prototype.getMobile=function(){return this.get$Value(3)},i18n.phonenumbers.PhoneMetadata.prototype.getMobileOrDefault=function(){return this.get$ValueOrDefault(3)},i18n.phonenumbers.PhoneMetadata.prototype.setMobile=function(l){this.set$Value(3,l)},i18n.phonenumbers.PhoneMetadata.prototype.hasMobile=function(){return this.has$Value(3)},i18n.phonenumbers.PhoneMetadata.prototype.mobileCount=function(){return this.count$Values(3)},i18n.phonenumbers.PhoneMetadata.prototype.clearMobile=function(){this.clear$Field(3)},i18n.phonenumbers.PhoneMetadata.prototype.getTollFree=function(){return this.get$Value(4)},i18n.phonenumbers.PhoneMetadata.prototype.getTollFreeOrDefault=function(){return this.get$ValueOrDefault(4)},i18n.phonenumbers.PhoneMetadata.prototype.setTollFree=function(l){this.set$Value(4,l)},i18n.phonenumbers.PhoneMetadata.prototype.hasTollFree=function(){return this.has$Value(4)},i18n.phonenumbers.PhoneMetadata.prototype.tollFreeCount=function(){return this.count$Values(4)},i18n.phonenumbers.PhoneMetadata.prototype.clearTollFree=function(){this.clear$Field(4)},i18n.phonenumbers.PhoneMetadata.prototype.getPremiumRate=function(){return this.get$Value(5)},i18n.phonenumbers.PhoneMetadata.prototype.getPremiumRateOrDefault=function(){return this.get$ValueOrDefault(5)},i18n.phonenumbers.PhoneMetadata.prototype.setPremiumRate=function(l){this.set$Value(5,l)},i18n.phonenumbers.PhoneMetadata.prototype.hasPremiumRate=function(){return this.has$Value(5)},i18n.phonenumbers.PhoneMetadata.prototype.premiumRateCount=function(){return this.count$Values(5)},i18n.phonenumbers.PhoneMetadata.prototype.clearPremiumRate=function(){this.clear$Field(5)},i18n.phonenumbers.PhoneMetadata.prototype.getSharedCost=function(){return this.get$Value(6)},i18n.phonenumbers.PhoneMetadata.prototype.getSharedCostOrDefault=function(){return this.get$ValueOrDefault(6)},i18n.phonenumbers.PhoneMetadata.prototype.setSharedCost=function(l){this.set$Value(6,l)},i18n.phonenumbers.PhoneMetadata.prototype.hasSharedCost=function(){return this.has$Value(6)},i18n.phonenumbers.PhoneMetadata.prototype.sharedCostCount=function(){return this.count$Values(6)},i18n.phonenumbers.PhoneMetadata.prototype.clearSharedCost=function(){this.clear$Field(6)},i18n.phonenumbers.PhoneMetadata.prototype.getPersonalNumber=function(){return this.get$Value(7)},i18n.phonenumbers.PhoneMetadata.prototype.getPersonalNumberOrDefault=function(){return this.get$ValueOrDefault(7)},i18n.phonenumbers.PhoneMetadata.prototype.setPersonalNumber=function(l){this.set$Value(7,l)},i18n.phonenumbers.PhoneMetadata.prototype.hasPersonalNumber=function(){return this.has$Value(7)},i18n.phonenumbers.PhoneMetadata.prototype.personalNumberCount=function(){return this.count$Values(7)},i18n.phonenumbers.PhoneMetadata.prototype.clearPersonalNumber=function(){this.clear$Field(7)},i18n.phonenumbers.PhoneMetadata.prototype.getVoip=function(){return this.get$Value(8)},i18n.phonenumbers.PhoneMetadata.prototype.getVoipOrDefault=function(){return this.get$ValueOrDefault(8)},i18n.phonenumbers.PhoneMetadata.prototype.setVoip=function(l){this.set$Value(8,l)},i18n.phonenumbers.PhoneMetadata.prototype.hasVoip=function(){return this.has$Value(8)},i18n.phonenumbers.PhoneMetadata.prototype.voipCount=function(){return this.count$Values(8)},i18n.phonenumbers.PhoneMetadata.prototype.clearVoip=function(){this.clear$Field(8)},i18n.phonenumbers.PhoneMetadata.prototype.getPager=function(){return this.get$Value(21)},i18n.phonenumbers.PhoneMetadata.prototype.getPagerOrDefault=function(){return this.get$ValueOrDefault(21)},i18n.phonenumbers.PhoneMetadata.prototype.setPager=function(l){this.set$Value(21,l)},i18n.phonenumbers.PhoneMetadata.prototype.hasPager=function(){return this.has$Value(21)},i18n.phonenumbers.PhoneMetadata.prototype.pagerCount=function(){return this.count$Values(21)},i18n.phonenumbers.PhoneMetadata.prototype.clearPager=function(){this.clear$Field(21)},i18n.phonenumbers.PhoneMetadata.prototype.getUan=function(){return this.get$Value(25)},i18n.phonenumbers.PhoneMetadata.prototype.getUanOrDefault=function(){return this.get$ValueOrDefault(25)},i18n.phonenumbers.PhoneMetadata.prototype.setUan=function(l){this.set$Value(25,l)},i18n.phonenumbers.PhoneMetadata.prototype.hasUan=function(){return this.has$Value(25)},i18n.phonenumbers.PhoneMetadata.prototype.uanCount=function(){return this.count$Values(25)},i18n.phonenumbers.PhoneMetadata.prototype.clearUan=function(){this.clear$Field(25)},i18n.phonenumbers.PhoneMetadata.prototype.getEmergency=function(){return this.get$Value(27)},i18n.phonenumbers.PhoneMetadata.prototype.getEmergencyOrDefault=function(){return this.get$ValueOrDefault(27)},i18n.phonenumbers.PhoneMetadata.prototype.setEmergency=function(l){this.set$Value(27,l)},i18n.phonenumbers.PhoneMetadata.prototype.hasEmergency=function(){return this.has$Value(27)},i18n.phonenumbers.PhoneMetadata.prototype.emergencyCount=function(){return this.count$Values(27)},i18n.phonenumbers.PhoneMetadata.prototype.clearEmergency=function(){this.clear$Field(27)},i18n.phonenumbers.PhoneMetadata.prototype.getVoicemail=function(){return this.get$Value(28)},i18n.phonenumbers.PhoneMetadata.prototype.getVoicemailOrDefault=function(){return this.get$ValueOrDefault(28)},i18n.phonenumbers.PhoneMetadata.prototype.setVoicemail=function(l){this.set$Value(28,l)},i18n.phonenumbers.PhoneMetadata.prototype.hasVoicemail=function(){return this.has$Value(28)},i18n.phonenumbers.PhoneMetadata.prototype.voicemailCount=function(){return this.count$Values(28)},i18n.phonenumbers.PhoneMetadata.prototype.clearVoicemail=function(){this.clear$Field(28)},i18n.phonenumbers.PhoneMetadata.prototype.getShortCode=function(){return this.get$Value(29)},i18n.phonenumbers.PhoneMetadata.prototype.getShortCodeOrDefault=function(){return this.get$ValueOrDefault(29)},i18n.phonenumbers.PhoneMetadata.prototype.setShortCode=function(l){this.set$Value(29,l)},i18n.phonenumbers.PhoneMetadata.prototype.hasShortCode=function(){return this.has$Value(29)},i18n.phonenumbers.PhoneMetadata.prototype.shortCodeCount=function(){return this.count$Values(29)},i18n.phonenumbers.PhoneMetadata.prototype.clearShortCode=function(){this.clear$Field(29)},i18n.phonenumbers.PhoneMetadata.prototype.getStandardRate=function(){return this.get$Value(30)},i18n.phonenumbers.PhoneMetadata.prototype.getStandardRateOrDefault=function(){return this.get$ValueOrDefault(30)},i18n.phonenumbers.PhoneMetadata.prototype.setStandardRate=function(l){this.set$Value(30,l)},i18n.phonenumbers.PhoneMetadata.prototype.hasStandardRate=function(){return this.has$Value(30)},i18n.phonenumbers.PhoneMetadata.prototype.standardRateCount=function(){return this.count$Values(30)},i18n.phonenumbers.PhoneMetadata.prototype.clearStandardRate=function(){this.clear$Field(30)},i18n.phonenumbers.PhoneMetadata.prototype.getCarrierSpecific=function(){return this.get$Value(31)},i18n.phonenumbers.PhoneMetadata.prototype.getCarrierSpecificOrDefault=function(){return this.get$ValueOrDefault(31)},i18n.phonenumbers.PhoneMetadata.prototype.setCarrierSpecific=function(l){this.set$Value(31,l)},i18n.phonenumbers.PhoneMetadata.prototype.hasCarrierSpecific=function(){return this.has$Value(31)},i18n.phonenumbers.PhoneMetadata.prototype.carrierSpecificCount=function(){return this.count$Values(31)},i18n.phonenumbers.PhoneMetadata.prototype.clearCarrierSpecific=function(){this.clear$Field(31)},i18n.phonenumbers.PhoneMetadata.prototype.getSmsServices=function(){return this.get$Value(33)},i18n.phonenumbers.PhoneMetadata.prototype.getSmsServicesOrDefault=function(){return this.get$ValueOrDefault(33)},i18n.phonenumbers.PhoneMetadata.prototype.setSmsServices=function(l){this.set$Value(33,l)},i18n.phonenumbers.PhoneMetadata.prototype.hasSmsServices=function(){return this.has$Value(33)},i18n.phonenumbers.PhoneMetadata.prototype.smsServicesCount=function(){return this.count$Values(33)},i18n.phonenumbers.PhoneMetadata.prototype.clearSmsServices=function(){this.clear$Field(33)},i18n.phonenumbers.PhoneMetadata.prototype.getNoInternationalDialling=function(){return this.get$Value(24)},i18n.phonenumbers.PhoneMetadata.prototype.getNoInternationalDiallingOrDefault=function(){return this.get$ValueOrDefault(24)},i18n.phonenumbers.PhoneMetadata.prototype.setNoInternationalDialling=function(l){this.set$Value(24,l)},i18n.phonenumbers.PhoneMetadata.prototype.hasNoInternationalDialling=function(){return this.has$Value(24)},i18n.phonenumbers.PhoneMetadata.prototype.noInternationalDiallingCount=function(){return this.count$Values(24)},i18n.phonenumbers.PhoneMetadata.prototype.clearNoInternationalDialling=function(){this.clear$Field(24)},i18n.phonenumbers.PhoneMetadata.prototype.getId=function(){return this.get$Value(9)},i18n.phonenumbers.PhoneMetadata.prototype.getIdOrDefault=function(){return this.get$ValueOrDefault(9)},i18n.phonenumbers.PhoneMetadata.prototype.setId=function(l){this.set$Value(9,l)},i18n.phonenumbers.PhoneMetadata.prototype.hasId=function(){return this.has$Value(9)},i18n.phonenumbers.PhoneMetadata.prototype.idCount=function(){return this.count$Values(9)},i18n.phonenumbers.PhoneMetadata.prototype.clearId=function(){this.clear$Field(9)},i18n.phonenumbers.PhoneMetadata.prototype.getCountryCode=function(){return this.get$Value(10)},i18n.phonenumbers.PhoneMetadata.prototype.getCountryCodeOrDefault=function(){return this.get$ValueOrDefault(10)},i18n.phonenumbers.PhoneMetadata.prototype.setCountryCode=function(l){this.set$Value(10,l)},i18n.phonenumbers.PhoneMetadata.prototype.hasCountryCode=function(){return this.has$Value(10)},i18n.phonenumbers.PhoneMetadata.prototype.countryCodeCount=function(){return this.count$Values(10)},i18n.phonenumbers.PhoneMetadata.prototype.clearCountryCode=function(){this.clear$Field(10)},i18n.phonenumbers.PhoneMetadata.prototype.getInternationalPrefix=function(){return this.get$Value(11)},i18n.phonenumbers.PhoneMetadata.prototype.getInternationalPrefixOrDefault=function(){return this.get$ValueOrDefault(11)},i18n.phonenumbers.PhoneMetadata.prototype.setInternationalPrefix=function(l){this.set$Value(11,l)},i18n.phonenumbers.PhoneMetadata.prototype.hasInternationalPrefix=function(){return this.has$Value(11)},i18n.phonenumbers.PhoneMetadata.prototype.internationalPrefixCount=function(){return this.count$Values(11)},i18n.phonenumbers.PhoneMetadata.prototype.clearInternationalPrefix=function(){this.clear$Field(11)},i18n.phonenumbers.PhoneMetadata.prototype.getPreferredInternationalPrefix=function(){return this.get$Value(17)},i18n.phonenumbers.PhoneMetadata.prototype.getPreferredInternationalPrefixOrDefault=function(){return this.get$ValueOrDefault(17)},i18n.phonenumbers.PhoneMetadata.prototype.setPreferredInternationalPrefix=function(l){this.set$Value(17,l)},i18n.phonenumbers.PhoneMetadata.prototype.hasPreferredInternationalPrefix=function(){return this.has$Value(17)},i18n.phonenumbers.PhoneMetadata.prototype.preferredInternationalPrefixCount=function(){return this.count$Values(17)},i18n.phonenumbers.PhoneMetadata.prototype.clearPreferredInternationalPrefix=function(){this.clear$Field(17)},i18n.phonenumbers.PhoneMetadata.prototype.getNationalPrefix=function(){return this.get$Value(12)},i18n.phonenumbers.PhoneMetadata.prototype.getNationalPrefixOrDefault=function(){return this.get$ValueOrDefault(12)},i18n.phonenumbers.PhoneMetadata.prototype.setNationalPrefix=function(l){this.set$Value(12,l)},i18n.phonenumbers.PhoneMetadata.prototype.hasNationalPrefix=function(){return this.has$Value(12)},i18n.phonenumbers.PhoneMetadata.prototype.nationalPrefixCount=function(){return this.count$Values(12)},i18n.phonenumbers.PhoneMetadata.prototype.clearNationalPrefix=function(){this.clear$Field(12)},i18n.phonenumbers.PhoneMetadata.prototype.getPreferredExtnPrefix=function(){return this.get$Value(13)},i18n.phonenumbers.PhoneMetadata.prototype.getPreferredExtnPrefixOrDefault=function(){return this.get$ValueOrDefault(13)},i18n.phonenumbers.PhoneMetadata.prototype.setPreferredExtnPrefix=function(l){this.set$Value(13,l)},i18n.phonenumbers.PhoneMetadata.prototype.hasPreferredExtnPrefix=function(){return this.has$Value(13)},i18n.phonenumbers.PhoneMetadata.prototype.preferredExtnPrefixCount=function(){return this.count$Values(13)},i18n.phonenumbers.PhoneMetadata.prototype.clearPreferredExtnPrefix=function(){this.clear$Field(13)},i18n.phonenumbers.PhoneMetadata.prototype.getNationalPrefixForParsing=function(){return this.get$Value(15)},i18n.phonenumbers.PhoneMetadata.prototype.getNationalPrefixForParsingOrDefault=function(){return this.get$ValueOrDefault(15)},i18n.phonenumbers.PhoneMetadata.prototype.setNationalPrefixForParsing=function(l){this.set$Value(15,l)},i18n.phonenumbers.PhoneMetadata.prototype.hasNationalPrefixForParsing=function(){return this.has$Value(15)},i18n.phonenumbers.PhoneMetadata.prototype.nationalPrefixForParsingCount=function(){return this.count$Values(15)},i18n.phonenumbers.PhoneMetadata.prototype.clearNationalPrefixForParsing=function(){this.clear$Field(15)},i18n.phonenumbers.PhoneMetadata.prototype.getNationalPrefixTransformRule=function(){return this.get$Value(16)},i18n.phonenumbers.PhoneMetadata.prototype.getNationalPrefixTransformRuleOrDefault=function(){return this.get$ValueOrDefault(16)},i18n.phonenumbers.PhoneMetadata.prototype.setNationalPrefixTransformRule=function(l){this.set$Value(16,l)},i18n.phonenumbers.PhoneMetadata.prototype.hasNationalPrefixTransformRule=function(){return this.has$Value(16)},i18n.phonenumbers.PhoneMetadata.prototype.nationalPrefixTransformRuleCount=function(){return this.count$Values(16)},i18n.phonenumbers.PhoneMetadata.prototype.clearNationalPrefixTransformRule=function(){this.clear$Field(16)},i18n.phonenumbers.PhoneMetadata.prototype.getSameMobileAndFixedLinePattern=function(){return this.get$Value(18)},i18n.phonenumbers.PhoneMetadata.prototype.getSameMobileAndFixedLinePatternOrDefault=function(){return this.get$ValueOrDefault(18)},i18n.phonenumbers.PhoneMetadata.prototype.setSameMobileAndFixedLinePattern=function(l){this.set$Value(18,l)},i18n.phonenumbers.PhoneMetadata.prototype.hasSameMobileAndFixedLinePattern=function(){return this.has$Value(18)},i18n.phonenumbers.PhoneMetadata.prototype.sameMobileAndFixedLinePatternCount=function(){return this.count$Values(18)},i18n.phonenumbers.PhoneMetadata.prototype.clearSameMobileAndFixedLinePattern=function(){this.clear$Field(18)},i18n.phonenumbers.PhoneMetadata.prototype.getNumberFormat=function(l){return this.get$Value(19,l)},i18n.phonenumbers.PhoneMetadata.prototype.getNumberFormatOrDefault=function(l){return this.get$ValueOrDefault(19,l)},i18n.phonenumbers.PhoneMetadata.prototype.addNumberFormat=function(l){this.add$Value(19,l)},i18n.phonenumbers.PhoneMetadata.prototype.numberFormatArray=function(){return this.array$Values(19)},i18n.phonenumbers.PhoneMetadata.prototype.hasNumberFormat=function(){return this.has$Value(19)},i18n.phonenumbers.PhoneMetadata.prototype.numberFormatCount=function(){return this.count$Values(19)},i18n.phonenumbers.PhoneMetadata.prototype.clearNumberFormat=function(){this.clear$Field(19)},i18n.phonenumbers.PhoneMetadata.prototype.getIntlNumberFormat=function(l){return this.get$Value(20,l)},i18n.phonenumbers.PhoneMetadata.prototype.getIntlNumberFormatOrDefault=function(l){return this.get$ValueOrDefault(20,l)},i18n.phonenumbers.PhoneMetadata.prototype.addIntlNumberFormat=function(l){this.add$Value(20,l)},i18n.phonenumbers.PhoneMetadata.prototype.intlNumberFormatArray=function(){return this.array$Values(20)},i18n.phonenumbers.PhoneMetadata.prototype.hasIntlNumberFormat=function(){return this.has$Value(20)},i18n.phonenumbers.PhoneMetadata.prototype.intlNumberFormatCount=function(){return this.count$Values(20)},i18n.phonenumbers.PhoneMetadata.prototype.clearIntlNumberFormat=function(){this.clear$Field(20)},i18n.phonenumbers.PhoneMetadata.prototype.getMainCountryForCode=function(){return this.get$Value(22)},i18n.phonenumbers.PhoneMetadata.prototype.getMainCountryForCodeOrDefault=function(){return this.get$ValueOrDefault(22)},i18n.phonenumbers.PhoneMetadata.prototype.setMainCountryForCode=function(l){this.set$Value(22,l)},i18n.phonenumbers.PhoneMetadata.prototype.hasMainCountryForCode=function(){return this.has$Value(22)},i18n.phonenumbers.PhoneMetadata.prototype.mainCountryForCodeCount=function(){return this.count$Values(22)},i18n.phonenumbers.PhoneMetadata.prototype.clearMainCountryForCode=function(){this.clear$Field(22)},i18n.phonenumbers.PhoneMetadata.prototype.getLeadingDigits=function(){return this.get$Value(23)},i18n.phonenumbers.PhoneMetadata.prototype.getLeadingDigitsOrDefault=function(){return this.get$ValueOrDefault(23)},i18n.phonenumbers.PhoneMetadata.prototype.setLeadingDigits=function(l){this.set$Value(23,l)},i18n.phonenumbers.PhoneMetadata.prototype.hasLeadingDigits=function(){return this.has$Value(23)},i18n.phonenumbers.PhoneMetadata.prototype.leadingDigitsCount=function(){return this.count$Values(23)},i18n.phonenumbers.PhoneMetadata.prototype.clearLeadingDigits=function(){this.clear$Field(23)},i18n.phonenumbers.PhoneMetadataCollection=function(){goog.proto2.Message.call(this)},goog.inherits(i18n.phonenumbers.PhoneMetadataCollection,goog.proto2.Message),i18n.phonenumbers.PhoneMetadataCollection.descriptor_=null,i18n.phonenumbers.PhoneMetadataCollection.prototype.getMetadata=function(l){return this.get$Value(1,l)},i18n.phonenumbers.PhoneMetadataCollection.prototype.getMetadataOrDefault=function(l){return this.get$ValueOrDefault(1,l)},i18n.phonenumbers.PhoneMetadataCollection.prototype.addMetadata=function(l){this.add$Value(1,l)},i18n.phonenumbers.PhoneMetadataCollection.prototype.metadataArray=function(){return this.array$Values(1)},i18n.phonenumbers.PhoneMetadataCollection.prototype.hasMetadata=function(){return this.has$Value(1)},i18n.phonenumbers.PhoneMetadataCollection.prototype.metadataCount=function(){return this.count$Values(1)},i18n.phonenumbers.PhoneMetadataCollection.prototype.clearMetadata=function(){this.clear$Field(1)},i18n.phonenumbers.NumberFormat.prototype.getDescriptor=function(){var l=i18n.phonenumbers.NumberFormat.descriptor_;return l||(i18n.phonenumbers.NumberFormat.descriptor_=l=goog.proto2.Message.createDescriptor(i18n.phonenumbers.NumberFormat,{0:{name:"NumberFormat",fullName:"i18n.phonenumbers.NumberFormat"},1:{name:"pattern",required:!0,fieldType:goog.proto2.Message.FieldType.STRING,type:String},2:{name:"format",required:!0,fieldType:goog.proto2.Message.FieldType.STRING,type:String},3:{name:"leading_digits_pattern",repeated:!0,fieldType:goog.proto2.Message.FieldType.STRING,type:String},4:{name:"national_prefix_formatting_rule",fieldType:goog.proto2.Message.FieldType.STRING,type:String},6:{name:"national_prefix_optional_when_formatting",fieldType:goog.proto2.Message.FieldType.BOOL,defaultValue:!1,type:Boolean},5:{name:"domestic_carrier_code_formatting_rule",fieldType:goog.proto2.Message.FieldType.STRING,type:String}})),l},i18n.phonenumbers.NumberFormat.getDescriptor=i18n.phonenumbers.NumberFormat.prototype.getDescriptor,i18n.phonenumbers.PhoneNumberDesc.prototype.getDescriptor=function(){var l=i18n.phonenumbers.PhoneNumberDesc.descriptor_;return l||(i18n.phonenumbers.PhoneNumberDesc.descriptor_=l=goog.proto2.Message.createDescriptor(i18n.phonenumbers.PhoneNumberDesc,{0:{name:"PhoneNumberDesc",fullName:"i18n.phonenumbers.PhoneNumberDesc"},2:{name:"national_number_pattern",fieldType:goog.proto2.Message.FieldType.STRING,type:String},9:{name:"possible_length",repeated:!0,fieldType:goog.proto2.Message.FieldType.INT32,type:Number},10:{name:"possible_length_local_only",repeated:!0,fieldType:goog.proto2.Message.FieldType.INT32,type:Number},6:{name:"example_number",fieldType:goog.proto2.Message.FieldType.STRING,type:String}})),l},i18n.phonenumbers.PhoneNumberDesc.getDescriptor=i18n.phonenumbers.PhoneNumberDesc.prototype.getDescriptor,i18n.phonenumbers.PhoneMetadata.prototype.getDescriptor=function(){var l=i18n.phonenumbers.PhoneMetadata.descriptor_;return l||(i18n.phonenumbers.PhoneMetadata.descriptor_=l=goog.proto2.Message.createDescriptor(i18n.phonenumbers.PhoneMetadata,{0:{name:"PhoneMetadata",fullName:"i18n.phonenumbers.PhoneMetadata"},1:{name:"general_desc",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},2:{name:"fixed_line",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},3:{name:"mobile",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},4:{name:"toll_free",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},5:{name:"premium_rate",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},6:{name:"shared_cost",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},7:{name:"personal_number",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},8:{name:"voip",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},21:{name:"pager",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},25:{name:"uan",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},27:{name:"emergency",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},28:{name:"voicemail",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},29:{name:"short_code",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},30:{name:"standard_rate",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},31:{name:"carrier_specific",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},33:{name:"sms_services",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},24:{name:"no_international_dialling",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},9:{name:"id",required:!0,fieldType:goog.proto2.Message.FieldType.STRING,type:String},10:{name:"country_code",fieldType:goog.proto2.Message.FieldType.INT32,type:Number},11:{name:"international_prefix",fieldType:goog.proto2.Message.FieldType.STRING,type:String},17:{name:"preferred_international_prefix",fieldType:goog.proto2.Message.FieldType.STRING,type:String},12:{name:"national_prefix",fieldType:goog.proto2.Message.FieldType.STRING,type:String},13:{name:"preferred_extn_prefix",fieldType:goog.proto2.Message.FieldType.STRING,type:String},15:{name:"national_prefix_for_parsing",fieldType:goog.proto2.Message.FieldType.STRING,type:String},16:{name:"national_prefix_transform_rule",fieldType:goog.proto2.Message.FieldType.STRING,type:String},18:{name:"same_mobile_and_fixed_line_pattern",fieldType:goog.proto2.Message.FieldType.BOOL,defaultValue:!1,type:Boolean},19:{name:"number_format",repeated:!0,fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.NumberFormat},20:{name:"intl_number_format",repeated:!0,fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.NumberFormat},22:{name:"main_country_for_code",fieldType:goog.proto2.Message.FieldType.BOOL,defaultValue:!1,type:Boolean},23:{name:"leading_digits",fieldType:goog.proto2.Message.FieldType.STRING,type:String}})),l},i18n.phonenumbers.PhoneMetadata.getDescriptor=i18n.phonenumbers.PhoneMetadata.prototype.getDescriptor,i18n.phonenumbers.PhoneMetadataCollection.prototype.getDescriptor=function(){var l=i18n.phonenumbers.PhoneMetadataCollection.descriptor_;return l||(i18n.phonenumbers.PhoneMetadataCollection.descriptor_=l=goog.proto2.Message.createDescriptor(i18n.phonenumbers.PhoneMetadataCollection,{0:{name:"PhoneMetadataCollection",fullName:"i18n.phonenumbers.PhoneMetadataCollection"},1:{name:"metadata",repeated:!0,fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneMetadata}})),l},i18n.phonenumbers.PhoneMetadataCollection.getDescriptor=i18n.phonenumbers.PhoneMetadataCollection.prototype.getDescriptor,i18n.phonenumbers.PhoneNumber=function(){goog.proto2.Message.call(this)},goog.inherits(i18n.phonenumbers.PhoneNumber,goog.proto2.Message),i18n.phonenumbers.PhoneNumber.descriptor_=null,i18n.phonenumbers.PhoneNumber.prototype.getCountryCode=function(){return this.get$Value(1)},i18n.phonenumbers.PhoneNumber.prototype.getCountryCodeOrDefault=function(){return this.get$ValueOrDefault(1)},i18n.phonenumbers.PhoneNumber.prototype.setCountryCode=function(l){this.set$Value(1,l)},i18n.phonenumbers.PhoneNumber.prototype.hasCountryCode=function(){return this.has$Value(1)},i18n.phonenumbers.PhoneNumber.prototype.countryCodeCount=function(){return this.count$Values(1)},i18n.phonenumbers.PhoneNumber.prototype.clearCountryCode=function(){this.clear$Field(1)},i18n.phonenumbers.PhoneNumber.prototype.getNationalNumber=function(){return this.get$Value(2)},i18n.phonenumbers.PhoneNumber.prototype.getNationalNumberOrDefault=function(){return this.get$ValueOrDefault(2)},i18n.phonenumbers.PhoneNumber.prototype.setNationalNumber=function(l){this.set$Value(2,l)},i18n.phonenumbers.PhoneNumber.prototype.hasNationalNumber=function(){return this.has$Value(2)},i18n.phonenumbers.PhoneNumber.prototype.nationalNumberCount=function(){return this.count$Values(2)},i18n.phonenumbers.PhoneNumber.prototype.clearNationalNumber=function(){this.clear$Field(2)},i18n.phonenumbers.PhoneNumber.prototype.getExtension=function(){return this.get$Value(3)},i18n.phonenumbers.PhoneNumber.prototype.getExtensionOrDefault=function(){return this.get$ValueOrDefault(3)},i18n.phonenumbers.PhoneNumber.prototype.setExtension=function(l){this.set$Value(3,l)},i18n.phonenumbers.PhoneNumber.prototype.hasExtension=function(){return this.has$Value(3)},i18n.phonenumbers.PhoneNumber.prototype.extensionCount=function(){return this.count$Values(3)},i18n.phonenumbers.PhoneNumber.prototype.clearExtension=function(){this.clear$Field(3)},i18n.phonenumbers.PhoneNumber.prototype.getItalianLeadingZero=function(){return this.get$Value(4)},i18n.phonenumbers.PhoneNumber.prototype.getItalianLeadingZeroOrDefault=function(){return this.get$ValueOrDefault(4)},i18n.phonenumbers.PhoneNumber.prototype.setItalianLeadingZero=function(l){this.set$Value(4,l)},i18n.phonenumbers.PhoneNumber.prototype.hasItalianLeadingZero=function(){return this.has$Value(4)},i18n.phonenumbers.PhoneNumber.prototype.italianLeadingZeroCount=function(){return this.count$Values(4)},i18n.phonenumbers.PhoneNumber.prototype.clearItalianLeadingZero=function(){this.clear$Field(4)},i18n.phonenumbers.PhoneNumber.prototype.getNumberOfLeadingZeros=function(){return this.get$Value(8)},i18n.phonenumbers.PhoneNumber.prototype.getNumberOfLeadingZerosOrDefault=function(){return this.get$ValueOrDefault(8)},i18n.phonenumbers.PhoneNumber.prototype.setNumberOfLeadingZeros=function(l){this.set$Value(8,l)},i18n.phonenumbers.PhoneNumber.prototype.hasNumberOfLeadingZeros=function(){return this.has$Value(8)},i18n.phonenumbers.PhoneNumber.prototype.numberOfLeadingZerosCount=function(){return this.count$Values(8)},i18n.phonenumbers.PhoneNumber.prototype.clearNumberOfLeadingZeros=function(){this.clear$Field(8)},i18n.phonenumbers.PhoneNumber.prototype.getRawInput=function(){return this.get$Value(5)},i18n.phonenumbers.PhoneNumber.prototype.getRawInputOrDefault=function(){return this.get$ValueOrDefault(5)},i18n.phonenumbers.PhoneNumber.prototype.setRawInput=function(l){this.set$Value(5,l)},i18n.phonenumbers.PhoneNumber.prototype.hasRawInput=function(){return this.has$Value(5)},i18n.phonenumbers.PhoneNumber.prototype.rawInputCount=function(){return this.count$Values(5)},i18n.phonenumbers.PhoneNumber.prototype.clearRawInput=function(){this.clear$Field(5)},i18n.phonenumbers.PhoneNumber.prototype.getCountryCodeSource=function(){return this.get$Value(6)},i18n.phonenumbers.PhoneNumber.prototype.getCountryCodeSourceOrDefault=function(){return this.get$ValueOrDefault(6)},i18n.phonenumbers.PhoneNumber.prototype.setCountryCodeSource=function(l){this.set$Value(6,l)},i18n.phonenumbers.PhoneNumber.prototype.hasCountryCodeSource=function(){return this.has$Value(6)},i18n.phonenumbers.PhoneNumber.prototype.countryCodeSourceCount=function(){return this.count$Values(6)},i18n.phonenumbers.PhoneNumber.prototype.clearCountryCodeSource=function(){this.clear$Field(6)},i18n.phonenumbers.PhoneNumber.prototype.getPreferredDomesticCarrierCode=function(){return this.get$Value(7)},i18n.phonenumbers.PhoneNumber.prototype.getPreferredDomesticCarrierCodeOrDefault=function(){return this.get$ValueOrDefault(7)},i18n.phonenumbers.PhoneNumber.prototype.setPreferredDomesticCarrierCode=function(l){this.set$Value(7,l)},i18n.phonenumbers.PhoneNumber.prototype.hasPreferredDomesticCarrierCode=function(){return this.has$Value(7)},i18n.phonenumbers.PhoneNumber.prototype.preferredDomesticCarrierCodeCount=function(){return this.count$Values(7)},i18n.phonenumbers.PhoneNumber.prototype.clearPreferredDomesticCarrierCode=function(){this.clear$Field(7)},i18n.phonenumbers.PhoneNumber.CountryCodeSource={UNSPECIFIED:0,FROM_NUMBER_WITH_PLUS_SIGN:1,FROM_NUMBER_WITH_IDD:5,FROM_NUMBER_WITHOUT_PLUS_SIGN:10,FROM_DEFAULT_COUNTRY:20},i18n.phonenumbers.PhoneNumber.prototype.getDescriptor=function(){var l=i18n.phonenumbers.PhoneNumber.descriptor_;return l||(i18n.phonenumbers.PhoneNumber.descriptor_=l=goog.proto2.Message.createDescriptor(i18n.phonenumbers.PhoneNumber,{0:{name:"PhoneNumber",fullName:"i18n.phonenumbers.PhoneNumber"},1:{name:"country_code",required:!0,fieldType:goog.proto2.Message.FieldType.INT32,type:Number},2:{name:"national_number",required:!0,fieldType:goog.proto2.Message.FieldType.UINT64,type:Number},3:{name:"extension",fieldType:goog.proto2.Message.FieldType.STRING,type:String},4:{name:"italian_leading_zero",fieldType:goog.proto2.Message.FieldType.BOOL,type:Boolean},8:{name:"number_of_leading_zeros",fieldType:goog.proto2.Message.FieldType.INT32,defaultValue:1,type:Number},5:{name:"raw_input",fieldType:goog.proto2.Message.FieldType.STRING,type:String},6:{name:"country_code_source",fieldType:goog.proto2.Message.FieldType.ENUM,defaultValue:i18n.phonenumbers.PhoneNumber.CountryCodeSource.UNSPECIFIED,type:i18n.phonenumbers.PhoneNumber.CountryCodeSource},7:{name:"preferred_domestic_carrier_code",fieldType:goog.proto2.Message.FieldType.STRING,type:String}})),l},i18n.phonenumbers.PhoneNumber.ctor=i18n.phonenumbers.PhoneNumber,i18n.phonenumbers.PhoneNumber.ctor.getDescriptor=i18n.phonenumbers.PhoneNumber.prototype.getDescriptor,i18n.phonenumbers.metadata={},i18n.phonenumbers.metadata.countryCodeToRegionCodeMap={1:"US AG AI AS BB BM BS CA DM DO GD GU JM KN KY LC MP MS PR SX TC TT VC VG VI".split(" "),7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],383:["XK"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],800:["001"],808:["001"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],870:["001"],878:["001"],880:["BD"],881:["001"],882:["001"],883:["001"],886:["TW"],888:["001"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],979:["001"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},i18n.phonenumbers.metadata.countryToMetadata={AC:[,[,,"(?:[01589]\\d|[46])\\d{4}",,,,,,,[5,6]],[,,"6[2-467]\\d{3}",,,,"62889",,,[5]],[,,"4\\d{4}",,,,"40123",,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AC",247,"00",,,,,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:0[1-9]|[1589]\\d)\\d{4}",,,,"542011",,,[6]],,,[,,,,,,,,,[-1]]],AD:[,[,,"(?:1|6\\d)\\d{7}|[135-9]\\d{5}",,,,,,,[6,8,9]],[,,"[78]\\d{5}",,,,"712345",,,[6]],[,,"690\\d{6}|[356]\\d{5}",,,,"312345",,,[6,9]],[,,"180[02]\\d{4}",,,,"18001234",,,[8]],[,,"[19]\\d{5}",,,,"912345",,,[6]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AD",376,"00",,,,,,,,[[,"(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],[,"(\\d{4})(\\d{4})","$1 $2",["1"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],,[,,,,,,,,,[-1]],,,[,,"1800\\d{4}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AE:[,[,,"(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",,,,,,,[5,6,7,8,9,10,11,12]],[,,"[2-4679][2-8]\\d{6}",,,,"22345678",,,[8],[7]],[,,"5[024-68]\\d{7}",,,,"501234567",,,[9]],[,,"400\\d{6}|800\\d{2,9}",,,,"800123456"],[,,"900[02]\\d{5}",,,,"900234567",,,[9]],[,,"700[05]\\d{5}",,,,"700012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AE",971,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],[,"(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"600[25]\\d{5}",,,,"600212345",,,[9]],,,[,,,,,,,,,[-1]]],AF:[,[,,"[2-7]\\d{8}",,,,,,,[9],[7]],[,,"(?:[25][0-8]|[34][0-4]|6[0-5])[2-9]\\d{6}",,,,"234567890",,,,[7]],[,,"7\\d{8}",,,,"701234567",,,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AF",93,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[1-9]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AG:[,[,,"(?:268|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"268(?:4(?:6[0-38]|84)|56[0-2])\\d{4}",,,,"2684601234",,,,[7]],[,,"268(?:464|7(?:1[3-9]|[28]\\d|3[0246]|64|7[0-689]))\\d{4}",,,,"2684641234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,"26848[01]\\d{4}",,,,"2684801234",,,,[7]],"AG",1,"011","1",,,"([457]\\d{6})$|1","268$1",,,,,[,,"26840[69]\\d{4}",,,,"2684061234",,,,[7]],,"268",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AI:[,[,,"(?:264|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"264(?:292|4(?:6[12]|9[78]))\\d{4}",,,,"2644612345",,,,[7]],[,,"264(?:235|4(?:69|76)|5(?:3[6-9]|8[1-4])|7(?:29|72))\\d{4}",,,,"2642351234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"AI",1,"011","1",,,"([2457]\\d{6})$|1","264$1",,,,,[,,"264724\\d{4}",,,,"2647241234",,,,[7]],,"264",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AL:[,[,,"(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",,,,,,,[6,7,8,9],[5]],[,,"4505[0-2]\\d{3}|(?:[2358][16-9]\\d[2-9]|4410)\\d{4}|(?:[2358][2-5][2-9]|4(?:[2-57-9][2-9]|6\\d))\\d{5}",,,,"22345678",,,[8],[5,6,7]],[,,"6(?:[78][2-9]|9\\d)\\d{6}",,,,"672123456",,,[9]],[,,"800\\d{4}",,,,"8001234",,,[7]],[,,"900[1-9]\\d\\d",,,,"900123",,,[6]],[,,"808[1-9]\\d\\d",,,,"808123",,,[6]],[,,"700[2-9]\\d{4}",,,,"70021234",,,[8]],[,,,,,,,,,[-1]],"AL",355,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],[,"(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AM:[,[,,"(?:[1-489]\\d|55|60|77)\\d{6}",,,,,,,[8],[5,6]],[,,"(?:(?:1[0-25]|47)\\d|2(?:2[2-46]|3[1-8]|4[2-69]|5[2-7]|6[1-9]|8[1-7])|3[12]2)\\d{5}",,,,"10123456",,,,[5,6]],[,,"(?:33|4[1349]|55|77|88|9[13-9])\\d{6}",,,,"77123456"],[,,"800\\d{5}",,,,"80012345"],[,,"90[016]\\d{5}",,,,"90012345"],[,,"80[1-4]\\d{5}",,,,"80112345"],[,,,,,,,,,[-1]],[,,"60(?:2[78]|3[5-9]|4[02-9]|5[0-46-9]|[6-8]\\d|9[0-2])\\d{4}",,,,"60271234"],"AM",374,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],[,"(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],[,"(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],[,"(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AO:[,[,,"[29]\\d{8}",,,,,,,[9]],[,,"2\\d(?:[0134][25-9]|[25-9]\\d)\\d{5}",,,,"222123456"],[,,"9[1-579]\\d{7}",,,,"923123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AO",244,"00",,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AR:[,[,,"(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",,,,,,,[10,11],[6,7,8]],[,,"3(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]\\d{5}|(?:2(?:657|9(?:54|66))|3(?:7(?:55|77)|865))[2-8]\\d{5}|(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|473|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|(?:2(?:284|3(?:02|23)|920)|3(?:4(?:46|8[27]|92)|541|878))[2-7]\\d{5}|(?:2(?:(?:26|62)2|320|477|9(?:42|83))|3(?:329|4(?:62|76|89)|564))[2-6]\\d{5}|(?:(?:11[1-8]|670)\\d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-8]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-8]|[235][4-6]|84)|5(?:1[2-9]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:0[45]|[17][2-6]|3[4-6]|5[3-6]|8[3-68])))\\d{6}|2(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|475|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\d{5}|(?:2(?:2(?:57|81)|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|71)|5(?:25|37|4[347]|71)|7(?:18|5[17])))[3-6]\\d{5}|(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[03-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[145]|4[13]|5[468]|7[2-5]|8[26])|8(?:2[5-7]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}",,,,"1123456789",,,[10],[6,7,8]],[,,"93(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]\\d{5}|9(?:2(?:657|9(?:54|66))|3(?:7(?:55|77)|865))[2-8]\\d{5}|9(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|473|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|9(?:2(?:284|3(?:02|23)|920)|3(?:4(?:46|8[27]|92)|541|878))[2-7]\\d{5}|9(?:2(?:(?:26|62)2|320|477|9(?:42|83))|3(?:329|4(?:62|76|89)|564))[2-6]\\d{5}|(?:675\\d|9(?:11[1-8]\\d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-8]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-8]|[235][4-6]|84)|5(?:1[2-9]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:0[45]|[17][2-6]|3[4-6]|5[3-6]|8[3-68]))))\\d{6}|92(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|475|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\d{5}|9(?:2(?:2(?:57|81)|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|71)|5(?:25|37|4[347]|71)|7(?:18|5[17])))[3-6]\\d{5}|9(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[03-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[145]|4[13]|5[468]|7[2-5]|8[26])|8(?:2[5-7]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}",,,,"91123456789",,,,[6,7,8]],[,,"800\\d{7,8}",,,,"8001234567"],[,,"60[04579]\\d{7}",,,,"6001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AR",54,"00","0",,,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?","9$1",,,[[,"(\\d{3})","$1",["0|1(?:0[0-35-7]|1[02-5]|2[015]|3[47]|4[478])|911"]],[,"(\\d{2})(\\d{4})","$1-$2",["[1-9]"]],[,"(\\d{3})(\\d{4})","$1-$2",["[2-9]"]],[,"(\\d{4})(\\d{4})","$1-$2",["[1-8]"]],[,"(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",,1],[,"(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1"],[,"(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1"]],[[,"(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",,1],[,"(\\d)(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"]],[,"(\\d)(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3-$4",["91"]],[,"(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3-$4",["9"]]],[,,,,,,,,,[-1]],,,[,,"810\\d{7}",,,,,,,[10]],[,,"810\\d{7}",,,,"8101234567",,,[10]],,,[,,,,,,,,,[-1]]],AS:[,[,,"(?:[58]\\d\\d|684|900)\\d{7}",,,,,,,[10],[7]],[,,"6846(?:22|33|44|55|77|88|9[19])\\d{4}",,,,"6846221234",,,,[7]],[,,"684(?:2(?:48|5[2468]|7[26])|7(?:3[13]|70|82))\\d{4}",,,,"6847331234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"AS",1,"011","1",,,"([267]\\d{6})$|1","684$1",,,,,[,,,,,,,,,[-1]],,"684",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AT:[,[,,"1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",,,,,,,[4,5,6,7,8,9,10,11,12,13],[3]],[,,"1(?:11\\d|[2-9]\\d{3,11})|(?:316|463|(?:51|66|73)2)\\d{3,10}|(?:2(?:1[467]|2[13-8]|5[2357]|6[1-46-8]|7[1-8]|8[124-7]|9[1458])|3(?:1[1-578]|3[23568]|4[5-7]|5[1378]|6[1-38]|8[3-68])|4(?:2[1-8]|35|7[1368]|8[2457])|5(?:2[1-8]|3[357]|4[147]|5[12578]|6[37])|6(?:13|2[1-47]|4[135-8]|5[468])|7(?:2[1-8]|35|4[13478]|5[68]|6[16-8]|7[1-6]|9[45]))\\d{4,10}",,,,"1234567890",,,,[3]],[,,"6(?:5[0-3579]|6[013-9]|[7-9]\\d)\\d{4,10}",,,,"664123456",,,[7,8,9,10,11,12,13]],[,,"800\\d{6,10}",,,,"800123456",,,[9,10,11,12,13]],[,,"(?:8[69][2-68]|9(?:0[01]|3[019]))\\d{6,10}",,,,"900123456",,,[9,10,11,12,13]],[,,"8(?:10|2[018])\\d{6,10}|828\\d{5}",,,,"810123456",,,[8,9,10,11,12,13]],[,,,,,,,,,[-1]],[,,"5(?:0[1-9]|17|[79]\\d)\\d{2,10}|7[28]0\\d{6,10}",,,,"780123456",,,[5,6,7,8,9,10,11,12,13]],"AT",43,"00","0",,,"0",,,,[[,"(\\d{4})","$1",["14"]],[,"(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],[,"(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],[,"(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],[,"(\\d{6})","$1",["[18]"]],[,"(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],[,"(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],[[,"(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],[,"(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],[,"(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],[,"(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],[,"(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AU:[,[,,"1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}",,,,,,,[5,6,7,8,9,10,12]],[,,"(?:(?:(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|7(?:[013-57-9]\\d|2[0-8]))\\d|3(?:(?:[0-3589]\\d|6[1-9]|7[0-35-9])\\d|4(?:[0-578]\\d|90)))\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|3\\d\\d)|(?:6[0-8]|[78]\\d)\\d{3}|9(?:[02-9]\\d{3}|1(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79])))))\\d{3}",,,,"212345678",,,[9],[8]],[,,"4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",,,,"412345678",,,[9]],[,,"180(?:0\\d{3}|2)\\d{3}",,,,"1800123456",,,[7,10]],[,,"190[0-26]\\d{6}",,,,"1900123456",,,[10]],[,,"13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",,,,"1300123456",,,[6,8,10,12]],[,,,,,,,,,[-1]],[,,"14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",,,,"147101234",,,[9]],"AU",61,"001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","0",,,"(183[12])|0",,"0011",,[[,"(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["13"]],[,"(\\d{3})(\\d{3})","$1 $2",["19"]],[,"(\\d{3})(\\d{4})","$1 $2",["180","1802"]],[,"(\\d{4})(\\d{3,4})","$1 $2",["19"]],[,"(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)","$CC ($1)"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]],[,"(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["130"]]],[[,"(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)","$CC ($1)"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],[,,"163\\d{2,6}",,,,"1631234",,,[5,6,7,8,9]],1,,[,,"1(?:3(?:00\\d{5}|45[0-4])|802)\\d{3}|1[38]00\\d{6}|13\\d{4}",,,,,,,[6,7,8,10,12]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AW:[,[,,"(?:[25-79]\\d\\d|800)\\d{4}",,,,,,,[7]],[,,"5(?:2\\d|8[1-9])\\d{4}",,,,"5212345"],[,,"(?:290|5[69]\\d|6(?:[03]0|22|4[0-2]|[69]\\d)|7(?:[34]\\d|7[07])|9(?:6[45]|9[4-8]))\\d{4}",,,,"5601234"],[,,"800\\d{4}",,,,"8001234"],[,,"900\\d{4}",,,,"9001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:28\\d|501)\\d{4}",,,,"5011234"],"AW",297,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AX:[,[,,"2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}",,,,,,,[5,6,7,8,9,10,11,12]],[,,"18[1-8]\\d{3,6}",,,,"181234567",,,[6,7,8,9]],[,,"4946\\d{2,6}|(?:4[0-8]|50)\\d{4,8}",,,,"412345678",,,[6,7,8,9,10]],[,,"800\\d{4,6}",,,,"800123456",,,[7,8,9]],[,,"[67]00\\d{5,6}",,,,"600123456",,,[8,9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AX",358,"00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","0",,,"0",,"00",,,,[,,,,,,,,,[-1]],,"18",[,,,,,,,,,[-1]],[,,"20\\d{4,8}|60[12]\\d{5,6}|7(?:099\\d{4,5}|5[03-9]\\d{3,7})|20[2-59]\\d\\d|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:10|29|3[09]|70[1-5]\\d)\\d{4,8}",,,,"10112345"],,,[,,,,,,,,,[-1]]],AZ:[,[,,"365\\d{6}|(?:[124579]\\d|60|88)\\d{7}",,,,,,,[9],[7]],[,,"(?:2[12]428|3655[02])\\d{4}|(?:2(?:22[0-79]|63[0-28])|3654)\\d{5}|(?:(?:1[28]|46)\\d|2(?:[014-6]2|[23]3))\\d{6}",,,,"123123456",,,,[7]],[,,"36554\\d{4}|(?:[16]0|4[04]|5[015]|7[07]|99)\\d{7}",,,,"401234567"],[,,"88\\d{7}",,,,"881234567"],[,,"900200\\d{3}",,,,"900200123"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AZ",994,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[1-9]"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BA:[,[,,"6\\d{8}|(?:[35689]\\d|49|70)\\d{6}",,,,,,,[8,9],[6]],[,,"(?:3(?:[05-79][2-9]|1[4579]|[23][24-9]|4[2-4689]|8[2457-9])|49[2-579]|5(?:0[2-49]|[13][2-9]|[268][2-4679]|4[4689]|5[2-79]|7[2-69]|9[2-4689]))\\d{5}",,,,"30212345",,,[8],[6]],[,,"6040\\d{5}|6(?:03|[1-356]|44|7\\d)\\d{6}",,,,"61123456"],[,,"8[08]\\d{6}",,,,"80123456",,,[8]],[,,"9[0246]\\d{6}",,,,"90123456",,,[8]],[,,"8[12]\\d{6}",,,,"82123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BA",387,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})","$1-$2",["[2-9]"]],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"703[235]0\\d{3}|70(?:2[0-5]|3[0146]|[56]0)\\d{4}",,,,"70341234",,,[8]],,,[,,,,,,,,,[-1]]],BB:[,[,,"(?:246|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"246521[0369]\\d{3}|246(?:2(?:2[78]|7[0-4])|4(?:1[024-6]|2\\d|3[2-9])|5(?:20|[34]\\d|54|7[1-3])|6(?:2\\d|38)|7[35]7|9(?:1[89]|63))\\d{4}",,,,"2464123456",,,,[7]],[,,"246(?:(?:2(?:[3568]\\d|4[0-57-9])|3(?:5[2-9]|6[0-6])|4(?:46|5\\d)|69[5-7]|8(?:[2-5]\\d|83))\\d|52(?:1[147]|20))\\d{3}",,,,"2462501234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"(?:246976|900[2-9]\\d\\d)\\d{4}",,,,"9002123456",,,,[7]],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,"24631\\d{5}",,,,"2463101234",,,,[7]],"BB",1,"011","1",,,"([2-9]\\d{6})$|1","246$1",,,,,[,,,,,,,,,[-1]],,"246",[,,,,,,,,,[-1]],[,,"246(?:292|367|4(?:1[7-9]|3[01]|4[47-9]|67)|7(?:1[2-9]|2\\d|3[016]|53))\\d{4}",,,,"2464301234",,,,[7]],,,[,,,,,,,,,[-1]]],BD:[,[,,"[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}",,,,,,,[6,7,8,9,10]],[,,"(?:4(?:31\\d\\d|423)|5222)\\d{3}(?:\\d{2})?|8332[6-9]\\d\\d|(?:3(?:03[56]|224)|4(?:22[25]|653))\\d{3,4}|(?:3(?:42[47]|529|823)|4(?:027|525|65(?:28|8))|562|6257|7(?:1(?:5[3-5]|6[12]|7[156]|89)|22[589]56|32|42675|52(?:[25689](?:56|8)|[347]8)|71(?:6[1267]|75|89)|92374)|82(?:2[59]|32)56|9(?:03[23]56|23(?:256|373)|31|5(?:1|2[4589]56)))\\d{3}|(?:3(?:02[348]|22[35]|324|422)|4(?:22[67]|32[236-9]|6(?:2[46]|5[57])|953)|5526|6(?:024|6655)|81)\\d{4,5}|(?:2(?:7(?:1[0-267]|2[0-289]|3[0-29]|4[01]|5[1-3]|6[013]|7[0178]|91)|8(?:0[125]|1[1-6]|2[0157-9]|3[1-69]|41|6[1-35]|7[1-5]|8[1-8]|9[0-6])|9(?:0[0-2]|1[0-4]|2[568]|3[3-6]|5[5-7]|6[0136-9]|7[0-7]|8[014-9]))|3(?:0(?:2[025-79]|3[2-4])|181|22[12]|32[2356]|824)|4(?:02[09]|22[348]|32[045]|523|6(?:27|54))|666(?:22|53)|7(?:22[57-9]|42[56]|82[35])8|8(?:0[124-9]|2(?:181|2[02-4679]8)|4[12]|[5-7]2)|9(?:[04]2|2(?:2|328)|81))\\d{4}|(?:2(?:2\\d|[45])\\d\\d|3(?:1(?:2[5-7]|[5-7])|425|822)|4(?:033|1\\d|[257]1|332|4(?:2[246]|5[25])|6(?:2[35]|56|62)|8(?:23|54)|92[2-5])|5(?:02[03489]|22[457]|32[35-79]|42[46]|6(?:[18]|53)|724|826)|6(?:023|2(?:2[2-5]|5[3-5]|8)|32[3478]|42[34]|52[47]|6(?:[18]|6(?:2[34]|5[24]))|[78]2[2-5]|92[2-6])|7(?:02|21\\d|[3-589]1|6[12]|72[24])|8(?:217|3[12]|[5-7]1)|9[24]1)\\d{5}|(?:(?:3[2-8]|5[2-57-9]|6[03-589])1|4[4689][18])\\d{5}|[59]1\\d{5}",,,,"27111234"],[,,"(?:1[13-9]\\d|644)\\d{7}|(?:3[78]|44|66)[02-9]\\d{7}",,,,"1812345678",,,[10]],[,,"80[03]\\d{7}",,,,"8001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"96(?:0[469]|1[0-47]|3[389]|43|6[69]|7[78])\\d{6}",,,,"9604123456",,,[10]],"BD",880,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{4,6})","$1-$2",["31[5-8]|[459]1"],"0$1"],[,"(\\d{3})(\\d{3,7})","$1-$2",["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"],"0$1"],[,"(\\d{4})(\\d{3,6})","$1-$2",["[13-9]|22"],"0$1"],[,"(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BE:[,[,,"4\\d{8}|[1-9]\\d{7}",,,,,,,[8,9]],[,,"80[2-8]\\d{5}|(?:1[0-69]|[23][2-8]|4[23]|5\\d|6[013-57-9]|71|8[1-79]|9[2-4])\\d{6}",,,,"12345678",,,[8]],[,,"4[5-9]\\d{7}",,,,"470123456",,,[9]],[,,"800[1-9]\\d{4}",,,,"80012345",,,[8]],[,,"(?:70(?:2[0-57]|3[04-7]|44|6[4-69]|7[0579])|90\\d\\d)\\d{4}",,,,"90012345",,,[8]],[,,"7879\\d{4}",,,,"78791234",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BE",32,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],[,"(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"78(?:0[57]|1[014-8]|2[25]|3[15-8]|48|[56]0|7[06-8]|9\\d)\\d{4}",,,,"78102345",,,[8]],,,[,,,,,,,,,[-1]]],BF:[,[,,"[025-7]\\d{7}",,,,,,,[8]],[,,"2(?:0(?:49|5[23]|6[5-7]|9[016-9])|4(?:4[569]|5[4-6]|6[5-7]|7[0179])|5(?:[34]\\d|50|6[5-7]))\\d{4}",,,,"20491234"],[,,"(?:0[1-35-7]|5[0-8]|[67]\\d)\\d{6}",,,,"70123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BF",226,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[025-7]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BG:[,[,,"00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",,,,,,,[6,7,8,9,12],[4,5]],[,,"2\\d{5,7}|(?:43[1-6]|70[1-9])\\d{4,5}|(?:[36]\\d|4[124-7]|[57][1-9]|8[1-6]|9[1-7])\\d{5,6}",,,,"2123456",,,[6,7,8],[4,5]],[,,"(?:43[07-9]|99[69]\\d)\\d{5}|(?:8[7-9]|98)\\d{7}",,,,"43012345",,,[8,9]],[,,"(?:00800\\d\\d|800)\\d{5}",,,,"80012345",,,[8,12]],[,,"90\\d{6}",,,,"90123456",,,[8]],[,,"700\\d{5}",,,,"70012345",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BG",359,"00","0",,,"0",,,,[[,"(\\d{6})","$1",["1"]],[,"(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],[,"(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],[[,"(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],[,"(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BH:[,[,,"[136-9]\\d{7}",,,,,,,[8]],[,,"(?:1(?:3[1356]|6[0156]|7\\d)\\d|6(?:1[16]\\d|500|6(?:0\\d|3[12]|44|55|7[7-9]|88)|9[69][69])|7(?:[07]\\d\\d|1(?:11|78)))\\d{4}",,,,"17001234"],[,,"(?:3(?:[0-79]\\d|8[0-57-9])\\d|6(?:3(?:00|33|6[16])|441|6(?:3[03-9]|[69]\\d|7[0-689])))\\d{4}",,,,"36001234"],[,,"8[02369]\\d{6}",,,,"80123456"],[,,"(?:87|9[0-8])\\d{6}",,,,"90123456"],[,,"84\\d{6}",,,,"84123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BH",973,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[13679]|8[02-4679]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BI:[,[,,"(?:[267]\\d|31)\\d{6}",,,,,,,[8]],[,,"(?:22|31)\\d{6}",,,,"22201234"],[,,"(?:29|[67][125-9])\\d{6}",,,,"79561234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BI",257,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BJ:[,[,,"[24-689]\\d{7}",,,,,,,[8]],[,,"2(?:02|1[037]|2[45]|3[68]|4\\d)\\d{5}",,,,"20211234"],[,,"(?:4[0-7]|[56]\\d|9[013-9])\\d{6}",,,,"90011234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"857[58]\\d{4}",,,,"85751234"],"BJ",229,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-689]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"81\\d{6}",,,,"81123456"],,,[,,,,,,,,,[-1]]],BL:[,[,,"590\\d{6}|(?:69|80|9\\d)\\d{7}",,,,,,,[9]],[,,"590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}",,,,"590271234"],[,,"69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))\\d{4}",,,,"690001234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:(?:39[5-7]|76[018])\\d|475[0-5])\\d{4}",,,,"976012345"],"BL",590,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BM:[,[,,"(?:441|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"441(?:[46]\\d\\d|5(?:4\\d|60|89))\\d{4}",,,,"4414123456",,,,[7]],[,,"441(?:[2378]\\d|5[0-39]|9[02])\\d{5}",,,,"4413701234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"BM",1,"011","1",,,"([2-9]\\d{6})$|1","441$1",,,,,[,,,,,,,,,[-1]],,"441",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BN:[,[,,"[2-578]\\d{6}",,,,,,,[7]],[,,"22[0-7]\\d{4}|(?:2[013-9]|[34]\\d|5[0-25-9])\\d{5}",,,,"2345678"],[,,"(?:22[89]|[78]\\d\\d)\\d{4}",,,,"7123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"5[34]\\d{5}",,,,"5345678"],"BN",673,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BO:[,[,,"8001\\d{5}|(?:[2-467]\\d|50)\\d{6}",,,,,,,[8,9],[7]],[,,"(?:2(?:2\\d\\d|5(?:11|[258]\\d|9[67])|6(?:12|2\\d|9[34])|8(?:2[34]|39|62))|3(?:3\\d\\d|4(?:6\\d|8[24])|8(?:25|42|5[257]|86|9[25])|9(?:[27]\\d|3[2-4]|4[248]|5[24]|6[2-6]))|4(?:4\\d\\d|6(?:11|[24689]\\d|72)))\\d{4}",,,,"22123456",,,[8],[7]],[,,"[67]\\d{7}",,,,"71234567",,,[8]],[,,"8001[07]\\d{4}",,,,"800171234",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"50\\d{6}",,,,"50123456",,,[8],[7]],"BO",591,"00(?:1\\d)?","0",,,"0(1\\d)?",,,,[[,"(\\d)(\\d{7})","$1 $2",["[235]|4[46]"],,"0$CC $1"],[,"(\\d{8})","$1",["[67]"],,"0$CC $1"],[,"(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"],,"0$CC $1"]],,[,,,,,,,,,[-1]],,,[,,"8001[07]\\d{4}",,,,,,,[9]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BQ:[,[,,"(?:[34]1|7\\d)\\d{5}",,,,,,,[7]],[,,"(?:318[023]|41(?:6[023]|70)|7(?:1[578]|2[05]|50)\\d)\\d{3}",,,,"7151234"],[,,"(?:31(?:8[14-8]|9[14578])|416[14-9]|7(?:0[01]|7[07]|8\\d|9[056])\\d)\\d{3}",,,,"3181234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BQ",599,"00",,,,,,,,,,[,,,,,,,,,[-1]],,"[347]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BR:[,[,,"(?:[1-46-9]\\d\\d|5(?:[0-46-9]\\d|5[0-46-9]))\\d{8}|[1-9]\\d{9}|[3589]\\d{8}|[34]\\d{7}",,,,,,,[8,9,10,11]],[,,"(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-5]\\d{7}",,,,"1123456789",,,[10],[8]],[,,"(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])(?:7|9\\d)\\d{7}",,,,"11961234567",,,[10,11],[8,9]],[,,"800\\d{6,7}",,,,"800123456",,,[9,10]],[,,"300\\d{6}|[59]00\\d{6,7}",,,,"300123456",,,[9,10]],[,,"(?:30[03]\\d{3}|4(?:0(?:0\\d|20)|370))\\d{4}|300\\d{5}",,,,"40041234",,,[8,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BR",55,"00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","0",,,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2",,,[[,"(\\d{3,6})","$1",["1(?:1[25-8]|2[357-9]|3[02-68]|4[12568]|5|6[0-8]|8[015]|9[0-47-9])|321|610"]],[,"(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37)","4(?:02|37)0|[34]00"]],[,"(\\d{4})(\\d{4})","$1-$2",["[2-57]","[2357]|4(?:[0-24-9]|3(?:[0-689]|7[1-9]))"]],[,"(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],[,"(\\d{5})(\\d{4})","$1-$2",["9"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)","0 $CC ($1)"],[,"(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)","0 $CC ($1)"]],[[,"(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37)","4(?:02|37)0|[34]00"]],[,"(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)","0 $CC ($1)"],[,"(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)","0 $CC ($1)"]],[,,,,,,,,,[-1]],,,[,,"30(?:0\\d{5,7}|3\\d{7})|40(?:0\\d|20)\\d{4}|800\\d{6,7}",,,,,,,[8,9,10]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BS:[,[,,"(?:242|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"242(?:3(?:02|[236][1-9]|4[0-24-9]|5[0-68]|7[347]|8[0-4]|9[2-467])|461|502|6(?:0[1-5]|12|2[013]|[45]0|7[67]|8[78]|9[89])|7(?:02|88))\\d{4}",,,,"2423456789",,,,[7]],[,,"242(?:3(?:5[79]|7[56]|95)|4(?:[23][1-9]|4[1-35-9]|5[1-8]|6[2-8]|7\\d|81)|5(?:2[45]|3[35]|44|5[1-46-9]|65|77)|6[34]6|7(?:27|38)|8(?:0[1-9]|1[02-9]|2\\d|3[0-4]|[89]9))\\d{4}",,,,"2423591234",,,,[7]],[,,"242300\\d{4}|8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456",,,,[7]],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"BS",1,"011","1",,,"([3-8]\\d{6})$|1","242$1",,,,,[,,,,,,,,,[-1]],,"242",[,,,,,,,,,[-1]],[,,"242225\\d{4}",,,,"2422250123"],,,[,,,,,,,,,[-1]]],BT:[,[,,"[17]\\d{7}|[2-8]\\d{6}",,,,,,,[7,8],[6]],[,,"(?:2[3-6]|[34][5-7]|5[236]|6[2-46]|7[246]|8[2-4])\\d{5}",,,,"2345678",,,[7],[6]],[,,"(?:1[67]|77)\\d{6}",,,,"17123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BT",975,"00",,,,,,,,[[,"(\\d{3})(\\d{3})","$1 $2",["[2-7]"]],[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-68]|7[246]"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|7"]]],[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-68]|7[246]"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|7"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BW:[,[,,"(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",,,,,,,[7,8,10]],[,,"(?:2(?:4[0-48]|6[0-24]|9[0578])|3(?:1[0-35-9]|55|[69]\\d|7[013]|81)|4(?:6[03]|7[1267]|9[0-5])|5(?:3[03489]|4[0489]|7[1-47]|88|9[0-49])|6(?:2[1-35]|5[149]|8[013467]))\\d{4}",,,,"2401234",,,[7]],[,,"(?:321|7[1-8]\\d)\\d{5}",,,,"71123456",,,[8]],[,,"(?:0800|800\\d)\\d{6}",,,,"0800012345",,,[10]],[,,"90\\d{5}",,,,"9012345",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"79(?:1(?:[0-2]\\d|3[0-3])|2[0-7]\\d)\\d{3}",,,,"79101234",,,[8]],"BW",267,"00",,,,,,,,[[,"(\\d{2})(\\d{5})","$1 $2",["90"]],[,"(\\d{3})(\\d{4})","$1 $2",["[24-6]|3[15-9]"]],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37]"]],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["0"]],[,"(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BY:[,[,,"(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}",,,,,,,[6,7,8,9,10,11],[5]],[,,"(?:1(?:5(?:1[1-5]|[24]\\d|6[2-4]|9[1-7])|6(?:[235]\\d|4[1-7])|7\\d\\d)|2(?:1(?:[246]\\d|3[0-35-9]|5[1-9])|2(?:[235]\\d|4[0-8])|3(?:[26]\\d|3[02-79]|4[024-7]|5[03-7])))\\d{5}",,,,"152450911",,,[9],[5,6,7]],[,,"(?:2(?:5[5-79]|9[1-9])|(?:33|44)\\d)\\d{6}",,,,"294911911",,,[9]],[,,"800\\d{3,7}|8(?:0[13]|20\\d)\\d{7}",,,,"8011234567"],[,,"(?:810|902)\\d{7}",,,,"9021234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"249\\d{6}",,,,"249123456",,,[9]],"BY",375,"810","8",,,"0|80?",,"8~10",,[[,"(\\d{3})(\\d{3})","$1 $2",["800"],"8 $1"],[,"(\\d{3})(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"],[,"(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],[,"(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],,[,,,,,,,,,[-1]],,,[,,"800\\d{3,7}|(?:8(?:0[13]|10|20\\d)|902)\\d{7}"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BZ:[,[,,"(?:0800\\d|[2-8])\\d{6}",,,,,,,[7,11]],[,,"(?:2(?:[02]\\d|36|[68]0)|[3-58](?:[02]\\d|[68]0)|7(?:[02]\\d|32|[68]0))\\d{4}",,,,"2221234",,,[7]],[,,"6[0-35-7]\\d{5}",,,,"6221234",,,[7]],[,,"0800\\d{7}",,,,"08001234123",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BZ",501,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],[,"(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CA:[,[,,"(?:[2-8]\\d|90)\\d{8}|3\\d{6}",,,,,,,[7,10]],[,,"(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|90[25])[2-9]\\d{6}",,,,"5062345678",,,[10],[7]],[,,"(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|90[25])[2-9]\\d{6}",,,,"5062345678",,,[10],[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456",,,[10]],[,,"900[2-9]\\d{6}",,,,"9002123456",,,[10]],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:00|2[125-9]|33|44|66|77|88)|622)[2-9]\\d{6}",,,,"5002345678",,,[10]],[,,"600[2-9]\\d{6}",,,,"6002012345",,,[10]],"CA",1,"011","1",,,"1",,,1,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"310\\d{4}",,,,"3101234",,,[7]],,,[,,,,,,,,,[-1]]],CC:[,[,,"1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",,,,,,,[6,7,8,9,10,12]],[,,"8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",,,,"891621234",,,[9],[8]],[,,"4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",,,,"412345678",,,[9]],[,,"180(?:0\\d{3}|2)\\d{3}",,,,"1800123456",,,[7,10]],[,,"190[0-26]\\d{6}",,,,"1900123456",,,[10]],[,,"13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",,,,"1300123456",,,[6,8,10,12]],[,,,,,,,,,[-1]],[,,"14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",,,,"147101234",,,[9]],"CC",61,"001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","0",,,"([59]\\d{7})$|0","8$1","0011",,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CD:[,[,,"[189]\\d{8}|[1-68]\\d{6}",,,,,,,[7,9]],[,,"12\\d{7}|[1-6]\\d{6}",,,,"1234567"],[,,"88\\d{5}|(?:8[0-69]|9[017-9])\\d{7}",,,,"991234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CD",243,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],[,"(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CF:[,[,,"(?:[27]\\d{3}|8776)\\d{4}",,,,,,,[8]],[,,"2[12]\\d{6}",,,,"21612345"],[,,"7[024-7]\\d{6}",,,,"70012345"],[,,,,,,,,,[-1]],[,,"8776\\d{4}",,,,"87761234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CF",236,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[278]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CG:[,[,,"222\\d{6}|(?:0\\d|80)\\d{7}",,,,,,,[9]],[,,"222[1-589]\\d{5}",,,,"222123456"],[,,"026(?:1[0-5]|6[6-9])\\d{4}|0(?:[14-6]\\d\\d|2(?:40|5[5-8]|6[07-9]))\\d{5}",,,,"061234567"],[,,,,,,,,,[-1]],[,,"80[0-2]\\d{6}",,,,"800123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CG",242,"00",,,,,,,,[[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CH:[,[,,"8\\d{11}|[2-9]\\d{8}",,,,,,,[9,12]],[,,"(?:2[12467]|3[1-4]|4[134]|5[256]|6[12]|[7-9]1)\\d{7}",,,,"212345678",,,[9]],[,,"(?:6[89]|7[235-9])\\d{7}",,,,"781234567",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"90[016]\\d{6}",,,,"900123456",,,[9]],[,,"84[0248]\\d{6}",,,,"840123456",,,[9]],[,,"878\\d{6}",,,,"878123456",,,[9]],[,,,,,,,,,[-1]],"CH",41,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]|81"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["8"],"0$1"]],,[,,"74[0248]\\d{6}",,,,"740123456",,,[9]],,,[,,,,,,,,,[-1]],[,,"5[18]\\d{7}",,,,"581234567",,,[9]],,,[,,"860\\d{9}",,,,"860123456789",,,[12]]],CI:[,[,,"[02]\\d{9}",,,,,,,[10]],[,,"2(?:[15]\\d{3}|7(?:2(?:0[23]|1[2357]|2[245]|3[45]|4[3-5])|3(?:06|1[69]|[2-6]7)))\\d{5}",,,,"2123456789"],[,,"0[157]\\d{8}",,,,"0123456789"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CI",225,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d)(\\d{5})","$1 $2 $3 $4",["2"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3 $4",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CK:[,[,,"[2-578]\\d{4}",,,,,,,[5]],[,,"(?:2\\d|3[13-7]|4[1-5])\\d{3}",,,,"21234"],[,,"[578]\\d{4}",,,,"71234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CK",682,"00",,,,,,,,[[,"(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CL:[,[,,"12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",,,,,,,[9,10,11]],[,,"2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|3(?:2\\d\\d|3(?:[03467]\\d|1[0-35-9]|2[1-9]|5[0-24-9]|8[0-3])|600)|646[59])|80[1-9]\\d\\d|9(?:3(?:[0-57-9]\\d\\d|6(?:0[02-9]|[1-9]\\d))|6(?:[0-8]\\d\\d|9(?:[02-79]\\d|1[05-9]))|7[1-9]\\d\\d|9(?:[03-9]\\d\\d|1(?:[0235-9]\\d|4[0-24-9])|2(?:[0-79]\\d|8[0-46-9]))))\\d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])\\d{7}",,,,"221234567",,,[9]],[,,"2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|3(?:2\\d\\d|3(?:[03467]\\d|1[0-35-9]|2[1-9]|5[0-24-9]|8[0-3])|600)|646[59])|80[1-9]\\d\\d|9(?:3(?:[0-57-9]\\d\\d|6(?:0[02-9]|[1-9]\\d))|6(?:[0-8]\\d\\d|9(?:[02-79]\\d|1[05-9]))|7[1-9]\\d\\d|9(?:[03-9]\\d\\d|1(?:[0235-9]\\d|4[0-24-9])|2(?:[0-79]\\d|8[0-46-9]))))\\d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])\\d{7}",,,,"221234567",,,[9]],[,,"(?:123|8)00\\d{6}",,,,"800123456",,,[9,11]],[,,,,,,,,,[-1]],[,,"600\\d{7,8}",,,,"6001234567",,,[10,11]],[,,,,,,,,,[-1]],[,,"44\\d{7}",,,,"441234567",,,[9]],"CL",56,"(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0",,,,,,,1,[[,"(\\d{4})","$1",["1(?:[03-589]|21)|[29]0|78"]],[,"(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9[2-9]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"],"($1)"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]],[[,"(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9[2-9]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"],"($1)"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]],[,,,,,,,,,[-1]],,,[,,"600\\d{7,8}",,,,,,,[10,11]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CM:[,[,,"[26]\\d{8}|88\\d{6,7}",,,,,,,[8,9]],[,,"2(?:22|33)\\d{6}",,,,"222123456",,,[9]],[,,"(?:24[23]|6[25-9]\\d)\\d{6}",,,,"671234567",,,[9]],[,,"88\\d{6,7}",,,,"88012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CM",237,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["88"]],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]|88"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CN:[,[,,"1[127]\\d{8,9}|2\\d{9}(?:\\d{2})?|[12]\\d{6,7}|86\\d{6}|(?:1[03-689]\\d|6)\\d{7,9}|(?:[3-579]\\d|8[0-57-9])\\d{6,9}",,,,,,,[7,8,9,10,11,12],[5,6]],[,,"(?:10(?:[02-79]\\d\\d|[18](?:0[1-9]|[1-9]\\d))|21(?:[18](?:0[1-9]|[1-9]\\d)|[2-79]\\d\\d))\\d{5}|(?:43[35]|754)\\d{7,8}|8(?:078\\d{7}|51\\d{7,8})|(?:10|(?:2|85)1|43[35]|754)(?:100\\d\\d|95\\d{3,4})|(?:2[02-57-9]|3(?:11|7[179])|4(?:[15]1|3[12])|5(?:1\\d|2[37]|3[12]|51|7[13-79]|9[15])|7(?:[39]1|5[57]|6[09])|8(?:71|98))(?:[02-8]\\d{7}|1(?:0(?:0\\d\\d(?:\\d{3})?|[1-9]\\d{5})|[1-9]\\d{6})|9(?:[0-46-9]\\d{6}|5\\d{3}(?:\\d(?:\\d{2})?)?))|(?:3(?:1[02-9]|35|49|5\\d|7[02-68]|9[1-68])|4(?:1[02-9]|2[179]|3[46-9]|5[2-9]|6[47-9]|7\\d|8[23])|5(?:3[03-9]|4[36]|5[02-9]|6[1-46]|7[028]|80|9[2-46-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[17]\\d|2[248]|3[04-9]|4[3-6]|5[0-3689]|6[2368]|9[02-9])|8(?:1[236-8]|2[5-7]|3\\d|5[2-9]|7[02-9]|8[36-8]|9[1-7])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:[02-8]\\d{6}|1(?:0(?:0\\d\\d(?:\\d{2})?|[1-9]\\d{4})|[1-9]\\d{5})|9(?:[0-46-9]\\d{5}|5\\d{3,5}))",,,,"1012345678",,,[7,8,9,10,11],[5,6]],[,,"1740[0-5]\\d{6}|1(?:[38]\\d|4[57]|[59][0-35-9]|6[25-7]|7[0-35-8])\\d{8}",,,,"13123456789",,,[11]],[,,"(?:(?:10|21)8|8)00\\d{7}",,,,"8001234567",,,[10,12]],[,,"16[08]\\d{5}",,,,"16812345",,,[8]],[,,"10(?:10\\d{4}|96\\d{3,4})|400\\d{7}|950\\d{7,8}|(?:2[0-57-9]|3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))96\\d{3,4}",,,,"4001234567",,,[7,8,9,10,11],[5,6]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CN",86,"00|1(?:[12]\\d|79)\\d\\d00","0",,,"(1(?:[12]\\d|79)\\d\\d)|0",,"00",,[[,"(\\d{5,6})","$1",["1(?:00|2[13])|9[56]","1(?:00|2(?:1|39))|9[56]","1(?:00|2(?:1|395))|9[56]"]],[,"(\\d{5,6})","$1",["10"]],[,"(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]","(?:10|2[0-57-9])(?:10|9[56])","10(?:10|9[56])|2[0-57-9](?:100|9[56])"],"0$1","$CC $1"],[,"(\\d{3})(\\d{4})","$1 $2",["[1-9]","1[1-9]|26|[3-9]|(?:10|2[0-57-9])(?:[0-8]|9[0-47-9])","1(?:0(?:[0-8]|9[0-47-9])|[1-9])|2(?:[0-57-9](?:[02-8]|1(?:0[1-9]|[1-9])|9[0-47-9])|6)|[3-9]"]],[,"(\\d{4})(\\d{4})","$1 $2",["16[08]"]],[,"(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1","$CC $1"],[,"(\\d{4})(\\d{4})","$1 $2",["[1-9]","1(?:0(?:[02-8]|1[1-9]|9[0-47-9])|[1-9])|2(?:[0-57-9](?:[0-8]|9[0-47-9])|6)|[3-9]","1(?:0(?:[02-8]|1[1-9]|9[0-47-9])|[1-9])|26|3(?:[0268]|4[0-8]|9[079])|4(?:[049]|2[02-68]|[35]0|6[0-356]|8[014-9])|5(?:0|2[0-24-689]|4[0-2457-9]|6[057-9]|8[1-9]|90)|6(?:[0-24578]|3[06-9]|6[14-79]|9[03-9])|7(?:0[02-9]|2[0135-79]|3[23]|4[0-27-9]|6[1457]|8)|8(?:[046]|1[01459]|2[0-489]|5(?:0|[23][0-8])|8[0-2459]|9[09])|9(?:0[0457]|1[08]|[268]|4[024-9]|5[06-9])|(?:33|85[23]9)[0-46-9]|(?:2[0-57-9]|3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:[0-8]|9[0-47-9])","1(?:0[02-8]|[1-9])|2(?:[0-57-9][0-8]|6)|3(?:[0268]|3[0-46-9]|4[0-8]|9[079])|4(?:[049]|2[02-68]|[35]0|6[0-356]|8[014-9])|5(?:0|2[0-24-689]|4[0-2457-9]|6[057-9]|90)|6(?:[0-24578]|3[06-9]|6[14-79]|9[03-9])|7(?:0[02-9]|2[0135-79]|3[23]|4[0-27-9]|6[1457]|8)|8(?:[046]|1[01459]|2[0-489]|5(?:0|[23](?:[02-8]|1[1-9]|9[0-46-9]))|8[0-2459]|9[09])|9(?:0[0457]|1[08]|[268]|4[024-9]|5[06-9])|(?:10|2[0-57-9])9[0-47-9]|(?:101|58|85[23]10)[1-9]|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:[02-8]|1(?:0[1-9]|[1-9])|9[0-47-9])"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{7,8})","$1 $2",["9"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"],,"$CC $1"],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",,1]],[[,"(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]","(?:10|2[0-57-9])(?:10|9[56])","10(?:10|9[56])|2[0-57-9](?:100|9[56])"],"0$1","$CC $1"],[,"(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1","$CC $1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{7,8})","$1 $2",["9"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"],,"$CC $1"],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",,1]],[,,,,,,,,,[-1]],,,[,,"(?:(?:10|21)8|[48])00\\d{7}|950\\d{7,8}",,,,,,,[10,11,12]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CO:[,[,,"(?:60\\d\\d|9101)\\d{6}|(?:1\\d|3)\\d{9}",,,,,,,[10,11],[7]],[,,"601055(?:[0-4]\\d|50)\\d\\d|6010(?:[0-4]\\d|5[0-4])\\d{4}|60(?:[124-7][2-9]|8[1-9])\\d{6}",,,,"6012345678",,,[10],[7]],[,,"333301[0-5]\\d{3}|3333(?:00|2[5-9]|[3-9]\\d)\\d{4}|(?:3(?:24[1-9]|3(?:00|3[0-24-9]))|9101)\\d{6}|3(?:0[0-5]|1\\d|2[0-3]|5[01]|70)\\d{7}",,,,"3211234567",,,[10]],[,,"1800\\d{7}",,,,"18001234567",,,[11]],[,,"19(?:0[01]|4[78])\\d{7}",,,,"19001234567",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CO",57,"00(?:4(?:[14]4|56)|[579])","0",,,"0([3579]|4(?:[14]4|56))?",,,,[[,"(\\d{3})(\\d{7})","$1 $2",["6"],"($1)","0$CC $1"],[,"(\\d{3})(\\d{7})","$1 $2",["3[0-357]|91"],,"0$CC $1"],[,"(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1"]],[[,"(\\d{3})(\\d{7})","$1 $2",["6"],"($1)","0$CC $1"],[,"(\\d{3})(\\d{7})","$1 $2",["3[0-357]|91"],,"0$CC $1"],[,"(\\d)(\\d{3})(\\d{7})","$1 $2 $3",["1"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CR:[,[,,"(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",,,,,,,[8,10]],[,,"210[7-9]\\d{4}|2(?:[024-7]\\d|1[1-9])\\d{5}",,,,"22123456",,,[8]],[,,"(?:3005\\d|6500[01])\\d{3}|(?:5[07]|6[0-4]|7[0-3]|8[3-9])\\d{6}",,,,"83123456",,,[8]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,"90[059]\\d{7}",,,,"9001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:210[0-6]|4\\d{3}|5100)\\d{4}",,,,"40001234",,,[8]],"CR",506,"00",,,,"(19(?:0[0-2468]|1[09]|20|66|77|99))",,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"],,"$CC $1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"],,"$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CU:[,[,,"(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}",,,,,,,[6,7,8,10],[4,5]],[,,"(?:3[23]|4[89])\\d{4,6}|(?:31|4[36]|8(?:0[25]|78)\\d)\\d{6}|(?:2[1-4]|4[1257]|7\\d)\\d{5,6}",,,,"71234567",,,,[4,5]],[,,"(?:5\\d|6[2-4])\\d{6}",,,,"51234567",,,[8]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,,,,,,,,[-1]],[,,"807\\d{7}",,,,"8071234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CU",53,"119","0",,,"0",,,,[[,"(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],[,"(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],[,"(\\d)(\\d{7})","$1 $2",["[56]"],"0$1"],[,"(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CV:[,[,,"(?:[2-59]\\d\\d|800)\\d{4}",,,,,,,[7]],[,,"2(?:2[1-7]|3[0-8]|4[12]|5[1256]|6\\d|7[1-3]|8[1-5])\\d{4}",,,,"2211234"],[,,"(?:36|5[1-389]|9\\d)\\d{5}",,,,"9911234"],[,,"800\\d{4}",,,,"8001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:3[3-5]|4[356])\\d{5}",,,,"3401234"],"CV",238,"0",,,,,,,,[[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CW:[,[,,"(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",,,,,,,[7,8]],[,,"9(?:4(?:3[0-5]|4[14]|6\\d)|50\\d|7(?:2[014]|3[02-9]|4[4-9]|6[357]|77|8[7-9])|8(?:3[39]|[46]\\d|7[01]|8[57-9]))\\d{4}",,,,"94351234"],[,,"953[01]\\d{4}|9(?:5[12467]|6[5-9])\\d{5}",,,,"95181234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"60[0-2]\\d{4}",,,,"6001234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CW",599,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[3467]"]],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],,[,,"955\\d{5}",,,,"95581234",,,[8]],1,"[69]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CX:[,[,,"1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",,,,,,,[6,7,8,9,10,12]],[,,"8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",,,,"891641234",,,[9],[8]],[,,"4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",,,,"412345678",,,[9]],[,,"180(?:0\\d{3}|2)\\d{3}",,,,"1800123456",,,[7,10]],[,,"190[0-26]\\d{6}",,,,"1900123456",,,[10]],[,,"13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",,,,"1300123456",,,[6,8,10,12]],[,,,,,,,,,[-1]],[,,"14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",,,,"147101234",,,[9]],"CX",61,"001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","0",,,"([59]\\d{7})$|0","8$1","0011",,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CY:[,[,,"(?:[279]\\d|[58]0)\\d{6}",,,,,,,[8]],[,,"2[2-6]\\d{6}",,,,"22345678"],[,,"9(?:10|[4-79]\\d)\\d{5}",,,,"96123456"],[,,"800\\d{5}",,,,"80001234"],[,,"90[09]\\d{5}",,,,"90012345"],[,,"80[1-9]\\d{5}",,,,"80112345"],[,,"700\\d{5}",,,,"70012345"],[,,,,,,,,,[-1]],"CY",357,"00",,,,,,,,[[,"(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:50|77)\\d{6}",,,,"77123456"],,,[,,,,,,,,,[-1]]],CZ:[,[,,"(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}",,,,,,,[9,10,11,12]],[,,"(?:2\\d|3[1257-9]|4[16-9]|5[13-9])\\d{7}",,,,"212345678",,,[9]],[,,"(?:60[1-8]\\d|7(?:0(?:[2-5]\\d|60)|190|[2379]\\d\\d))\\d{5}",,,,"601123456",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"9(?:0[05689]|76)\\d{6}",,,,"900123456",,,[9]],[,,"8[134]\\d{7}",,,,"811234567",,,[9]],[,,"70[01]\\d{6}",,,,"700123456",,,[9]],[,,"9[17]0\\d{6}",,,,"910123456",,,[9]],"CZ",420,"00",,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["96"]],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"9(?:5\\d|7[2-4])\\d{6}",,,,"972123456",,,[9]],,,[,,"9(?:3\\d{9}|6\\d{7,10})",,,,"93123456789"]],DE:[,[,,"[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}",,,,,,,[4,5,6,7,8,9,10,11,12,13,14,15],[2,3]],[,,"32\\d{9,11}|49[1-6]\\d{10}|322\\d{6}|49[0-7]\\d{3,9}|(?:[34]0|[68]9)\\d{3,13}|(?:2(?:0[1-689]|[1-3569]\\d|4[0-8]|7[1-7]|8[0-7])|3(?:[3569]\\d|4[0-79]|7[1-7]|8[1-8])|4(?:1[02-9]|[2-48]\\d|5[0-6]|6[0-8]|7[0-79])|5(?:0[2-8]|[124-6]\\d|[38][0-8]|[79][0-7])|6(?:0[02-9]|[1-358]\\d|[47][0-8]|6[1-9])|7(?:0[2-8]|1[1-9]|[27][0-7]|3\\d|[4-6][0-8]|8[0-5]|9[013-7])|8(?:0[2-9]|1[0-79]|2\\d|3[0-46-9]|4[0-6]|5[013-9]|6[1-8]|7[0-8]|8[0-24-6])|9(?:0[6-9]|[1-4]\\d|[589][0-7]|6[0-8]|7[0-467]))\\d{3,12}",,,,"30123456",,,[5,6,7,8,9,10,11,12,13,14,15],[2,3,4]],[,,"15(?:[0-25-9]\\d\\d|310)\\d{6}|1(?:6[023]|7\\d)\\d{7,8}",,,,"15123456789",,,[10,11]],[,,"800\\d{7,12}",,,,"8001234567890",,,[10,11,12,13,14,15]],[,,"(?:137[7-9]|900(?:[135]|9\\d))\\d{6}",,,,"9001234567",,,[10,11]],[,,"180\\d{5,11}|13(?:7[1-6]\\d\\d|8)\\d{4}",,,,"18012345",,,[7,8,9,10,11,12,13,14]],[,,"700\\d{8}",,,,"70012345678",,,[11]],[,,,,,,,,,[-1]],"DE",49,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],[,"(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],[,"(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],[,"(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],[,"(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],[,"(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],[,"(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],[,"(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],[,"(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],[,"(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],[,"(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],[,"(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],[,"(\\d{5})(\\d{6})","$1 $2",["15[03568]","15(?:[0568]|31)"],"0$1"],[,"(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],[,"(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{8})","$1 $2 $3",["15"],"0$1"]],,[,,"16(?:4\\d{1,10}|[89]\\d{1,11})",,,,"16412345",,,[4,5,6,7,8,9,10,11,12,13,14]],,,[,,,,,,,,,[-1]],[,,"18(?:1\\d{5,11}|[2-9]\\d{8})",,,,"18500123456",,,[8,9,10,11,12,13,14]],,,[,,"1(?:6(?:013|255|399)|7(?:(?:[015]1|[69]3)3|[2-4]55|[78]99))\\d{7,8}|15(?:(?:[03-68]00|113)\\d|2\\d55|7\\d99|9\\d33)\\d{7}",,,,"177991234567",,,[12,13]]],DJ:[,[,,"(?:2\\d|77)\\d{6}",,,,,,,[8]],[,,"2(?:1[2-5]|7[45])\\d{5}",,,,"21360003"],[,,"77\\d{6}",,,,"77831001"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"DJ",253,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DK:[,[,,"[2-9]\\d{7}",,,,,,,[8]],[,,"(?:(?:2\\d|9[1-46-9])\\d|3(?:[0-37]\\d|4[013]|5[0-58]|6[01347-9]|8[0-8]|9[0-79])|4(?:[0-25]\\d|[34][02-9]|6[013-579]|7[013579]|8[0-47]|9[0-27])|5(?:[0-36]\\d|4[0146-9]|5[03-57-9]|7[0568]|8[0-358]|9[0-69])|6(?:[013578]\\d|2[0-68]|4[02-8]|6[01689]|9[015689])|7(?:[0-69]\\d|7[03-9]|8[0147])|8(?:[16-9]\\d|2[0-58]))\\d{5}",,,,"32123456"],[,,"(?:[2-7]\\d|8[126-9]|9[1-46-9])\\d{6}",,,,"34412345"],[,,"80\\d{6}",,,,"80123456"],[,,"90\\d{6}",,,,"90123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"DK",45,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DM:[,[,,"(?:[58]\\d\\d|767|900)\\d{7}",,,,,,,[10],[7]],[,,"767(?:2(?:55|66)|4(?:2[01]|4[0-25-9])|50[0-4])\\d{4}",,,,"7674201234",,,,[7]],[,,"767(?:2(?:[2-4689]5|7[5-7])|31[5-7]|61[1-8]|70[1-6])\\d{4}",,,,"7672251234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"DM",1,"011","1",,,"([2-7]\\d{6})$|1","767$1",,,,,[,,,,,,,,,[-1]],,"767",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DO:[,[,,"(?:[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"8(?:[04]9[2-9]\\d\\d|29(?:2(?:[0-59]\\d|6[04-9]|7[0-27]|8[0237-9])|3(?:[0-35-9]\\d|4[7-9])|[45]\\d\\d|6(?:[0-27-9]\\d|[3-5][1-9]|6[0135-8])|7(?:0[013-9]|[1-37]\\d|4[1-35689]|5[1-4689]|6[1-57-9]|8[1-79]|9[1-8])|8(?:0[146-9]|1[0-48]|[248]\\d|3[1-79]|5[01589]|6[013-68]|7[124-8]|9[0-8])|9(?:[0-24]\\d|3[02-46-9]|5[0-79]|60|7[0169]|8[57-9]|9[02-9])))\\d{4}",,,,"8092345678",,,,[7]],[,,"8[024]9[2-9]\\d{6}",,,,"8092345678",,,,[7]],[,,"8(?:00(?:14|[2-9]\\d)|(?:33|44|55|66|77|88)[2-9]\\d)\\d{5}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"DO",1,"011","1",,,"1",,,,,,[,,,,,,,,,[-1]],,"8001|8[024]9",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DZ:[,[,,"(?:[1-4]|[5-79]\\d|80)\\d{7}",,,,,,,[8,9]],[,,"9619\\d{5}|(?:1\\d|2[013-79]|3[0-8]|4[013-689])\\d{6}",,,,"12345678"],[,,"(?:5(?:4[0-29]|5\\d|6[0-2])|6(?:[569]\\d|7[0-6])|7[7-9]\\d)\\d{6}",,,,"551234567",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"80[3-689]1\\d{5}",,,,"808123456",,,[9]],[,,"80[12]1\\d{5}",,,,"801123456",,,[9]],[,,,,,,,,,[-1]],[,,"98[23]\\d{6}",,,,"983123456",,,[9]],"DZ",213,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EC:[,[,,"1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",,,,,,,[8,9,10,11],[7]],[,,"[2-7][2-7]\\d{6}",,,,"22123456",,,[8],[7]],[,,"964[0-2]\\d{5}|9(?:39|[57][89]|6[0-36-9]|[89]\\d)\\d{6}",,,,"991234567",,,[9]],[,,"1800\\d{7}|1[78]00\\d{6}",,,,"18001234567",,,[10,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"[2-7]890\\d{4}",,,,"28901234",,,[8]],"EC",593,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{4})","$1-$2",["[2-7]"]],[,"(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],[[,"(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-7]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EE:[,[,,"8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",,,,,,,[7,8,10]],[,,"(?:3[23589]|4[3-8]|6\\d|7[1-9]|88)\\d{5}",,,,"3212345",,,[7]],[,,"(?:5\\d{5}|8(?:1(?:0(?:0(?:00|[178]\\d)|[3-9]\\d\\d)|(?:1(?:0[236]|1\\d)|(?:2[0-59]|[3-79]\\d)\\d)\\d)|2(?:0(?:0(?:00|4\\d)|(?:19|[2-7]\\d)\\d)|(?:(?:[124-6]\\d|3[5-9])\\d|7(?:[0-79]\\d|8[13-9])|8(?:[2-6]\\d|7[01]))\\d)|[349]\\d{4}))\\d\\d|5(?:(?:[02]\\d|5[0-478])\\d|1(?:[0-8]\\d|95)|6(?:4[0-4]|5[1-589]))\\d{3}",,,,"51234567",,,[7,8]],[,,"800(?:(?:0\\d\\d|1)\\d|[2-9])\\d{3}",,,,"80012345"],[,,"(?:40\\d\\d|900)\\d{4}",,,,"9001234",,,[7,8]],[,,,,,,,,,[-1]],[,,"70[0-2]\\d{5}",,,,"70012345",,,[8]],[,,,,,,,,,[-1]],"EE",372,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],[,"(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],[,"(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,"800[2-9]\\d{3}",,,,,,,[7]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EG:[,[,,"[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",,,,,,,[8,9,10],[6,7]],[,,"13[23]\\d{6}|(?:15|57)\\d{6,7}|(?:2[2-4]|3|4[05-8]|5[05]|6[24-689]|8[2468]|9[235-7])\\d{7}",,,,"234567890",,,[8,9],[6,7]],[,,"1[0-25]\\d{8}",,,,"1001234567",,,[10]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,"900\\d{7}",,,,"9001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"EG",20,"00","0",,,"0",,,,[[,"(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],[,"(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],[,"(\\d{2})(\\d{8})","$1 $2",["1"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EH:[,[,,"[5-8]\\d{8}",,,,,,,[9]],[,,"528[89]\\d{5}",,,,"528812345"],[,,"(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-4]|5[01]|8[0-3]))\\d{6}",,,,"650123456"],[,,"80[0-7]\\d{6}",,,,"801234567"],[,,"89\\d{7}",,,,"891234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}",,,,"592401234"],"EH",212,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,"528[89]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ER:[,[,,"[178]\\d{6}",,,,,,,[7],[6]],[,,"(?:1(?:1[12568]|[24]0|55|6[146])|8\\d\\d)\\d{4}",,,,"8370362",,,,[6]],[,,"(?:17[1-3]|7\\d\\d)\\d{4}",,,,"7123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ER",291,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ES:[,[,,"[5-9]\\d{8}",,,,,,,[9]],[,,"96906(?:0[0-8]|1[1-9]|[2-9]\\d)\\d\\d|9(?:69(?:0[0-57-9]|[1-9]\\d)|73(?:[0-8]\\d|9[1-9]))\\d{4}|(?:8(?:[1356]\\d|[28][0-8]|[47][1-9])|9(?:[135]\\d|[268][0-8]|4[1-9]|7[124-9]))\\d{6}",,,,"810123456"],[,,"(?:590[16]00\\d|9(?:6906(?:09|10)|7390\\d\\d))\\d\\d|(?:6\\d|7[1-48])\\d{7}",,,,"612345678"],[,,"[89]00\\d{6}",,,,"800123456"],[,,"80[367]\\d{6}",,,,"803123456"],[,,"90[12]\\d{6}",,,,"901123456"],[,,"70\\d{7}",,,,"701234567"],[,,,,,,,,,[-1]],"ES",34,"00",,,,,,,,[[,"(\\d{4})","$1",["905"]],[,"(\\d{6})","$1",["[79]9"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]],[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"51\\d{7}",,,,"511234567"],,,[,,,,,,,,,[-1]]],ET:[,[,,"(?:11|[2-579]\\d)\\d{7}",,,,,,,[9],[7]],[,,"11667[01]\\d{3}|(?:11(?:1(?:1[124]|2[2-7]|3[1-5]|5[5-8]|8[6-8])|2(?:13|3[6-8]|5[89]|7[05-9]|8[2-6])|3(?:2[01]|3[0-289]|4[1289]|7[1-4]|87)|4(?:1[69]|3[2-49]|4[0-3]|6[5-8])|5(?:1[578]|44|5[0-4])|6(?:1[578]|2[69]|39|4[5-7]|5[0-5]|6[0-59]|8[015-8]))|2(?:2(?:11[1-9]|22[0-7]|33\\d|44[1467]|66[1-68])|5(?:11[124-6]|33[2-8]|44[1467]|55[14]|66[1-3679]|77[124-79]|880))|3(?:3(?:11[0-46-8]|(?:22|55)[0-6]|33[0134689]|44[04]|66[01467])|4(?:44[0-8]|55[0-69]|66[0-3]|77[1-5]))|4(?:6(?:119|22[0-24-7]|33[1-5]|44[13-69]|55[14-689]|660|88[1-4])|7(?:(?:11|22)[1-9]|33[13-7]|44[13-6]|55[1-689]))|5(?:7(?:227|55[05]|(?:66|77)[14-8])|8(?:11[149]|22[013-79]|33[0-68]|44[013-8]|550|66[1-5]|77\\d)))\\d{4}",,,,"111112345",,,,[7]],[,,"700[1-9]\\d{5}|(?:7(?:0[1-9]|1[0-8]|22|77|86|99)|9\\d\\d)\\d{6}",,,,"911234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ET",251,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-579]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FI:[,[,,"[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",,,,,,,[5,6,7,8,9,10,11,12]],[,,"1[35-7][1-8]\\d{3,6}|(?:1[49][1-8]|[23568][1-8]\\d|9(?:00|[1-8]\\d))\\d{2,6}",,,,"131234567",,,[5,6,7,8,9]],[,,"4946\\d{2,6}|(?:4[0-8]|50)\\d{4,8}",,,,"412345678",,,[6,7,8,9,10]],[,,"800\\d{4,6}",,,,"800123456",,,[7,8,9]],[,,"[67]00\\d{5,6}",,,,"600123456",,,[8,9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"FI",358,"00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","0",,,"0",,"00",,[[,"(\\d{5})","$1",["75[12]"],"0$1"],[,"(\\d{5})","$1",["20[2-59]"],"0$1"],[,"(\\d{6})","$1",["11"]],[,"(\\d{3})(\\d{3,7})","$1 $2",["(?:[1-3]0|[68])0|70[07-9]"],"0$1"],[,"(\\d{2})(\\d{4,8})","$1 $2",["[14]|2[09]|50|7[135]"],"0$1"],[,"(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"],[,"(\\d)(\\d{4,9})","$1 $2",["(?:1[49]|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"]],[[,"(\\d{5})","$1",["20[2-59]"],"0$1"],[,"(\\d{3})(\\d{3,7})","$1 $2",["(?:[1-3]0|[68])0|70[07-9]"],"0$1"],[,"(\\d{2})(\\d{4,8})","$1 $2",["[14]|2[09]|50|7[135]"],"0$1"],[,"(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"],[,"(\\d)(\\d{4,9})","$1 $2",["(?:1[49]|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"]],[,,,,,,,,,[-1]],1,"1[03-79]|[2-9]",[,,"20(?:2[023]|9[89])\\d{1,6}|(?:60[12]\\d|7099)\\d{4,5}|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:[1-3]00|7(?:0[1-5]\\d\\d|5[03-9]))\\d{3,7}"],[,,"20\\d{4,8}|60[12]\\d{5,6}|7(?:099\\d{4,5}|5[03-9]\\d{3,7})|20[2-59]\\d\\d|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:10|29|3[09]|70[1-5]\\d)\\d{4,8}",,,,"10112345"],,,[,,,,,,,,,[-1]]],FJ:[,[,,"45\\d{5}|(?:0800\\d|[235-9])\\d{6}",,,,,,,[7,11]],[,,"603\\d{4}|(?:3[0-5]|6[25-7]|8[58])\\d{5}",,,,"3212345",,,[7]],[,,"(?:[279]\\d|45|5[01568]|8[034679])\\d{5}",,,,"7012345",,,[7]],[,,"0800\\d{7}",,,,"08001234567",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"FJ",679,"0(?:0|52)",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FK:[,[,,"[2-7]\\d{4}",,,,,,,[5]],[,,"[2-47]\\d{4}",,,,"31234"],[,,"[56]\\d{4}",,,,"51234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"FK",500,"00",,,,,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FM:[,[,,"(?:[39]\\d\\d|820)\\d{4}",,,,,,,[7]],[,,"31(?:00[67]|208|309)\\d\\d|(?:3(?:[2357]0[1-9]|602|804|905)|(?:820|9[2-6]\\d)\\d)\\d{3}",,,,"3201234"],[,,"31(?:00[67]|208|309)\\d\\d|(?:3(?:[2357]0[1-9]|602|804|905)|(?:820|9[2-7]\\d)\\d)\\d{3}",,,,"3501234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"FM",691,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[389]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FO:[,[,,"[2-9]\\d{5}",,,,,,,[6]],[,,"(?:20|[34]\\d|8[19])\\d{4}",,,,"201234"],[,,"(?:[27][1-9]|5\\d|9[16])\\d{4}",,,,"211234"],[,,"80[257-9]\\d{3}",,,,"802123"],[,,"90(?:[13-5][15-7]|2[125-7]|9\\d)\\d\\d",,,,"901123"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:6[0-36]|88)\\d{4}",,,,"601234"],"FO",298,"00",,,,"(10(?:01|[12]0|88))",,,,[[,"(\\d{6})","$1",["[2-9]"],,"$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FR:[,[,,"[1-9]\\d{8}",,,,,,,[9]],[,,"(?:26[013-9]|59[1-35-9])\\d{6}|(?:[13]\\d|2[0-57-9]|4[1-9]|5[0-8])\\d{7}",,,,"123456789"],[,,"(?:6(?:[0-24-8]\\d|3[0-8]|9[589])|7[3-9]\\d)\\d{6}",,,,"612345678"],[,,"80[0-5]\\d{6}",,,,"801234567"],[,,"836(?:0[0-36-9]|[1-9]\\d)\\d{4}|8(?:1[2-9]|2[2-47-9]|3[0-57-9]|[569]\\d|8[0-35-9])\\d{6}",,,,"891123456"],[,,"8(?:1[01]|2[0156]|4[02]|84)\\d{6}",,,,"884012345"],[,,,,,,,,,[-1]],[,,"9\\d{8}",,,,"912345678"],"FR",33,"00","0",,,"0",,,,[[,"(\\d{4})","$1",["10"]],[,"(\\d{3})(\\d{3})","$1 $2",["1"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"80[6-9]\\d{6}",,,,"806123456"],,,[,,,,,,,,,[-1]]],GA:[,[,,"(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",,,,,,,[7,8]],[,,"[01]1\\d{6}",,,,"01441234",,,[8]],[,,"(?:(?:0[2-7]|7[467])\\d|6(?:0[0-4]|10|[256]\\d))\\d{5}|[2-7]\\d{6}",,,,"06031234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GA",241,"00",,,,"0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})","$1",,,[[,"(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GB:[,[,,"[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",,,,,,,[7,9,10],[4,5,6,8]],[,,"(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-35])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}",,,,"1212345678",,,[9,10],[4,5,6,7,8]],[,,"7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",,,,"7400123456",,,[10]],[,,"80[08]\\d{7}|800\\d{6}|8001111",,,,"8001234567"],[,,"(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",,,,"9012345678",,,[7,10]],[,,,,,,,,,[-1]],[,,"70\\d{8}",,,,"7012345678",,,[10]],[,,"56\\d{8}",,,,"5612345678",,,[10]],"GB",44,"00","0"," x",,"0",,,,[[,"(\\d{3})(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],[,"(\\d{3})(\\d{6})","$1 $2",["800"],"0$1"],[,"(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],[,"(\\d{4})(\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],[,"(\\d{4})(\\d{6})","$1 $2",["7"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[1389]"],"0$1"]],,[,,"76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",,,,"7640123456",,,[10]],1,,[,,,,,,,,,[-1]],[,,"(?:3[0347]|55)\\d{8}",,,,"5512345678",,,[10]],,,[,,,,,,,,,[-1]]],GD:[,[,,"(?:473|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"473(?:2(?:3[0-2]|69)|3(?:2[89]|86)|4(?:[06]8|3[5-9]|4[0-4]|5[579]|73|90)|63[68]|7(?:58|84)|800|938)\\d{4}",,,,"4732691234",,,,[7]],[,,"473(?:4(?:0[2-79]|1[04-9]|2[0-5]|49|5[68])|5(?:2[01]|3[3-8])|901)\\d{4}",,,,"4734031234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"GD",1,"011","1",,,"([2-9]\\d{6})$|1","473$1",,,,,[,,,,,,,,,[-1]],,"473",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GE:[,[,,"(?:[3-57]\\d\\d|800)\\d{6}",,,,,,,[9],[6,7]],[,,"(?:3(?:[256]\\d|4[124-9]|7[0-4])|4(?:1\\d|2[2-7]|3[1-79]|4[2-8]|7[239]|9[1-7]))\\d{6}",,,,"322123456",,,,[6,7]],[,,"5(?:(?:(?:0555|1(?:[17]77|555))[5-9]|757(?:7[7-9]|8[01]))\\d|22252[0-4])\\d\\d|(?:5(?:0(?:0(?:0\\d|11|22|3[0-6]|44|5[05]|77|88|9[09])|111|22[02]|77\\d)|1(?:1(?:[03][01]|[124]\\d)|4\\d\\d)|[23]555|4(?:4\\d\\d|555)|5(?:[0157-9]\\d\\d|200)|6[89]\\d\\d|7(?:[0147-9]\\d\\d|5(?:00|[57]5))|8(?:0(?:[018]\\d|2[0-4])|5(?:55|8[89])|8(?:55|88))|9(?:090|[1-35-9]\\d\\d))|790\\d\\d)\\d{4}|5(?:0(?:0[17]0|505)|1(?:0[01]0|1(?:07|33|51))|2(?:0[02]0|2[25]2)|3(?:0[03]0|3[35]3)|(?:40[04]|900)0|5222)[0-4]\\d{3}",,,,"555123456"],[,,"800\\d{6}",,,,"800123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"70[67]\\d{6}",,,,"706123456"],"GE",995,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["32"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[57]"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"70[67]\\d{6}"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GF:[,[,,"[56]94\\d{6}|(?:80|9\\d)\\d{7}",,,,,,,[9]],[,,"594(?:[02-49]\\d|1[0-5]|5[6-9]|6[0-3]|80)\\d{4}",,,,"594101234"],[,,"694(?:[0-249]\\d|3[0-8])\\d{4}",,,,"694201234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:(?:396|76\\d)\\d|476[0-5])\\d{4}",,,,"976012345"],"GF",594,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[56]|9[47]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[89]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GG:[,[,,"(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",,,,,,,[7,9,10],[6]],[,,"1481[25-9]\\d{5}",,,,"1481256789",,,[10],[6]],[,,"7(?:(?:781|839)\\d|911[17])\\d{5}",,,,"7781123456",,,[10]],[,,"80[08]\\d{7}|800\\d{6}|8001111",,,,"8001234567"],[,,"(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d",,,,"9012345678",,,[7,10]],[,,,,,,,,,[-1]],[,,"70\\d{8}",,,,"7012345678",,,[10]],[,,"56\\d{8}",,,,"5612345678",,,[10]],"GG",44,"00","0",,,"([25-9]\\d{5})$|0","1481$1",,,,,[,,"76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",,,,"7640123456",,,[10]],,,[,,,,,,,,,[-1]],[,,"(?:3[0347]|55)\\d{8}",,,,"5512345678",,,[10]],,,[,,,,,,,,,[-1]]],GH:[,[,,"(?:[235]\\d{3}|800)\\d{5}",,,,,,,[8,9],[7]],[,,"3082[0-5]\\d{4}|3(?:0(?:[237]\\d|8[01])|[167](?:2[0-6]|7\\d|80)|2(?:2[0-5]|7\\d|80)|3(?:2[0-3]|7\\d|80)|4(?:2[013-9]|3[01]|7\\d|80)|5(?:2[0-7]|7\\d|80)|8(?:2[0-2]|7\\d|80)|9(?:[28]0|7\\d))\\d{5}",,,,"302345678",,,[9],[7]],[,,"(?:2(?:[0346-9]\\d|5[67])|5(?:[03-7]\\d|9[1-9]))\\d{6}",,,,"231234567",,,[9]],[,,"800\\d{5}",,,,"80012345",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GH",233,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[237]|8[0-2]"]],[,"(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],[[,"(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,"800\\d{5}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GI:[,[,,"(?:[25]\\d|60)\\d{6}",,,,,,,[8]],[,,"2190[0-2]\\d{3}|2(?:0(?:[02]\\d|3[01])|16[24-9]|2[2-5]\\d)\\d{4}",,,,"20012345"],[,,"5251[0-4]\\d{3}|(?:5(?:[146-8]\\d\\d|250)|60(?:1[01]|6\\d))\\d{4}",,,,"57123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GI",350,"00",,,,,,,,[[,"(\\d{3})(\\d{5})","$1 $2",["2"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GL:[,[,,"(?:19|[2-689]\\d|70)\\d{4}",,,,,,,[6]],[,,"(?:19|3[1-7]|[68][1-9]|70|9\\d)\\d{4}",,,,"321000"],[,,"[245]\\d{5}",,,,"221234"],[,,"80\\d{4}",,,,"801234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"3[89]\\d{4}",,,,"381234"],"GL",299,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GM:[,[,,"[2-9]\\d{6}",,,,,,,[7]],[,,"(?:4(?:[23]\\d\\d|4(?:1[024679]|[6-9]\\d))|5(?:5(?:3\\d|4[0-7])|6[67]\\d|7(?:1[04]|2[035]|3[58]|48))|8\\d{3})\\d{3}",,,,"5661234"],[,,"(?:[23679]\\d|5[0-489])\\d{5}",,,,"3012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GM",220,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GN:[,[,,"722\\d{6}|(?:3|6\\d)\\d{7}",,,,,,,[8,9]],[,,"3(?:0(?:24|3[12]|4[1-35-7]|5[13]|6[189]|[78]1|9[1478])|1\\d\\d)\\d{4}",,,,"30241234",,,[8]],[,,"6[0-356]\\d{7}",,,,"601123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"722\\d{6}",,,,"722123456",,,[9]],"GN",224,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GP:[,[,,"590\\d{6}|(?:69|80|9\\d)\\d{7}",,,,,,,[9]],[,,"590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}",,,,"590201234"],[,,"69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))\\d{4}",,,,"690001234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:(?:39[5-7]|76[018])\\d|475[0-5])\\d{4}",,,,"976012345"],"GP",590,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GQ:[,[,,"222\\d{6}|(?:3\\d|55|[89]0)\\d{7}",,,,,,,[9]],[,,"33[0-24-9]\\d[46]\\d{4}|3(?:33|5\\d)\\d[7-9]\\d{4}",,,,"333091234"],[,,"(?:222|55\\d)\\d{6}",,,,"222123456"],[,,"80\\d[1-9]\\d{5}",,,,"800123456"],[,,"90\\d[1-9]\\d{5}",,,,"900123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GQ",240,"00",,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],[,"(\\d{3})(\\d{6})","$1 $2",["[89]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GR:[,[,,"5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}",,,,,,,[10,11,12]],[,,"2(?:1\\d\\d|2(?:2[1-46-9]|[36][1-8]|4[1-7]|5[1-4]|7[1-5]|[89][1-9])|3(?:1\\d|2[1-57]|[35][1-3]|4[13]|7[1-7]|8[124-6]|9[1-79])|4(?:1\\d|2[1-8]|3[1-4]|4[13-5]|6[1-578]|9[1-5])|5(?:1\\d|[29][1-4]|3[1-5]|4[124]|5[1-6])|6(?:1\\d|[269][1-6]|3[1245]|4[1-7]|5[13-9]|7[14]|8[1-5])|7(?:1\\d|2[1-5]|3[1-6]|4[1-7]|5[1-57]|6[135]|9[125-7])|8(?:1\\d|2[1-5]|[34][1-4]|9[1-57]))\\d{6}",,,,"2123456789",,,[10]],[,,"68[57-9]\\d{7}|(?:69|94)\\d{8}",,,,"6912345678",,,[10]],[,,"800\\d{7,9}",,,,"8001234567"],[,,"90[19]\\d{7}",,,,"9091234567",,,[10]],[,,"8(?:0[16]|12|[27]5|50)\\d{7}",,,,"8011234567",,,[10]],[,,"70\\d{8}",,,,"7012345678",,,[10]],[,,,,,,,,,[-1]],"GR",30,"00",,,,,,,,[[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],[,"(\\d{4})(\\d{6})","$1 $2",["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2689]"]],[,"(\\d{3})(\\d{3,4})(\\d{5})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"5005000\\d{3}",,,,"5005000123",,,[10]],,,[,,,,,,,,,[-1]]],GT:[,[,,"80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}",,,,,,,[8,11]],[,,"[267][2-9]\\d{6}",,,,"22456789",,,[8]],[,,"(?:[3-5]\\d\\d|80[0-4])\\d{5}",,,,"51234567",,,[8]],[,,"18[01]\\d{8}",,,,"18001112222",,,[11]],[,,"19\\d{9}",,,,"19001112222",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GT",502,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[2-8]"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GU:[,[,,"(?:[58]\\d\\d|671|900)\\d{7}",,,,,,,[10],[7]],[,,"671(?:2\\d\\d|3(?:00|3[39]|4[349]|55|6[26])|4(?:00|56|7[1-9]|8[02-46-9])|5(?:55|6[2-5]|88)|6(?:3[2-578]|4[24-9]|5[34]|78|8[235-9])|7(?:[0479]7|2[0167]|3[45]|8[7-9])|8(?:[2-57-9]8|6[48])|9(?:2[29]|6[79]|7[1279]|8[7-9]|9[78]))\\d{4}",,,,"6713001234",,,,[7]],[,,"671(?:2\\d\\d|3(?:00|3[39]|4[349]|55|6[26])|4(?:00|56|7[1-9]|8[02-46-9])|5(?:55|6[2-5]|88)|6(?:3[2-578]|4[24-9]|5[34]|78|8[235-9])|7(?:[0479]7|2[0167]|3[45]|8[7-9])|8(?:[2-57-9]8|6[48])|9(?:2[29]|6[79]|7[1279]|8[7-9]|9[78]))\\d{4}",,,,"6713001234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"GU",1,"011","1",,,"([2-9]\\d{6})$|1","671$1",,1,,,[,,,,,,,,,[-1]],,"671",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GW:[,[,,"[49]\\d{8}|4\\d{6}",,,,,,,[7,9]],[,,"443\\d{6}",,,,"443201234",,,[9]],[,,"9(?:5\\d|6[569]|77)\\d{6}",,,,"955012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"40\\d{5}",,,,"4012345",,,[7]],"GW",245,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["40"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GY:[,[,,"(?:[2-8]\\d{3}|9008)\\d{3}",,,,,,,[7]],[,,"(?:2(?:1[6-9]|2[0-35-9]|3[1-4]|5[3-9]|6\\d|7[0-79])|3(?:2[25-9]|3\\d)|4(?:4[0-24]|5[56])|50[0-6]|77[1-57])\\d{4}",,,,"2201234"],[,,"510\\d{4}|(?:6\\d|7[0-5])\\d{5}",,,,"6091234"],[,,"(?:289|8(?:00|6[28]|88|99))\\d{4}",,,,"2891234"],[,,"9008\\d{3}",,,,"9008123"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"515\\d{4}",,,,"5151234"],"GY",592,"001",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],HK:[,[,,"8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}",,,,,,,[5,6,7,8,9,11]],[,,"(?:2(?:[13-9]\\d|2[013-9])\\d|3(?:(?:[1569][0-24-9]|4[0-246-9]|7[0-24-69])\\d|8(?:4[0-8]|[59]\\d|6[0-2]))|58(?:0[1-9]|1[2-9]))\\d{4}",,,,"21234567",,,[8]],[,,"(?:4(?:44[0-25-9]|6(?:1[0-7]|4[0-57-9]|6[0-4]))|5(?:73[0-6]|95[0-8])|6(?:26[013-8]|66[0-3])|70(?:7[1-8]|8[0-4])|848[0-35-9]|9(?:29[013-9]|39[01]|59[0-4]|899))\\d{4}|(?:4(?:4[0-35-8]|6[02357-9]|70)|5(?:[1-59][0-46-9]|6[0-4689]|7[0-246-9])|6(?:0[1-9]|[13-59]\\d|[268][0-57-9]|7[0-79])|70[1-39]|84[0-29]|9(?:0[1-9]|1[02-9]|[2358][0-8]|[467]\\d))\\d{5}",,,,"51234567",,,[8]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"900(?:[0-24-9]\\d{7}|3\\d{1,4})",,,,"90012345678",,,[5,6,7,8,11]],[,,,,,,,,,[-1]],[,,"8(?:1[0-4679]\\d|2(?:[0-36]\\d|7[0-4])|3(?:[034]\\d|2[09]|70))\\d{4}",,,,"81123456",,,[8]],[,,,,,,,,,[-1]],"HK",852,"00(?:30|5[09]|[126-9]?)",,,,,,"00",,[[,"(\\d{3})(\\d{2,5})","$1 $2",["900","9003"]],[,"(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],[,"(\\d{3})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],,[,,"7(?:1(?:0[0-38]|1[0-3679]|3[013]|69|9[0136])|2(?:[02389]\\d|1[18]|7[27-9])|3(?:[0-38]\\d|7[0-369]|9[2357-9])|47\\d|5(?:[178]\\d|5[0-5])|6(?:0[0-7]|2[236-9]|[35]\\d)|7(?:[27]\\d|8[7-9])|8(?:[23689]\\d|7[1-9])|9(?:[025]\\d|6[0-246-8]|7[0-36-9]|8[238]))\\d{4}",,,,"71123456",,,[8]],,,[,,,,,,,,,[-1]],[,,"30(?:0[1-9]|[15-7]\\d|2[047]|89)\\d{4}",,,,"30161234",,,[8]],,,[,,,,,,,,,[-1]]],HN:[,[,,"8\\d{10}|[237-9]\\d{7}",,,,,,,[8,11]],[,,"2(?:2(?:0[0-59]|1[1-9]|[23]\\d|4[02-6]|5[57]|6[245]|7[0135689]|8[01346-9]|9[0-2])|4(?:0[578]|2[3-59]|3[13-9]|4[0-68]|5[1-3589])|5(?:0[2357-9]|1[1-356]|4[03-5]|5\\d|6[014-69]|7[04]|80)|6(?:[056]\\d|17|2[067]|3[047]|4[0-378]|[78][0-8]|9[01])|7(?:0[5-79]|6[46-9]|7[02-9]|8[034]|91)|8(?:79|8[0-357-9]|9[1-57-9]))\\d{4}",,,,"22123456",,,[8]],[,,"[37-9]\\d{7}",,,,"91234567",,,[8]],[,,"8002\\d{7}",,,,"80021234567",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"HN",504,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1-$2",["[237-9]"]],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["8"]]],[[,"(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]],[,,,,,,,,,[-1]],,,[,,"8002\\d{7}",,,,,,,[11]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],HR:[,[,,"(?:[24-69]\\d|3[0-79])\\d{7}|80\\d{5,7}|[1-79]\\d{7}|6\\d{5,6}",,,,,,,[6,7,8,9]],[,,"1\\d{7}|(?:2[0-3]|3[1-5]|4[02-47-9]|5[1-3])\\d{6,7}",,,,"12345678",,,[8,9],[6,7]],[,,"9(?:(?:0[1-9]|[12589]\\d)\\d\\d|7(?:[0679]\\d\\d|5(?:[01]\\d|44|55|77|9[5-7])))\\d{4}|98\\d{6}",,,,"921234567",,,[8,9]],[,,"80\\d{5,7}",,,,"800123456",,,[7,8,9]],[,,"6[01459]\\d{6}|6[01]\\d{4,5}",,,,"611234",,,[6,7,8]],[,,,,,,,,,[-1]],[,,"7[45]\\d{6}",,,,"74123456",,,[8]],[,,,,,,,,,[-1]],"HR",385,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["6[01]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["8"],"0$1"],[,"(\\d)(\\d{4})(\\d{3})","$1 $2 $3",["1"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6|7[245]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-57]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"62\\d{6,7}|72\\d{6}",,,,"62123456",,,[8,9]],,,[,,,,,,,,,[-1]]],HT:[,[,,"(?:[2-489]\\d|55)\\d{6}",,,,,,,[8]],[,,"2(?:2\\d|5[1-5]|81|9[149])\\d{5}",,,,"22453300"],[,,"(?:[34]\\d|55)\\d{6}",,,,"34101234"],[,,"8\\d{7}",,,,"80012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:[67][0-4]|8[0-3589]|9\\d)\\d{5}",,,,"98901234"],"HT",509,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-589]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],HU:[,[,,"[235-7]\\d{8}|[1-9]\\d{7}",,,,,,,[8,9],[6,7]],[,,"(?:1\\d|[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6[23689]|8[2-57-9]|9[2-69])\\d{6}",,,,"12345678",,,[8],[6,7]],[,,"(?:[257]0|3[01])\\d{7}",,,,"201234567",,,[9]],[,,"(?:[48]0\\d|680[29])\\d{5}",,,,"80123456"],[,,"9[01]\\d{6}",,,,"90123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"21\\d{7}",,,,"211234567",,,[9]],"HU",36,"00","06",,,"06",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"(06 $1)"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"],"(06 $1)"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"06 $1"]],,[,,,,,,,,,[-1]],,,[,,"(?:[48]0\\d|680[29])\\d{5}"],[,,"38\\d{7}",,,,"381234567",,,[9]],,,[,,,,,,,,,[-1]]],ID:[,[,,"(?:(?:00[1-9]|8\\d)\\d{4}|[1-36])\\d{6}|00\\d{10}|[1-9]\\d{8,10}|[2-9]\\d{7}",,,,,,,[7,8,9,10,11,12,13],[5,6]],[,,"2[124]\\d{7,8}|619\\d{8}|2(?:1(?:14|500)|2\\d{3})\\d{3}|61\\d{5,8}|(?:2(?:[35][1-4]|6[0-8]|7[1-6]|8\\d|9[1-8])|3(?:1|[25][1-8]|3[1-68]|4[1-3]|6[1-3568]|7[0-469]|8\\d)|4(?:0[1-589]|1[01347-9]|2[0-36-8]|3[0-24-68]|43|5[1-378]|6[1-5]|7[134]|8[1245])|5(?:1[1-35-9]|2[25-8]|3[124-9]|4[1-3589]|5[1-46]|6[1-8])|6(?:[25]\\d|3[1-69]|4[1-6])|7(?:02|[125][1-9]|[36]\\d|4[1-8]|7[0-36-9])|9(?:0[12]|1[013-8]|2[0-479]|5[125-8]|6[23679]|7[159]|8[01346]))\\d{5,8}",,,,"218350123",,,[7,8,9,10,11],[5,6]],[,,"8[1-35-9]\\d{7,10}",,,,"812345678",,,[9,10,11,12]],[,,"00[17]803\\d{7}|(?:177\\d|800)\\d{5,7}|001803\\d{6}",,,,"8001234567",,,[8,9,10,11,12,13]],[,,"809\\d{7}",,,,"8091234567",,,[10]],[,,"804\\d{7}",,,,"8041234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ID",62,"00[89]","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],[,"(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],[,"(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],[,"(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],[,"(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],[,"(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],[,"(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["001"]],[,"(\\d{2})(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3 $4",["0"]]],[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],[,"(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],[,"(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],[,"(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],[,"(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],[,"(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],[,"(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"]],[,,,,,,,,,[-1]],,,[,,"001803\\d{6,7}|(?:007803\\d|8071)\\d{6}",,,,,,,[10,12,13]],[,,"(?:1500|8071\\d{3})\\d{3}",,,,"8071123456",,,[7,10]],,,[,,,,,,,,,[-1]]],IE:[,[,,"(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",,,,,,,[7,8,9,10],[5,6]],[,,"(?:1\\d|21)\\d{6,7}|(?:2[24-9]|4(?:0[24]|5\\d|7)|5(?:0[45]|1\\d|8)|6(?:1\\d|[237-9])|9(?:1\\d|[35-9]))\\d{5}|(?:23|4(?:[1-469]|8\\d)|5[23679]|6[4-6]|7[14]|9[04])\\d{7}",,,,"2212345",,,,[5,6]],[,,"8(?:22|[35-9]\\d)\\d{6}",,,,"850123456",,,[9]],[,,"1800\\d{6}",,,,"1800123456",,,[10]],[,,"15(?:1[2-8]|[2-8]0|9[089])\\d{6}",,,,"1520123456",,,[10]],[,,"18[59]0\\d{6}",,,,"1850123456",,,[10]],[,,"700\\d{6}",,,,"700123456",,,[9]],[,,"76\\d{7}",,,,"761234567",,,[9]],"IE",353,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],[,"(\\d{3})(\\d{5})","$1 $2",["[45]0"],"(0$1)"],[,"(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2569]|4[1-69]|7[14]"],"(0$1)"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[78]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["4"],"(0$1)"],[,"(\\d{2})(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"18[59]0\\d{6}",,,,,,,[10]],[,,"818\\d{6}",,,,"818123456",,,[9]],,,[,,"88210[1-9]\\d{4}|8(?:[35-79]5\\d\\d|8(?:[013-9]\\d\\d|2(?:[01][1-9]|[2-9]\\d)))\\d{5}",,,,"8551234567",,,[10]]],IL:[,[,,"1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",,,,,,,[7,8,9,10,11,12]],[,,"153\\d{8,9}|29[1-9]\\d{5}|(?:2[0-8]|[3489]\\d)\\d{6}",,,,"21234567",,,[8,11,12],[7]],[,,"55(?:410|57[0-289])\\d{4}|5(?:(?:[02][02-9]|[149][2-9]|[36]\\d|8[3-7])\\d|5(?:01|2\\d|3[0-3]|4[34]|5[0-25689]|6[6-8]|7[0-267]|8[7-9]|9[1-9]))\\d{5}",,,,"502345678",,,[9]],[,,"1(?:255|80[019]\\d{3})\\d{3}",,,,"1800123456",,,[7,10]],[,,"1212\\d{4}|1(?:200|9(?:0[0-2]|19))\\d{6}",,,,"1919123456",,,[8,10]],[,,"1700\\d{6}",,,,"1700123456",,,[10]],[,,,,,,,,,[-1]],[,,"7(?:38(?:0\\d|5[0-259]|88)|8(?:33|55|77|81)\\d)\\d{4}|7(?:18|2[23]|3[237]|47|6[258]|7\\d|82|9[2-9])\\d{6}",,,,"771234567",,,[9]],"IL",972,"0(?:0|1[2-9])","0",,,"0",,,,[[,"(\\d{4})(\\d{3})","$1-$2",["125"]],[,"(\\d{4})(\\d{2})(\\d{2})","$1-$2-$3",["121"]],[,"(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1-$2-$3",["12"]],[,"(\\d{4})(\\d{6})","$1-$2",["159"]],[,"(\\d)(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],[,"(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["15"]]],,[,,,,,,,,,[-1]],,,[,,"1700\\d{6}",,,,,,,[10]],[,,"1599\\d{6}",,,,"1599123456",,,[10]],,,[,,"151\\d{8,9}",,,,"15112340000",,,[11,12]]],IM:[,[,,"1624\\d{6}|(?:[3578]\\d|90)\\d{8}",,,,,,,[10],[6]],[,,"1624(?:230|[5-8]\\d\\d)\\d{3}",,,,"1624756789",,,,[6]],[,,"76245[06]\\d{4}|7(?:4576|[59]24\\d|624[0-4689])\\d{5}",,,,"7924123456"],[,,"808162\\d{4}",,,,"8081624567"],[,,"8(?:440[49]06|72299\\d)\\d{3}|(?:8(?:45|70)|90[0167])624\\d{4}",,,,"9016247890"],[,,,,,,,,,[-1]],[,,"70\\d{8}",,,,"7012345678"],[,,"56\\d{8}",,,,"5612345678"],"IM",44,"00","0",,,"([25-8]\\d{5})$|0","1624$1",,,,,[,,,,,,,,,[-1]],,"74576|(?:16|7[56])24",[,,,,,,,,,[-1]],[,,"3440[49]06\\d{3}|(?:3(?:08162|3\\d{4}|45624|7(?:0624|2299))|55\\d{4})\\d{4}",,,,"5512345678"],,,[,,,,,,,,,[-1]]],IN:[,[,,"(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",,,,,,,[8,9,10,11,12,13],[6,7]],[,,"2717(?:[2-7]\\d|95)\\d{4}|(?:271[0-689]|782[0-6])[2-7]\\d{5}|(?:170[24]|2(?:(?:[02][2-79]|90)\\d|80[13468])|(?:3(?:23|80)|683|79[1-7])\\d|4(?:20[24]|72[2-8])|552[1-7])\\d{6}|(?:11|33|4[04]|80)[2-7]\\d{7}|(?:342|674|788)(?:[0189][2-7]|[2-7]\\d)\\d{5}|(?:1(?:2[0-249]|3[0-25]|4[145]|[59][14]|6[014]|7[1257]|8[01346])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568]|9[14])|3(?:26|4[13]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[014-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|2[14]|3[134]|4[47]|5[15]|[67]1)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91))[2-7]\\d{6}|(?:1(?:2[35-8]|3[346-9]|4[236-9]|[59][0235-9]|6[235-9]|7[34689]|8[257-9])|2(?:1[134689]|3[24-8]|4[2-8]|5[25689]|6[2-4679]|7[3-79]|8[2-479]|9[235-9])|3(?:01|1[79]|2[1245]|4[5-8]|5[125689]|6[235-7]|7[157-9]|8[2-46-8])|4(?:1[14578]|2[5689]|3[2-467]|5[4-7]|6[35]|73|8[2689]|9[2389])|5(?:[16][146-9]|2[14-8]|3[1346]|4[14-69]|5[46]|7[2-4]|8[2-8]|9[246])|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])|7(?:1[013-9]|2[0235-9]|3[2679]|4[1-35689]|5[2-46-9]|[67][02-9]|8[013-7]|9[089])|8(?:1[1357-9]|2[235-8]|3[03-57-9]|4[0-24-9]|5\\d|6[2457-9]|7[1-6]|8[1256]|9[2-4]))\\d[2-7]\\d{5}",,,,"7410410123",,,[10],[6,7,8]],[,,"(?:61279|7(?:887[02-9]|9(?:313|79[07-9]))|8(?:079[04-9]|(?:84|91)7[02-8]))\\d{5}|(?:6(?:12|[2-47]1|5[17]|6[13]|80)[0189]|7(?:1(?:2[0189]|9[0-5])|2(?:[14][017-9]|8[0-59])|3(?:2[5-8]|[34][017-9]|9[016-9])|4(?:1[015-9]|[29][89]|39|8[389])|5(?:[15][017-9]|2[04-9]|9[7-9])|6(?:0[0-47]|1[0-257-9]|2[0-4]|3[19]|5[4589])|70[0289]|88[089]|97[02-8])|8(?:0(?:6[67]|7[02-8])|70[017-9]|84[01489]|91[0-289]))\\d{6}|(?:7(?:31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[0189]\\d|7[02-8])\\d{5}|(?:6(?:[09]\\d|1[04679]|2[03689]|3[05-9]|4[0489]|50|6[069]|7[07]|8[7-9])|7(?:0\\d|2[0235-79]|3[05-8]|40|5[0346-8]|6[6-9]|7[1-9]|8[0-79]|9[089])|8(?:0[01589]|1[0-57-9]|2[235-9]|3[03-57-9]|[45]\\d|6[02457-9]|7[1-69]|8[0-25-9]|9[02-9])|9\\d\\d)\\d{7}|(?:6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|8[124-6])\\d|7(?:[235689]\\d|4[0189]))|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-5])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]|881))[0189]\\d{5}",,,,"8123456789",,,[10]],[,,"000800\\d{7}|1(?:600\\d{6}|80(?:0\\d{4,9}|3\\d{9}))",,,,"1800123456"],[,,"186[12]\\d{9}",,,,"1861123456789",,,[13]],[,,"1860\\d{7}",,,,"18603451234",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"IN",91,"00","0",,,"0",,,,[[,"(\\d{7})","$1",["575"]],[,"(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],,,1],[,"(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],,,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",,1],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",,1],[,"(\\d{5})(\\d{5})","$1 $2",["[6-9]"],"0$1",,1],[,"(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["1(?:6|8[06])","1(?:6|8[06]0)"],,,1],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["0"]],[,"(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],,,1]],[[,"(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],,,1],[,"(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],,,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",,1],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",,1],[,"(\\d{5})(\\d{5})","$1 $2",["[6-9]"],"0$1",,1],[,"(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["1(?:6|8[06])","1(?:6|8[06]0)"],,,1],[,"(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],,,1]],[,,,,,,,,,[-1]],,,[,,"1(?:600\\d{6}|800\\d{4,9})|(?:000800|18(?:03\\d\\d|6(?:0|[12]\\d\\d)))\\d{7}"],[,,"140\\d{7}",,,,"1409305260",,,[10]],,,[,,,,,,,,,[-1]]],IO:[,[,,"3\\d{6}",,,,,,,[7]],[,,"37\\d{5}",,,,"3709100"],[,,"38\\d{5}",,,,"3801234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"IO",246,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["3"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],IQ:[,[,,"(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}",,,,,,,[8,9,10],[6,7]],[,,"1\\d{7}|(?:2[13-5]|3[02367]|4[023]|5[03]|6[026])\\d{6,7}",,,,"12345678",,,[8,9],[6,7]],[,,"7[3-9]\\d{8}",,,,"7912345678",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"IQ",964,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],IR:[,[,,"[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}",,,,,,,[4,5,6,7,10],[8]],[,,"(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])(?:[03-57]\\d{7}|[16]\\d{3}(?:\\d{4})?|[289]\\d{3}(?:\\d(?:\\d{3})?)?)|94(?:000[09]|(?:12\\d|30[0-2])\\d|2(?:121|[2689]0\\d)|4(?:111|40\\d))\\d{4}",,,,"2123456789",,,[6,7,10],[4,5,8]],[,,"9(?:(?:0(?:[0-35]\\d|4[4-6])|(?:[13]\\d|2[0-3])\\d)\\d|9(?:[0-46]\\d\\d|5[15]0|8(?:[12]\\d|88)|9(?:0[0-3]|[19]\\d|21|69|77|8[7-9])))\\d{5}",,,,"9123456789",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"IR",98,"00","0",,,"0",,,,[[,"(\\d{4,5})","$1",["96"],"0$1"],[,"(\\d{2})(\\d{4,5})","$1 $2",["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"9(?:4440\\d{5}|6(?:0[12]|2[16-8]|3(?:08|[14]5|[23]|66)|4(?:0|80)|5[01]|6[89]|86|9[19]))",,,,,,,[4,5,10]],[,,"96(?:0[12]|2[16-8]|3(?:08|[14]5|[23]|66)|4(?:0|80)|5[01]|6[89]|86|9[19])",,,,"9601",,,[4,5]],,,[,,,,,,,,,[-1]]],IS:[,[,,"(?:38\\d|[4-9])\\d{6}",,,,,,,[7,9]],[,,"(?:4(?:1[0-24-69]|2[0-7]|[37][0-8]|4[0-24589]|5[0-68]|6\\d|8[0-36-8])|5(?:05|[156]\\d|2[02578]|3[0-579]|4[03-7]|7[0-2578]|8[0-35-9]|9[013-689])|872)\\d{4}",,,,"4101234",,,[7]],[,,"(?:38[589]\\d\\d|6(?:1[1-8]|2[0-6]|3[026-9]|4[014679]|5[0159]|6[0-69]|70|8[06-8]|9\\d)|7(?:5[057]|[6-9]\\d)|8(?:2[0-59]|[3-69]\\d|8[238]))\\d{4}",,,,"6111234"],[,,"80[0-8]\\d{4}",,,,"8001234",,,[7]],[,,"90(?:0\\d|1[5-79]|2[015-79]|3[135-79]|4[125-7]|5[25-79]|7[1-37]|8[0-35-7])\\d{3}",,,,"9001234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"49[0-24-79]\\d{4}",,,,"4921234",,,[7]],"IS",354,"00|1(?:0(?:01|[12]0)|100)",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"809\\d{4}",,,,"8091234",,,[7]],,,[,,"(?:689|8(?:7[18]|80)|95[48])\\d{4}",,,,"6891234",,,[7]]],IT:[,[,,"0\\d{5,10}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?",,,,,,,[6,7,8,9,10,11,12]],[,,"0669[0-79]\\d{1,6}|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}",,,,"0212345678",,,[6,7,8,9,10,11]],[,,"3[2-9]\\d{7,8}|(?:31|43)\\d{8}",,,,"3123456789",,,[9,10]],[,,"80(?:0\\d{3}|3)\\d{3}",,,,"800123456",,,[6,9]],[,,"(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",,,,"899123456",,,[6,8,9,10]],[,,"84(?:[08]\\d{3}|[17])\\d{3}",,,,"848123456",,,[6,9]],[,,"1(?:78\\d|99)\\d{6}",,,,"1781234567",,,[9,10]],[,,"55\\d{8}",,,,"5512345678",,,[10]],"IT",39,"00",,,,,,,,[[,"(\\d{4,5})","$1",["1(?:0|9[246])","1(?:0|9(?:2[2-9]|[46]))"]],[,"(\\d{6})","$1",["1(?:1|92)"]],[,"(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],[,"(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],[,"(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],[,"(\\d{4})(\\d{4})","$1 $2",["894"]],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]|43"]],[,"(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],[,"(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["3"]]],[[,"(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],[,"(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],[,"(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],[,"(\\d{4})(\\d{4})","$1 $2",["894"]],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]|43"]],[,"(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],[,"(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["3"]]],[,,,,,,,,,[-1]],1,,[,,"848\\d{6}",,,,,,,[9]],[,,,,,,,,,[-1]],,,[,,"3[2-8]\\d{9,10}",,,,"33101234501",,,[11,12]]],JE:[,[,,"1534\\d{6}|(?:[3578]\\d|90)\\d{8}",,,,,,,[10],[6]],[,,"1534[0-24-8]\\d{5}",,,,"1534456789",,,,[6]],[,,"7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}",,,,"7797712345"],[,,"80(?:07(?:35|81)|8901)\\d{4}",,,,"8007354567"],[,,"(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}",,,,"9018105678"],[,,,,,,,,,[-1]],[,,"701511\\d{4}",,,,"7015115678"],[,,"56\\d{8}",,,,"5612345678"],"JE",44,"00","0",,,"([0-24-8]\\d{5})$|0","1534$1",,,,,[,,"76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",,,,"7640123456"],,,[,,,,,,,,,[-1]],[,,"(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}",,,,"5512345678"],,,[,,,,,,,,,[-1]]],JM:[,[,,"(?:[58]\\d\\d|658|900)\\d{7}",,,,,,,[10],[7]],[,,"8766060\\d{3}|(?:658(?:2(?:[0-8]\\d|9[0-46-9])|[3-9]\\d\\d)|876(?:52[35]|6(?:0[1-3579]|1[0235-9]|[23]\\d|40|5[06]|6[2-589]|7[0-25-9]|8[04]|9[4-9])|7(?:0[2-689]|[1-6]\\d|8[056]|9[45])|9(?:0[1-8]|1[02378]|[2-8]\\d|9[2-468])))\\d{4}",,,,"8765230123",,,,[7]],[,,"(?:658295|876(?:2(?:0[1-9]|[13-9]\\d|2[013-9])|[348]\\d\\d|5(?:0[1-9]|[1-9]\\d)|6(?:4[89]|6[67])|7(?:0[07]|7\\d|8[1-47-9]|9[0-36-9])|9(?:[01]9|9[0579])))\\d{4}",,,,"8762101234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"JM",1,"011","1",,,"1",,,,,,[,,,,,,,,,[-1]],,"658|876",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],JO:[,[,,"(?:(?:[2689]|7\\d)\\d|32|53)\\d{6}",,,,,,,[8,9]],[,,"87(?:000|90[01])\\d{3}|(?:2(?:6(?:2[0-35-9]|3[0-578]|4[24-7]|5[0-24-8]|[6-8][023]|9[0-3])|7(?:0[1-79]|10|2[014-7]|3[0-689]|4[019]|5[0-3578]))|32(?:0[1-69]|1[1-35-7]|2[024-7]|3\\d|4[0-3]|[5-7][023])|53(?:0[0-3]|[13][023]|2[0-59]|49|5[0-35-9]|6[15]|7[45]|8[1-6]|9[0-36-9])|6(?:2(?:[05]0|22)|3(?:00|33)|4(?:0[0-25]|1[2-7]|2[0569]|[38][07-9]|4[025689]|6[0-589]|7\\d|9[0-2])|5(?:[01][056]|2[034]|3[0-57-9]|4[178]|5[0-69]|6[0-35-9]|7[1-379]|8[0-68]|9[0239]))|87(?:20|7[078]|99))\\d{4}",,,,"62001234",,,[8]],[,,"7(?:[78][0-25-9]|9\\d)\\d{6}",,,,"790123456",,,[9]],[,,"80\\d{6}",,,,"80012345",,,[8]],[,,"9\\d{7}",,,,"90012345",,,[8]],[,,"85\\d{6}",,,,"85012345",,,[8]],[,,"70\\d{7}",,,,"700123456",,,[9]],[,,,,,,,,,[-1]],"JO",962,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],[,"(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"]],,[,,"74(?:66|77)\\d{5}",,,,"746612345",,,[9]],,,[,,,,,,,,,[-1]],[,,"8(?:10|8\\d)\\d{5}",,,,"88101234",,,[8]],,,[,,,,,,,,,[-1]]],JP:[,[,,"00[1-9]\\d{6,14}|[257-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",,,,,,,[8,9,10,11,12,13,14,15,16,17]],[,,"(?:1(?:1[235-8]|2[3-6]|3[3-9]|4[2-6]|[58][2-8]|6[2-7]|7[2-9]|9[1-9])|(?:2[2-9]|[36][1-9])\\d|4(?:[2-578]\\d|6[02-8]|9[2-59])|5(?:[2-589]\\d|6[1-9]|7[2-8])|7(?:[25-9]\\d|3[4-9]|4[02-9])|8(?:[2679]\\d|3[2-9]|4[5-9]|5[1-9]|8[03-9])|9(?:[2-58]\\d|[679][1-9]))\\d{6}",,,,"312345678",,,[9]],[,,"[7-9]0[1-9]\\d{7}",,,,"9012345678",,,[10]],[,,"00777(?:[01]|5\\d)\\d\\d|(?:00(?:7778|882[1245])|(?:120|800\\d)\\d\\d)\\d{4}|00(?:37|66|78)\\d{6,13}",,,,"120123456"],[,,"990\\d{6}",,,,"990123456",,,[9]],[,,,,,,,,,[-1]],[,,"60\\d{7}",,,,"601234567",,,[9]],[,,"50[1-9]\\d{7}",,,,"5012345678",,,[10]],"JP",81,"010","0",,,"(000[259]\\d{6})$|(?:(?:003768)0?)|0","$1",,,[[,"(\\d{4})(\\d{4})","$1-$2",["007","0077","00777","00777[01]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],[,"(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["[36]|4(?:2[09]|7[01])","[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],[,"(\\d{4})(\\d{2})(\\d{3,4})","$1-$2-$3",["007","0077"]],[,"(\\d{4})(\\d{2})(\\d{4})","$1-$2-$3",["008"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[257-9]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3,4})","$1-$2-$3",["0"]],[,"(\\d{4})(\\d{4})(\\d{4,5})","$1-$2-$3",["0"]],[,"(\\d{4})(\\d{5})(\\d{5,6})","$1-$2-$3",["0"]],[,"(\\d{4})(\\d{6})(\\d{6,7})","$1-$2-$3",["0"]]],[[,"(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],[,"(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["[36]|4(?:2[09]|7[01])","[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[257-9]"],"0$1"]],[,,"20\\d{8}",,,,"2012345678",,,[10]],,,[,,"00(?:777(?:[01]|(?:5|8\\d)\\d)|882[1245]\\d\\d)\\d\\d|00(?:37|66|78)\\d{6,13}"],[,,"570\\d{6}",,,,"570123456",,,[9]],,,[,,,,,,,,,[-1]]],KE:[,[,,"(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}",,,,,,,[7,8,9,10]],[,,"(?:4[245]|5[1-79]|6[01457-9])\\d{5,7}|(?:4[136]|5[08]|62)\\d{7}|(?:[24]0|66)\\d{6,7}",,,,"202012345",,,[7,8,9]],[,,"(?:1(?:0[0-8]|1[0-7]|2[014]|30)|7\\d\\d)\\d{6}",,,,"712123456",,,[9]],[,,"800[02-8]\\d{5,6}",,,,"800223456",,,[9,10]],[,,"900[02-9]\\d{5}",,,,"900223456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KE",254,"000","0",,,"0",,,,[[,"(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],[,"(\\d{3})(\\d{6})","$1 $2",["[17]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KG:[,[,,"8\\d{9}|[235-9]\\d{8}",,,,,,,[9,10],[5,6]],[,,"312(?:5[0-79]\\d|9(?:[0-689]\\d|7[0-24-9]))\\d{3}|(?:3(?:1(?:2[0-46-8]|3[1-9]|47|[56]\\d)|2(?:22|3[0-479]|6[0-7])|4(?:22|5[6-9]|6\\d)|5(?:22|3[4-7]|59|6\\d)|6(?:22|5[35-7]|6\\d)|7(?:22|3[468]|4[1-9]|59|[67]\\d)|9(?:22|4[1-8]|6\\d))|6(?:09|12|2[2-4])\\d)\\d{5}",,,,"312123456",,,[9],[5,6]],[,,"312(?:58\\d|973)\\d{3}|(?:2(?:0[0-35]|2\\d)|5[0-24-7]\\d|600|7(?:[07]\\d|55)|88[08]|9(?:12|9[05-9]))\\d{6}",,,,"700123456",,,[9]],[,,"800\\d{6,7}",,,,"800123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KG",996,"00","0",,,"0",,,,[[,"(\\d{4})(\\d{5})","$1 $2",["3(?:1[346]|[24-79])"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-79]|88"],"0$1"],[,"(\\d{3})(\\d{3})(\\d)(\\d{2,3})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KH:[,[,,"1\\d{9}|[1-9]\\d{7,8}",,,,,,,[8,9,10],[6,7]],[,,"23(?:4(?:[2-4]|[56]\\d)|[568]\\d\\d)\\d{4}|23[236-9]\\d{5}|(?:2[4-6]|3[2-6]|4[2-4]|[5-7][2-5])(?:(?:[237-9]|4[56]|5\\d)\\d{5}|6\\d{5,6})",,,,"23756789",,,[8,9],[6,7]],[,,"(?:(?:1[28]|3[18]|9[67])\\d|6[016-9]|7(?:[07-9]|[16]\\d)|8(?:[013-79]|8\\d))\\d{6}|(?:1\\d|9[0-57-9])\\d{6}|(?:2[3-6]|3[2-6]|4[2-4]|[5-7][2-5])48\\d{5}",,,,"91234567",,,[8,9]],[,,"1800(?:1\\d|2[019])\\d{4}",,,,"1800123456",,,[10]],[,,"1900(?:1\\d|2[09])\\d{4}",,,,"1900123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KH",855,"00[14-9]","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KI:[,[,,"(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}",,,,,,,[5,8]],[,,"(?:[24]\\d|3[1-9]|50|65(?:02[12]|12[56]|22[89]|[3-5]00)|7(?:27\\d\\d|3100|5(?:02[12]|12[56]|22[89]|[34](?:00|81)|500))|8[0-5])\\d{3}",,,,"31234"],[,,"(?:6200[01]|7(?:310[1-9]|5(?:02[03-9]|12[0-47-9]|22[0-7]|[34](?:0[1-9]|8[02-9])|50[1-9])))\\d{3}|(?:63\\d\\d|7(?:(?:[0146-9]\\d|2[0-689])\\d|3(?:[02-9]\\d|1[1-9])|5(?:[0-2][013-9]|[34][1-79]|5[1-9]|[6-9]\\d)))\\d{4}",,,,"72001234",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"30(?:0[01]\\d\\d|12(?:11|20))\\d\\d",,,,"30010000",,,[8]],"KI",686,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KM:[,[,,"[3478]\\d{6}",,,,,,,[7],[4]],[,,"7[4-7]\\d{5}",,,,"7712345",,,,[4]],[,,"[34]\\d{6}",,,,"3212345"],[,,,,,,,,,[-1]],[,,"8\\d{6}",,,,"8001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KM",269,"00",,,,,,,,[[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[3478]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KN:[,[,,"(?:[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"869(?:2(?:29|36)|302|4(?:6[015-9]|70)|56[5-7])\\d{4}",,,,"8692361234",,,,[7]],[,,"869(?:48[89]|55[6-8]|66\\d|76[02-7])\\d{4}",,,,"8697652917",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"KN",1,"011","1",,,"([2-7]\\d{6})$|1","869$1",,,,,[,,,,,,,,,[-1]],,"869",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KP:[,[,,"85\\d{6}|(?:19\\d|[2-7])\\d{7}",,,,,,,[8,10],[6,7]],[,,"(?:(?:195|2)\\d|3[19]|4[159]|5[37]|6[17]|7[39]|85)\\d{6}",,,,"21234567",,,,[6,7]],[,,"19[1-3]\\d{7}",,,,"1921234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KP",850,"00|99","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"238[02-9]\\d{4}|2(?:[0-24-9]\\d|3[0-79])\\d{5}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KR:[,[,,"00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}",,,,,,,[5,6,8,9,10,11,12,13,14],[3,4,7]],[,,"(?:2|3[1-3]|[46][1-4]|5[1-5])[1-9]\\d{6,7}|(?:3[1-3]|[46][1-4]|5[1-5])1\\d{2,3}",,,,"22123456",,,[5,6,8,9,10],[3,4,7]],[,,"1(?:05(?:[0-8]\\d|9[0-6])|22[13]\\d)\\d{4,5}|1(?:0[0-46-9]|[16-9]\\d|2[013-9])\\d{6,7}",,,,"1020000000",,,[9,10]],[,,"00(?:308\\d{6,7}|798\\d{7,9})|(?:00368|[38]0)\\d{7}",,,,"801234567",,,[9,11,12,13,14]],[,,"60[2-9]\\d{6}",,,,"602345678",,,[9]],[,,,,,,,,,[-1]],[,,"50\\d{8,9}",,,,"5012345678",,,[10,11]],[,,"70\\d{8}",,,,"7012345678",,,[10]],"KR",82,"00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","0",,,"0(8(?:[1-46-8]|5\\d\\d))?",,,,[[,"(\\d{5})","$1",["1[016-9]1","1[016-9]11","1[016-9]114"],"0$1"],[,"(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1","0$CC-$1"],[,"(\\d{4})(\\d{4})","$1-$2",["1"]],[,"(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[36]0|8"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1","0$CC-$1"],[,"(\\d{5})(\\d{3})(\\d{3})","$1 $2 $3",["003","0030"]],[,"(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1","0$CC-$1"],[,"(\\d{5})(\\d{3,4})(\\d{4})","$1 $2 $3",["0"]],[,"(\\d{5})(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["0"]]],[[,"(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1","0$CC-$1"],[,"(\\d{4})(\\d{4})","$1-$2",["1"]],[,"(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[36]0|8"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1","0$CC-$1"]],[,,"15\\d{7,8}",,,,"1523456789",,,[9,10]],,,[,,"00(?:3(?:08\\d{6,7}|68\\d{7})|798\\d{7,9})",,,,,,,[11,12,13,14]],[,,"1(?:5(?:22|33|44|66|77|88|99)|6(?:[07]0|44|6[0168]|88)|8(?:00|33|55|77|99))\\d{4}",,,,"15441234",,,[8]],,,[,,,,,,,,,[-1]]],KW:[,[,,"18\\d{5}|(?:[2569]\\d|41)\\d{6}",,,,,,,[7,8]],[,,"2(?:[23]\\d\\d|4(?:[1-35-9]\\d|44)|5(?:0[034]|[2-46]\\d|5[1-3]|7[1-7]))\\d{4}",,,,"22345678",,,[8]],[,,"(?:41\\d\\d|5(?:(?:[05]\\d|1[0-7]|6[56])\\d|2(?:22|5[25])|7(?:55|77)|88[58])|6(?:(?:0[034679]|5[015-9]|6\\d)\\d|1(?:00|11|6[16])|2[26]2|3[36]3|4[46]4|7(?:0[013-9]|[67]\\d)|8[68]8|9(?:[069]\\d|3[039]))|9(?:(?:[04679]\\d|8[057-9])\\d|1(?:1[01]|99)|2(?:00|2\\d)|3(?:00|3[03])|5(?:00|5\\d)))\\d{4}",,,,"50012345",,,[8]],[,,"18\\d{5}",,,,"1801234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KW",965,"00",,,,,,,,[[,"(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],[,"(\\d{3})(\\d{5})","$1 $2",["[245]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KY:[,[,,"(?:345|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"345(?:2(?:22|3[23]|44|66)|333|444|6(?:23|38|40)|7(?:30|4[35-79]|6[6-9]|77)|8(?:00|1[45]|[48]8)|9(?:14|4[035-9]))\\d{4}",,,,"3452221234",,,,[7]],[,,"345(?:32[1-9]|42[0-4]|5(?:1[67]|2[5-79]|4[6-9]|50|76)|649|82[56]|9(?:1[679]|2[2-9]|3[06-9]|90))\\d{4}",,,,"3453231234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"(?:345976|900[2-9]\\d\\d)\\d{4}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"KY",1,"011","1",,,"([2-9]\\d{6})$|1","345$1",,,,,[,,"345849\\d{4}",,,,"3458491234"],,"345",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KZ:[,[,,"(?:33622|8\\d{8})\\d{5}|[78]\\d{9}",,,,,,,[10,14],[5,6,7]],[,,"(?:33622|7(?:1(?:0(?:[23]\\d|4[0-3]|59|63)|1(?:[23]\\d|4[0-79]|59)|2(?:[23]\\d|59)|3(?:2\\d|3[0-79]|4[0-35-9]|59)|4(?:[24]\\d|3[013-9]|5[1-9]|97)|5(?:2\\d|3[1-9]|4[0-7]|59)|6(?:[2-4]\\d|5[19]|61)|72\\d|8(?:[27]\\d|3[1-46-9]|4[0-5]|59))|2(?:1(?:[23]\\d|4[46-9]|5[3469])|2(?:2\\d|3[0679]|46|5[12679])|3(?:[2-4]\\d|5[139])|4(?:2\\d|3[1-35-9]|59)|5(?:[23]\\d|4[0-8]|59|61)|6(?:2\\d|3[1-9]|4[0-4]|59)|7(?:[2379]\\d|40|5[279])|8(?:[23]\\d|4[0-3]|59)|9(?:2\\d|3[124578]|59))))\\d{5}",,,,"7123456789",,,[10],[5,6,7]],[,,"7(?:0[0-25-8]|47|6[0-4]|7[15-8]|85)\\d{7}",,,,"7710009998",,,[10]],[,,"8(?:00|108\\d{3})\\d{7}",,,,"8001234567"],[,,"809\\d{7}",,,,"8091234567",,,[10]],[,,,,,,,,,[-1]],[,,"808\\d{7}",,,,"8081234567",,,[10]],[,,"751\\d{7}",,,,"7511234567",,,[10]],"KZ",7,"810","8",,,"8",,"8~10",,,,[,,,,,,,,,[-1]],,"33|7",[,,"751\\d{7}",,,,,,,[10]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LA:[,[,,"[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}",,,,,,,[8,9,10],[6]],[,,"(?:2[13]|[35-7][14]|41|8[1468])\\d{6}",,,,"21212862",,,[8],[6]],[,,"208[78]\\d{6}|(?:20[23579]|30[24])\\d{7}",,,,"2023123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LA",856,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["30[0135-9]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"30[0135-9]\\d{6}",,,,"301234567",,,[9]],,,[,,,,,,,,,[-1]]],LB:[,[,,"[27-9]\\d{7}|[13-9]\\d{6}",,,,,,,[7,8]],[,,"7(?:62|8[0-7]|9[04-9])\\d{4}|(?:[14-69]\\d|2(?:[14-69]\\d|[78][1-9])|7[2-57]|8[02-9])\\d{5}",,,,"1123456"],[,,"793(?:[01]\\d|2[0-4])\\d{3}|(?:(?:3|81)\\d|7(?:[01]\\d|6[013-9]|8[89]|9[12]))\\d{5}",,,,"71123456"],[,,,,,,,,,[-1]],[,,"9[01]\\d{6}",,,,"90123456",,,[8]],[,,"80\\d{6}",,,,"80123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LB",961,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-7]|9[04-9])|8[02-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LC:[,[,,"(?:[58]\\d\\d|758|900)\\d{7}",,,,,,,[10],[7]],[,,"758(?:234|4(?:30|5\\d|6[2-9]|8[0-2])|57[0-2]|(?:63|75)8)\\d{4}",,,,"7584305678",,,,[7]],[,,"758(?:28[4-7]|384|4(?:6[01]|8[4-9])|5(?:1[89]|20|84)|7(?:1[2-9]|2\\d|3[0-3])|812)\\d{4}",,,,"7582845678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"LC",1,"011","1",,,"([2-8]\\d{6})$|1","758$1",,,,,[,,,,,,,,,[-1]],,"758",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LI:[,[,,"[68]\\d{8}|(?:[2378]\\d|90)\\d{5}",,,,,,,[7,9]],[,,"(?:2(?:01|1[27]|2[02]|3\\d|6[02-578]|96)|3(?:[24]0|33|7[0135-7]|8[048]|9[0269]))\\d{4}",,,,"2345678",,,[7]],[,,"(?:6(?:(?:4[5-9]|5[0-469])\\d|6(?:[024-6]\\d|[17]0|3[7-9]))\\d|7(?:[37-9]\\d|42|56))\\d{4}",,,,"660234567"],[,,"8002[28]\\d\\d|80(?:05\\d|9)\\d{4}",,,,"8002222"],[,,"90(?:02[258]|1(?:23|3[14])|66[136])\\d\\d",,,,"9002222",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LI",423,"00","0",,,"(1001)|0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2379]|8(?:0[09]|7)","[2379]|8(?:0(?:02|9)|7)"],,"$CC $1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"],,"$CC $1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"],,"$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"870(?:28|87)\\d\\d",,,,"8702812",,,[7]],,,[,,"697(?:42|56|[78]\\d)\\d{4}",,,,"697861234",,,[9]]],LK:[,[,,"[1-9]\\d{8}",,,,,,,[9],[7]],[,,"(?:12[2-9]|602|8[12]\\d|9(?:1\\d|22|9[245]))\\d{6}|(?:11|2[13-7]|3[1-8]|4[157]|5[12457]|6[35-7])[2-57]\\d{6}",,,,"112345678",,,,[7]],[,,"7(?:[0-25-8]\\d|4[0-4])\\d{6}",,,,"712345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LK",94,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1-689]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"1973\\d{5}",,,,"197312345"],,,[,,,,,,,,,[-1]]],LR:[,[,,"(?:[245]\\d|33|77|88)\\d{7}|(?:2\\d|[4-6])\\d{6}",,,,,,,[7,8,9]],[,,"2\\d{7}",,,,"21234567",,,[8]],[,,"(?:(?:(?:22|33)0|555|(?:77|88)\\d)\\d|4(?:240|[67]))\\d{5}|[56]\\d{6}",,,,"770123456",,,[7,9]],[,,,,,,,,,[-1]],[,,"332(?:02|[34]\\d)\\d{4}",,,,"332021234",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LR",231,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["4[67]|[56]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-578]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LS:[,[,,"(?:[256]\\d\\d|800)\\d{5}",,,,,,,[8]],[,,"2\\d{7}",,,,"22123456"],[,,"[56]\\d{7}",,,,"50123456"],[,,"800[1256]\\d{4}",,,,"80021234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LS",266,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[2568]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LT:[,[,,"(?:[3469]\\d|52|[78]0)\\d{6}",,,,,,,[8]],[,,"(?:3[1478]|4[124-6]|52)\\d{6}",,,,"31234567"],[,,"6\\d{7}",,,,"61234567"],[,,"80[02]\\d{5}",,,,"80012345"],[,,"9(?:0[0239]|10)\\d{5}",,,,"90012345"],[,,"808\\d{5}",,,,"80812345"],[,,"70[05]\\d{5}",,,,"70012345"],[,,"[89]01\\d{5}",,,,"80123456"],"LT",370,"00","0",,,"[08]",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["52[0-7]"],"(0-$1)",,1],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"0 $1",,1],[,"(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(0-$1)",,1],[,"(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(0-$1)",,1]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"70[67]\\d{5}",,,,"70712345"],,,[,,,,,,,,,[-1]]],LU:[,[,,"35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",,,,,,,[4,5,6,7,8,9,10,11]],[,,"(?:35[013-9]|80[2-9]|90[89])\\d{1,8}|(?:2[2-9]|3[0-46-9]|[457]\\d|8[13-9]|9[2-579])\\d{2,9}",,,,"27123456"],[,,"6(?:[269][18]|5[1568]|7[189]|81)\\d{6}",,,,"628123456",,,[9]],[,,"800\\d{5}",,,,"80012345",,,[8]],[,,"90[015]\\d{5}",,,,"90012345",,,[8]],[,,"801\\d{5}",,,,"80112345",,,[8]],[,,,,,,,,,[-1]],[,,"20(?:1\\d{5}|[2-689]\\d{1,7})",,,,"20201234",,,[4,5,6,7,8,9,10]],"LU",352,"00",,,,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)",,,,[[,"(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["2(?:[0367]|4[3-8])"],,"$CC $1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"],,"$CC $1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["2(?:[0367]|4[3-8])"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"],,"$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LV:[,[,,"(?:[268]\\d|90)\\d{6}",,,,,,,[8]],[,,"6\\d{7}",,,,"63123456"],[,,"23(?:23[0-57-9]|33[0238])\\d{3}|2(?:[0-24-9]\\d\\d|3(?:0[07]|[14-9]\\d|2[024-9]|3[0-24-9]))\\d{4}",,,,"21234567"],[,,"80\\d{6}",,,,"80123456"],[,,"90\\d{6}",,,,"90123456"],[,,"81\\d{6}",,,,"81123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LV",371,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[269]|8[01]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LY:[,[,,"[2-9]\\d{8}",,,,,,,[9],[7]],[,,"(?:2(?:0[56]|[1-6]\\d|7[124579]|8[124])|3(?:1\\d|2[2356])|4(?:[17]\\d|2[1-357]|5[2-4]|8[124])|5(?:[1347]\\d|2[1-469]|5[13-5]|8[1-4])|6(?:[1-479]\\d|5[2-57]|8[1-5])|7(?:[13]\\d|2[13-79])|8(?:[124]\\d|5[124]|84))\\d{6}",,,,"212345678",,,,[7]],[,,"9[1-6]\\d{7}",,,,"912345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LY",218,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MA:[,[,,"[5-8]\\d{8}",,,,,,,[9]],[,,"5(?:2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-7])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}",,,,"520123456"],[,,"(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-4]|5[01]|8[0-3]))\\d{6}",,,,"650123456"],[,,"80[0-7]\\d{6}",,,,"801234567"],[,,"89\\d{7}",,,,"891234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}",,,,"592401234"],"MA",212,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5[45]"],"0$1"],[,"(\\d{4})(\\d{5})","$1-$2",["5(?:2[2-46-9]|3[3-9]|9)|8(?:0[89]|92)"],"0$1"],[,"(\\d{2})(\\d{7})","$1-$2",["8"],"0$1"],[,"(\\d{3})(\\d{6})","$1-$2",["[5-7]"],"0$1"]],,[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MC:[,[,,"(?:[3489]|6\\d)\\d{7}",,,,,,,[8,9]],[,,"(?:870|9[2-47-9]\\d)\\d{5}",,,,"99123456",,,[8]],[,,"4(?:[469]\\d|5[1-9])\\d{5}|(?:3|6\\d)\\d{7}",,,,"612345678"],[,,"(?:800|90\\d)\\d{5}",,,,"90123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MC",377,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["87"]],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["6"],"0$1"]],[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["6"],"0$1"]],[,,,,,,,,,[-1]],,,[,,"8[07]0\\d{5}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MD:[,[,,"(?:[235-7]\\d|[89]0)\\d{6}",,,,,,,[8]],[,,"(?:(?:2[1-9]|3[1-79])\\d|5(?:33|5[257]))\\d{5}",,,,"22212345"],[,,"562\\d{5}|(?:6\\d|7[16-9])\\d{6}",,,,"62112345"],[,,"800\\d{5}",,,,"80012345"],[,,"90[056]\\d{5}",,,,"90012345"],[,,"808\\d{5}",,,,"80812345"],[,,,,,,,,,[-1]],[,,"3[08]\\d{6}",,,,"30123456"],"MD",373,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[25-7]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"803\\d{5}",,,,"80312345"],,,[,,,,,,,,,[-1]]],ME:[,[,,"(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}",,,,,,,[8,9],[6]],[,,"(?:20[2-8]|3(?:[0-2][2-7]|3[24-7])|4(?:0[2-467]|1[2467])|5(?:0[2467]|1[24-7]|2[2-467]))\\d{5}",,,,"30234567",,,[8],[6]],[,,"6(?:[07-9]\\d|3[024]|6[0-25])\\d{5}",,,,"67622901",,,[8]],[,,"80(?:[0-2578]|9\\d)\\d{5}",,,,"80080002"],[,,"9(?:4[1568]|5[178])\\d{5}",,,,"94515151",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"78[1-49]\\d{5}",,,,"78108780",,,[8]],"ME",382,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"77[1-9]\\d{5}",,,,"77273012",,,[8]],,,[,,,,,,,,,[-1]]],MF:[,[,,"590\\d{6}|(?:69|80|9\\d)\\d{7}",,,,,,,[9]],[,,"590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}",,,,"590271234"],[,,"69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))\\d{4}",,,,"690001234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:(?:39[5-7]|76[018])\\d|475[0-5])\\d{4}",,,,"976012345"],"MF",590,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MG:[,[,,"[23]\\d{8}",,,,,,,[9],[7]],[,,"2072[29]\\d{4}|20(?:2\\d|4[47]|5[3467]|6[279]|7[35]|8[268]|9[245])\\d{5}",,,,"202123456",,,,[7]],[,,"3[2-47-9]\\d{7}",,,,"321234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"22\\d{7}",,,,"221234567"],"MG",261,"00","0",,,"([24-9]\\d{6})$|0","20$1",,,[[,"(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MH:[,[,,"329\\d{4}|(?:[256]\\d|45)\\d{5}",,,,,,,[7]],[,,"(?:247|528|625)\\d{4}",,,,"2471234"],[,,"(?:(?:23|54)5|329|45[35-8])\\d{4}",,,,"2351234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"635\\d{4}",,,,"6351234"],"MH",692,"011","1",,,"1",,,,[[,"(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MK:[,[,,"[2-578]\\d{7}",,,,,,,[8],[6,7]],[,,"(?:(?:2(?:62|77)0|3444)\\d|4[56]440)\\d{3}|(?:34|4[357])700\\d{3}|(?:2(?:[0-3]\\d|5[0-578]|6[01]|82)|3(?:1[3-68]|[23][2-68]|4[23568])|4(?:[23][2-68]|4[3-68]|5[2568]|6[25-8]|7[24-68]|8[4-68]))\\d{5}",,,,"22012345",,,,[6,7]],[,,"7(?:3555|(?:474|9[019]7)7)\\d{3}|7(?:[0-25-8]\\d\\d|3(?:[1-48]\\d|6[01]|7[01578])|4(?:2\\d|60|7[01578])|9(?:[2-4]\\d|5[01]|7[015]))\\d{4}",,,,"72345678"],[,,"800\\d{5}",,,,"80012345"],[,,"5\\d{7}",,,,"50012345"],[,,"8(?:0[1-9]|[1-9]\\d)\\d{5}",,,,"80123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MK",389,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2|34[47]|4(?:[37]7|5[47]|64)"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],[,"(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ML:[,[,,"[24-9]\\d{7}",,,,,,,[8]],[,,"2(?:07[0-8]|12[67])\\d{4}|(?:2(?:02|1[4-689])|4(?:0[0-4]|4[1-39]))\\d{5}",,,,"20212345"],[,,"2(?:0(?:01|79)|17\\d)\\d{4}|(?:5[01]|[679]\\d|8[2-49])\\d{6}",,,,"65012345"],[,,"80\\d{6}",,,,"80012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ML",223,"00",,,,,,,,[[,"(\\d{4})","$1",["67[057-9]|74[045]","67(?:0[09]|[59]9|77|8[89])|74(?:0[02]|44|55)"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]],[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]],[,,,,,,,,,[-1]],,,[,,"80\\d{6}"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MM:[,[,,"1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}",,,,,,,[6,7,8,9,10],[5]],[,,"(?:1(?:(?:2\\d|3[56]|[89][0-6])\\d|4(?:2[29]|62|7[0-2]|83)|6)|2(?:2(?:00|8[34])|4(?:0\\d|[26]2|7[0-2]|83)|51\\d\\d)|4(?:2(?:2\\d\\d|48[013])|3(?:20\\d|4(?:70|83)|56)|420\\d|5470)|6(?:0(?:[23]|88\\d)|(?:124|[56]2\\d)\\d|2472|3(?:20\\d|470)|4(?:2[04]\\d|472)|7(?:(?:3\\d|8[01459])\\d|4[67]0)))\\d{4}|5(?:2(?:2\\d{5,6}|47[02]\\d{4})|(?:3472|4(?:2(?:1|86)|470)|522\\d|6(?:20\\d|483)|7(?:20\\d|48[01])|8(?:20\\d|47[02])|9(?:20\\d|470))\\d{4})|7(?:(?:0470|4(?:25\\d|470)|5(?:202|470|96\\d))\\d{4}|1(?:20\\d{4,5}|4(?:70|83)\\d{4}))|8(?:1(?:2\\d{5,6}|4(?:10|7[01]\\d)\\d{3})|2(?:2\\d{5,6}|(?:320|490\\d)\\d{3})|(?:3(?:2\\d\\d|470)|4[24-7]|5(?:(?:2\\d|51)\\d|4(?:[1-35-9]\\d|4[0-57-9]))|6[23])\\d{4})|(?:1[2-6]\\d|4(?:2[24-8]|3[2-7]|[46][2-6]|5[3-5])|5(?:[27][2-8]|3[2-68]|4[24-8]|5[23]|6[2-4]|8[24-7]|9[2-7])|6(?:[19]20|42[03-6]|(?:52|7[45])\\d)|7(?:[04][24-8]|[15][2-7]|22|3[2-4])|8(?:1[2-689]|2[2-8]|[35]2\\d))\\d{4}|25\\d{5,6}|(?:2[2-9]|6(?:1[2356]|[24][2-6]|3[24-6]|5[2-4]|6[2-8]|7[235-7]|8[245]|9[24])|8(?:3[24]|5[245]))\\d{4}",,,,"1234567",,,[6,7,8,9],[5]],[,,"(?:17[01]|9(?:2(?:[0-4]|[56]\\d\\d)|(?:3(?:[0-36]|4\\d)|(?:6\\d|8[89]|9[4-8])\\d|7(?:3|40|[5-9]\\d))\\d|4(?:(?:[0245]\\d|[1379])\\d|88)|5[0-6])\\d)\\d{4}|9[69]1\\d{6}|9(?:[68]\\d|9[089])\\d{5}",,,,"92123456",,,[7,8,9,10]],[,,"80080(?:0[1-9]|2\\d)\\d{3}",,,,"8008001234",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"1333\\d{4}|[12]468\\d{4}",,,,"13331234",,,[8]],"MM",95,"00","0",,,"0",,,,[[,"(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["[45]|6(?:0[23]|[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-6]"],"0$1"],[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[4-7]|8[1-35]"],"0$1"],[,"(\\d)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92"],"0$1"],[,"(\\d)(\\d{5})(\\d{4})","$1 $2 $3",["9"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MN:[,[,,"[12]\\d{7,9}|[5-9]\\d{7}",,,,,,,[8,9,10],[4,5,6]],[,,"[12]2[1-3]\\d{5,6}|(?:(?:[12](?:1|27)|5[368])\\d\\d|7(?:0(?:[0-5]\\d|7[078]|80)|128))\\d{4}|[12](?:3[2-8]|4[2-68]|5[1-4689])\\d{6,7}",,,,"53123456",,,,[4,5,6]],[,,"(?:83[01]|92[039])\\d{5}|(?:5[05]|6[069]|8[015689]|9[013-9])\\d{6}",,,,"88123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"712[0-79]\\d{4}|7(?:1[013-9]|[25-9]\\d)\\d{5}",,,,"75123456",,,[8]],"MN",976,"001","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[12]1"],"0$1"],[,"(\\d{4})(\\d{4})","$1 $2",["[5-9]"]],[,"(\\d{3})(\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],[,"(\\d{4})(\\d{5,6})","$1 $2",["[12](?:27|3[2-8]|4[2-68]|5[1-4689])","[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"],"0$1"],[,"(\\d{5})(\\d{4,5})","$1 $2",["[12]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MO:[,[,,"0800\\d{3}|(?:28|[68]\\d)\\d{6}",,,,,,,[7,8]],[,,"(?:28[2-9]|8(?:11|[2-57-9]\\d))\\d{5}",,,,"28212345",,,[8]],[,,"6800[0-79]\\d{3}|6(?:[235]\\d\\d|6(?:0[0-5]|[1-9]\\d)|8(?:0[1-9]|[14-8]\\d|2[5-9]|[39][0-4]))\\d{4}",,,,"66123456",,,[8]],[,,"0800\\d{3}",,,,"0800501",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MO",853,"00",,,,,,,,[[,"(\\d{4})(\\d{3})","$1 $2",["0"]],[,"(\\d{4})(\\d{4})","$1 $2",["[268]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MP:[,[,,"[58]\\d{9}|(?:67|90)0\\d{7}",,,,,,,[10],[7]],[,,"670(?:2(?:3[3-7]|56|8[4-8])|32[1-38]|4(?:33|8[348])|5(?:32|55|88)|6(?:64|70|82)|78[3589]|8[3-9]8|989)\\d{4}",,,,"6702345678",,,,[7]],[,,"670(?:2(?:3[3-7]|56|8[4-8])|32[1-38]|4(?:33|8[348])|5(?:32|55|88)|6(?:64|70|82)|78[3589]|8[3-9]8|989)\\d{4}",,,,"6702345678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"MP",1,"011","1",,,"([2-9]\\d{6})$|1","670$1",,1,,,[,,,,,,,,,[-1]],,"670",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MQ:[,[,,"596\\d{6}|(?:69|80|9\\d)\\d{7}",,,,,,,[9]],[,,"596(?:[03-7]\\d|1[05]|2[7-9]|8[0-39]|9[04-9])\\d{4}",,,,"596301234"],[,,"69(?:6(?:[0-46-9]\\d|5[0-6])|727)\\d{4}",,,,"696201234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:397[0-3]|477[0-5]|76(?:6\\d|7[0-367]))\\d{4}",,,,"976612345"],"MQ",596,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MR:[,[,,"(?:[2-4]\\d\\d|800)\\d{5}",,,,,,,[8]],[,,"(?:25[08]|35\\d|45[1-7])\\d{5}",,,,"35123456"],[,,"[2-4][0-46-9]\\d{6}",,,,"22123456"],[,,"800\\d{5}",,,,"80012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MR",222,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MS:[,[,,"(?:[58]\\d\\d|664|900)\\d{7}",,,,,,,[10],[7]],[,,"6644(?:1[0-3]|91)\\d{4}",,,,"6644912345",,,,[7]],[,,"664(?:3(?:49|9[1-6])|49[2-6])\\d{4}",,,,"6644923456",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"MS",1,"011","1",,,"([34]\\d{6})$|1","664$1",,,,,[,,,,,,,,,[-1]],,"664",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MT:[,[,,"3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",,,,,,,[8]],[,,"20(?:3[1-4]|6[059])\\d{4}|2(?:0[19]|[1-357]\\d|60)\\d{5}",,,,"21001234"],[,,"(?:7(?:210|[79]\\d\\d)|9(?:[29]\\d\\d|69[67]|8(?:1[1-3]|89|97)))\\d{4}",,,,"96961234"],[,,"800(?:02|[3467]\\d)\\d{3}",,,,"80071234"],[,,"5(?:0(?:0(?:37|43)|(?:6\\d|70|9[0168])\\d)|[12]\\d0[1-5])\\d{3}",,,,"50037123"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"3550\\d{4}",,,,"35501234"],"MT",356,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]],,[,,"7117\\d{4}",,,,"71171234"],,,[,,,,,,,,,[-1]],[,,"501\\d{5}",,,,"50112345"],,,[,,,,,,,,,[-1]]],MU:[,[,,"(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}",,,,,,,[7,8,10]],[,,"(?:2(?:[0346-8]\\d|1[0-7])|4(?:[013568]\\d|2[4-8]|71)|54(?:[3-5]\\d|71)|6\\d\\d|8(?:14|3[129]))\\d{4}",,,,"54480123",,,[7,8]],[,,"5(?:4(?:2[1-389]|7[1-9])|87[15-8])\\d{4}|(?:5(?:2[5-9]|4[3-689]|[57]\\d|8[0-689]|9[0-8])|7(?:0[0-4]|3[013]))\\d{5}",,,,"52512345",,,[8]],[,,"802\\d{7}|80[0-2]\\d{4}",,,,"8001234",,,[7,10]],[,,"30\\d{5}",,,,"3012345",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"3(?:20|9\\d)\\d{4}",,,,"3201234",,,[7]],"MU",230,"0(?:0|[24-7]0|3[03])",,,,,,"020",,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],[,"(\\d{4})(\\d{4})","$1 $2",["[57]"]],[,"(\\d{5})(\\d{5})","$1 $2",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MV:[,[,,"(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",,,,,,,[7,10]],[,,"(?:3(?:0[0-3]|3[0-59])|6(?:[58][024689]|6[024-68]|7[02468]))\\d{4}",,,,"6701234",,,[7]],[,,"(?:46[46]|[79]\\d\\d)\\d{4}",,,,"7712345",,,[7]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,"900\\d{7}",,,,"9001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MV",960,"0(?:0|19)",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1-$2",["[34679]"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"4(?:0[01]|50)\\d{4}",,,,"4001234",,,[7]],,,[,,,,,,,,,[-1]]],MW:[,[,,"(?:[1289]\\d|31|77)\\d{7}|1\\d{6}",,,,,,,[7,9]],[,,"(?:1[2-9]|2[12]\\d\\d)\\d{5}",,,,"1234567"],[,,"111\\d{6}|(?:31|77|[89][89])\\d{7}",,,,"991234567",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MW",265,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[137-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MX:[,[,,"[2-9]\\d{9}",,,,,,,[10],[7,8]],[,,"657[12]\\d{6}|(?:2(?:0[01]|2\\d|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[25-7][1-9]|3[1-8]|4\\d|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[0-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1346][1-9]|[27]\\d|5[13-9]|8[1-69]|9[17])|8(?:1\\d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[0-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|[69]\\d|7[12]|8[1-8]))\\d{7}",,,,"2001234567",,,,[7,8]],[,,"657[12]\\d{6}|(?:2(?:2\\d|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[25-7][1-9]|3[1-8]|4\\d|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[0-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1346][1-9]|[27]\\d|5[13-9]|8[1-69]|9[17])|8(?:1\\d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[0-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|[69]\\d|7[12]|8[1-8]))\\d{7}",,,,"2221234567",,,,[7,8]],[,,"8(?:00|88)\\d{7}",,,,"8001234567"],[,,"900\\d{7}",,,,"9001234567"],[,,"300\\d{7}",,,,"3001234567"],[,,"500\\d{7}",,,,"5001234567"],[,,,,,,,,,[-1]],"MX",52,"0[09]",,,,,,"00",,[[,"(\\d{5})","$1",["53"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"]]],[[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MY:[,[,,"1\\d{8,9}|(?:3\\d|[4-9])\\d{7}",,,,,,,[8,9,10],[6,7]],[,,"4270\\d{4}|(?:3(?:2[0-36-9]|3[0-368]|4[0-278]|5[0-24-8]|6[0-467]|7[1246-9]|8\\d|9[0-57])\\d|4(?:2[0-689]|[3-79]\\d|8[1-35689])|5(?:2[0-589]|[3468]\\d|5[0-489]|7[1-9]|9[23])|6(?:2[2-9]|3[1357-9]|[46]\\d|5[0-6]|7[0-35-9]|85|9[015-8])|7(?:[2579]\\d|3[03-68]|4[0-8]|6[5-9]|8[0-35-9])|8(?:[24][2-8]|3[2-5]|5[2-7]|6[2-589]|7[2-578]|[89][2-9])|9(?:0[57]|13|[25-7]\\d|[3489][0-8]))\\d{5}",,,,"323856789",,,[8,9],[6,7]],[,,"1(?:1888[689]|4400|8(?:47|8[27])[0-4])\\d{4}|1(?:0(?:[23568]\\d|4[0-6]|7[016-9]|9[0-8])|1(?:[1-5]\\d\\d|6(?:0[5-9]|[1-9]\\d)|7(?:[0-4]\\d|5[0-7]))|(?:[269]\\d|[37][1-9]|4[235-9])\\d|5(?:31|9\\d\\d)|8(?:1[23]|[236]\\d|4[06]|5(?:46|[7-9])|7[016-9]|8[01]|9[0-8]))\\d{5}",,,,"123456789",,,[9,10]],[,,"1[378]00\\d{6}",,,,"1300123456",,,[10]],[,,"1600\\d{6}",,,,"1600123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"15(?:4(?:6[0-4]\\d|8(?:0[125]|[17]\\d|21|3[01]|4[01589]|5[014]|6[02]))|6(?:32[0-6]|78\\d))\\d{4}",,,,"1546012345",,,[10]],"MY",60,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1-$2 $3",["1(?:[02469]|[378][1-9]|53)|8","1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],[,"(\\d)(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3-$4",["1(?:[367]|80)"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2 $3",["15"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2 $3",["1"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MZ:[,[,,"(?:2|8\\d)\\d{7}",,,,,,,[8,9]],[,,"2(?:[1346]\\d|5[0-2]|[78][12]|93)\\d{5}",,,,"21123456",,,[8]],[,,"8[2-79]\\d{7}",,,,"821234567",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MZ",258,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-79]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NA:[,[,,"[68]\\d{7,8}",,,,,,,[8,9]],[,,"64426\\d{3}|6(?:1(?:2[2-7]|3[01378]|4[0-4])|254|32[0237]|4(?:27|41|5[25])|52[236-8]|626|7(?:2[2-4]|30))\\d{4,5}|6(?:1(?:(?:0\\d|2[0189]|3[24-69]|4[5-9])\\d|17|69|7[014])|2(?:17|5[0-36-8]|69|70)|3(?:17|2[14-689]|34|6[289]|7[01]|81)|4(?:17|2[0-2]|4[06]|5[0137]|69|7[01])|5(?:17|2[0459]|69|7[01])|6(?:17|25|38|42|69|7[01])|7(?:17|2[569]|3[13]|6[89]|7[01]))\\d{4}",,,,"61221234"],[,,"(?:60|8[1245])\\d{7}",,,,"811234567",,,[9]],[,,"80\\d{7}",,,,"800123456",,,[9]],[,,"8701\\d{5}",,,,"870123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"8(?:3\\d\\d|86)\\d{5}",,,,"88612345"],"NA",264,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["87"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NC:[,[,,"(?:050|[2-57-9]\\d\\d)\\d{3}",,,,,,,[6]],[,,"(?:2[03-9]|3[0-5]|4[1-7]|88)\\d{4}",,,,"201234"],[,,"(?:5[0-4]|[79]\\d|8[0-79])\\d{4}",,,,"751234"],[,,"050\\d{3}",,,,"050012"],[,,"36\\d{4}",,,,"366711"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NC",687,"00",,,,,,,,[[,"(\\d{3})","$1",["5[6-8]"]],[,"(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]],[[,"(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NE:[,[,,"[027-9]\\d{7}",,,,,,,[8]],[,,"2(?:0(?:20|3[1-8]|4[13-5]|5[14]|6[14578]|7[1-578])|1(?:4[145]|5[14]|6[14-68]|7[169]|88))\\d{4}",,,,"20201234"],[,,"(?:23|7[0467]|[89]\\d)\\d{6}",,,,"93123456"],[,,"08\\d{6}",,,,"08123456"],[,,"09\\d{6}",,,,"09123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NE",227,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["08"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[089]|2[013]|7[0467]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NF:[,[,,"[13]\\d{5}",,,,,,,[6],[5]],[,,"(?:1(?:06|17|28|39)|3[0-2]\\d)\\d{3}",,,,"106609",,,,[5]],[,,"(?:14|3[58])\\d{4}",,,,"381234",,,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NF",672,"00",,,,"([0-258]\\d{4})$","3$1",,,[[,"(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],[,"(\\d)(\\d{5})","$1 $2",["[13]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NG:[,[,,"2[0-24-9]\\d{8}|[78]\\d{10,13}|[7-9]\\d{9}|[1-9]\\d{7}|[124-7]\\d{6}",,,,,,,[7,8,10,11,12,13,14],[5,6]],[,,"20(?:[1259]\\d|3[013-9]|4[1-8]|6[024-689]|7[1-79]|8[2-9])\\d{6}|(?:(?:[1-356]\\d|4[02-8]|8[2-9])\\d|9(?:0[3-9]|[1-9]\\d))\\d{5}|7(?:0(?:[013-689]\\d|2[0-24-9])\\d{3,4}|[1-79]\\d{6})|(?:[12]\\d|4[147]|5[14579]|6[1578]|7[1-3578])\\d{5}",,,,"18040123",,,[7,8,10],[5,6]],[,,"(?:702[0-24-9]|819[01])\\d{6}|(?:7(?:0[13-9]|[12]\\d)|8(?:0[1-9]|1[0-8])|9(?:0[1-9]|1[1-6]))\\d{7}",,,,"8021234567",,,[10]],[,,"800\\d{7,11}",,,,"80017591759",,,[10,11,12,13,14]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NG",234,"009","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["78"],"0$1"],[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|9(?:0[3-9]|[1-9])"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[3-6]|7(?:0[0-689]|[1-79])|8[2-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["20[129]"],"0$1"],[,"(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],[,"(\\d{3})(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"700\\d{7,11}",,,,"7001234567",,,[10,11,12,13,14]],,,[,,,,,,,,,[-1]]],NI:[,[,,"(?:1800|[25-8]\\d{3})\\d{4}",,,,,,,[8]],[,,"2\\d{7}",,,,"21234567"],[,,"(?:5(?:5[0-7]|[78]\\d)|6(?:20|3[035]|4[045]|5[05]|77|8[1-9]|9[059])|(?:7[5-8]|8\\d)\\d)\\d{5}",,,,"81234567"],[,,"1800\\d{4}",,,,"18001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NI",505,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NL:[,[,,"(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}",,,,,,,[5,6,7,8,9,10,11]],[,,"(?:1(?:[035]\\d|1[13-578]|6[124-8]|7[24]|8[0-467])|2(?:[0346]\\d|2[2-46-9]|5[125]|9[479])|3(?:[03568]\\d|1[3-8]|2[01]|4[1-8])|4(?:[0356]\\d|1[1-368]|7[58]|8[15-8]|9[23579])|5(?:[0358]\\d|[19][1-9]|2[1-57-9]|4[13-8]|6[126]|7[0-3578])|7\\d\\d)\\d{6}",,,,"101234567",,,[9]],[,,"(?:6[1-58]|970\\d)\\d{7}",,,,"612345678",,,[9,11]],[,,"800\\d{4,7}",,,,"8001234",,,[7,8,9,10]],[,,"90[069]\\d{4,7}",,,,"9061234",,,[7,8,9,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:85|91)\\d{7}",,,,"851234567",,,[9]],"NL",31,"00","0",,,"0",,,,[[,"(\\d{4})","$1",["1[238]|[34]"]],[,"(\\d{2})(\\d{3,4})","$1 $2",["14"]],[,"(\\d{6})","$1",["1"]],[,"(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],[,"(\\d)(\\d{8})","$1 $2",["6"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],[[,"(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],[,"(\\d)(\\d{8})","$1 $2",["6"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],[,,"66\\d{7}",,,,"662345678",,,[9]],,,[,,"140(?:1[035]|2[0346]|3[03568]|4[0356]|5[0358]|8[458])|140(?:1[16-8]|2[259]|3[124]|4[17-9]|5[124679]|7)\\d",,,,,,,[5,6]],[,,"140(?:1[035]|2[0346]|3[03568]|4[0356]|5[0358]|8[458])|(?:140(?:1[16-8]|2[259]|3[124]|4[17-9]|5[124679]|7)|8[478]\\d{6})\\d",,,,"14020",,,[5,6,9]],,,[,,,,,,,,,[-1]]],NO:[,[,,"(?:0|[2-9]\\d{3})\\d{4}",,,,,,,[5,8]],[,,"(?:2[1-4]|3[1-3578]|5[1-35-7]|6[1-4679]|7[0-8])\\d{6}",,,,"21234567",,,[8]],[,,"(?:4[015-8]|9\\d)\\d{6}",,,,"40612345",,,[8]],[,,"80[01]\\d{5}",,,,"80012345",,,[8]],[,,"82[09]\\d{5}",,,,"82012345",,,[8]],[,,"810(?:0[0-6]|[2-8]\\d)\\d{3}",,,,"81021234",,,[8]],[,,"880\\d{5}",,,,"88012345",,,[8]],[,,"85[0-5]\\d{5}",,,,"85012345",,,[8]],"NO",47,"00",,,,,,,,[[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["8"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]"]]],,[,,,,,,,,,[-1]],1,"[02-689]|7[0-8]",[,,,,,,,,,[-1]],[,,"(?:0[2-9]|81(?:0(?:0[7-9]|1\\d)|5\\d\\d))\\d{3}",,,,"02000"],,,[,,"81[23]\\d{5}",,,,"81212345",,,[8]]],NP:[,[,,"(?:1\\d|9)\\d{9}|[1-9]\\d{7}",,,,,,,[8,10,11],[6,7]],[,,"(?:1[0-6]\\d|99[02-6])\\d{5}|(?:2[13-79]|3[135-8]|4[146-9]|5[135-7]|6[13-9]|7[15-9]|8[1-46-9]|9[1-7])[2-6]\\d{5}",,,,"14567890",,,[8],[6,7]],[,,"9(?:00|6[0-3]|7[024-6]|8[0-24-68])\\d{7}",,,,"9841234567",,,[10]],[,,"1(?:66001|800\\d\\d)\\d{5}",,,,"16600101234",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NP",977,"00","0",,,"0",,,,[[,"(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],[,"(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],[,"(\\d{3})(\\d{7})","$1-$2",["9"]],[,"(\\d{4})(\\d{2})(\\d{5})","$1-$2-$3",["1"]]],[[,"(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],[,"(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],[,"(\\d{3})(\\d{7})","$1-$2",["9"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NR:[,[,,"(?:444|(?:55|8\\d)\\d|666)\\d{4}",,,,,,,[7]],[,,"444\\d{4}",,,,"4441234"],[,,"(?:55[3-9]|666|8\\d\\d)\\d{4}",,,,"5551234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NR",674,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[4-68]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NU:[,[,,"(?:[4-7]|888\\d)\\d{3}",,,,,,,[4,7]],[,,"[47]\\d{3}",,,,"7012",,,[4]],[,,"(?:[56]|888[1-9])\\d{3}",,,,"8884012"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NU",683,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NZ:[,[,,"[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}",,,,,,,[5,6,7,8,9,10]],[,,"24099\\d{3}|(?:3[2-79]|[49][2-9]|6[235-9]|7[2-57-9])\\d{6}",,,,"32345678",,,[8],[7]],[,,"2(?:[0-27-9]\\d|6)\\d{6,7}|2(?:1\\d|75)\\d{5}",,,,"211234567",,,[8,9,10]],[,,"508\\d{6,7}|80\\d{6,8}",,,,"800123456",,,[8,9,10]],[,,"(?:1[13-57-9]\\d{5}|50(?:0[08]|30|66|77|88))\\d{3}|90\\d{6,8}",,,,"900123456",,,[7,8,9,10]],[,,,,,,,,,[-1]],[,,"70\\d{7}",,,,"701234567",,,[9]],[,,,,,,,,,[-1]],"NZ",64,"0(?:0|161)","0",,,"0",,"00",,[[,"(\\d{2})(\\d{3,8})","$1 $2",["8[1-79]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["50[036-8]|8|90","50(?:[0367]|88)|8|90"],"0$1"],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["24|[346]|7[2-57-9]|9[2-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|[589]"],"0$1"],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1|2[028]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:[169]|7[0-35-9])|7"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"8(?:1[16-9]|22|3\\d|4[045]|5[459]|6[235-9]|7[0-3579]|90)\\d{2,7}",,,,"83012378"],,,[,,,,,,,,,[-1]]],OM:[,[,,"(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}",,,,,,,[7,8,9]],[,,"2[1-6]\\d{6}",,,,"23123456",,,[8]],[,,"(?:1505|90[1-9]\\d)\\d{4}|(?:7[126-9]|9[1-9])\\d{6}",,,,"92123456",,,[8]],[,,"8007\\d{4,5}|(?:500|800[05])\\d{4}",,,,"80071234"],[,,"900\\d{5}",,,,"90012345",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"OM",968,"00",,,,,,,,[[,"(\\d{3})(\\d{4,6})","$1 $2",["[58]"]],[,"(\\d{2})(\\d{6})","$1 $2",["2"]],[,"(\\d{4})(\\d{4})","$1 $2",["[179]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PA:[,[,,"(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}",,,,,,,[7,8,10,11]],[,,"(?:1(?:0\\d|1[479]|2[37]|3[0137]|4[17]|5[05]|6[058]|7[0167]|8[2358]|9[1389])|2(?:[0235-79]\\d|1[0-7]|4[013-9]|8[02-9])|3(?:[089]\\d|1[0-7]|2[0-5]|33|4[0-79]|5[0-35]|6[068]|7[0-8])|4(?:00|3[0-579]|4\\d|7[0-57-9])|5(?:[01]\\d|2[0-7]|[56]0|79)|7(?:0[09]|2[0-26-8]|3[03]|4[04]|5[05-9]|6[0156]|7[0-24-9]|8[5-9]|90)|8(?:09|2[89]|3\\d|4[0-24-689]|5[014]|8[02])|9(?:0[5-9]|1[0135-8]|2[036-9]|3[35-79]|40|5[0457-9]|6[05-9]|7[04-9]|8[35-8]|9\\d))\\d{4}",,,,"2001234",,,[7]],[,,"(?:1[16]1|21[89]|6\\d{3}|8(?:1[01]|7[23]))\\d{4}",,,,"61234567",,,[7,8]],[,,"800\\d{4,5}|(?:00800|800\\d)\\d{6}",,,,"8001234"],[,,"(?:8(?:22|55|60|7[78]|86)|9(?:00|81))\\d{4}",,,,"8601234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PA",507,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],[,"(\\d{4})(\\d{4})","$1-$2",["[68]"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PE:[,[,,"(?:[14-8]|9\\d)\\d{7}",,,,,,,[8,9],[6,7]],[,,"(?:(?:4[34]|5[14])[0-8]\\d|7(?:173|3[0-8]\\d)|8(?:10[05689]|6(?:0[06-9]|1[6-9]|29)|7(?:0[569]|[56]0)))\\d{4}|(?:1[0-8]|4[12]|5[236]|6[1-7]|7[246]|8[2-4])\\d{6}",,,,"11234567",,,[8],[6,7]],[,,"9\\d{8}",,,,"912345678",,,[9]],[,,"800\\d{5}",,,,"80012345",,,[8]],[,,"805\\d{5}",,,,"80512345",,,[8]],[,,"801\\d{5}",,,,"80112345",,,[8]],[,,"80[24]\\d{5}",,,,"80212345",,,[8]],[,,,,,,,,,[-1]],"PE",51,"00|19(?:1[124]|77|90)00","0"," Anexo ",,"0",,"00",,[[,"(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],[,"(\\d)(\\d{7})","$1 $2",["1"],"(0$1)"],[,"(\\d{2})(\\d{6})","$1 $2",["[4-8]"],"(0$1)"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PF:[,[,,"4\\d{5}(?:\\d{2})?|8\\d{7,8}",,,,,,,[6,8,9]],[,,"4(?:0[4-689]|9[4-68])\\d{5}",,,,"40412345",,,[8]],[,,"8[7-9]\\d{6}",,,,"87123456",,,[8]],[,,"80[0-5]\\d{6}",,,,"800012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"499\\d{5}",,,,"49901234",,,[8]],"PF",689,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4|8[7-9]"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]],,[,,,,,,,,,[-1]],,,[,,"44\\d{4}",,,,,,,[6]],[,,"44\\d{4}",,,,"440123",,,[6]],,,[,,,,,,,,,[-1]]],PG:[,[,,"(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",,,,,,,[7,8]],[,,"(?:(?:3[0-2]|4[257]|5[34]|9[78])\\d|64[1-9]|85[02-46-9])\\d{4}",,,,"3123456",,,[7]],[,,"(?:7\\d|8[1-38])\\d{6}",,,,"70123456",,,[8]],[,,"180\\d{4}",,,,"1801234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"2(?:0[0-57]|7[568])\\d{4}",,,,"2751234",,,[7]],"PG",675,"00|140[1-3]",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85"]],[,"(\\d{4})(\\d{4})","$1 $2",["[78]"]]],,[,,"27[01]\\d{4}",,,,"2700123",,,[7]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PH:[,[,,"(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}",,,,,,,[6,8,9,10,11,12,13],[4,5,7]],[,,"(?:(?:2[3-8]|3[2-68]|4[2-9]|5[2-6]|6[2-58]|7[24578])\\d{3}|88(?:22\\d\\d|42))\\d{4}|(?:2|8[2-8]\\d\\d)\\d{5}",,,,"232345678",,,[6,8,9,10],[4,5,7]],[,,"(?:8(?:1[37]|9[5-8])|9(?:0[5-9]|1[0-24-9]|[235-7]\\d|4[2-9]|8[135-9]|9[1-9]))\\d{7}",,,,"9051234567",,,[10]],[,,"1800\\d{7,9}",,,,"180012345678",,,[11,12,13]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PH",63,"00","0",,,"0",,,,[[,"(\\d)(\\d{5})","$1 $2",["2"],"(0$1)"],[,"(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],[,"(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|8[2-8]"],"(0$1)"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],[,"(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PK:[,[,,"122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}",,,,,,,[8,9,10,11,12],[5,6,7]],[,,"(?:(?:21|42)[2-9]|58[126])\\d{7}|(?:2[25]|4[0146-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]\\d{6,7}|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8]))[2-9]\\d{5,6}",,,,"2123456789",,,[9,10],[5,6,7,8]],[,,"3(?:[0-247]\\d|3[0-79]|55|64)\\d{7}",,,,"3012345678",,,[10]],[,,"800\\d{5}(?:\\d{3})?",,,,"80012345",,,[8,11]],[,,"900\\d{5}",,,,"90012345",,,[8]],[,,,,,,,,,[-1]],[,,"122\\d{6}",,,,"122044444",,,[9]],[,,,,,,,,,[-1]],"PK",92,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{2,7})","$1 $2 $3",["[89]0"],"0$1"],[,"(\\d{4})(\\d{5})","$1 $2",["1"]],[,"(\\d{3})(\\d{6,7})","$1 $2",["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])","9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"],"(0$1)"],[,"(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],[,"(\\d{5})(\\d{5})","$1 $2",["58"],"(0$1)"],[,"(\\d{3})(\\d{7})","$1 $2",["3"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"],"(0$1)"],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[24-9]"],"(0$1)"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:2(?:[125]|3[2358]|4[2-4]|9[2-8])|4(?:[0-246-9]|5[3479])|5(?:[1-35-7]|4[2-467])|6(?:0[468]|[1-8])|7(?:[14]|2[236])|8(?:[16]|2[2-689]|3[23578]|4[3478]|5[2356])|9(?:1|22|3[27-9]|4[2-6]|6[3569]|9[2-7]))111\\d{6}",,,,"21111825888",,,[11,12]],,,[,,,,,,,,,[-1]]],PL:[,[,,"(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}",,,,,,,[6,7,8,9,10]],[,,"47\\d{7}|(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])(?:[02-9]\\d{6}|1(?:[0-8]\\d{5}|9\\d{3}(?:\\d{2})?))",,,,"123456789",,,[7,9]],[,,"21(?:1[013-5]|2\\d)\\d{5}|(?:45|5[0137]|6[069]|7[2389]|88)\\d{7}",,,,"512345678",,,[9]],[,,"800\\d{6,7}",,,,"800123456",,,[9,10]],[,,"70[01346-8]\\d{6}",,,,"701234567",,,[9]],[,,"801\\d{6}",,,,"801234567",,,[9]],[,,,,,,,,,[-1]],[,,"39\\d{7}",,,,"391234567",,,[9]],"PL",48,"00",,,,,,,,[[,"(\\d{5})","$1",["19"]],[,"(\\d{3})(\\d{3})","$1 $2",["11|20|64"]],[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1","(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]],[,"(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2-8]|[2-7]|8[1-79]|9[145]"]],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["8"]]],,[,,"64\\d{4,7}",,,,"641234567",,,[6,7,8,9]],,,[,,,,,,,,,[-1]],[,,"804\\d{6}",,,,"804123456",,,[9]],,,[,,,,,,,,,[-1]]],PM:[,[,,"[45]\\d{5}|(?:708|80\\d)\\d{6}",,,,,,,[6,9]],[,,"(?:4[1-35-7]|5[01])\\d{4}",,,,"430123",,,[6]],[,,"(?:4[02-4]|5[056]|708[45][0-5])\\d{4}",,,,"551234"],[,,"80[0-5]\\d{6}",,,,"800012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PM",508,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[45]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PR:[,[,,"(?:[589]\\d\\d|787)\\d{7}",,,,,,,[10],[7]],[,,"(?:787|939)[2-9]\\d{6}",,,,"7872345678",,,,[7]],[,,"(?:787|939)[2-9]\\d{6}",,,,"7872345678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"PR",1,"011","1",,,"1",,,1,,,[,,,,,,,,,[-1]],,"787|939",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PS:[,[,,"[2489]2\\d{6}|(?:1\\d|5)\\d{8}",,,,,,,[8,9,10],[7]],[,,"(?:22[2-47-9]|42[45]|82[014-68]|92[3569])\\d{5}",,,,"22234567",,,[8],[7]],[,,"5[69]\\d{7}",,,,"599123456",,,[9]],[,,"1800\\d{6}",,,,"1800123456",,,[10]],[,,,,,,,,,[-1]],[,,"1700\\d{6}",,,,"1700123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PS",970,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PT:[,[,,"1693\\d{5}|(?:[26-9]\\d|30)\\d{7}",,,,,,,[9]],[,,"2(?:[12]\\d|3[1-689]|4[1-59]|[57][1-9]|6[1-35689]|8[1-69]|9[1256])\\d{6}",,,,"212345678"],[,,"6(?:[06]92(?:30|9\\d)|[35]92(?:[049]\\d|3[034]))\\d{3}|(?:(?:16|6[0356])93|9(?:[1-36]\\d\\d|480))\\d{5}",,,,"912345678"],[,,"80[02]\\d{6}",,,,"800123456"],[,,"(?:6(?:0[178]|4[68])\\d|76(?:0[1-57]|1[2-47]|2[237]))\\d{5}",,,,"760123456"],[,,"80(?:8\\d|9[1579])\\d{5}",,,,"808123456"],[,,"884[0-4689]\\d{5}",,,,"884123456"],[,,"30\\d{7}",,,,"301234567"],"PT",351,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["16|[236-9]"]]],,[,,"6(?:222\\d|8988)\\d{4}",,,,"622212345"],,,[,,,,,,,,,[-1]],[,,"70(?:38[01]|596|(?:7\\d|8[17])\\d)\\d{4}",,,,"707123456"],,,[,,"600\\d{6}|6[06]92(?:0\\d|3[349]|49)\\d{3}",,,,"600110000"]],PW:[,[,,"(?:[24-8]\\d\\d|345|900)\\d{4}",,,,,,,[7]],[,,"(?:2(?:55|77)|345|488|5(?:35|44|87)|6(?:22|54|79)|7(?:33|47)|8(?:24|55|76)|900)\\d{4}",,,,"2771234"],[,,"(?:(?:46|83)[0-5]|6[2-4689]0)\\d{4}|(?:45|77|88)\\d{5}",,,,"6201234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PW",680,"01[12]",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PY:[,[,,"59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}",,,,,,,[6,7,8,9,10,11],[5]],[,,"(?:[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36])\\d{5,7}|(?:2(?:2[4-68]|[4-68]\\d|7[15]|9[1-5])|3(?:18|3[167]|4[2357]|51|[67]\\d)|4(?:3[12]|5[13]|9[1-47])|5(?:[1-4]\\d|5[02-4])|6(?:3[1-3]|44|7[1-8])|7(?:4[0-4]|5\\d|6[1-578]|75|8[0-8])|858)\\d{5,6}",,,,"212345678",,,[7,8,9],[5,6]],[,,"9(?:51|6[129]|7[1-6]|8[1-7]|9[1-5])\\d{6}",,,,"961456789",,,[9]],[,,"9800\\d{5,7}",,,,"98000123456",,,[9,10,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"8700[0-4]\\d{4}",,,,"870012345",,,[9]],"PY",595,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],[,"(\\d{2})(\\d{5})","$1 $2",["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"],"(0$1)"],[,"(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],[,"(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-7])"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"[2-9]0\\d{4,7}",,,,"201234567",,,[6,7,8,9]],,,[,,,,,,,,,[-1]]],QA:[,[,,"800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}",,,,,,,[7,8,9,11]],[,,"4(?:1111|2022)\\d{3}|4(?:[04]\\d\\d|14[0-6]|999)\\d{4}",,,,"44123456",,,[8]],[,,"[35-7]\\d{7}",,,,"33123456",,,[8]],[,,"800\\d{4}|(?:0080[01]|800)\\d{6}",,,,"8001234",,,[7,9,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"QA",974,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["2[16]|8"]],[,"(\\d{4})(\\d{4})","$1 $2",["[3-7]"]]],,[,,"2[16]\\d{5}",,,,"2123456",,,[7]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],RE:[,[,,"(?:26|[689]\\d)\\d{7}",,,,,,,[9]],[,,"26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}",,,,"262161234"],[,,"69(?:2\\d\\d|3(?:[06][0-6]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))\\d{4}",,,,"692123456"],[,,"80\\d{7}",,,,"801234567"],[,,"89[1-37-9]\\d{6}",,,,"891123456"],[,,"8(?:1[019]|2[0156]|84|90)\\d{6}",,,,"810123456"],[,,,,,,,,,[-1]],[,,"9(?:399[0-3]|479[0-5]|76(?:2[278]|3[0-37]))\\d{4}",,,,"939901234"],"RE",262,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2689]"],"0$1"]],,[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],RO:[,[,,"(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}",,,,,,,[6,9]],[,,"[23][13-6]\\d{7}|(?:2(?:19\\d|[3-6]\\d9)|31\\d\\d)\\d\\d",,,,"211234567"],[,,"(?:630|702)0\\d{5}|(?:6(?:[04]0|2\\d)|7(?:0[013-9]|1[0-3]|[2-7]\\d|8[03-8]|9[0-39]))\\d{6}",,,,"712034567",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"90[0136]\\d{6}",,,,"900123456",,,[9]],[,,"801\\d{6}",,,,"801123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"RO",40,"00","0"," int ",,"0",,,,[[,"(\\d{3})(\\d{3})","$1 $2",["2[3-6]","2[3-6]\\d9"],"0$1"],[,"(\\d{2})(\\d{4})","$1 $2",["219|31"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[236-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:37\\d|80[578])\\d{6}",,,,"372123456",,,[9]],,,[,,,,,,,,,[-1]]],RS:[,[,,"38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}",,,,,,,[6,7,8,9,10,11,12],[4,5]],[,,"(?:11[1-9]\\d|(?:2[389]|39)(?:0[2-9]|[2-9]\\d))\\d{3,8}|(?:1[02-9]|2[0-24-7]|3[0-8])[2-9]\\d{4,9}",,,,"10234567",,,[7,8,9,10,11,12],[4,5,6]],[,,"6(?:[0-689]|7\\d)\\d{6,7}",,,,"601234567",,,[8,9,10]],[,,"800\\d{3,9}",,,,"80012345"],[,,"(?:78\\d|90[0169])\\d{3,7}",,,,"90012345",,,[6,7,8,9,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"RS",381,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3,9})","$1 $2",["(?:2[389]|39)0|[7-9]"],"0$1"],[,"(\\d{2})(\\d{5,10})","$1 $2",["[1-36]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"7[06]\\d{4,10}",,,,"700123456"],,,[,,,,,,,,,[-1]]],RU:[,[,,"8\\d{13}|[347-9]\\d{9}",,,,,,,[10,14],[7]],[,,"(?:3(?:0[12]|4[1-35-79]|5[1-3]|65|8[1-58]|9[0145])|4(?:01|1[1356]|2[13467]|7[1-5]|8[1-7]|9[1-689])|8(?:1[1-8]|2[01]|3[13-6]|4[0-8]|5[15]|6[1-35-79]|7[1-37-9]))\\d{7}",,,,"3011234567",,,[10],[7]],[,,"9\\d{9}",,,,"9123456789",,,[10]],[,,"8(?:0[04]|108\\d{3})\\d{7}",,,,"8001234567"],[,,"80[39]\\d{7}",,,,"8091234567",,,[10]],[,,,,,,,,,[-1]],[,,"808\\d{7}",,,,"8081234567",,,[10]],[,,,,,,,,,[-1]],"RU",7,"810","8",,,"8",,"8~10",,[[,"(\\d{3})(\\d{2})(\\d{2})","$1-$2-$3",["[0-79]"]],[,"(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",,1],[,"(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",,1],[,"(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],[[,"(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",,1],[,"(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",,1],[,"(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],[,,,,,,,,,[-1]],1,"3[04-689]|[489]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],RW:[,[,,"(?:06|[27]\\d\\d|[89]00)\\d{6}",,,,,,,[8,9]],[,,"(?:06|2[23568]\\d)\\d{6}",,,,"250123456"],[,,"7[237-9]\\d{7}",,,,"720123456",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"900\\d{6}",,,,"900123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"RW",250,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SA:[,[,,"92\\d{7}|(?:[15]|8\\d)\\d{8}",,,,,,,[9,10],[7]],[,,"1(?:1\\d|2[24-8]|3[35-8]|4[3-68]|6[2-5]|7[235-7])\\d{6}",,,,"112345678",,,[9],[7]],[,,"579[01]\\d{5}|5(?:[013-689]\\d|7[0-8])\\d{6}",,,,"512345678",,,[9]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,"925\\d{6}",,,,"925012345",,,[9]],[,,"920\\d{6}",,,,"920012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SA",966,"00","0",,,"0",,,,[[,"(\\d{4})(\\d{5})","$1 $2",["9"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["81"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"811\\d{7}",,,,"8110123456",,,[10]],,,[,,,,,,,,,[-1]]],SB:[,[,,"[6-9]\\d{6}|[1-6]\\d{4}",,,,,,,[5,7]],[,,"(?:1[4-79]|[23]\\d|4[0-2]|5[03]|6[0-37])\\d{3}",,,,"40123",,,[5]],[,,"48\\d{3}|(?:(?:6[89]|7[1-9]|8[4-9])\\d|9(?:1[2-9]|2[013-9]|3[0-2]|[46]\\d|5[0-46-9]|7[0-689]|8[0-79]|9[0-8]))\\d{4}",,,,"7421234"],[,,"1[38]\\d{3}",,,,"18123",,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"5[12]\\d{3}",,,,"51123",,,[5]],"SB",677,"0[01]",,,,,,,,[[,"(\\d{2})(\\d{5})","$1 $2",["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SC:[,[,,"(?:[2489]\\d|64)\\d{5}",,,,,,,[7]],[,,"4[2-46]\\d{5}",,,,"4217123"],[,,"2[125-8]\\d{5}",,,,"2510123"],[,,"800[08]\\d{3}",,,,"8000000"],[,,"85\\d{5}",,,,"8512345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"971\\d{4}|(?:64|95)\\d{5}",,,,"6412345"],"SC",248,"010|0[0-2]",,,,,,"00",,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SD:[,[,,"[19]\\d{8}",,,,,,,[9]],[,,"1(?:5\\d|8[35-7])\\d{6}",,,,"153123456"],[,,"(?:1[0-2]|9[0-3569])\\d{7}",,,,"911231234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SD",249,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SE:[,[,,"(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}",,,,,,,[6,7,8,9,10,12]],[,,"(?:(?:[12][136]|3[356]|4[0246]|6[03]|8\\d)\\d|90[1-9])\\d{4,6}|(?:1(?:2[0-35]|4[0-4]|5[0-25-9]|7[13-6]|[89]\\d)|2(?:2[0-7]|4[0136-8]|5[0138]|7[018]|8[01]|9[0-57])|3(?:0[0-4]|1\\d|2[0-25]|4[056]|7[0-2]|8[0-3]|9[023])|4(?:1[013-8]|3[0135]|5[14-79]|7[0-246-9]|8[0156]|9[0-689])|5(?:0[0-6]|[15][0-5]|2[0-68]|3[0-4]|4\\d|6[03-5]|7[013]|8[0-79]|9[01])|6(?:1[1-3]|2[0-4]|4[02-57]|5[0-37]|6[0-3]|7[0-2]|8[0247]|9[0-356])|9(?:1[0-68]|2\\d|3[02-5]|4[0-3]|5[0-4]|[68][01]|7[0135-8]))\\d{5,6}",,,,"8123456",,,[7,8,9]],[,,"7[02369]\\d{7}",,,,"701234567",,,[9]],[,,"20\\d{4,7}",,,,"20123456",,,[6,7,8,9]],[,,"649\\d{6}|99[1-59]\\d{4}(?:\\d{3})?|9(?:00|39|44)[1-8]\\d{3,6}",,,,"9001234567",,,[7,8,9,10]],[,,"77[0-7]\\d{6}",,,,"771234567",,,[9]],[,,"75[1-8]\\d{6}",,,,"751234567",,,[9]],[,,,,,,,,,[-1]],"SE",46,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1"],[,"(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44|9)"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1"],[,"(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1"],[,"(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1"],[,"(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1"],[,"(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1"]],[[,"(\\d{2})(\\d{2,3})(\\d{2})","$1 $2 $3",["20"]],[,"(\\d{3})(\\d{4})","$1 $2",["9(?:00|39|44|9)"]],[,"(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"]],[,"(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],[,"(\\d{3})(\\d{2,3})(\\d{2})","$1 $2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"]],[,"(\\d{3})(\\d{2,3})(\\d{3})","$1 $2 $3",["9(?:00|39|44)"]],[,"(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"]],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["10|7"]],[,"(\\d)(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["8"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["9"]],[,"(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]"]]],[,,"74[02-9]\\d{6}",,,,"740123456",,,[9]],,,[,,,,,,,,,[-1]],[,,"10[1-8]\\d{6}",,,,"102345678",,,[9]],,,[,,"(?:25[245]|67[3-68])\\d{9}",,,,"254123456789",,,[12]]],SG:[,[,,"(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",,,,,,,[8,10,11]],[,,"662[0-24-9]\\d{4}|6(?:[0-578]\\d|6[013-57-9]|9[0-35-9])\\d{5}",,,,"61234567",,,[8]],[,,"8(?:09[0-68]|95[0-2])\\d{4}|(?:8(?:0[1-8]|[1-8]\\d|9[0-4])|9[0-8]\\d)\\d{5}",,,,"81234567",,,[8]],[,,"(?:18|8)00\\d{7}",,,,"18001234567",,,[10,11]],[,,"1900\\d{7}",,,,"19001234567",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:3[12]\\d|666)\\d{5}",,,,"31234567",,,[8]],"SG",65,"0[0-3]\\d",,,,,,,,[[,"(\\d{4,5})","$1",["1[013-9]|77","1(?:[013-8]|9(?:0[1-9]|[1-9]))|77"]],[,"(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-9]|[1-9])"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],[,"(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]],[[,"(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-9]|[1-9])"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],[,"(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"7000\\d{7}",,,,"70001234567",,,[11]],,,[,,,,,,,,,[-1]]],SH:[,[,,"(?:[256]\\d|8)\\d{3}",,,,,,,[4,5]],[,,"2(?:[0-57-9]\\d|6[4-9])\\d\\d",,,,"22158"],[,,"[56]\\d{4}",,,,"51234",,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"262\\d\\d",,,,"26212",,,[5]],"SH",290,"00",,,,,,,,,,[,,,,,,,,,[-1]],1,"[256]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SI:[,[,,"[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",,,,,,,[5,6,7,8]],[,,"(?:[1-357][2-8]|4[24-8])\\d{6}",,,,"12345678",,,[8],[7]],[,,"65(?:[178]\\d|5[56]|6[01])\\d{4}|(?:[37][01]|4[0139]|51|6[489])\\d{6}",,,,"31234567",,,[8]],[,,"80\\d{4,6}",,,,"80123456",,,[6,7,8]],[,,"89[1-3]\\d{2,5}|90\\d{4,6}",,,,"90123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:59\\d\\d|8(?:1(?:[67]\\d|8[0-589])|2(?:0\\d|2[0-37-9]|8[0-2489])|3[389]\\d))\\d{4}",,,,"59012345",,,[8]],"SI",386,"00|10(?:22|66|88|99)","0",,,"0",,"00",,[[,"(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],[,"(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],[,"(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SJ:[,[,,"0\\d{4}|(?:[489]\\d|79)\\d{6}",,,,,,,[5,8]],[,,"79\\d{6}",,,,"79123456",,,[8]],[,,"(?:4[015-8]|9\\d)\\d{6}",,,,"41234567",,,[8]],[,,"80[01]\\d{5}",,,,"80012345",,,[8]],[,,"82[09]\\d{5}",,,,"82012345",,,[8]],[,,"810(?:0[0-6]|[2-8]\\d)\\d{3}",,,,"81021234",,,[8]],[,,"880\\d{5}",,,,"88012345",,,[8]],[,,"85[0-5]\\d{5}",,,,"85012345",,,[8]],"SJ",47,"00",,,,,,,,,,[,,,,,,,,,[-1]],,"79",[,,,,,,,,,[-1]],[,,"(?:0[2-9]|81(?:0(?:0[7-9]|1\\d)|5\\d\\d))\\d{3}",,,,"02000"],,,[,,"81[23]\\d{5}",,,,"81212345",,,[8]]],SK:[,[,,"[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",,,,,,,[6,7,9]],[,,"(?:2(?:16|[2-9]\\d{3})|(?:(?:[3-5][1-8]\\d|819)\\d|601[1-5])\\d)\\d{4}|(?:2|[3-5][1-8])1[67]\\d{3}|[3-5][1-8]16\\d\\d",,,,"221234567"],[,,"909[1-9]\\d{5}|9(?:0[1-8]|1[0-24-9]|4[03-57-9]|5\\d)\\d{6}",,,,"912123456",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"9(?:00|[78]\\d)\\d{6}",,,,"900123456",,,[9]],[,,"8[5-9]\\d{7}",,,,"850123456",,,[9]],[,,,,,,,,,[-1]],[,,"6(?:02|5[0-4]|9[0-6])\\d{6}",,,,"690123456",,,[9]],"SK",421,"00","0",,,"0",,,,[[,"(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],[,"(\\d{4})(\\d{3})","$1 $2",["909","9090"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],[[,"(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],[,,"9090\\d{3}",,,,"9090123",,,[7]],,,[,,"9090\\d{3}|(?:602|8(?:00|[5-9]\\d)|9(?:00|[78]\\d))\\d{6}",,,,,,,[7,9]],[,,"96\\d{7}",,,,"961234567",,,[9]],,,[,,,,,,,,,[-1]]],SL:[,[,,"(?:[237-9]\\d|66)\\d{6}",,,,,,,[8],[6]],[,,"22[2-4][2-9]\\d{4}",,,,"22221234",,,,[6]],[,,"(?:25|3[0-5]|66|7[2-9]|8[08]|9[09])\\d{6}",,,,"25123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SL",232,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SM:[,[,,"(?:0549|[5-7]\\d)\\d{6}",,,,,,,[8,10],[6]],[,,"0549(?:8[0157-9]|9\\d)\\d{4}",,,,"0549886377",,,[10],[6]],[,,"6[16]\\d{6}",,,,"66661212",,,[8]],[,,,,,,,,,[-1]],[,,"7[178]\\d{6}",,,,"71123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"5[158]\\d{6}",,,,"58001110",,,[8]],"SM",378,"00",,,,"([89]\\d{5})$","0549$1",,,[[,"(\\d{6})","$1",["[89]"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],[,"(\\d{4})(\\d{6})","$1 $2",["0"]]],[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],[,"(\\d{4})(\\d{6})","$1 $2",["0"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SN:[,[,,"(?:[378]\\d|93)\\d{7}",,,,,,,[9]],[,,"3(?:0(?:1[0-2]|80)|282|3(?:8[1-9]|9[3-9])|611)\\d{5}",,,,"301012345"],[,,"7(?:(?:[06-8]\\d|21|90)\\d|5(?:01|[19]0|25|[38]3|[4-7]\\d))\\d{5}",,,,"701234567"],[,,"800\\d{6}",,,,"800123456"],[,,"88[4689]\\d{6}",,,,"884123456"],[,,"81[02468]\\d{6}",,,,"810123456"],[,,,,,,,,,[-1]],[,,"(?:3(?:392|9[01]\\d)\\d|93(?:3[13]0|929))\\d{4}",,,,"933301234"],"SN",221,"00",,,,,,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SO:[,[,,"[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",,,,,,,[6,7,8,9]],[,,"(?:1\\d|2[0-79]|3[0-46-8]|4[0-7]|5[57-9])\\d{5}|(?:[134]\\d|8[125])\\d{4}",,,,"4012345",,,[6,7]],[,,"(?:(?:15|(?:3[59]|4[89]|6\\d|7[79]|8[08])\\d|9(?:0\\d|[2-9]))\\d|2(?:4\\d|8))\\d{5}|(?:[67]\\d\\d|904)\\d{5}",,,,"71123456",,,[7,8,9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SO",252,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{4})","$1 $2",["8[125]"]],[,"(\\d{6})","$1",["[134]"]],[,"(\\d)(\\d{6})","$1 $2",["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],[,"(\\d)(\\d{7})","$1 $2",["(?:2|90)4|[67]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[348]|64|79|90"]],[,"(\\d{2})(\\d{5,7})","$1 $2",["1|28|6[0-35-9]|77|9[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SR:[,[,,"(?:[2-5]|68|[78]\\d)\\d{5}",,,,,,,[6,7]],[,,"(?:2[1-3]|3[0-7]|(?:4|68)\\d|5[2-58])\\d{4}",,,,"211234"],[,,"(?:7[124-7]|8[124-9])\\d{5}",,,,"7412345",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"56\\d{4}",,,,"561234",,,[6]],"SR",597,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],[,"(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],[,"(\\d{3})(\\d{4})","$1-$2",["[6-8]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SS:[,[,,"[19]\\d{8}",,,,,,,[9]],[,,"1[89]\\d{7}",,,,"181234567"],[,,"(?:12|9[1257-9])\\d{7}",,,,"977123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SS",211,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[19]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ST:[,[,,"(?:22|9\\d)\\d{5}",,,,,,,[7]],[,,"22\\d{5}",,,,"2221234"],[,,"900[5-9]\\d{3}|9(?:0[1-9]|[89]\\d)\\d{4}",,,,"9812345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ST",239,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[29]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SV:[,[,,"[267]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?",,,,,,,[7,8,11]],[,,"2(?:79(?:0[0347-9]|[1-9]\\d)|89(?:0[024589]|[1-9]\\d))\\d{3}|2(?:[1-69]\\d|[78][0-8])\\d{5}",,,,"21234567",,,[8]],[,,"[67]\\d{7}",,,,"70123456",,,[8]],[,,"800\\d{8}|80[01]\\d{4}",,,,"8001234",,,[7,11]],[,,"900\\d{4}(?:\\d{4})?",,,,"9001234",,,[7,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SV",503,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[89]"]],[,"(\\d{4})(\\d{4})","$1 $2",["[267]"]],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SX:[,[,,"7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"7215(?:4[2-8]|8[239]|9[056])\\d{4}",,,,"7215425678",,,,[7]],[,,"7215(?:1[02]|2\\d|5[034679]|8[014-8])\\d{4}",,,,"7215205678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"SX",1,"011","1",,,"(5\\d{6})$|1","721$1",,,,,[,,,,,,,,,[-1]],,"721",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SY:[,[,,"[1-39]\\d{8}|[1-5]\\d{7}",,,,,,,[8,9],[6,7]],[,,"21\\d{6,7}|(?:1(?:[14]\\d|[2356])|2[235]|3(?:[13]\\d|4)|4[134]|5[1-3])\\d{6}",,,,"112345678",,,,[6,7]],[,,"9[1-689]\\d{7}",,,,"944567890",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SY",963,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-5]"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1",,1]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SZ:[,[,,"0800\\d{4}|(?:[237]\\d|900)\\d{6}",,,,,,,[8,9]],[,,"[23][2-5]\\d{6}",,,,"22171234",,,[8]],[,,"7[6-9]\\d{6}",,,,"76123456",,,[8]],[,,"0800\\d{4}",,,,"08001234",,,[8]],[,,"900\\d{6}",,,,"900012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"70\\d{6}",,,,"70012345",,,[8]],"SZ",268,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[0237]"]],[,"(\\d{5})(\\d{4})","$1 $2",["9"]]],,[,,,,,,,,,[-1]],,,[,,"0800\\d{4}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TA:[,[,,"8\\d{3}",,,,,,,[4]],[,,"8\\d{3}",,,,"8999"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TA",290,"00",,,,,,,,,,[,,,,,,,,,[-1]],,"8",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TC:[,[,,"(?:[58]\\d\\d|649|900)\\d{7}",,,,,,,[10],[7]],[,,"649(?:266|712|9(?:4\\d|50))\\d{4}",,,,"6497121234",,,,[7]],[,,"649(?:2(?:3[129]|4[1-79])|3\\d\\d|4[34][1-3])\\d{4}",,,,"6492311234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,"649(?:71[01]|966)\\d{4}",,,,"6497101234",,,,[7]],"TC",1,"011","1",,,"([2-479]\\d{6})$|1","649$1",,,,,[,,,,,,,,,[-1]],,"649",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TD:[,[,,"(?:22|[689]\\d|77)\\d{6}",,,,,,,[8]],[,,"22(?:[37-9]0|5[0-5]|6[89])\\d{4}",,,,"22501234"],[,,"(?:[69]\\d|77|8[56])\\d{6}",,,,"63012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TD",235,"00|16",,,,,,"00",,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TG:[,[,,"[279]\\d{7}",,,,,,,[8]],[,,"2(?:2[2-7]|3[23]|4[45]|55|6[67]|77)\\d{5}",,,,"22212345"],[,,"(?:7[019]|9[0-36-9])\\d{6}",,,,"90112345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TG",228,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TH:[,[,,"(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}",,,,,,,[8,9,10,13]],[,,"(?:1[0689]|2\\d|3[2-9]|4[2-5]|5[2-6]|7[3-7])\\d{6}",,,,"21234567",,,[8]],[,,"67(?:1[0-8]|2[4-7])\\d{5}|(?:14|6[1-6]|[89]\\d)\\d{7}",,,,"812345678",,,[9]],[,,"(?:001800\\d|1800)\\d{6}",,,,"1800123456",,,[10,13]],[,,"1900\\d{6}",,,,"1900123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"6[08]\\d{7}",,,,"601234567",,,[9]],"TH",66,"00[1-9]","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13-9]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TJ:[,[,,"[0-57-9]\\d{8}",,,,,,,[9],[3,5,6,7]],[,,"(?:3(?:1[3-5]|2[245]|3[12]|4[24-7]|5[25]|72)|4(?:46|74|87))\\d{6}",,,,"372123456",,,,[3,5,6,7]],[,,"(?:33[03-9]|4(?:1[18]|4[02-479])|81[1-9])\\d{6}|(?:0[0-57-9]|1[017]|2[02]|[34]0|5[05]|7[01578]|8[078]|9\\d)\\d{7}",,,,"917123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TJ",992,"810",,,,,,"8~10",,[[,"(\\d{6})(\\d)(\\d{2})","$1 $2 $3",["331","3317"]],[,"(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["44[02-479]|[34]7"]],[,"(\\d{4})(\\d)(\\d{4})","$1 $2 $3",["3(?:[1245]|3[12])"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[0-57-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TK:[,[,,"[2-47]\\d{3,6}",,,,,,,[4,5,6,7]],[,,"(?:2[2-4]|[34]\\d)\\d{2,5}",,,,"3101"],[,,"7[2-4]\\d{2,5}",,,,"7290"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TK",690,"00",,,,,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TL:[,[,,"7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}",,,,,,,[7,8]],[,,"(?:2[1-5]|3[1-9]|4[1-4])\\d{5}",,,,"2112345",,,[7]],[,,"7[2-8]\\d{6}",,,,"77212345",,,[8]],[,,"80\\d{5}",,,,"8012345",,,[7]],[,,"90\\d{5}",,,,"9012345",,,[7]],[,,,,,,,,,[-1]],[,,"70\\d{5}",,,,"7012345",,,[7]],[,,,,,,,,,[-1]],"TL",670,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],[,"(\\d{4})(\\d{4})","$1 $2",["7"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TM:[,[,,"(?:[1-6]\\d|71)\\d{6}",,,,,,,[8]],[,,"(?:1(?:2\\d|3[1-9])|2(?:22|4[0-35-8])|3(?:22|4[03-9])|4(?:22|3[128]|4\\d|6[15])|5(?:22|5[7-9]|6[014-689]))\\d{5}",,,,"12345678"],[,,"(?:6\\d|71)\\d{6}",,,,"66123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TM",993,"810","8",,,"8",,"8~10",,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],[,"(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],[,"(\\d{2})(\\d{6})","$1 $2",["[67]"],"8 $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TN:[,[,,"[2-57-9]\\d{7}",,,,,,,[8]],[,,"81200\\d{3}|(?:3[0-2]|7\\d)\\d{6}",,,,"30010123"],[,,"3(?:001|[12]40)\\d{4}|(?:(?:[259]\\d|4[0-8])\\d|3(?:1[1-35]|6[0-4]|91))\\d{5}",,,,"20123456"],[,,"8010\\d{4}",,,,"80101234"],[,,"88\\d{6}",,,,"88123456"],[,,"8[12]10\\d{4}",,,,"81101234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TN",216,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TO:[,[,,"(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",,,,,,,[5,7]],[,,"(?:2\\d|3[0-8]|4[0-4]|50|6[09]|7[0-24-69]|8[05])\\d{3}",,,,"20123",,,[5]],[,,"(?:5(?:4[0-5]|5[4-6])|6(?:[09]\\d|3[02]|8[15-9])|(?:7\\d|8[46-9])\\d|999)\\d{4}",,,,"7715123",,,[7]],[,,"0800\\d{3}",,,,"0800222",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"55[0-37-9]\\d{4}",,,,"5510123",,,[7]],"TO",676,"00",,,,,,,,[[,"(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],[,"(\\d{4})(\\d{3})","$1 $2",["0"]],[,"(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TR:[,[,,"4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",,,,,,,[7,10,12,13]],[,,"(?:2(?:[13][26]|[28][2468]|[45][268]|[67][246])|3(?:[13][28]|[24-6][2468]|[78][02468]|92)|4(?:[16][246]|[23578][2468]|4[26]))\\d{7}",,,,"2123456789",,,[10]],[,,"561(?:011|61\\d)\\d{4}|5(?:0[15-7]|1[06]|24|[34]\\d|5[1-59]|9[46])\\d{7}",,,,"5012345678",,,[10]],[,,"8(?:00\\d{7}(?:\\d{2,3})?|11\\d{7})",,,,"8001234567",,,[10,12,13]],[,,"(?:8[89]8|900)\\d{7}",,,,"9001234567",,,[10]],[,,,,,,,,,[-1]],[,,"592(?:21[12]|461)\\d{4}",,,,"5922121234",,,[10]],[,,"850\\d{7}",,,,"8500123456",,,[10]],"TR",90,"00","0",,,"0",,,,[[,"(\\d{3})(\\d)(\\d{3})","$1 $2 $3",["444"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|61[06])","5(?:[0-59]|61[06]1)"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",,1],[,"(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",,1]],[[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|61[06])","5(?:[0-59]|61[06]1)"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",,1],[,"(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",,1]],[,,"512\\d{7}",,,,"5123456789",,,[10]],,,[,,"(?:444|811\\d{3})\\d{4}",,,,,,,[7,10]],[,,"444\\d{4}",,,,"4441444",,,[7]],,,[,,,,,,,,,[-1]]],TT:[,[,,"(?:[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"868(?:2(?:01|1[5-9]|[23]\\d|4[0-2])|6(?:0[7-9]|1[02-8]|2[1-9]|[3-69]\\d|7[0-79])|82[124])\\d{4}",,,,"8682211234",,,,[7]],[,,"868(?:(?:2[5-9]|3\\d)\\d|4(?:3[0-6]|[6-9]\\d)|6(?:20|78|8\\d)|7(?:0[1-9]|1[02-9]|[2-9]\\d))\\d{4}",,,,"8682911234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"TT",1,"011","1",,,"([2-46-8]\\d{6})$|1","868$1",,,,,[,,,,,,,,,[-1]],,"868",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,"868619\\d{4}",,,,"8686191234",,,,[7]]],TV:[,[,,"(?:2|7\\d\\d|90)\\d{4}",,,,,,,[5,6,7]],[,,"2[02-9]\\d{3}",,,,"20123",,,[5]],[,,"(?:7[01]\\d|90)\\d{4}",,,,"901234",,,[6,7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TV",688,"00",,,,,,,,[[,"(\\d{2})(\\d{3})","$1 $2",["2"]],[,"(\\d{2})(\\d{4})","$1 $2",["90"]],[,"(\\d{2})(\\d{5})","$1 $2",["7"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TW:[,[,,"[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",,,,,,,[7,8,9,10,11]],[,,"(?:2[2-8]\\d|370|55[01]|7[1-9])\\d{6}|4(?:(?:0(?:0[1-9]|[2-48]\\d)|1[023]\\d)\\d{4,5}|(?:[239]\\d\\d|4(?:0[56]|12|49))\\d{5})|6(?:[01]\\d{7}|4(?:0[56]|12|24|4[09])\\d{4,5})|8(?:(?:2(?:3\\d|4[0-269]|[578]0|66)|36[24-9]|90\\d\\d)\\d{4}|4(?:0[56]|12|24|4[09])\\d{4,5})|(?:2(?:2(?:0\\d\\d|4(?:0[68]|[249]0|3[0-467]|5[0-25-9]|6[0235689]))|(?:3(?:[09]\\d|1[0-4])|(?:4\\d|5[0-49]|6[0-29]|7[0-5])\\d)\\d)|(?:(?:3[2-9]|5[2-8]|6[0-35-79]|8[7-9])\\d\\d|4(?:2(?:[089]\\d|7[1-9])|(?:3[0-4]|[78]\\d|9[01])\\d))\\d)\\d{3}",,,,"221234567",,,[8,9]],[,,"(?:40001[0-2]|9[0-8]\\d{4})\\d{3}",,,,"912345678",,,[9]],[,,"80[0-79]\\d{6}|800\\d{5}",,,,"800123456",,,[8,9]],[,,"20(?:[013-9]\\d\\d|2)\\d{4}",,,,"203123456",,,[7,9]],[,,,,,,,,,[-1]],[,,"99\\d{7}",,,,"990123456",,,[9]],[,,"7010(?:[0-2679]\\d|3[0-7]|8[0-5])\\d{5}|70\\d{8}",,,,"7012345678",,,[10,11]],"TW",886,"0(?:0[25-79]|19)","0","#",,"0",,,,[[,"(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[258]0"],"0$1"],[,"(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]","[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4,5})","$1 $2 $3",["7"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"50[0-46-9]\\d{6}",,,,"500123456",,,[9]],,,[,,,,,,,,,[-1]]],TZ:[,[,,"(?:[25-8]\\d|41|90)\\d{7}",,,,,,,[9]],[,,"2[2-8]\\d{7}",,,,"222345678"],[,,"(?:6[125-9]|7[13-9])\\d{7}",,,,"621234567"],[,,"80[08]\\d{6}",,,,"800123456"],[,,"90\\d{7}",,,,"900123456"],[,,"8(?:40|6[01])\\d{6}",,,,"840123456"],[,,,,,,,,,[-1]],[,,"41\\d{7}",,,,"412345678"],"TZ",255,"00[056]","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["5"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"(?:8(?:[04]0|6[01])|90\\d)\\d{6}"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UA:[,[,,"[89]\\d{9}|[3-9]\\d{8}",,,,,,,[9,10],[5,6,7]],[,,"(?:3[1-8]|4[13-8]|5[1-7]|6[12459])\\d{7}",,,,"311234567",,,[9],[5,6,7]],[,,"(?:39|50|6[36-8]|7[1-357]|9[1-9])\\d{7}",,,,"501234567",,,[9]],[,,"800[1-8]\\d{5,6}",,,,"800123456"],[,,"900[239]\\d{5,6}",,,,"900212345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"89[1-579]\\d{6}",,,,"891234567",,,[9]],"UA",380,"00","0",,,"0",,"0~0",,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]","6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"],"0$1"],[,"(\\d{4})(\\d{5})","$1 $2",["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])","3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|89|9[1-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UG:[,[,,"800\\d{6}|(?:[29]0|[347]\\d)\\d{7}",,,,,,,[9],[5,6,7]],[,,"20(?:(?:240|30[67])\\d|6(?:00[0-2]|30[0-4]))\\d{3}|(?:20(?:[017]\\d|2[5-9]|3[1-4]|5[0-4]|6[15-9])|[34]\\d{3})\\d{5}",,,,"312345678",,,,[5,6,7]],[,,"72(?:[48]0|6[01])\\d{5}|7(?:[015-8]\\d|20|36|4[0-5]|9[89])\\d{6}",,,,"712345678"],[,,"800[1-3]\\d{5}",,,,"800123456"],[,,"90[1-3]\\d{6}",,,,"901123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"UG",256,"00[057]","0",,,"0",,,,[[,"(\\d{4})(\\d{5})","$1 $2",["202","2024"],"0$1"],[,"(\\d{3})(\\d{6})","$1 $2",["[27-9]|4(?:6[45]|[7-9])"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["[34]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],US:[,[,,"[2-9]\\d{9}|3\\d{6}",,,,,,,[10],[7]],[,,"(?:3052(?:0[0-8]|[1-9]\\d)|5056(?:[0-35-9]\\d|4[468])|7302[0-4]\\d)\\d{4}|(?:305[3-9]|472[24]|505[2-57-9]|7306|983[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[013569]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}",,,,"2015550123",,,,[7]],[,,"(?:3052(?:0[0-8]|[1-9]\\d)|5056(?:[0-35-9]\\d|4[468])|7302[0-4]\\d)\\d{4}|(?:305[3-9]|472[24]|505[2-57-9]|7306|983[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[013569]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}",,,,"2015550123",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,"305209\\d{4}",,,,"3052090123",,,,[7]],"US",1,"011","1",,,"1",,,1,[[,"(\\d{3})(\\d{4})","$1-$2",["310"],,,1],[,"(\\d{3})(\\d{4})","$1-$2",["[24-9]|3(?:[02-9]|1[1-9])"]],[,"(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],,,1]],[[,"(\\d{3})(\\d{4})","$1-$2",["310"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[2-9]"]]],[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UY:[,[,,"0004\\d{2,9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}",,,,,,,[6,7,8,9,10,11,12,13]],[,,"(?:1(?:770|9(?:20|87))|(?:2\\d|4[2-7])\\d\\d)\\d{4}",,,,"21231234",,,[8],[7]],[,,"9[1-9]\\d{6}",,,,"94231234",,,[8]],[,,"0004\\d{2,9}|(?:405|80[05])\\d{4}",,,,"8001234"],[,,"90[0-8]\\d{4}",,,,"9001234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"UY",598,"0(?:0|1[3-9]\\d)","0"," int. ",,"0",,"00",,[[,"(\\d{3})(\\d{3,4})","$1 $2",["0"]],[,"(\\d{3})(\\d{4})","$1 $2",["[49]0|8"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],[,"(\\d{4})(\\d{4})","$1 $2",["[124]"]],[,"(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3",["0"]],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3 $4",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UZ:[,[,,"(?:20|33|[5-79]\\d|88)\\d{7}",,,,,,,[9]],[,,"(?:55\\d\\d|6(?:1(?:22|3[124]|4[1-4]|5[1-3578]|64)|2(?:22|3[0-57-9]|41)|5(?:22|3[3-7]|5[024-8])|6\\d\\d|7(?:[23]\\d|7[69])|9(?:22|4[1-8]|6[135]))|7(?:0(?:5[4-9]|6[0146]|7[124-6]|9[135-8])|(?:1[12]|[68]\\d)\\d|2(?:22|3[13-57-9]|4[1-3579]|5[14])|3(?:2\\d|3[1578]|4[1-35-7]|5[1-57]|61)|4(?:2\\d|3[1-579]|7[1-79])|5(?:22|5[1-9]|6[1457])|9(?:22|5[1-9])))\\d{5}",,,,"669050123"],[,,"(?:(?:[25]0|33|88|9[0-57-9])\\d{3}|6(?:1(?:2(?:2[01]|98)|35[0-4]|50\\d|61[23]|7(?:[01][017]|4\\d|55|9[5-9]))|2(?:(?:11|7\\d)\\d|2(?:[12]1|9[01379])|5(?:[126]\\d|3[0-4]))|5(?:19[01]|2(?:27|9[26])|(?:30|59|7\\d)\\d)|6(?:2(?:1[5-9]|2[0367]|38|41|52|60)|(?:3[79]|9[0-3])\\d|4(?:56|83)|7(?:[07]\\d|1[017]|3[07]|4[047]|5[057]|67|8[0178]|9[79]))|7(?:2(?:24|3[237]|4[5-9]|7[15-8])|5(?:7[12]|8[0589])|7(?:0\\d|[39][07])|9(?:0\\d|7[079]))|9(?:2(?:1[1267]|3[01]|5\\d|7[0-4])|(?:5[67]|7\\d)\\d|6(?:2[0-26]|8\\d)))|7(?:[07]\\d{3}|1(?:13[01]|6(?:0[47]|1[67]|66)|71[3-69]|98\\d)|2(?:2(?:2[79]|95)|3(?:2[5-9]|6[0-6])|57\\d|7(?:0\\d|1[17]|2[27]|3[37]|44|5[057]|66|88))|3(?:2(?:1[0-6]|21|3[469]|7[159])|(?:33|9[4-6])\\d|5(?:0[0-4]|5[579]|9\\d)|7(?:[0-3579]\\d|4[0467]|6[67]|8[078]))|4(?:2(?:29|5[0257]|6[0-7]|7[1-57])|5(?:1[0-4]|8\\d|9[5-9])|7(?:0\\d|1[024589]|2[0-27]|3[0137]|[46][07]|5[01]|7[5-9]|9[079])|9(?:7[015-9]|[89]\\d))|5(?:112|2(?:0\\d|2[29]|[49]4)|3[1568]\\d|52[6-9]|7(?:0[01578]|1[017]|[23]7|4[047]|[5-7]\\d|8[78]|9[079]))|9(?:22[128]|3(?:2[0-4]|7\\d)|57[02569]|7(?:2[05-9]|3[37]|4\\d|60|7[2579]|87|9[07]))))\\d{4}",,,,"912345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"UZ",998,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VA:[,[,,"0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",,,,,,,[6,7,8,9,10,11,12]],[,,"06698\\d{1,6}",,,,"0669812345",,,[6,7,8,9,10,11]],[,,"3[1-9]\\d{8}|3[2-9]\\d{7}",,,,"3123456789",,,[9,10]],[,,"80(?:0\\d{3}|3)\\d{3}",,,,"800123456",,,[6,9]],[,,"(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",,,,"899123456",,,[6,8,9,10]],[,,"84(?:[08]\\d{3}|[17])\\d{3}",,,,"848123456",,,[6,9]],[,,"1(?:78\\d|99)\\d{6}",,,,"1781234567",,,[9,10]],[,,"55\\d{8}",,,,"5512345678",,,[10]],"VA",39,"00",,,,,,,,,,[,,,,,,,,,[-1]],,"06698",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,"3[2-8]\\d{9,10}",,,,"33101234501",,,[11,12]]],VC:[,[,,"(?:[58]\\d\\d|784|900)\\d{7}",,,,,,,[10],[7]],[,,"784(?:266|3(?:6[6-9]|7\\d|8[0-6])|4(?:38|5[0-36-8]|8[0-8])|5(?:55|7[0-2]|93)|638|784)\\d{4}",,,,"7842661234",,,,[7]],[,,"784(?:4(?:3[0-5]|5[45]|89|9[0-8])|5(?:2[6-9]|3[0-4])|720)\\d{4}",,,,"7844301234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,"78451[0-2]\\d{4}",,,,"7845101234",,,,[7]],"VC",1,"011","1",,,"([2-7]\\d{6})$|1","784$1",,,,,[,,,,,,,,,[-1]],,"784",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VE:[,[,,"[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}",,,,,,,[10],[7]],[,,"(?:2(?:12|3[457-9]|[467]\\d|[58][1-9]|9[1-6])|[4-6]00)\\d{7}",,,,"2121234567",,,,[7]],[,,"4(?:1[24-8]|2[46])\\d{7}",,,,"4121234567"],[,,"800\\d{7}",,,,"8001234567"],[,,"90[01]\\d{7}",,,,"9001234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"VE",58,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{7})","$1-$2",["[24-689]"],"0$1","$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"501\\d{7}",,,,"5010123456",,,,[7]],,,[,,,,,,,,,[-1]]],VG:[,[,,"(?:284|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"284(?:229|4(?:22|9[45])|774|8(?:52|6[459]))\\d{4}",,,,"2842291234",,,,[7]],[,,"284(?:245|3(?:0[0-3]|4[0-7]|68|9[34])|4(?:4[0-6]|68|9[69])|5(?:4[0-7]|68|9[69]))\\d{4}",,,,"2843001234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"VG",1,"011","1",,,"([2-578]\\d{6})$|1","284$1",,,,,[,,,,,,,,,[-1]],,"284",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VI:[,[,,"[58]\\d{9}|(?:34|90)0\\d{7}",,,,,,,[10],[7]],[,,"340(?:2(?:0\\d|10|2[06-8]|4[49]|77)|3(?:32|44)|4(?:2[23]|44|7[34]|89)|5(?:1[34]|55)|6(?:2[56]|4[23]|77|9[023])|7(?:1[2-57-9]|2[57]|7\\d)|884|998)\\d{4}",,,,"3406421234",,,,[7]],[,,"340(?:2(?:0\\d|10|2[06-8]|4[49]|77)|3(?:32|44)|4(?:2[23]|44|7[34]|89)|5(?:1[34]|55)|6(?:2[56]|4[23]|77|9[023])|7(?:1[2-57-9]|2[57]|7\\d)|884|998)\\d{4}",,,,"3406421234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"VI",1,"011","1",,,"([2-9]\\d{6})$|1","340$1",,1,,,[,,,,,,,,,[-1]],,"340",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VN:[,[,,"[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}",,,,,,,[7,8,9,10]],[,,"2(?:0[3-9]|1[0-689]|2[0-25-9]|[38][2-9]|4[2-8]|5[124-9]|6[0-39]|7[0-7]|9[0-4679])\\d{7}",,,,"2101234567",,,[10]],[,,"(?:5(?:2[238]|59)|89[6-9]|99[013-9])\\d{6}|(?:3\\d|5[1689]|7[06-9]|8[1-8]|9[0-8])\\d{7}",,,,"912345678",,,[9]],[,,"1800\\d{4,6}|12(?:0[13]|28)\\d{4}",,,,"1800123456",,,[8,9,10]],[,,"1900\\d{4,6}",,,,"1900123456",,,[8,9,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"672\\d{6}",,,,"672012345",,,[9]],"VN",84,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[17]99"],"0$1",,1],[,"(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",,1],[,"(\\d{3})(\\d{4,5})","$1 $2",["69"],"0$1",,1],[,"(\\d{4})(\\d{4,6})","$1 $2",["1"],,,1],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["6"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[357-9]"],"0$1",,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",,1],[,"(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",,1]],[[,"(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",,1],[,"(\\d{4})(\\d{4,6})","$1 $2",["1"],,,1],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["6"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[357-9]"],"0$1",,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",,1],[,"(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",,1]],[,,,,,,,,,[-1]],,,[,,"[17]99\\d{4}|69\\d{5,6}",,,,,,,[7,8]],[,,"(?:[17]99|80\\d)\\d{4}|69\\d{5,6}",,,,"1992000",,,[7,8]],,,[,,,,,,,,,[-1]]],VU:[,[,,"[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}",,,,,,,[5,7]],[,,"(?:38[0-8]|48[4-9])\\d\\d|(?:2[02-9]|3[4-7]|88)\\d{3}",,,,"22123",,,[5]],[,,"(?:[58]\\d|7[013-7])\\d{5}",,,,"5912345",,,[7]],[,,"81[18]\\d\\d",,,,"81123",,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:0[1-9]|1[01])\\d{4}",,,,"9010123",,,[7]],"VU",678,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[57-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:3[03]|900\\d)\\d{3}",,,,"30123"],,,[,,,,,,,,,[-1]]],WF:[,[,,"(?:40|72)\\d{4}|8\\d{5}(?:\\d{3})?",,,,,,,[6,9]],[,,"72\\d{4}",,,,"721234",,,[6]],[,,"(?:72|8[23])\\d{4}",,,,"821234",,,[6]],[,,"80[0-5]\\d{6}",,,,"800012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"WF",681,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[478]"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,"[48]0\\d{4}",,,,"401234",,,[6]]],WS:[,[,,"(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}",,,,,,,[5,6,7,10]],[,,"6[1-9]\\d{3}|(?:[2-5]|60)\\d{4}",,,,"22123",,,[5,6]],[,,"(?:7[1-35-7]|8(?:[3-7]|9\\d{3}))\\d{5}",,,,"7212345",,,[7,10]],[,,"800\\d{3}",,,,"800123",,,[6]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"WS",685,"0",,,,,,,,[[,"(\\d{5})","$1",["[2-5]|6[1-9]"]],[,"(\\d{3})(\\d{3,7})","$1 $2",["[68]"]],[,"(\\d{2})(\\d{5})","$1 $2",["7"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],XK:[,[,,"2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}",,,,,,,[8,9,10,11,12]],[,,"38\\d{6,10}|(?:2[89]|39)(?:0\\d{5,6}|[1-9]\\d{5})",,,,"28012345"],[,,"4[3-9]\\d{6}",,,,"43201234",,,[8]],[,,"800\\d{5}",,,,"80001234",,,[8]],[,,"900\\d{5}",,,,"90001234",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"XK",383,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-4]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2|39"],"0$1"],[,"(\\d{2})(\\d{7,10})","$1 $2",["3"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],YE:[,[,,"(?:1|7\\d)\\d{7}|[1-7]\\d{6}",,,,,,,[7,8,9],[6]],[,,"78[0-7]\\d{4}|17\\d{6}|(?:[12][2-68]|3[2358]|4[2-58]|5[2-6]|6[3-58]|7[24-6])\\d{5}",,,,"1234567",,,[7,8],[6]],[,,"7[01378]\\d{7}",,,,"712345678",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"YE",967,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7(?:[24-6]|8[0-7])"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],YT:[,[,,"(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}",,,,,,,[9]],[,,"269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}",,,,"269601234"],[,,"639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])\\d{4}",,,,"639012345"],[,,"80\\d{7}",,,,"801234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:(?:39|47)8[01]|769\\d)\\d{4}",,,,"939801234"],"YT",262,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ZA:[,[,,"[1-79]\\d{8}|8\\d{4,9}",,,,,,,[5,6,7,8,9,10]],[,,"(?:2(?:0330|4302)|52087)0\\d{3}|(?:1[0-8]|2[1-378]|3[1-69]|4\\d|5[1346-8])\\d{7}",,,,"101234567",,,[9]],[,,"(?:1(?:3492[0-25]|4495[0235]|549(?:20|5[01]))|4[34]492[01])\\d{3}|8[1-4]\\d{3,7}|(?:2[27]|47|54)4950\\d{3}|(?:1(?:049[2-4]|9[12]\\d\\d)|(?:6\\d|7[0-46-9])\\d{3}|8(?:5\\d{3}|7(?:08[67]|158|28[5-9]|310)))\\d{4}|(?:1[6-8]|28|3[2-69]|4[025689]|5[36-8])4920\\d{3}|(?:12|[2-5]1)492\\d{4}",,,,"711234567",,,[5,6,7,8,9]],[,,"80\\d{7}",,,,"801234567",,,[9]],[,,"(?:86[2-9]|9[0-2]\\d)\\d{6}",,,,"862345678",,,[9]],[,,"860\\d{6}",,,,"860123456",,,[9]],[,,,,,,,,,[-1]],[,,"87(?:08[0-589]|15[0-79]|28[0-4]|31[1-9])\\d{4}|87(?:[02][0-79]|1[0-46-9]|3[02-9]|[4-9]\\d)\\d{5}",,,,"871234567",,,[9]],"ZA",27,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3,4})","$1 $2",["8[1-4]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["8[1-4]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"861\\d{6,7}",,,,"861123456",,,[9,10]],,,[,,,,,,,,,[-1]]],ZM:[,[,,"800\\d{6}|(?:21|63|[79]\\d)\\d{7}",,,,,,,[9],[6]],[,,"21[1-8]\\d{6}",,,,"211234567",,,,[6]],[,,"(?:7[5-79]|9[5-8])\\d{7}",,,,"955123456"],[,,"800\\d{6}",,,,"800123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"63\\d{7}",,,,"630123456"],"ZM",260,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})","$1 $2",["[1-9]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["[79]"],"0$1"]],[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["[79]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ZW:[,[,,"2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}",,,,,,,[5,6,7,8,9,10],[3,4]],[,,"(?:1(?:(?:3\\d|9)\\d|[4-8])|2(?:(?:(?:0(?:2[014]|5)|(?:2[0157]|31|84|9)\\d\\d|[56](?:[14]\\d\\d|20)|7(?:[089]|2[03]|[35]\\d\\d))\\d|4(?:2\\d\\d|8))\\d|1(?:2|[39]\\d{4}))|3(?:(?:123|(?:29\\d|92)\\d)\\d\\d|7(?:[19]|[56]\\d))|5(?:0|1[2-478]|26|[37]2|4(?:2\\d{3}|83)|5(?:25\\d\\d|[78])|[689]\\d)|6(?:(?:[16-8]21|28|52[013])\\d\\d|[39])|8(?:[1349]28|523)\\d\\d)\\d{3}|(?:4\\d\\d|9[2-9])\\d{4,5}|(?:(?:2(?:(?:(?:0|8[146])\\d|7[1-7])\\d|2(?:[278]\\d|92)|58(?:2\\d|3))|3(?:[26]|9\\d{3})|5(?:4\\d|5)\\d\\d)\\d|6(?:(?:(?:[0-246]|[78]\\d)\\d|37)\\d|5[2-8]))\\d\\d|(?:2(?:[569]\\d|8[2-57-9])|3(?:[013-59]\\d|8[37])|6[89]8)\\d{3}",,,,"1312345",,,,[3,4]],[,,"7(?:[1278]\\d|3[1-9])\\d{6}",,,,"712345678",,,[9]],[,,"80(?:[01]\\d|20|8[0-8])\\d{3}",,,,"8001234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"86(?:1[12]|22|30|44|55|77|8[368])\\d{6}",,,,"8686123456",,,[10]],"ZW",263,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3,5})","$1 $2",["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"],"0$1"],[,"(\\d)(\\d{3})(\\d{2,4})","$1 $2 $3",["[49]"],"0$1"],[,"(\\d{3})(\\d{4})","$1 $2",["80"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2","2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)","2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"],"0$1"],[,"(\\d{4})(\\d{6})","$1 $2",["8"],"0$1"],[,"(\\d{2})(\\d{3,5})","$1 $2",["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["29[013-9]|39|54"],"0$1"],[,"(\\d{4})(\\d{3,5})","$1 $2",["(?:25|54)8","258|5483"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],800:[,[,,"(?:00|[1-9]\\d)\\d{6}",,,,,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:00|[1-9]\\d)\\d{6}",,,,"12345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",800,,,,,,,,1,[[,"(\\d{4})(\\d{4})","$1 $2",["\\d"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],808:[,[,,"[1-9]\\d{7}",,,,,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"[1-9]\\d{7}",,,,"12345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",808,,,,,,,,1,[[,"(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],870:[,[,,"7\\d{11}|[35-7]\\d{8}",,,,,,,[9,12]],[,,,,,,,,,[-1]],[,,"(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}",,,,"301234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",870,,,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[35-7]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],878:[,[,,"10\\d{10}",,,,,,,[12]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"10\\d{10}",,,,"101234567890"],"001",878,,,,,,,,1,[[,"(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],881:[,[,,"6\\d{9}|[0-36-9]\\d{8}",,,,,,,[9,10]],[,,,,,,,,,[-1]],[,,"6\\d{9}|[0-36-9]\\d{8}",,,,"612345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",881,,,,,,,,,[[,"(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-37-9]"]],[,"(\\d)(\\d{3})(\\d{5,6})","$1 $2 $3",["6"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],882:[,[,,"[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?",,,,,,,[7,8,9,10,11,12]],[,,,,,,,,,[-1]],[,,"342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}",,,,"3421234",,,[7,8,9,10,12]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}",,,,"390123456789"],"001",882,,,,,,,,,[[,"(\\d{2})(\\d{5})","$1 $2",["16|342"]],[,"(\\d{2})(\\d{6})","$1 $2",["49"]],[,"(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["1[36]|9"]],[,"(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["16"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|23|3(?:[15]|4[57])|4|51"]],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["34"]],[,"(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["[1-35]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,"348[57]\\d{7}",,,,"34851234567",,,[11]]],883:[,[,,"(?:[1-4]\\d|51)\\d{6,10}",,,,,,,[8,9,10,11,12]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}",,,,"510012345"],"001",883,,,,,,,,1,[[,"(\\d{3})(\\d{3})(\\d{2,8})","$1 $2 $3",["[14]|2[24-689]|3[02-689]|51[24-9]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["21"]],[,"(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["51[13]"]],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[235]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],888:[,[,,"\\d{11}",,,,,,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",888,,,,,,,,1,[[,"(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"\\d{11}",,,,"12345678901"],,,[,,,,,,,,,[-1]]],979:[,[,,"[1359]\\d{8}",,,,,,,[9],[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"[1359]\\d{8}",,,,"123456789",,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",979,,,,,,,,1,[[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[1359]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]]},i18n.phonenumbers.PhoneNumberUtil=function(){this.regionToMetadataMap={}},goog.addSingletonGetter(i18n.phonenumbers.PhoneNumberUtil),i18n.phonenumbers.Error={INVALID_COUNTRY_CODE:"Invalid country calling code",NOT_A_NUMBER:"The string supplied did not seem to be a phone number",TOO_SHORT_AFTER_IDD:"Phone number too short after IDD",TOO_SHORT_NSN:"The string supplied is too short to be a phone number",TOO_LONG:"The string supplied is too long to be a phone number"},i18n.phonenumbers.PhoneNumberUtil.NANPA_COUNTRY_CODE_=1,i18n.phonenumbers.PhoneNumberUtil.MIN_LENGTH_FOR_NSN_=2,i18n.phonenumbers.PhoneNumberUtil.MAX_LENGTH_FOR_NSN_=17,i18n.phonenumbers.PhoneNumberUtil.MAX_LENGTH_COUNTRY_CODE_=3,i18n.phonenumbers.PhoneNumberUtil.MAX_INPUT_STRING_LENGTH_=250,i18n.phonenumbers.PhoneNumberUtil.UNKNOWN_REGION_="ZZ",i18n.phonenumbers.PhoneNumberUtil.MOBILE_TOKEN_MAPPINGS_={54:"9"},i18n.phonenumbers.PhoneNumberUtil.GEO_MOBILE_COUNTRIES_=[52,54,55],i18n.phonenumbers.PhoneNumberUtil.PLUS_SIGN="+",i18n.phonenumbers.PhoneNumberUtil.STAR_SIGN_="*",i18n.phonenumbers.PhoneNumberUtil.RFC3966_EXTN_PREFIX_=";ext=",i18n.phonenumbers.PhoneNumberUtil.RFC3966_PREFIX_="tel:",i18n.phonenumbers.PhoneNumberUtil.RFC3966_PHONE_CONTEXT_=";phone-context=",i18n.phonenumbers.PhoneNumberUtil.RFC3966_ISDN_SUBADDRESS_=";isub=",i18n.phonenumbers.PhoneNumberUtil.DIGIT_MAPPINGS={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","\uff10":"0","\uff11":"1","\uff12":"2","\uff13":"3","\uff14":"4","\uff15":"5","\uff16":"6","\uff17":"7","\uff18":"8","\uff19":"9","\u0660":"0","\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u06f0":"0","\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9"},i18n.phonenumbers.PhoneNumberUtil.DIALLABLE_CHAR_MAPPINGS_={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","+":i18n.phonenumbers.PhoneNumberUtil.PLUS_SIGN,"*":"*","#":"#"},i18n.phonenumbers.PhoneNumberUtil.ALPHA_MAPPINGS_={A:"2",B:"2",C:"2",D:"3",E:"3",F:"3",G:"4",H:"4",I:"4",J:"5",K:"5",L:"5",M:"6",N:"6",O:"6",P:"7",Q:"7",R:"7",S:"7",T:"8",U:"8",V:"8",W:"9",X:"9",Y:"9",Z:"9"},i18n.phonenumbers.PhoneNumberUtil.ALL_NORMALIZATION_MAPPINGS_={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","\uff10":"0","\uff11":"1","\uff12":"2","\uff13":"3","\uff14":"4","\uff15":"5","\uff16":"6","\uff17":"7","\uff18":"8","\uff19":"9","\u0660":"0","\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u06f0":"0","\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9",A:"2",B:"2",C:"2",D:"3",E:"3",F:"3",G:"4",H:"4",I:"4",J:"5",K:"5",L:"5",M:"6",N:"6",O:"6",P:"7",Q:"7",R:"7",S:"7",T:"8",U:"8",V:"8",W:"9",X:"9",Y:"9",Z:"9"},i18n.phonenumbers.PhoneNumberUtil.ALL_PLUS_NUMBER_GROUPING_SYMBOLS_={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",A:"A",B:"B",C:"C",D:"D",E:"E",F:"F",G:"G",H:"H",I:"I",J:"J",K:"K",L:"L",M:"M",N:"N",O:"O",P:"P",Q:"Q",R:"R",S:"S",T:"T",U:"U",V:"V",W:"W",X:"X",Y:"Y",Z:"Z",a:"A",b:"B",c:"C",d:"D",e:"E",f:"F",g:"G",h:"H",i:"I",j:"J",k:"K",l:"L",m:"M",n:"N",o:"O",p:"P",q:"Q",r:"R",s:"S",t:"T",u:"U",v:"V",w:"W",x:"X",y:"Y",z:"Z","-":"-","\uff0d":"-","\u2010":"-","\u2011":"-","\u2012":"-","\u2013":"-","\u2014":"-","\u2015":"-","\u2212":"-","/":"/","\uff0f":"/"," ":" ","\u3000":" ","\u2060":" ",".":".","\uff0e":"."},i18n.phonenumbers.PhoneNumberUtil.SINGLE_INTERNATIONAL_PREFIX_=/[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?/,i18n.phonenumbers.PhoneNumberUtil.VALID_PUNCTUATION="-x\u2010-\u2015\u2212\u30fc\uff0d-\uff0f \xa0\xad\u200b\u2060\u3000()\uff08\uff09\uff3b\uff3d.\\[\\]/~\u2053\u223c\uff5e",i18n.phonenumbers.PhoneNumberUtil.VALID_DIGITS_="0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9",i18n.phonenumbers.PhoneNumberUtil.VALID_ALPHA_="A-Za-z",i18n.phonenumbers.PhoneNumberUtil.PLUS_CHARS_="+\uff0b",i18n.phonenumbers.PhoneNumberUtil.PLUS_CHARS_PATTERN=new RegExp("["+i18n.phonenumbers.PhoneNumberUtil.PLUS_CHARS_+"]+"),i18n.phonenumbers.PhoneNumberUtil.LEADING_PLUS_CHARS_PATTERN=new RegExp("^["+i18n.phonenumbers.PhoneNumberUtil.PLUS_CHARS_+"]+"),i18n.phonenumbers.PhoneNumberUtil.SEPARATOR_PATTERN_="["+i18n.phonenumbers.PhoneNumberUtil.VALID_PUNCTUATION+"]+",i18n.phonenumbers.PhoneNumberUtil.CAPTURING_DIGIT_PATTERN=new RegExp("(["+i18n.phonenumbers.PhoneNumberUtil.VALID_DIGITS_+"])"),i18n.phonenumbers.PhoneNumberUtil.VALID_START_CHAR_PATTERN_=new RegExp("["+i18n.phonenumbers.PhoneNumberUtil.PLUS_CHARS_+i18n.phonenumbers.PhoneNumberUtil.VALID_DIGITS_+"]"),i18n.phonenumbers.PhoneNumberUtil.SECOND_NUMBER_START_PATTERN_=/[\\\/] *x/,i18n.phonenumbers.PhoneNumberUtil.UNWANTED_END_CHAR_PATTERN_=new RegExp("[^"+i18n.phonenumbers.PhoneNumberUtil.VALID_DIGITS_+i18n.phonenumbers.PhoneNumberUtil.VALID_ALPHA_+"#]+$"),i18n.phonenumbers.PhoneNumberUtil.VALID_ALPHA_PHONE_PATTERN_=/(?:.*?[A-Za-z]){3}.*/,i18n.phonenumbers.PhoneNumberUtil.MIN_LENGTH_PHONE_NUMBER_PATTERN_="["+i18n.phonenumbers.PhoneNumberUtil.VALID_DIGITS_+"]{"+i18n.phonenumbers.PhoneNumberUtil.MIN_LENGTH_FOR_NSN_+"}",i18n.phonenumbers.PhoneNumberUtil.VALID_PHONE_NUMBER_="["+i18n.phonenumbers.PhoneNumberUtil.PLUS_CHARS_+"]*(?:["+i18n.phonenumbers.PhoneNumberUtil.VALID_PUNCTUATION+i18n.phonenumbers.PhoneNumberUtil.STAR_SIGN_+"]*["+i18n.phonenumbers.PhoneNumberUtil.VALID_DIGITS_+"]){3,}["+i18n.phonenumbers.PhoneNumberUtil.VALID_PUNCTUATION+i18n.phonenumbers.PhoneNumberUtil.STAR_SIGN_+i18n.phonenumbers.PhoneNumberUtil.VALID_ALPHA_+i18n.phonenumbers.PhoneNumberUtil.VALID_DIGITS_+"]*",i18n.phonenumbers.PhoneNumberUtil.DEFAULT_EXTN_PREFIX_=" ext. ",i18n.phonenumbers.PhoneNumberUtil.RFC3966_VISUAL_SEPARATOR_="[\\-\\.\\(\\)]?",i18n.phonenumbers.PhoneNumberUtil.RFC3966_PHONE_DIGIT_="(["+i18n.phonenumbers.PhoneNumberUtil.VALID_DIGITS_+"]|"+i18n.phonenumbers.PhoneNumberUtil.RFC3966_VISUAL_SEPARATOR_+")",i18n.phonenumbers.PhoneNumberUtil.RFC3966_GLOBAL_NUMBER_DIGITS_="^\\"+i18n.phonenumbers.PhoneNumberUtil.PLUS_SIGN+i18n.phonenumbers.PhoneNumberUtil.RFC3966_PHONE_DIGIT_+"*["+i18n.phonenumbers.PhoneNumberUtil.VALID_DIGITS_+"]"+i18n.phonenumbers.PhoneNumberUtil.RFC3966_PHONE_DIGIT_+"*$",i18n.phonenumbers.PhoneNumberUtil.RFC3966_GLOBAL_NUMBER_DIGITS_PATTERN_=new RegExp(i18n.phonenumbers.PhoneNumberUtil.RFC3966_GLOBAL_NUMBER_DIGITS_),i18n.phonenumbers.PhoneNumberUtil.ALPHANUM_=i18n.phonenumbers.PhoneNumberUtil.VALID_ALPHA_+i18n.phonenumbers.PhoneNumberUtil.VALID_DIGITS_,i18n.phonenumbers.PhoneNumberUtil.RFC3966_DOMAINLABEL_="["+i18n.phonenumbers.PhoneNumberUtil.ALPHANUM_+"]+((\\-)*["+i18n.phonenumbers.PhoneNumberUtil.ALPHANUM_+"])*",i18n.phonenumbers.PhoneNumberUtil.RFC3966_TOPLABEL_="["+i18n.phonenumbers.PhoneNumberUtil.VALID_ALPHA_+"]+((\\-)*["+i18n.phonenumbers.PhoneNumberUtil.ALPHANUM_+"])*",i18n.phonenumbers.PhoneNumberUtil.RFC3966_DOMAINNAME_="^("+i18n.phonenumbers.PhoneNumberUtil.RFC3966_DOMAINLABEL_+"\\.)*"+i18n.phonenumbers.PhoneNumberUtil.RFC3966_TOPLABEL_+"\\.?$",i18n.phonenumbers.PhoneNumberUtil.RFC3966_DOMAINNAME_PATTERN_=new RegExp(i18n.phonenumbers.PhoneNumberUtil.RFC3966_DOMAINNAME_),i18n.phonenumbers.PhoneNumberUtil.extnDigits_=function(l){return"(["+i18n.phonenumbers.PhoneNumberUtil.VALID_DIGITS_+"]{1,"+l+"})"},i18n.phonenumbers.PhoneNumberUtil.createExtnPattern_=function(){return i18n.phonenumbers.PhoneNumberUtil.RFC3966_EXTN_PREFIX_+i18n.phonenumbers.PhoneNumberUtil.extnDigits_("20")+"|[ \xa0\\t,]*(?:e?xt(?:ensi(?:o\u0301?|\xf3))?n?|\uff45?\uff58\uff54\uff4e?|\u0434\u043e\u0431|anexo)[:\\.\uff0e]?[ \xa0\\t,-]*"+i18n.phonenumbers.PhoneNumberUtil.extnDigits_("20")+"#?|[ \xa0\\t,]*(?:[x\uff58#\uff03~\uff5e]|int|\uff49\uff4e\uff54)[:\\.\uff0e]?[ \xa0\\t,-]*"+i18n.phonenumbers.PhoneNumberUtil.extnDigits_("9")+"#?|[- ]+"+i18n.phonenumbers.PhoneNumberUtil.extnDigits_("6")+"#|[ \xa0\\t]*(?:,{2}|;)[:\\.\uff0e]?[ \xa0\\t,-]*"+i18n.phonenumbers.PhoneNumberUtil.extnDigits_("15")+"#?|[ \xa0\\t]*(?:,)+[:\\.\uff0e]?[ \xa0\\t,-]*"+i18n.phonenumbers.PhoneNumberUtil.extnDigits_("9")+"#?"},i18n.phonenumbers.PhoneNumberUtil.EXTN_PATTERN_=new RegExp("(?:"+i18n.phonenumbers.PhoneNumberUtil.createExtnPattern_()+")$","i"),i18n.phonenumbers.PhoneNumberUtil.VALID_PHONE_NUMBER_PATTERN_=new RegExp("^"+i18n.phonenumbers.PhoneNumberUtil.MIN_LENGTH_PHONE_NUMBER_PATTERN_+"$|^"+i18n.phonenumbers.PhoneNumberUtil.VALID_PHONE_NUMBER_+"(?:"+i18n.phonenumbers.PhoneNumberUtil.createExtnPattern_()+")?$","i"),i18n.phonenumbers.PhoneNumberUtil.NON_DIGITS_PATTERN_=/\D+/,i18n.phonenumbers.PhoneNumberUtil.FIRST_GROUP_PATTERN_=/(\$\d)/,i18n.phonenumbers.PhoneNumberUtil.NP_PATTERN_=/\$NP/,i18n.phonenumbers.PhoneNumberUtil.FG_PATTERN_=/\$FG/,i18n.phonenumbers.PhoneNumberUtil.CC_PATTERN_=/\$CC/,i18n.phonenumbers.PhoneNumberUtil.FIRST_GROUP_ONLY_PREFIX_PATTERN_=/^\(?\$1\)?$/,i18n.phonenumbers.PhoneNumberUtil.REGION_CODE_FOR_NON_GEO_ENTITY="001",i18n.phonenumbers.PhoneNumberFormat={E164:0,INTERNATIONAL:1,NATIONAL:2,RFC3966:3},i18n.phonenumbers.PhoneNumberType={FIXED_LINE:0,MOBILE:1,FIXED_LINE_OR_MOBILE:2,TOLL_FREE:3,PREMIUM_RATE:4,SHARED_COST:5,VOIP:6,PERSONAL_NUMBER:7,PAGER:8,UAN:9,VOICEMAIL:10,UNKNOWN:-1},i18n.phonenumbers.PhoneNumberUtil.MatchType={NOT_A_NUMBER:0,NO_MATCH:1,SHORT_NSN_MATCH:2,NSN_MATCH:3,EXACT_MATCH:4},i18n.phonenumbers.PhoneNumberUtil.ValidationResult={IS_POSSIBLE:0,IS_POSSIBLE_LOCAL_ONLY:4,INVALID_COUNTRY_CODE:1,TOO_SHORT:2,INVALID_LENGTH:5,TOO_LONG:3},i18n.phonenumbers.PhoneNumberUtil.extractPossibleNumber=function(l){var h=l.search(i18n.phonenumbers.PhoneNumberUtil.VALID_START_CHAR_PATTERN_);return 0<=h?0<=(h=(l=(l=l.substring(h)).replace(i18n.phonenumbers.PhoneNumberUtil.UNWANTED_END_CHAR_PATTERN_,"")).search(i18n.phonenumbers.PhoneNumberUtil.SECOND_NUMBER_START_PATTERN_))&&(l=l.substring(0,h)):l="",l},i18n.phonenumbers.PhoneNumberUtil.isViablePhoneNumber=function(l){return!(l.length<i18n.phonenumbers.PhoneNumberUtil.MIN_LENGTH_FOR_NSN_)&&i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(i18n.phonenumbers.PhoneNumberUtil.VALID_PHONE_NUMBER_PATTERN_,l)},i18n.phonenumbers.PhoneNumberUtil.normalize=function(l){return i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(i18n.phonenumbers.PhoneNumberUtil.VALID_ALPHA_PHONE_PATTERN_,l)?i18n.phonenumbers.PhoneNumberUtil.normalizeHelper_(l,i18n.phonenumbers.PhoneNumberUtil.ALL_NORMALIZATION_MAPPINGS_,!0):i18n.phonenumbers.PhoneNumberUtil.normalizeDigitsOnly(l)},i18n.phonenumbers.PhoneNumberUtil.normalizeSB_=function(l){var h=i18n.phonenumbers.PhoneNumberUtil.normalize(l.toString());l.clear(),l.append(h)},i18n.phonenumbers.PhoneNumberUtil.normalizeDigitsOnly=function(l){return i18n.phonenumbers.PhoneNumberUtil.normalizeHelper_(l,i18n.phonenumbers.PhoneNumberUtil.DIGIT_MAPPINGS,!0)},i18n.phonenumbers.PhoneNumberUtil.normalizeDiallableCharsOnly=function(l){return i18n.phonenumbers.PhoneNumberUtil.normalizeHelper_(l,i18n.phonenumbers.PhoneNumberUtil.DIALLABLE_CHAR_MAPPINGS_,!0)},i18n.phonenumbers.PhoneNumberUtil.convertAlphaCharactersInNumber=function(l){return i18n.phonenumbers.PhoneNumberUtil.normalizeHelper_(l,i18n.phonenumbers.PhoneNumberUtil.ALL_NORMALIZATION_MAPPINGS_,!1)},i18n.phonenumbers.PhoneNumberUtil.prototype.getLengthOfGeographicalAreaCode=function(l){var h=this.getMetadataForRegion(this.getRegionCodeForNumber(l));return null!=h&&(h.hasNationalPrefix()||l.hasItalianLeadingZero())&&this.isNumberGeographical(l)?this.getLengthOfNationalDestinationCode(l):0},i18n.phonenumbers.PhoneNumberUtil.prototype.getLengthOfNationalDestinationCode=function(l){if(l.hasExtension()){var h=l.clone();h.clearExtension()}else h=l;return 0==(h=this.format(h,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL).split(i18n.phonenumbers.PhoneNumberUtil.NON_DIGITS_PATTERN_))[0].length&&h.shift(),2>=h.length?0:this.getNumberType(l)==i18n.phonenumbers.PhoneNumberType.MOBILE&&""!=(l=i18n.phonenumbers.PhoneNumberUtil.getCountryMobileToken(l.getCountryCodeOrDefault()))?h[2].length+l.length:h[1].length},i18n.phonenumbers.PhoneNumberUtil.getCountryMobileToken=function(l){return i18n.phonenumbers.PhoneNumberUtil.MOBILE_TOKEN_MAPPINGS_[l]||""},i18n.phonenumbers.PhoneNumberUtil.prototype.getSupportedRegions=function(){return Object.keys(i18n.phonenumbers.metadata.countryToMetadata).filter(function(l){return isNaN(l)})},i18n.phonenumbers.PhoneNumberUtil.prototype.getSupportedGlobalNetworkCallingCodes=function(){return Object.keys(i18n.phonenumbers.metadata.countryToMetadata).filter(function(l){return!isNaN(l)}).map(function(l){return parseInt(l,10)})},i18n.phonenumbers.PhoneNumberUtil.prototype.getSupportedCallingCodes=function(){var l=Object.keys(i18n.phonenumbers.metadata.countryCodeToRegionCodeMap);return[].concat($jscomp.arrayFromIterable(this.getSupportedGlobalNetworkCallingCodes()),$jscomp.arrayFromIterable(l.map(function(h){return parseInt(h,10)})))},i18n.phonenumbers.PhoneNumberUtil.descHasPossibleNumberData_=function(l){return null!=l&&(1!=l.possibleLengthCount()||-1!=l.possibleLengthArray()[0])},i18n.phonenumbers.PhoneNumberUtil.descHasData_=function(l){return null!=l&&(l.hasExampleNumber()||i18n.phonenumbers.PhoneNumberUtil.descHasPossibleNumberData_(l)||l.hasNationalNumberPattern())},i18n.phonenumbers.PhoneNumberUtil.getSupportedTypesForMetadata_=function(l){var h=[];return goog.object.forEach(i18n.phonenumbers.PhoneNumberType,function(_){if(_!=i18n.phonenumbers.PhoneNumberType.FIXED_LINE_OR_MOBILE&&_!=i18n.phonenumbers.PhoneNumberType.UNKNOWN){var y=i18n.phonenumbers.PhoneNumberUtil.getNumberDescByType_(l,_);i18n.phonenumbers.PhoneNumberUtil.descHasData_(y)&&h.push(_)}}),h},i18n.phonenumbers.PhoneNumberUtil.prototype.getSupportedTypesForRegion=function(l){return this.isValidRegionCode_(l)?i18n.phonenumbers.PhoneNumberUtil.getSupportedTypesForMetadata_(this.getMetadataForRegion(l)):[]},i18n.phonenumbers.PhoneNumberUtil.prototype.getSupportedTypesForNonGeoEntity=function(l){return null==(l=this.getMetadataForNonGeographicalRegion(l))?[]:i18n.phonenumbers.PhoneNumberUtil.getSupportedTypesForMetadata_(l)},i18n.phonenumbers.PhoneNumberUtil.normalizeHelper_=function(l,h,_){for(var w,A,y=new goog.string.StringBuffer,O=l.length,j=0;j<O;++j)null!=(A=h[(w=l.charAt(j)).toUpperCase()])?y.append(A):_||y.append(w);return y.toString()},i18n.phonenumbers.PhoneNumberUtil.prototype.formattingRuleHasFirstGroupOnly=function(l){return 0==l.length||i18n.phonenumbers.PhoneNumberUtil.FIRST_GROUP_ONLY_PREFIX_PATTERN_.test(l)},i18n.phonenumbers.PhoneNumberUtil.prototype.isNumberGeographical=function(l){var h=this.getNumberType(l);return h==i18n.phonenumbers.PhoneNumberType.FIXED_LINE||h==i18n.phonenumbers.PhoneNumberType.FIXED_LINE_OR_MOBILE||i18n.phonenumbers.PhoneNumberUtil.GEO_MOBILE_COUNTRIES_.includes(l.getCountryCodeOrDefault())&&h==i18n.phonenumbers.PhoneNumberType.MOBILE},i18n.phonenumbers.PhoneNumberUtil.prototype.isValidRegionCode_=function(l){return null!=l&&isNaN(l)&&l.toUpperCase()in i18n.phonenumbers.metadata.countryToMetadata},i18n.phonenumbers.PhoneNumberUtil.prototype.hasValidCountryCallingCode_=function(l){return l in i18n.phonenumbers.metadata.countryCodeToRegionCodeMap},i18n.phonenumbers.PhoneNumberUtil.prototype.format=function(l,h){if(0==l.getNationalNumber()&&l.hasRawInput()){var _=l.getRawInputOrDefault();if(0<_.length)return _}_=l.getCountryCodeOrDefault();var y=this.getNationalSignificantNumber(l);if(h==i18n.phonenumbers.PhoneNumberFormat.E164)return this.prefixNumberWithCountryCallingCode_(_,i18n.phonenumbers.PhoneNumberFormat.E164,y,"");if(!this.hasValidCountryCallingCode_(_))return y;var w=this.getRegionCodeForCountryCode(_);return w=this.getMetadataForRegionOrCallingCode_(_,w),l=this.maybeGetFormattedExtension_(l,w,h),y=this.formatNsn_(y,w,h),this.prefixNumberWithCountryCallingCode_(_,h,y,l)},i18n.phonenumbers.PhoneNumberUtil.prototype.formatByPattern=function(l,h,_){var y=l.getCountryCodeOrDefault(),w=this.getNationalSignificantNumber(l);if(!this.hasValidCountryCallingCode_(y))return w;var A=this.getRegionCodeForCountryCode(y);A=this.getMetadataForRegionOrCallingCode_(y,A);var O=this.chooseFormattingPatternForNumber_(_,w);if(null!=O){if(_=O.clone(),0<(O=O.getNationalPrefixFormattingRuleOrDefault()).length){var j=A.getNationalPrefixOrDefault();0<j.length?(O=O.replace(i18n.phonenumbers.PhoneNumberUtil.NP_PATTERN_,j).replace(i18n.phonenumbers.PhoneNumberUtil.FG_PATTERN_,"$1"),_.setNationalPrefixFormattingRule(O)):_.clearNationalPrefixFormattingRule()}w=this.formatNsnUsingPattern_(w,_,h)}return l=this.maybeGetFormattedExtension_(l,A,h),this.prefixNumberWithCountryCallingCode_(y,h,w,l)},i18n.phonenumbers.PhoneNumberUtil.prototype.formatNationalNumberWithCarrierCode=function(l,h){var _=l.getCountryCodeOrDefault(),y=this.getNationalSignificantNumber(l);if(!this.hasValidCountryCallingCode_(_))return y;var w=this.getRegionCodeForCountryCode(_);return w=this.getMetadataForRegionOrCallingCode_(_,w),l=this.maybeGetFormattedExtension_(l,w,i18n.phonenumbers.PhoneNumberFormat.NATIONAL),h=this.formatNsn_(y,w,i18n.phonenumbers.PhoneNumberFormat.NATIONAL,h),this.prefixNumberWithCountryCallingCode_(_,i18n.phonenumbers.PhoneNumberFormat.NATIONAL,h,l)},i18n.phonenumbers.PhoneNumberUtil.prototype.getMetadataForRegionOrCallingCode_=function(l,h){return i18n.phonenumbers.PhoneNumberUtil.REGION_CODE_FOR_NON_GEO_ENTITY==h?this.getMetadataForNonGeographicalRegion(l):this.getMetadataForRegion(h)},i18n.phonenumbers.PhoneNumberUtil.prototype.formatNationalNumberWithPreferredCarrierCode=function(l,h){return this.formatNationalNumberWithCarrierCode(l,0<l.getPreferredDomesticCarrierCodeOrDefault().length?l.getPreferredDomesticCarrierCodeOrDefault():h)},i18n.phonenumbers.PhoneNumberUtil.prototype.formatNumberForMobileDialing=function(l,h,_){var y=l.getCountryCodeOrDefault();if(!this.hasValidCountryCallingCode_(y))return l.hasRawInput()?l.getRawInputOrDefault():"";var w="";(l=l.clone()).clearExtension();var A=this.getRegionCodeForCountryCode(y),O=this.getNumberType(l),j=O!=i18n.phonenumbers.PhoneNumberType.UNKNOWN;if(h==A)w=O==i18n.phonenumbers.PhoneNumberType.FIXED_LINE||O==i18n.phonenumbers.PhoneNumberType.MOBILE||O==i18n.phonenumbers.PhoneNumberType.FIXED_LINE_OR_MOBILE,"BR"==A&&w?w=0<l.getPreferredDomesticCarrierCodeOrDefault().length?this.formatNationalNumberWithPreferredCarrierCode(l,""):"":y==i18n.phonenumbers.PhoneNumberUtil.NANPA_COUNTRY_CODE_?(h=this.getMetadataForRegion(h),w=this.canBeInternationallyDialled(l)&&this.testNumberLength_(this.getNationalSignificantNumber(l),h)!=i18n.phonenumbers.PhoneNumberUtil.ValidationResult.TOO_SHORT?this.format(l,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL):this.format(l,i18n.phonenumbers.PhoneNumberFormat.NATIONAL)):w=(A==i18n.phonenumbers.PhoneNumberUtil.REGION_CODE_FOR_NON_GEO_ENTITY||("MX"==A||"CL"==A||"UZ"==A)&&w)&&this.canBeInternationallyDialled(l)?this.format(l,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL):this.format(l,i18n.phonenumbers.PhoneNumberFormat.NATIONAL);else if(j&&this.canBeInternationallyDialled(l))return this.format(l,_?i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL:i18n.phonenumbers.PhoneNumberFormat.E164);return _?w:i18n.phonenumbers.PhoneNumberUtil.normalizeDiallableCharsOnly(w)},i18n.phonenumbers.PhoneNumberUtil.prototype.formatOutOfCountryCallingNumber=function(l,h){if(!this.isValidRegionCode_(h))return this.format(l,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL);var _=l.getCountryCodeOrDefault(),y=this.getNationalSignificantNumber(l);if(!this.hasValidCountryCallingCode_(_))return y;if(_==i18n.phonenumbers.PhoneNumberUtil.NANPA_COUNTRY_CODE_){if(this.isNANPACountry(h))return _+" "+this.format(l,i18n.phonenumbers.PhoneNumberFormat.NATIONAL)}else if(_==this.getCountryCodeForValidRegion_(h))return this.format(l,i18n.phonenumbers.PhoneNumberFormat.NATIONAL);var w=this.getMetadataForRegion(h),A=w.getInternationalPrefixOrDefault();return h="",w.hasPreferredInternationalPrefix()?h=w.getPreferredInternationalPrefixOrDefault():i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(i18n.phonenumbers.PhoneNumberUtil.SINGLE_INTERNATIONAL_PREFIX_,A)&&(h=A),w=this.getRegionCodeForCountryCode(_),w=this.getMetadataForRegionOrCallingCode_(_,w),y=this.formatNsn_(y,w,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL),l=this.maybeGetFormattedExtension_(l,w,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL),0<h.length?h+" "+_+" "+y+l:this.prefixNumberWithCountryCallingCode_(_,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL,y,l)},i18n.phonenumbers.PhoneNumberUtil.prototype.formatInOriginalFormat=function(l,h){if(l.hasRawInput()&&!this.hasFormattingPatternForNumber_(l))return l.getRawInputOrDefault();if(!l.hasCountryCodeSource())return this.format(l,i18n.phonenumbers.PhoneNumberFormat.NATIONAL);switch(l.getCountryCodeSource()){case i18n.phonenumbers.PhoneNumber.CountryCodeSource.FROM_NUMBER_WITH_PLUS_SIGN:h=this.format(l,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL);break;case i18n.phonenumbers.PhoneNumber.CountryCodeSource.FROM_NUMBER_WITH_IDD:h=this.formatOutOfCountryCallingNumber(l,h);break;case i18n.phonenumbers.PhoneNumber.CountryCodeSource.FROM_NUMBER_WITHOUT_PLUS_SIGN:h=this.format(l,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL).substring(1);break;default:var _=this.getRegionCodeForCountryCode(l.getCountryCodeOrDefault()),y=this.getNddPrefixForRegion(_,!0);if(h=this.format(l,i18n.phonenumbers.PhoneNumberFormat.NATIONAL),null!=y&&0!=y.length&&!this.rawInputContainsNationalPrefix_(l.getRawInputOrDefault(),y,_)&&(_=this.getMetadataForRegion(_),y=this.getNationalSignificantNumber(l),null!=(_=this.chooseFormattingPatternForNumber_(_.numberFormatArray(),y)))){var w=(y=_.getNationalPrefixFormattingRuleOrDefault()).indexOf("$1");0>=w||(y=y.substring(0,w),0!=(y=i18n.phonenumbers.PhoneNumberUtil.normalizeDigitsOnly(y)).length&&((h=_.clone()).clearNationalPrefixFormattingRule(),h=this.formatByPattern(l,i18n.phonenumbers.PhoneNumberFormat.NATIONAL,[h])))}}return l=l.getRawInputOrDefault(),null!=h&&0<l.length&&(_=i18n.phonenumbers.PhoneNumberUtil.normalizeDiallableCharsOnly(h))!=(y=i18n.phonenumbers.PhoneNumberUtil.normalizeDiallableCharsOnly(l))&&(h=l),h},i18n.phonenumbers.PhoneNumberUtil.prototype.rawInputContainsNationalPrefix_=function(l,h,_){if(l=i18n.phonenumbers.PhoneNumberUtil.normalizeDigitsOnly(l),goog.string.startsWith(l,h))try{return this.isValidNumber(this.parse(l.substring(h.length),_))}catch{}return!1},i18n.phonenumbers.PhoneNumberUtil.prototype.hasFormattingPatternForNumber_=function(l){var h=l.getCountryCodeOrDefault(),_=this.getRegionCodeForCountryCode(h);return null!=(h=this.getMetadataForRegionOrCallingCode_(h,_))&&(l=this.getNationalSignificantNumber(l),null!=this.chooseFormattingPatternForNumber_(h.numberFormatArray(),l))},i18n.phonenumbers.PhoneNumberUtil.prototype.formatOutOfCountryKeepingAlphaChars=function(l,h){var _=l.getRawInputOrDefault();if(0==_.length)return this.formatOutOfCountryCallingNumber(l,h);var y=l.getCountryCodeOrDefault();if(!this.hasValidCountryCallingCode_(y))return _;_=i18n.phonenumbers.PhoneNumberUtil.normalizeHelper_(_,i18n.phonenumbers.PhoneNumberUtil.ALL_PLUS_NUMBER_GROUPING_SYMBOLS_,!0);var w=this.getNationalSignificantNumber(l);if(3<w.length){var A=_.indexOf(w.substring(0,3));-1!=A&&(_=_.substring(A))}if(A=this.getMetadataForRegion(h),y==i18n.phonenumbers.PhoneNumberUtil.NANPA_COUNTRY_CODE_){if(this.isNANPACountry(h))return y+" "+_}else if(null!=A&&y==this.getCountryCodeForValidRegion_(h))return null==(y=this.chooseFormattingPatternForNumber_(A.numberFormatArray(),w))?_:((y=y.clone()).setPattern("(\\d+)(.*)"),y.setFormat("$1$2"),this.formatNsnUsingPattern_(_,y,i18n.phonenumbers.PhoneNumberFormat.NATIONAL));return h="",null!=A&&(h=A.getInternationalPrefixOrDefault(),h=i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(i18n.phonenumbers.PhoneNumberUtil.SINGLE_INTERNATIONAL_PREFIX_,h)?h:A.getPreferredInternationalPrefixOrDefault()),A=this.getRegionCodeForCountryCode(y),A=this.getMetadataForRegionOrCallingCode_(y,A),l=this.maybeGetFormattedExtension_(l,A,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL),0<h.length?h+" "+y+" "+_+l:this.prefixNumberWithCountryCallingCode_(y,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL,_,l)},i18n.phonenumbers.PhoneNumberUtil.prototype.getNationalSignificantNumber=function(l){if(!l.hasNationalNumber())return"";var h=""+l.getNationalNumber();return l.hasItalianLeadingZero()&&l.getItalianLeadingZero()&&0<l.getNumberOfLeadingZerosOrDefault()?Array(l.getNumberOfLeadingZerosOrDefault()+1).join("0")+h:h},i18n.phonenumbers.PhoneNumberUtil.prototype.prefixNumberWithCountryCallingCode_=function(l,h,_,y){switch(h){case i18n.phonenumbers.PhoneNumberFormat.E164:return i18n.phonenumbers.PhoneNumberUtil.PLUS_SIGN+l+_+y;case i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL:return i18n.phonenumbers.PhoneNumberUtil.PLUS_SIGN+l+" "+_+y;case i18n.phonenumbers.PhoneNumberFormat.RFC3966:return i18n.phonenumbers.PhoneNumberUtil.RFC3966_PREFIX_+i18n.phonenumbers.PhoneNumberUtil.PLUS_SIGN+l+"-"+_+y;default:return _+y}},i18n.phonenumbers.PhoneNumberUtil.prototype.formatNsn_=function(l,h,_,y){return h=0==h.intlNumberFormatArray().length||_==i18n.phonenumbers.PhoneNumberFormat.NATIONAL?h.numberFormatArray():h.intlNumberFormatArray(),null==(h=this.chooseFormattingPatternForNumber_(h,l))?l:this.formatNsnUsingPattern_(l,h,_,y)},i18n.phonenumbers.PhoneNumberUtil.prototype.chooseFormattingPatternForNumber_=function(l,h){for(var _,y=l.length,w=0;w<y;++w){var A=(_=l[w]).leadingDigitsPatternCount();if((0==A||0==h.search(_.getLeadingDigitsPattern(A-1)))&&(A=new RegExp(_.getPattern()),i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(A,h)))return _}return null},i18n.phonenumbers.PhoneNumberUtil.prototype.formatNsnUsingPattern_=function(l,h,_,y){var w=h.getFormatOrDefault(),A=new RegExp(h.getPattern()),O=h.getDomesticCarrierCodeFormattingRuleOrDefault();return _==i18n.phonenumbers.PhoneNumberFormat.NATIONAL&&null!=y&&0<y.length&&0<O.length?(h=O.replace(i18n.phonenumbers.PhoneNumberUtil.CC_PATTERN_,y),w=w.replace(i18n.phonenumbers.PhoneNumberUtil.FIRST_GROUP_PATTERN_,h),l=l.replace(A,w)):(h=h.getNationalPrefixFormattingRuleOrDefault(),l=l.replace(A,_==i18n.phonenumbers.PhoneNumberFormat.NATIONAL&&null!=h&&0<h.length?w.replace(i18n.phonenumbers.PhoneNumberUtil.FIRST_GROUP_PATTERN_,h):w)),_==i18n.phonenumbers.PhoneNumberFormat.RFC3966&&(l=(l=l.replace(new RegExp("^"+i18n.phonenumbers.PhoneNumberUtil.SEPARATOR_PATTERN_),"")).replace(new RegExp(i18n.phonenumbers.PhoneNumberUtil.SEPARATOR_PATTERN_,"g"),"-")),l},i18n.phonenumbers.PhoneNumberUtil.prototype.getExampleNumber=function(l){return this.getExampleNumberForType(l,i18n.phonenumbers.PhoneNumberType.FIXED_LINE)},i18n.phonenumbers.PhoneNumberUtil.prototype.getExampleNumberForType=function(l,h){if(!this.isValidRegionCode_(l))return null;h=i18n.phonenumbers.PhoneNumberUtil.getNumberDescByType_(this.getMetadataForRegion(l),h);try{if(h.hasExampleNumber())return this.parse(h.getExampleNumber(),l)}catch{}return null},i18n.phonenumbers.PhoneNumberUtil.prototype.getExampleNumberForNonGeoEntity=function(l){var h=this.getMetadataForNonGeographicalRegion(l);if(null!=h&&void 0!==(h=[h.getMobile(),h.getTollFree(),h.getSharedCost(),h.getVoip(),h.getVoicemail(),h.getUan(),h.getPremiumRate()].find(function(_,y){return _.hasExampleNumber()})))try{return this.parse("+"+l+h.getExampleNumber(),"ZZ")}catch{}return null},i18n.phonenumbers.PhoneNumberUtil.prototype.maybeGetFormattedExtension_=function(l,h,_){return l.hasExtension()&&0!=l.getExtension().length?_==i18n.phonenumbers.PhoneNumberFormat.RFC3966?i18n.phonenumbers.PhoneNumberUtil.RFC3966_EXTN_PREFIX_+l.getExtension():h.hasPreferredExtnPrefix()?h.getPreferredExtnPrefix()+l.getExtensionOrDefault():i18n.phonenumbers.PhoneNumberUtil.DEFAULT_EXTN_PREFIX_+l.getExtensionOrDefault():""},i18n.phonenumbers.PhoneNumberUtil.getNumberDescByType_=function(l,h){switch(h){case i18n.phonenumbers.PhoneNumberType.PREMIUM_RATE:return l.getPremiumRate();case i18n.phonenumbers.PhoneNumberType.TOLL_FREE:return l.getTollFree();case i18n.phonenumbers.PhoneNumberType.MOBILE:return l.getMobile();case i18n.phonenumbers.PhoneNumberType.FIXED_LINE:case i18n.phonenumbers.PhoneNumberType.FIXED_LINE_OR_MOBILE:return l.getFixedLine();case i18n.phonenumbers.PhoneNumberType.SHARED_COST:return l.getSharedCost();case i18n.phonenumbers.PhoneNumberType.VOIP:return l.getVoip();case i18n.phonenumbers.PhoneNumberType.PERSONAL_NUMBER:return l.getPersonalNumber();case i18n.phonenumbers.PhoneNumberType.PAGER:return l.getPager();case i18n.phonenumbers.PhoneNumberType.UAN:return l.getUan();case i18n.phonenumbers.PhoneNumberType.VOICEMAIL:return l.getVoicemail();default:return l.getGeneralDesc()}},i18n.phonenumbers.PhoneNumberUtil.prototype.getNumberType=function(l){var h=this.getRegionCodeForNumber(l);return null==(h=this.getMetadataForRegionOrCallingCode_(l.getCountryCodeOrDefault(),h))?i18n.phonenumbers.PhoneNumberType.UNKNOWN:(l=this.getNationalSignificantNumber(l),this.getNumberTypeHelper_(l,h))},i18n.phonenumbers.PhoneNumberUtil.prototype.getNumberTypeHelper_=function(l,h){return this.isNumberMatchingDesc_(l,h.getGeneralDesc())?this.isNumberMatchingDesc_(l,h.getPremiumRate())?i18n.phonenumbers.PhoneNumberType.PREMIUM_RATE:this.isNumberMatchingDesc_(l,h.getTollFree())?i18n.phonenumbers.PhoneNumberType.TOLL_FREE:this.isNumberMatchingDesc_(l,h.getSharedCost())?i18n.phonenumbers.PhoneNumberType.SHARED_COST:this.isNumberMatchingDesc_(l,h.getVoip())?i18n.phonenumbers.PhoneNumberType.VOIP:this.isNumberMatchingDesc_(l,h.getPersonalNumber())?i18n.phonenumbers.PhoneNumberType.PERSONAL_NUMBER:this.isNumberMatchingDesc_(l,h.getPager())?i18n.phonenumbers.PhoneNumberType.PAGER:this.isNumberMatchingDesc_(l,h.getUan())?i18n.phonenumbers.PhoneNumberType.UAN:this.isNumberMatchingDesc_(l,h.getVoicemail())?i18n.phonenumbers.PhoneNumberType.VOICEMAIL:this.isNumberMatchingDesc_(l,h.getFixedLine())?h.getSameMobileAndFixedLinePattern()||this.isNumberMatchingDesc_(l,h.getMobile())?i18n.phonenumbers.PhoneNumberType.FIXED_LINE_OR_MOBILE:i18n.phonenumbers.PhoneNumberType.FIXED_LINE:!h.getSameMobileAndFixedLinePattern()&&this.isNumberMatchingDesc_(l,h.getMobile())?i18n.phonenumbers.PhoneNumberType.MOBILE:i18n.phonenumbers.PhoneNumberType.UNKNOWN:i18n.phonenumbers.PhoneNumberType.UNKNOWN},i18n.phonenumbers.PhoneNumberUtil.prototype.getMetadataForRegion=function(l){if(null==l)return null;l=l.toUpperCase();var h=this.regionToMetadataMap[l];if(null==h){h=new goog.proto2.PbLiteSerializer;var _=i18n.phonenumbers.metadata.countryToMetadata[l];if(null==_)return null;h=h.deserialize(i18n.phonenumbers.PhoneMetadata.getDescriptor(),_),this.regionToMetadataMap[l]=h}return h},i18n.phonenumbers.PhoneNumberUtil.prototype.getMetadataForNonGeographicalRegion=function(l){return this.getMetadataForRegion(""+l)},i18n.phonenumbers.PhoneNumberUtil.prototype.isNumberMatchingDesc_=function(l,h){var _=l.length;return!(0<h.possibleLengthCount()&&-1==h.possibleLengthArray().indexOf(_))&&i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(h.getNationalNumberPatternOrDefault(),l)},i18n.phonenumbers.PhoneNumberUtil.prototype.isValidNumber=function(l){var h=this.getRegionCodeForNumber(l);return this.isValidNumberForRegion(l,h)},i18n.phonenumbers.PhoneNumberUtil.prototype.isValidNumberForRegion=function(l,h){var _=l.getCountryCodeOrDefault(),y=this.getMetadataForRegionOrCallingCode_(_,h);return null!=y&&(i18n.phonenumbers.PhoneNumberUtil.REGION_CODE_FOR_NON_GEO_ENTITY==h||_==this.getCountryCodeForValidRegion_(h))&&(l=this.getNationalSignificantNumber(l),this.getNumberTypeHelper_(l,y)!=i18n.phonenumbers.PhoneNumberType.UNKNOWN)},i18n.phonenumbers.PhoneNumberUtil.prototype.getRegionCodeForNumber=function(l){if(null==l)return null;var h=l.getCountryCodeOrDefault();return null==(h=i18n.phonenumbers.metadata.countryCodeToRegionCodeMap[h])?null:1==h.length?h[0]:this.getRegionCodeForNumberFromRegionList_(l,h)},i18n.phonenumbers.PhoneNumberUtil.prototype.getRegionCodeForNumberFromRegionList_=function(l,h){l=this.getNationalSignificantNumber(l);for(var _,y=h.length,w=0;w<y;w++){var A=this.getMetadataForRegion(_=h[w]);if(A.hasLeadingDigits()){if(0==l.search(A.getLeadingDigits()))return _}else if(this.getNumberTypeHelper_(l,A)!=i18n.phonenumbers.PhoneNumberType.UNKNOWN)return _}return null},i18n.phonenumbers.PhoneNumberUtil.prototype.getRegionCodeForCountryCode=function(l){return null==(l=i18n.phonenumbers.metadata.countryCodeToRegionCodeMap[l])?i18n.phonenumbers.PhoneNumberUtil.UNKNOWN_REGION_:l[0]},i18n.phonenumbers.PhoneNumberUtil.prototype.getRegionCodesForCountryCode=function(l){return(l=i18n.phonenumbers.metadata.countryCodeToRegionCodeMap[l])??[]},i18n.phonenumbers.PhoneNumberUtil.prototype.getCountryCodeForRegion=function(l){return this.isValidRegionCode_(l)?this.getCountryCodeForValidRegion_(l):0},i18n.phonenumbers.PhoneNumberUtil.prototype.getCountryCodeForValidRegion_=function(l){var h=this.getMetadataForRegion(l);if(null==h)throw Error("Invalid region code: "+l);return h.getCountryCodeOrDefault()},i18n.phonenumbers.PhoneNumberUtil.prototype.getNddPrefixForRegion=function(l,h){return null==(l=this.getMetadataForRegion(l))||0==(l=l.getNationalPrefixOrDefault()).length?null:(h&&(l=l.replace("~","")),l)},i18n.phonenumbers.PhoneNumberUtil.prototype.isNANPACountry=function(l){return null!=l&&i18n.phonenumbers.metadata.countryCodeToRegionCodeMap[i18n.phonenumbers.PhoneNumberUtil.NANPA_COUNTRY_CODE_].includes(l.toUpperCase())},i18n.phonenumbers.PhoneNumberUtil.prototype.isAlphaNumber=function(l){return!!i18n.phonenumbers.PhoneNumberUtil.isViablePhoneNumber(l)&&(l=new goog.string.StringBuffer(l),this.maybeStripExtension(l),i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(i18n.phonenumbers.PhoneNumberUtil.VALID_ALPHA_PHONE_PATTERN_,l.toString()))},i18n.phonenumbers.PhoneNumberUtil.prototype.isPossibleNumber=function(l){return(l=this.isPossibleNumberWithReason(l))==i18n.phonenumbers.PhoneNumberUtil.ValidationResult.IS_POSSIBLE||l==i18n.phonenumbers.PhoneNumberUtil.ValidationResult.IS_POSSIBLE_LOCAL_ONLY},i18n.phonenumbers.PhoneNumberUtil.prototype.isPossibleNumberForType=function(l,h){return(l=this.isPossibleNumberForTypeWithReason(l,h))==i18n.phonenumbers.PhoneNumberUtil.ValidationResult.IS_POSSIBLE||l==i18n.phonenumbers.PhoneNumberUtil.ValidationResult.IS_POSSIBLE_LOCAL_ONLY},i18n.phonenumbers.PhoneNumberUtil.prototype.testNumberLength_=function(l,h){return this.testNumberLengthForType_(l,h,i18n.phonenumbers.PhoneNumberType.UNKNOWN)},i18n.phonenumbers.PhoneNumberUtil.prototype.testNumberLengthForType_=function(l,h,_){var y=i18n.phonenumbers.PhoneNumberUtil.getNumberDescByType_(h,_),w=0==y.possibleLengthCount()?h.getGeneralDesc().possibleLengthArray():y.possibleLengthArray();if(y=y.possibleLengthLocalOnlyArray(),_==i18n.phonenumbers.PhoneNumberType.FIXED_LINE_OR_MOBILE){if(!i18n.phonenumbers.PhoneNumberUtil.descHasPossibleNumberData_(i18n.phonenumbers.PhoneNumberUtil.getNumberDescByType_(h,i18n.phonenumbers.PhoneNumberType.FIXED_LINE)))return this.testNumberLengthForType_(l,h,i18n.phonenumbers.PhoneNumberType.MOBILE);_=i18n.phonenumbers.PhoneNumberUtil.getNumberDescByType_(h,i18n.phonenumbers.PhoneNumberType.MOBILE),i18n.phonenumbers.PhoneNumberUtil.descHasPossibleNumberData_(_)&&((w=w.concat(0==_.possibleLengthCount()?h.getGeneralDesc().possibleLengthArray():_.possibleLengthArray())).sort(),0==y.length?y=_.possibleLengthLocalOnlyArray():(y=y.concat(_.possibleLengthLocalOnlyArray())).sort())}return-1==w[0]?i18n.phonenumbers.PhoneNumberUtil.ValidationResult.INVALID_LENGTH:-1<y.indexOf(l=l.length)?i18n.phonenumbers.PhoneNumberUtil.ValidationResult.IS_POSSIBLE_LOCAL_ONLY:(h=w[0])==l?i18n.phonenumbers.PhoneNumberUtil.ValidationResult.IS_POSSIBLE:h>l?i18n.phonenumbers.PhoneNumberUtil.ValidationResult.TOO_SHORT:w[w.length-1]<l?i18n.phonenumbers.PhoneNumberUtil.ValidationResult.TOO_LONG:-1<w.indexOf(l,1)?i18n.phonenumbers.PhoneNumberUtil.ValidationResult.IS_POSSIBLE:i18n.phonenumbers.PhoneNumberUtil.ValidationResult.INVALID_LENGTH},i18n.phonenumbers.PhoneNumberUtil.prototype.isPossibleNumberWithReason=function(l){return this.isPossibleNumberForTypeWithReason(l,i18n.phonenumbers.PhoneNumberType.UNKNOWN)},i18n.phonenumbers.PhoneNumberUtil.prototype.isPossibleNumberForTypeWithReason=function(l,h){var _=this.getNationalSignificantNumber(l);if(l=l.getCountryCodeOrDefault(),!this.hasValidCountryCallingCode_(l))return i18n.phonenumbers.PhoneNumberUtil.ValidationResult.INVALID_COUNTRY_CODE;var y=this.getRegionCodeForCountryCode(l);return l=this.getMetadataForRegionOrCallingCode_(l,y),this.testNumberLengthForType_(_,l,h)},i18n.phonenumbers.PhoneNumberUtil.prototype.isPossibleNumberString=function(l,h){try{return this.isPossibleNumber(this.parse(l,h))}catch{return!1}},i18n.phonenumbers.PhoneNumberUtil.prototype.truncateTooLongNumber=function(l){if(this.isValidNumber(l))return!0;var h=l.clone(),_=l.getNationalNumberOrDefault();do{if(_=Math.floor(_/10),h.setNationalNumber(_),0==_||this.isPossibleNumberWithReason(h)==i18n.phonenumbers.PhoneNumberUtil.ValidationResult.TOO_SHORT)return!1}while(!this.isValidNumber(h));return l.setNationalNumber(_),!0},i18n.phonenumbers.PhoneNumberUtil.prototype.extractCountryCode=function(l,h){if(0==(l=l.toString()).length||"0"==l.charAt(0))return 0;for(var _,y=l.length,w=1;w<=i18n.phonenumbers.PhoneNumberUtil.MAX_LENGTH_COUNTRY_CODE_&&w<=y;++w)if((_=parseInt(l.substring(0,w),10))in i18n.phonenumbers.metadata.countryCodeToRegionCodeMap)return h.append(l.substring(w)),_;return 0},i18n.phonenumbers.PhoneNumberUtil.prototype.maybeExtractCountryCode=function(l,h,_,y,w){if(0==l.length)return 0;var A;if(l=new goog.string.StringBuffer(l),null!=h&&(A=h.getInternationalPrefix()),null==A&&(A="NonMatch"),A=this.maybeStripInternationalPrefixAndNormalize(l,A),y&&w.setCountryCodeSource(A),A!=i18n.phonenumbers.PhoneNumber.CountryCodeSource.FROM_DEFAULT_COUNTRY){if(l.getLength()<=i18n.phonenumbers.PhoneNumberUtil.MIN_LENGTH_FOR_NSN_)throw Error(i18n.phonenumbers.Error.TOO_SHORT_AFTER_IDD);if(0!=(h=this.extractCountryCode(l,_)))return w.setCountryCode(h),h;throw Error(i18n.phonenumbers.Error.INVALID_COUNTRY_CODE)}if(null!=h){var O=""+(A=h.getCountryCodeOrDefault()),j=l.toString();if(goog.string.startsWith(j,O)&&(O=new goog.string.StringBuffer(j.substring(O.length)),j=h.getGeneralDesc(),j=new RegExp(j.getNationalNumberPatternOrDefault()),this.maybeStripNationalPrefixAndCarrierCode(O,h,null),O=O.toString(),!i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(j,l.toString())&&i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(j,O)||this.testNumberLength_(l.toString(),h)==i18n.phonenumbers.PhoneNumberUtil.ValidationResult.TOO_LONG))return _.append(O),y&&w.setCountryCodeSource(i18n.phonenumbers.PhoneNumber.CountryCodeSource.FROM_NUMBER_WITHOUT_PLUS_SIGN),w.setCountryCode(A),A}return w.setCountryCode(0),0},i18n.phonenumbers.PhoneNumberUtil.prototype.parsePrefixAsIdd_=function(l,h){var _=h.toString();if(0==_.search(l)){l=_.match(l)[0].length;var y=_.substring(l).match(i18n.phonenumbers.PhoneNumberUtil.CAPTURING_DIGIT_PATTERN);return!(y&&null!=y[1]&&0<y[1].length&&"0"==i18n.phonenumbers.PhoneNumberUtil.normalizeDigitsOnly(y[1])||(h.clear(),h.append(_.substring(l)),0))}return!1},i18n.phonenumbers.PhoneNumberUtil.prototype.maybeStripInternationalPrefixAndNormalize=function(l,h){var _=l.toString();return 0==_.length?i18n.phonenumbers.PhoneNumber.CountryCodeSource.FROM_DEFAULT_COUNTRY:i18n.phonenumbers.PhoneNumberUtil.LEADING_PLUS_CHARS_PATTERN.test(_)?(_=_.replace(i18n.phonenumbers.PhoneNumberUtil.LEADING_PLUS_CHARS_PATTERN,""),l.clear(),l.append(i18n.phonenumbers.PhoneNumberUtil.normalize(_)),i18n.phonenumbers.PhoneNumber.CountryCodeSource.FROM_NUMBER_WITH_PLUS_SIGN):(h=new RegExp(h),i18n.phonenumbers.PhoneNumberUtil.normalizeSB_(l),this.parsePrefixAsIdd_(h,l)?i18n.phonenumbers.PhoneNumber.CountryCodeSource.FROM_NUMBER_WITH_IDD:i18n.phonenumbers.PhoneNumber.CountryCodeSource.FROM_DEFAULT_COUNTRY)},i18n.phonenumbers.PhoneNumberUtil.prototype.maybeStripNationalPrefixAndCarrierCode=function(l,h,_){var y=l.toString(),w=y.length,A=h.getNationalPrefixForParsing();if(0==w||null==A||0==A.length)return!1;var O=new RegExp("^(?:"+A+")");if(w=O.exec(y)){A=new RegExp(h.getGeneralDesc().getNationalNumberPatternOrDefault());var j=i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(A,y),Z=w.length-1;if(null==(h=h.getNationalPrefixTransformRule())||0==h.length||null==w[Z]||0==w[Z].length){if(j&&!i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(A,y.substring(w[0].length)))return!1;null!=_&&0<Z&&null!=w[Z]&&_.append(w[1]),l.set(y.substring(w[0].length))}else{if(y=y.replace(O,h),j&&!i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(A,y))return!1;null!=_&&0<Z&&_.append(w[1]),l.set(y)}return!0}return!1},i18n.phonenumbers.PhoneNumberUtil.prototype.maybeStripExtension=function(l){var h=l.toString(),_=h.search(i18n.phonenumbers.PhoneNumberUtil.EXTN_PATTERN_);if(0<=_&&i18n.phonenumbers.PhoneNumberUtil.isViablePhoneNumber(h.substring(0,_)))for(var y=h.match(i18n.phonenumbers.PhoneNumberUtil.EXTN_PATTERN_),w=y.length,A=1;A<w;++A)if(null!=y[A]&&0<y[A].length)return l.clear(),l.append(h.substring(0,_)),y[A];return""},i18n.phonenumbers.PhoneNumberUtil.prototype.checkRegionForParsing_=function(l,h){return this.isValidRegionCode_(h)||null!=l&&0<l.length&&i18n.phonenumbers.PhoneNumberUtil.LEADING_PLUS_CHARS_PATTERN.test(l)},i18n.phonenumbers.PhoneNumberUtil.prototype.parse=function(l,h){return this.parseHelper_(l,h,!1,!0)},i18n.phonenumbers.PhoneNumberUtil.prototype.parseAndKeepRawInput=function(l,h){if(!this.isValidRegionCode_(h)&&0<l.length&&l.charAt(0)!=i18n.phonenumbers.PhoneNumberUtil.PLUS_SIGN)throw Error(i18n.phonenumbers.Error.INVALID_COUNTRY_CODE);return this.parseHelper_(l,h,!0,!0)},i18n.phonenumbers.PhoneNumberUtil.setItalianLeadingZerosForPhoneNumber_=function(l,h){if(1<l.length&&"0"==l.charAt(0)){h.setItalianLeadingZero(!0);for(var _=1;_<l.length-1&&"0"==l.charAt(_);)_++;1!=_&&h.setNumberOfLeadingZeros(_)}},i18n.phonenumbers.PhoneNumberUtil.prototype.parseHelper_=function(l,h,_,y){if(null==l)throw Error(i18n.phonenumbers.Error.NOT_A_NUMBER);if(l.length>i18n.phonenumbers.PhoneNumberUtil.MAX_INPUT_STRING_LENGTH_)throw Error(i18n.phonenumbers.Error.TOO_LONG);var w=new goog.string.StringBuffer;if(this.buildNationalNumberForParsing_(l,w),!i18n.phonenumbers.PhoneNumberUtil.isViablePhoneNumber(w.toString()))throw Error(i18n.phonenumbers.Error.NOT_A_NUMBER);if(y&&!this.checkRegionForParsing_(w.toString(),h))throw Error(i18n.phonenumbers.Error.INVALID_COUNTRY_CODE);y=new i18n.phonenumbers.PhoneNumber,_&&y.setRawInput(l),0<(l=this.maybeStripExtension(w)).length&&y.setExtension(l);var A=this.getMetadataForRegion(h);l=new goog.string.StringBuffer;var O=0,j=w.toString();try{O=this.maybeExtractCountryCode(j,A,l,_,y)}catch(Z){if(Z.message!=i18n.phonenumbers.Error.INVALID_COUNTRY_CODE||!i18n.phonenumbers.PhoneNumberUtil.LEADING_PLUS_CHARS_PATTERN.test(j))throw Z;if(j=j.replace(i18n.phonenumbers.PhoneNumberUtil.LEADING_PLUS_CHARS_PATTERN,""),0==(O=this.maybeExtractCountryCode(j,A,l,_,y)))throw Z}if(0!=O?(w=this.getRegionCodeForCountryCode(O))!=h&&(A=this.getMetadataForRegionOrCallingCode_(O,w)):(i18n.phonenumbers.PhoneNumberUtil.normalizeSB_(w),l.append(w.toString()),null!=h?(O=A.getCountryCodeOrDefault(),y.setCountryCode(O)):_&&y.clearCountryCodeSource()),l.getLength()<i18n.phonenumbers.PhoneNumberUtil.MIN_LENGTH_FOR_NSN_||(null!=A&&(h=new goog.string.StringBuffer,w=new goog.string.StringBuffer(l.toString()),this.maybeStripNationalPrefixAndCarrierCode(w,A,h),(A=this.testNumberLength_(w.toString(),A))!=(O=i18n.phonenumbers.PhoneNumberUtil.ValidationResult).TOO_SHORT&&A!=O.IS_POSSIBLE_LOCAL_ONLY&&A!=O.INVALID_LENGTH&&(l=w,_&&0<h.toString().length&&y.setPreferredDomesticCarrierCode(h.toString()))),_=l.toString(),(l=_.length)<i18n.phonenumbers.PhoneNumberUtil.MIN_LENGTH_FOR_NSN_))throw Error(i18n.phonenumbers.Error.TOO_SHORT_NSN);if(l>i18n.phonenumbers.PhoneNumberUtil.MAX_LENGTH_FOR_NSN_)throw Error(i18n.phonenumbers.Error.TOO_LONG);return i18n.phonenumbers.PhoneNumberUtil.setItalianLeadingZerosForPhoneNumber_(_,y),y.setNationalNumber(parseInt(_,10)),y},i18n.phonenumbers.PhoneNumberUtil.prototype.extractPhoneContext_=function(l){var h=l.indexOf(i18n.phonenumbers.PhoneNumberUtil.RFC3966_PHONE_CONTEXT_);if(-1===h)return null;if((h+=i18n.phonenumbers.PhoneNumberUtil.RFC3966_PHONE_CONTEXT_.length)>=l.length)return"";var _=l.indexOf(";",h);return-1!==_?l.substring(h,_):l.substring(h)},i18n.phonenumbers.PhoneNumberUtil.prototype.isPhoneContextValid_=function(l){if(null==l)return!0;if(0===l.length)return!1;var h=i18n.phonenumbers.PhoneNumberUtil.RFC3966_GLOBAL_NUMBER_DIGITS_PATTERN_.exec(l);return l=i18n.phonenumbers.PhoneNumberUtil.RFC3966_DOMAINNAME_PATTERN_.exec(l),null!==h||null!==l},i18n.phonenumbers.PhoneNumberUtil.prototype.buildNationalNumberForParsing_=function(l,h){var _=i18n.phonenumbers.PhoneNumberUtil.prototype.extractPhoneContext_(l);if(!i18n.phonenumbers.PhoneNumberUtil.prototype.isPhoneContextValid_(_))throw Error(i18n.phonenumbers.Error.NOT_A_NUMBER);if(null!=_){_.charAt(0)===i18n.phonenumbers.PhoneNumberUtil.PLUS_SIGN&&h.append(_),_=0<=(_=l.indexOf(i18n.phonenumbers.PhoneNumberUtil.RFC3966_PREFIX_))?_+i18n.phonenumbers.PhoneNumberUtil.RFC3966_PREFIX_.length:0;var y=l.indexOf(i18n.phonenumbers.PhoneNumberUtil.RFC3966_PHONE_CONTEXT_);h.append(l.substring(_,y))}else h.append(i18n.phonenumbers.PhoneNumberUtil.extractPossibleNumber(l??""));0<(_=(l=h.toString()).indexOf(i18n.phonenumbers.PhoneNumberUtil.RFC3966_ISDN_SUBADDRESS_))&&(h.clear(),h.append(l.substring(0,_)))},i18n.phonenumbers.PhoneNumberUtil.copyCoreFieldsOnly_=function(l){var h=new i18n.phonenumbers.PhoneNumber;return h.setCountryCode(l.getCountryCodeOrDefault()),h.setNationalNumber(l.getNationalNumberOrDefault()),0<l.getExtensionOrDefault().length&&h.setExtension(l.getExtensionOrDefault()),l.getItalianLeadingZero()&&(h.setItalianLeadingZero(!0),h.setNumberOfLeadingZeros(l.getNumberOfLeadingZerosOrDefault())),h},i18n.phonenumbers.PhoneNumberUtil.prototype.isNumberMatch=function(l,h){if("string"==typeof l)try{var _=this.parse(l,i18n.phonenumbers.PhoneNumberUtil.UNKNOWN_REGION_)}catch(A){if(A.message!=i18n.phonenumbers.Error.INVALID_COUNTRY_CODE)return i18n.phonenumbers.PhoneNumberUtil.MatchType.NOT_A_NUMBER;if("string"!=typeof h){var y=this.getRegionCodeForCountryCode(h.getCountryCodeOrDefault());if(y!=i18n.phonenumbers.PhoneNumberUtil.UNKNOWN_REGION_){try{_=this.parse(l,y)}catch{return i18n.phonenumbers.PhoneNumberUtil.MatchType.NOT_A_NUMBER}var w=this.isNumberMatch(_,h);return w==i18n.phonenumbers.PhoneNumberUtil.MatchType.EXACT_MATCH?i18n.phonenumbers.PhoneNumberUtil.MatchType.NSN_MATCH:w}}try{_=this.parseHelper_(l,null,!1,!1)}catch{return i18n.phonenumbers.PhoneNumberUtil.MatchType.NOT_A_NUMBER}}else _=l.clone();if("string"==typeof h)try{return w=this.parse(h,i18n.phonenumbers.PhoneNumberUtil.UNKNOWN_REGION_),this.isNumberMatch(l,w)}catch(A){return A.message!=i18n.phonenumbers.Error.INVALID_COUNTRY_CODE?i18n.phonenumbers.PhoneNumberUtil.MatchType.NOT_A_NUMBER:this.isNumberMatch(h,_)}else w=h.clone();return l=i18n.phonenumbers.PhoneNumberUtil.copyCoreFieldsOnly_(_),w=i18n.phonenumbers.PhoneNumberUtil.copyCoreFieldsOnly_(w),l.hasExtension()&&w.hasExtension()&&l.getExtension()!=w.getExtension()?i18n.phonenumbers.PhoneNumberUtil.MatchType.NO_MATCH:(h=l.getCountryCodeOrDefault(),_=w.getCountryCodeOrDefault(),0!=h&&0!=_?l.equals(w)?i18n.phonenumbers.PhoneNumberUtil.MatchType.EXACT_MATCH:h==_&&this.isNationalNumberSuffixOfTheOther_(l,w)?i18n.phonenumbers.PhoneNumberUtil.MatchType.SHORT_NSN_MATCH:i18n.phonenumbers.PhoneNumberUtil.MatchType.NO_MATCH:(l.setCountryCode(0),w.setCountryCode(0),l.equals(w)?i18n.phonenumbers.PhoneNumberUtil.MatchType.NSN_MATCH:this.isNationalNumberSuffixOfTheOther_(l,w)?i18n.phonenumbers.PhoneNumberUtil.MatchType.SHORT_NSN_MATCH:i18n.phonenumbers.PhoneNumberUtil.MatchType.NO_MATCH))},i18n.phonenumbers.PhoneNumberUtil.prototype.isNationalNumberSuffixOfTheOther_=function(l,h){return l=""+l.getNationalNumber(),h=""+h.getNationalNumber(),goog.string.endsWith(l,h)||goog.string.endsWith(h,l)},i18n.phonenumbers.PhoneNumberUtil.prototype.canBeInternationallyDialled=function(l){var h=this.getMetadataForRegion(this.getRegionCodeForNumber(l));return null==h||(l=this.getNationalSignificantNumber(l),!this.isNumberMatchingDesc_(l,h.getNoInternationalDialling()))},i18n.phonenumbers.PhoneNumberUtil.matchesEntirely=function(l,h){return!(!(l=h.match("string"==typeof l?"^(?:"+l+")$":l))||l[0].length!=h.length)},i18n.phonenumbers.PhoneNumberUtil.matchesPrefix=function(l,h){return!(!(l=h.match("string"==typeof l?"^(?:"+l+")":l))||!goog.string.startsWith(h,l[0]))},i18n.phonenumbers.shortnumbermetadata={},i18n.phonenumbers.shortnumbermetadata.countryCodeToRegionCodeMap={0:"AC AD AE AF AG AI AL AM AO AR AS AT AU AW AX AZ BA BB BD BE BF BG BH BI BJ BL BM BN BO BQ BR BS BT BW BY BZ CA CC CD CF CG CH CI CK CL CM CN CO CR CU CV CW CX CY CZ DE DJ DK DM DO DZ EC EE EG EH ER ES ET FI FJ FK FM FO FR GA GB GD GE GF GG GH GI GL GM GN GP GR GT GU GW GY HK HN HR HT HU ID IE IL IM IN IQ IR IS IT JE JM JO JP KE KG KH KI KM KN KP KR KW KY KZ LA LB LC LI LK LR LS LT LU LV LY MA MC MD ME MF MG MH MK ML MM MN MO MP MQ MR MS MT MU MV MW MX MY MZ NA NC NE NF NG NI NL NO NP NR NU NZ OM PA PE PF PG PH PK PL PM PR PS PT PW PY QA RE RO RS RU RW SA SB SC SD SE SG SH SI SJ SK SL SM SN SO SR SS ST SV SX SY SZ TC TD TG TH TJ TL TM TN TO TR TT TV TW TZ UA UG US UY UZ VA VC VE VG VI VN VU WF WS XK YE YT ZA ZM ZW".split(" ")},i18n.phonenumbers.shortnumbermetadata.countryToMetadata={AC:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"9(?:11|99)",,,,"911"],[,,,,,,,,,[-1]],,,,"AC",,,,,,,,,,,,,,,,,,[,,"9(?:11|99)",,,,"911"],,[,,"9(?:11|99)",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],AD:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"11[0268]",,,,"110"],[,,,,,,,,,[-1]],,,,"AD",,,,,,,,,,,,,,,,,,[,,"11[0268]",,,,"110"],,[,,"11[0268]",,,,"110"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],AE:[,[,,"[149]\\d{2,3}",,,,,,,[3,4]],,,[,,"112|99[7-9]",,,,"112",,,[3]],[,,,,,,,,,[-1]],,,,"AE",,,,,,,,,,,,,,,,,,[,,"112|99[7-9]",,,,"112",,,[3]],,[,,"112|445[16]|99[7-9]",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"445\\d",,,,"4450",,,[4]]],AF:[,[,,"[14]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"1(?:0[02]|19)",,,,"100",,,[3]],[,,,,,,,,,[-1]],,,,"AF",,,,,,,,,,,,,,,,,,[,,"1(?:0[02]|19)",,,,"100",,,[3]],,[,,"1(?:0[02]|19)|40404",,,,"100"],[,,,,,,,,,[-1]],[,,"404\\d\\d",,,,"40400",,,[5]],,[,,"404\\d\\d",,,,"40400",,,[5]]],AG:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"9(?:11|88|99)",,,,"911"],[,,,,,,,,,[-1]],,,,"AG",,,,,,,,,,,,,,,,,,[,,"9(?:11|99)",,,,"911"],,[,,"176|9(?:11|88|99)",,,,"176"],[,,,,,,,,,[-1]],[,,"176",,,,"176"],,[,,"176",,,,"176"]],AI:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"9(?:11|88)",,,,"911"],[,,,,,,,,,[-1]],,,,"AI",,,,,,,,,,,,,,,,,,[,,"911",,,,"911"],,[,,"176|9(?:11|88)",,,,"176"],[,,,,,,,,,[-1]],[,,"176",,,,"176"],,[,,"176",,,,"176"]],AL:[,[,,"[15]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"1(?:1(?:2|6[01]\\d\\d)|2[7-9]|3[15]|41)",,,,"112",,,[3,6]],[,,"5\\d{4}",,,,"50000",,,[5]],,,,"AL",,,,,,,,,,,,,,,,,,[,,"1(?:12|2[7-9])",,,,"112",,,[3]],,[,,"1(?:1(?:6(?:000|1(?:06|11|23))|8\\d\\d)|65\\d|89[12])|5\\d{4}|1(?:[1349]\\d|2[2-9])",,,,"110"],[,,,,,,,,,[-1]],[,,"123",,,,"123",,,[3]],,[,,"131|5\\d{4}",,,,"131",,,[3,5]]],AM:[,[,,"[148]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"10[1-3]",,,,"101",,,[3]],[,,,,,,,,,[-1]],,,,"AM",,,,,,,,,,,,,,,,,,[,,"10[1-3]",,,,"101",,,[3]],,[,,"(?:1|8[1-7])\\d\\d|40404",,,,"100"],[,,,,,,,,,[-1]],[,,"404\\d\\d",,,,"40400",,,[5]],,[,,"404\\d\\d",,,,"40400",,,[5]]],AO:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"11[235]",,,,"112"],[,,,,,,,,,[-1]],,,,"AO",,,,,,,,,,,,,,,,,,[,,"11[235]",,,,"112"],,[,,"11[235]",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],AR:[,[,,"[01389]\\d{1,4}",,,,,,,[2,3,4,5]],,,[,,"000|1(?:0[0-35-7]|1[0245]|2[015]|3[47]|4[478]|9)|911",,,,"19",,,[2,3]],[,,,,,,,,,[-1]],,,,"AR",,,,,,,,,,,,,,,,,,[,,"10[017]|911",,,,"100",,,[3]],,[,,"000|1(?:0[0-35-7]|1[02-5]|2[015]|3[47]|4[478]|9)|3372|89338|911",,,,"19"],[,,,,,,,,,[-1]],[,,"893\\d\\d",,,,"89300",,,[5]],,[,,"(?:337|893\\d)\\d",,,,"3370",,,[4,5]]],AS:[,[,,"[49]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"9(?:11|88)",,,,"911",,,[3]],[,,,,,,,,,[-1]],,,,"AS",,,,,,,,,,,,,,,,,,[,,"911",,,,"911",,,[3]],,[,,"40404|9(?:11|88)",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"404\\d\\d",,,,"40400",,,[5]]],AT:[,[,,"[1268]\\d\\d(?:\\d(?:\\d{2})?)?",,,,,,,[3,4,6]],,,[,,"1(?:12|2[0238]|3[03]|4[0-247])|1(?:16\\d\\d|4[58])\\d",,,,"112"],[,,,,,,,,,[-1]],,,,"AT",,,,,,,,,,,,,,,,,,[,,"1(?:[12]2|33|44)",,,,"112",,,[3]],,[,,"1(?:1(?:2|6(?:00[06]|1(?:17|23)))|2[0238]|3[03]|4(?:[0-247]|5[05]|84))|(?:220|61|8108[1-3])0",,,,"112"],[,,,,,,,,,[-1]],[,,"(?:220|810\\d\\d)\\d|610",,,,"610"],,[,,,,,,,,,[-1]]],AU:[,[,,"[0-27]\\d{2,7}",,,,,,,[3,4,5,6,7,8]],,,[,,"000|1(?:06|12|258885|55\\d)|733",,,,"000",,,[3,4,7]],[,,"1(?:2(?:34|456)|9\\d{4,6})",,,,"1234",,,[4,5,6,7,8]],,,,"AU",,,,,,,,,,,,,,,,,,[,,"000|1(?:06|12)",,,,"000",,,[3]],,[,,"000|1(?:06|1(?:00|2|9[46])|2(?:014[1-3]|[23]\\d|(?:4|5\\d)\\d{2,3}|68[689]|72(?:20|3\\d\\d)|8(?:[013-9]\\d|2))|555|9\\d{4,6})|225|7(?:33|67)",,,,"000"],[,,"1(?:1[09]\\d|24733)|225|767",,,,"225",,,[3,4,6]],[,,"1(?:258885|55\\d)",,,,"1550",,,[4,7]],,[,,"19\\d{4,6}",,,,"190000",,,[6,7,8]]],AW:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"100|911",,,,"100"],[,,,,,,,,,[-1]],,,,"AW",,,,,,,,,,,,,,,,,,[,,"100|911",,,,"100"],,[,,"1(?:00|18|76)|91[13]",,,,"100"],[,,,,,,,,,[-1]],[,,"176",,,,"176"],,[,,"176",,,,"176"]],AX:[,[,,"[17]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"112",,,,"112",,,[3]],[,,,,,,,,,[-1]],,,,"AX",,,,,,,,,,,,,,,,,,[,,"112",,,,"112",,,[3]],,[,,"112|75[12]\\d\\d",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],AZ:[,[,,"[148]\\d{2,3}",,,,,,,[3,4]],,,[,,"1(?:0[1-3]|12)",,,,"101",,,[3]],[,,,,,,,,,[-1]],,,,"AZ",,,,,,,,,,,,,,,,,,[,,"1(?:0[1-3]|12)",,,,"101",,,[3]],,[,,"1(?:0[1-3]|12)|(?:404|880)0",,,,"101"],[,,,,,,,,,[-1]],[,,"(?:404|880)\\d",,,,"4040",,,[4]],,[,,"(?:404|880)\\d",,,,"4040",,,[4]]],BA:[,[,,"1\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"1(?:16\\d{3}|2[2-4])",,,,"122",,,[3,6]],[,,,,,,,,,[-1]],,,,"BA",,,,,,,,,,,,,,,,,,[,,"12[2-4]",,,,"122",,,[3]],,[,,"1(?:16(?:00[06]|1(?:1[17]|23))|2(?:0[0-7]|[2-5]|6[0-26])|(?:[3-5]|7\\d)\\d\\d)|1(?:18|2[78])\\d\\d?",,,,"122"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],BB:[,[,,"[2-689]\\d\\d",,,,,,,[3]],,,[,,"988|[2359]11",,,,"211"],[,,,,,,,,,[-1]],,,,"BB",,,,,,,,,,,,,,,,,,[,,"[2359]11",,,,"211"],,[,,"988|[2-689]11",,,,"211"],[,,,,,,,,,[-1]],[,,"[468]11",,,,"411"],,[,,,,,,,,,[-1]]],BD:[,[,,"[1579]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"10[0-26]|[19]99",,,,"100",,,[3]],[,,,,,,,,,[-1]],,,,"BD",,,,,,,,,,,,,,,,,,[,,"10[0-2]|[19]99",,,,"100",,,[3]],,[,,"1(?:0(?:[0-369]|5[1-4]|7[0-4]|8[0-29])|1[16-9]|2(?:[134]|2[0-5])|3(?:1\\d?|6[3-6])|5[2-9])|5012|786|9594|[19]99|1(?:0(?:50|6\\d)|33|4(?:0|1\\d))\\d",,,,"100"],[,,,,,,,,,[-1]],[,,"1(?:11|2[13])|(?:501|959)\\d|786",,,,"111",,,[3,4]],,[,,"959\\d",,,,"9590",,,[4]]],BE:[,[,,"[1-9]\\d\\d(?:\\d(?:\\d{2})?)?",,,,,,,[3,4,6]],,,[,,"1(?:0[0-35-8]|1[0269]|7(?:12|77)|813)|(?:116|8)\\d{3}",,,,"100"],[,,"1(?:2[03]|40)4|(?:1(?:[24]1|3[01])|[2-79]\\d\\d)\\d",,,,"1204",,,[4]],,,,"BE",,,,,,,,,,,,,,,,,,[,,"1(?:0[01]|12)",,,,"100",,,[3]],,[,,"1(?:0[0-8]|16117|2(?:12|3[0-24])|313|414|5(?:1[05]|5[15]|66|95)|6(?:1[167]|36|6[16])|7(?:[07][017]|1[27-9]|22|33|65)|81[39])|[2-9]\\d{3}|11[02679]|1(?:1600|45)0|1(?:[2-4]9|78)9|1[2-4]0[47]",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"[2-9]\\d{3}",,,,"2000",,,[4]]],BF:[,[,,"1\\d",,,,,,,[2]],,,[,,"1[78]",,,,"17"],[,,,,,,,,,[-1]],,,,"BF",,,,,,,,,,,,,,,,,,[,,"1[78]",,,,"17"],,[,,"1[78]",,,,"17"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],BG:[,[,,"1\\d\\d(?:\\d{3})?",,,,,,,[3,6]],,,[,,"1(?:1(?:2|6\\d{3})|50|6[06])",,,,"112"],[,,,,,,,,,[-1]],,,,"BG",,,,,,,,,,,,,,,,,,[,,"1(?:12|50|6[06])",,,,"112",,,[3]],,[,,"1(?:1(?:2|6(?:000|111))|50|6[06])",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],BH:[,[,,"[0189]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"(?:0[167]|81)\\d{3}|[19]99",,,,"199"],[,,"9[148]\\d{3}",,,,"91000",,,[5]],,,,"BH",,,,,,,,,,,,,,,,,,[,,"[19]99",,,,"199",,,[3]],,[,,"1(?:[02]\\d|12|4[01]|51|8[18]|9[169])|99[02489]|(?:0[167]|8[158]|9[148])\\d{3}",,,,"100"],[,,,,,,,,,[-1]],[,,"0[67]\\d{3}|88000|98555",,,,"06000",,,[5]],,[,,"88000|98555",,,,"88000",,,[5]]],BI:[,[,,"[16-9]\\d{2,3}",,,,,,,[3,4]],,,[,,"11[237]|611",,,,"112",,,[3]],[,,,,,,,,,[-1]],,,,"BI",,,,,,,,,,,,,,,,,,[,,"11[237]",,,,"112",,,[3]],,[,,"1(?:1\\d|5[2-9]|6[0-256])|611|7(?:10|77|979)|8[28]8|900",,,,"110"],[,,,,,,,,,[-1]],[,,"611|7(?:10|77)|888|900",,,,"611",,,[3]],,[,,"(?:71|90)0",,,,"710",,,[3]]],BJ:[,[,,"[17]\\d{2,3}",,,,,,,[3,4]],,,[,,"11[78]|7[3-5]\\d\\d",,,,"117"],[,,,,,,,,,[-1]],,,,"BJ",,,,,,,,,,,,,,,,,,[,,"11[78]",,,,"117",,,[3]],,[,,"1(?:1[78]|2[02-5]|60)|7[0-5]\\d\\d",,,,"117"],[,,,,,,,,,[-1]],[,,"12[02-5]",,,,"120",,,[3]],,[,,,,,,,,,[-1]]],BL:[,[,,"1\\d",,,,,,,[2]],,,[,,"18",,,,"18"],[,,,,,,,,,[-1]],,,,"BL",,,,,,,,,,,,,,,,,,[,,"18",,,,"18"],,[,,"18",,,,"18"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],BM:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"9(?:11|88)",,,,"911"],[,,,,,,,,,[-1]],,,,"BM",,,,,,,,,,,,,,,,,,[,,"911",,,,"911"],,[,,"176|9(?:11|88)",,,,"176"],[,,,,,,,,,[-1]],[,,"176",,,,"176"],,[,,"176",,,,"176"]],BN:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"99[135]",,,,"991"],[,,,,,,,,,[-1]],,,,"BN",,,,,,,,,,,,,,,,,,[,,"99[135]",,,,"991"],,[,,"99[135]",,,,"991"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],BO:[,[,,"[14]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"11[089]",,,,"110",,,[3]],[,,,,,,,,,[-1]],,,,"BO",,,,,,,,,,,,,,,,,,[,,"11[089]",,,,"110",,,[3]],,[,,"11[089]|40404",,,,"110"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"404\\d\\d",,,,"40400",,,[5]]],BQ:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"112|911",,,,"112"],[,,,,,,,,,[-1]],,,,"BQ",,,,,,,,,,,,,,,,,,[,,"112|911",,,,"112"],,[,,"1(?:12|76)|911",,,,"112"],[,,,,,,,,,[-1]],[,,"176",,,,"176"],,[,,"176",,,,"176"]],BR:[,[,,"[1-69]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"1(?:00|12|28|8[015]|9[0-47-9])|4(?:57|82\\d)|911",,,,"100",,,[3,4]],[,,,,,,,,,[-1]],,,,"BR",,,,,,,,,,,,,,,,,,[,,"1(?:12|28|9[023])|911",,,,"112",,,[3]],,[,,"1(?:0(?:[02]|3(?:1[2-579]|2[13-9]|3[124-9]|4[1-3578]|5[1-468]|6[139]|8[149]|9[168])|5[0-35-9]|6(?:0|1[0-35-8]?|2[0145]|3[0137]?|4[37-9]?|5[0-35]|6[016]?|7[137]?|8[5-8]|9[1359]))|1[25-8]|2[357-9]|3[024-68]|4[12568]|5\\d|6[0-8]|8[015]|9[0-47-9])|2(?:7(?:330|878)|85959?)|(?:32|91)1|4(?:0404?|57|828)|55555|6(?:0\\d{4}|10000)|(?:133|411)[12]",,,,"100"],[,,"102|273\\d\\d|321",,,,"102",,,[3,5]],[,,"151|(?:278|555)\\d\\d|4(?:04\\d\\d?|11\\d|57)",,,,"151",,,[3,4,5]],,[,,"285\\d{2,3}|321|40404|(?:27[38]\\d|482)\\d|6(?:0\\d|10)\\d{3}",,,,"321"]],BS:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"9(?:1[19]|88)",,,,"911"],[,,,,,,,,,[-1]],,,,"BS",,,,,,,,,,,,,,,,,,[,,"91[19]",,,,"911"],,[,,"9(?:1[19]|88)",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],BT:[,[,,"[14]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"11[023]",,,,"110",,,[3]],[,,,,,,,,,[-1]],,,,"BT",,,,,,,,,,,,,,,,,,[,,"11[023]",,,,"110",,,[3]],,[,,"11[0-6]|40404",,,,"110"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"404\\d\\d",,,,"40400",,,[5]]],BW:[,[,,"[19]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"9(?:11|9[7-9])",,,,"911",,,[3]],[,,,,,,,,,[-1]],,,,"BW",,,,,,,,,,,,,,,,,,[,,"9(?:11|9[7-9])",,,,"911",,,[3]],,[,,"1(?:1[26]|3123)|9(?:1[14]|9[1-57-9])",,,,"112"],[,,,,,,,,,[-1]],[,,"131\\d\\d",,,,"13100",,,[5]],,[,,"131\\d\\d",,,,"13100",,,[5]]],BY:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"1(?:0[1-3]|12)",,,,"101"],[,,,,,,,,,[-1]],,,,"BY",,,,,,,,,,,,,,,,,,[,,"1(?:0[1-3]|12)",,,,"101"],,[,,"1(?:0[1-79]|1[246]|35|5[1-35]|6[89]|7[5-7]|8[58]|9[1-7])",,,,"101"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],BZ:[,[,,"9\\d\\d?",,,,,,,[2,3]],,,[,,"9(?:0|11|22|66|77|9[09])",,,,"90"],[,,,,,,,,,[-1]],,,,"BZ",,,,,,,,,,,,,,,,,,[,,"9(?:0|11|90)",,,,"90"],,[,,"9(?:0|11|22|66|77|9[09])",,,,"90"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],CA:[,[,,"[1-9]\\d\\d(?:\\d\\d(?:\\d(?:\\d{2})?)?)?",,,,,,,[3,5,6,8]],,,[,,"112|988|[29]11",,,,"112",,,[3]],[,,,,,,,,,[-1]],,,,"CA",,,,,,,,,,,,,,,,,,[,,"112|911",,,,"112",,,[3]],,[,,"112|30000\\d{3}|[1-35-9]\\d{4,5}|[2-8]11|9(?:11|88)",,,,"112"],[,,,,,,,,,[-1]],[,,"[235-7]11",,,,"211",,,[3]],,[,,"300\\d{5}|[1-35-9]\\d{4,5}",,,,"10000",,,[5,6,8]]],CC:[,[,,"[01]\\d\\d",,,,,,,[3]],,,[,,"000|112",,,,"000"],[,,,,,,,,,[-1]],,,,"CC",,,,,,,,,,,,,,,,,,[,,"000|112",,,,"000"],,[,,"000|112",,,,"000"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],CD:[,[,,"[14]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"1(?:1[348]|77|88)",,,,"113",,,[3]],[,,,,,,,,,[-1]],,,,"CD",,,,,,,,,,,,,,,,,,[,,"1(?:1[348]|77|88)",,,,"113",,,[3]],,[,,"1(?:1[348]|23|77|88)|40404",,,,"113"],[,,,,,,,,,[-1]],[,,"404\\d\\d",,,,"40400",,,[5]],,[,,"404\\d\\d",,,,"40400",,,[5]]],CF:[,[,,"1\\d{2,3}",,,,,,,[3,4]],,,[,,"1(?:1[78]|22\\d)",,,,"117"],[,,,,,,,,,[-1]],,,,"CF",,,,,,,,,,,,,,,,,,[,,"1(?:1[78]|220)",,,,"117"],,[,,"1(?:1[478]|220)",,,,"114"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],CG:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"11[178]",,,,"111"],[,,,,,,,,,[-1]],,,,"CG",,,,,,,,,,,,,,,,,,[,,"11[78]",,,,"117"],,[,,"11[126-8]",,,,"111"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],CH:[,[,,"[1-9]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"1(?:1(?:[278]|6\\d{3})|4[47])|5200",,,,"112",,,[3,4,6]],[,,"1(?:14|8[0-2589])\\d|543|83111",,,,"543",,,[3,4,5]],,,,"CH",,,,,,,,,,,,,,,,,,[,,"1(?:1[278]|44)",,,,"112",,,[3]],,[,,"1(?:0[78]\\d\\d|1(?:[278]|45|6(?:000|111))|4(?:[03-57]|1[0145])|6(?:00|[1-46])|8(?:02|1[189]|[25]0|7|8[08]|99))|[2-9]\\d{2,4}",,,,"112"],[,,"1(?:4[035]|6[1-46])|1(?:41|60)\\d",,,,"140",,,[3,4]],[,,"5(?:200|35)",,,,"535",,,[3,4]],,[,,"[2-9]\\d{2,4}",,,,"200",,,[3,4,5]]],CI:[,[,,"[14]\\d{2,3}",,,,,,,[3,4]],,,[,,"1(?:1[01]|[78]0)",,,,"110",,,[3]],[,,,,,,,,,[-1]],,,,"CI",,,,,,,,,,,,,,,,,,[,,"1(?:1[01]|[78]0)",,,,"110",,,[3]],,[,,"1(?:1[01]|[78]0)|4443",,,,"110"],[,,,,,,,,,[-1]],[,,"444\\d",,,,"4440",,,[4]],,[,,"444\\d",,,,"4440",,,[4]]],CK:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"99[689]",,,,"996"],[,,,,,,,,,[-1]],,,,"CK",,,,,,,,,,,,,,,,,,[,,"99[689]",,,,"996"],,[,,"99[689]",,,,"996"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],CL:[,[,,"[1-9]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"1(?:213|3[1-3])|434\\d|911",,,,"131",,,[3,4]],[,,"1(?:211|3(?:13|[348]0|5[01]))|(?:1(?:[05]6|[48]1|9[18])|2(?:01\\d|[23]2|77|88)|3(?:0[59]|13|3[279]|66)|4(?:[12]4|36\\d|4[017]|55)|5(?:00|41\\d|5[67]|99)|6(?:07\\d|13|22|3[06]|50|69)|787|8(?:[01]1|[48]8)|9(?:01|[12]0|33))\\d",,,,"1060",,,[4,5]],,,,"CL",,,,,,,,,,,,,,,,,,[,,"13[1-3]|911",,,,"131",,,[3]],,[,,"1(?:00|21[13]|3(?:13|[348]0|5[01])|4(?:0[02-6]|17|[379])|818|919)|2(?:0(?:01|122)|22[47]|323|777|882)|3(?:0(?:51|99)|132|3(?:29|[37]7)|665)|43656|5(?:(?:00|415)4|5(?:66|77)|995)|6(?:131|222|366|699)|7878|8(?:011|11[28]|482|889)|9(?:01|1)1|13\\d|4(?:[13]42|243|4(?:02|15|77)|554)|(?:1(?:[05]6|98)|339|6(?:07|[35])0|9(?:[12]0|33))0",,,,"100"],[,,"(?:200|333)\\d",,,,"2000",,,[4]],[,,,,,,,,,[-1]],,[,,"13(?:13|[348]0|5[01])|(?:1(?:[05]6|[28]1|4[01]|9[18])|2(?:0(?:0|1\\d)|[23]2|77|88)|3(?:0[59]|13|3[2379]|66)|436\\d|5(?:00|41\\d|5[67]|99)|6(?:07\\d|13|22|3[06]|50|69)|787|8(?:[01]1|[48]8)|9(?:01|[12]0|33))\\d|4(?:[1-3]4|4[017]|55)\\d",,,,"1060",,,[4,5]]],CM:[,[,,"[18]\\d{1,3}",,,,,,,[2,3,4]],,,[,,"1(?:1[37]|[37])",,,,"13",,,[2,3]],[,,,,,,,,,[-1]],,,,"CM",,,,,,,,,,,,,,,,,,[,,"1(?:1[37]|[37])",,,,"13",,,[2,3]],,[,,"1(?:1[37]|[37])|8711",,,,"13"],[,,,,,,,,,[-1]],[,,"871\\d",,,,"8710",,,[4]],,[,,"871\\d",,,,"8710",,,[4]]],CN:[,[,,"[19]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"1(?:1[09]|2(?:[02]|1\\d\\d|395))",,,,"110",,,[3,5]],[,,,,,,,,,[-1]],,,,"CN",,,,,,,,,,,,,,,,,,[,,"1(?:1[09]|20)",,,,"110",,,[3]],,[,,"1(?:00|1[0249]|2395|6[08])|9[56]\\d{3,4}|12[023]|1(?:0(?:[0-26]\\d|8)|21\\d)\\d",,,,"100"],[,,"1(?:0(?:[0-26]\\d|8)\\d|1[24]|23|6[08])|9[56]\\d{3,4}|100",,,,"100"],[,,,,,,,,,[-1]],,[,,"12110",,,,"12110",,,[5]]],CO:[,[,,"[1-589]\\d\\d(?:\\d{2,3})?",,,,,,,[3,5,6]],,,[,,"1(?:1[29]|23|32|56)",,,,"112",,,[3]],[,,,,,,,,,[-1]],,,,"CO",,,,,,,,,,,,,,,,,,[,,"1(?:1[29]|23|32|56)",,,,"112",,,[3]],,[,,"1(?:06|1[2-9]|2[35-7]|3[27]|4[467]|5[36]|6[4-7]|95)|(?:29002|39003)9|40404|5930\\d\\d|85432|(?:[2359][57]|8(?:7|9\\d))\\d{3}",,,,"106"],[,,,,,,,,,[-1]],[,,"(?:40|85)4\\d\\d",,,,"40400",,,[5]],,[,,"(?:40|85)4\\d\\d",,,,"40400",,,[5]]],CR:[,[,,"[1359]\\d{2,3}",,,,,,,[3,4]],,,[,,"112|911",,,,"112",,,[3]],[,,,,,,,,,[-1]],,,,"CR",,,,,,,,,,,,,,,,,,[,,"112|911",,,,"112",,,[3]],,[,,"1(?:0(?:00|15|2[2-4679])|1(?:1[0-35-9]|2|37|[46]6|7[57]|8[79]|9[0-379])|2(?:00|[12]2|34|55)|3(?:21|33)|4(?:0[06]|1[4-6])|5(?:15|5[15])|693|7(?:00|1[7-9]|2[02]|[67]7)|975)|3855|5(?:0(?:30|49)|510)|911",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"(?:385|5(?:0[34]|51))\\d",,,,"3850",,,[4]]],CU:[,[,,"[12]\\d\\d(?:\\d{3,4})?",,,,,,,[3,6,7]],,,[,,"10[4-7]|(?:116|204\\d)\\d{3}",,,,"104"],[,,,,,,,,,[-1]],,,,"CU",,,,,,,,,,,,,,,,,,[,,"10[4-6]",,,,"104",,,[3]],,[,,"1(?:0[4-7]|1(?:6111|8)|40)|2045252",,,,"104"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],CV:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"13[0-2]",,,,"130"],[,,,,,,,,,[-1]],,,,"CV",,,,,,,,,,,,,,,,,,[,,"13[0-2]",,,,"130"],,[,,"13[0-2]",,,,"130"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],CW:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"112|911",,,,"112"],[,,,,,,,,,[-1]],,,,"CW",,,,,,,,,,,,,,,,,,[,,"112|911",,,,"112"],,[,,"1(?:12|76)|911",,,,"112"],[,,,,,,,,,[-1]],[,,"176",,,,"176"],,[,,"176",,,,"176"]],CX:[,[,,"[01]\\d\\d",,,,,,,[3]],,,[,,"000|112",,,,"000"],[,,,,,,,,,[-1]],,,,"CX",,,,,,,,,,,,,,,,,,[,,"000|112",,,,"000"],,[,,"000|112",,,,"000"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],CY:[,[,,"1\\d\\d(?:\\d{3})?",,,,,,,[3,6]],,,[,,"1(?:1(?:2|6\\d{3})|99)",,,,"112"],[,,,,,,,,,[-1]],,,,"CY",,,,,,,,,,,,,,,,,,[,,"1(?:12|99)",,,,"112",,,[3]],,[,,"1(?:1(?:2|6(?:000|111))|99)",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],CZ:[,[,,"1\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"1(?:1(?:2|6(?:00[06]|1(?:11|23)))|5\\d)",,,,"112",,,[3,6]],[,,,,,,,,,[-1]],,,,"CZ",,,,,,,,,,,,,,,,,,[,,"1(?:12|5\\d)",,,,"112",,,[3]],,[,,"1(?:1(?:2|8\\d)|(?:2|3\\d)\\d{2,3}|5\\d|99)|1(?:16|4)\\d{3}",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],DE:[,[,,"[13]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"11(?:[02]|6\\d{3})",,,,"110",,,[3,6]],[,,,,,,,,,[-1]],,,,"DE",,,,,,,,,,,,,,,,,,[,,"11[02]",,,,"110",,,[3]],,[,,"11(?:[025]|6(?:00[06]|1(?:1[167]|23))|800\\d)|3311|118\\d\\d",,,,"110"],[,,,,,,,,,[-1]],[,,"331\\d",,,,"3310",,,[4]],,[,,,,,,,,,[-1]]],DJ:[,[,,"1\\d",,,,,,,[2]],,,[,,"1[78]",,,,"17"],[,,,,,,,,,[-1]],,,,"DJ",,,,,,,,,,,,,,,,,,[,,"1[78]",,,,"17"],,[,,"1[78]",,,,"17"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],DK:[,[,,"1\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"11(?:[24]|6\\d{3})",,,,"112",,,[3,6]],[,,,,,,,,,[-1]],,,,"DK",,,,,,,,,,,,,,,,,,[,,"11[24]",,,,"112",,,[3]],,[,,"1(?:1(?:[2-48]|6(?:00[06]|111))|619[0-2]|8(?:01|1[0238]|28|30|5[13]|8[18]))",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],DM:[,[,,"[39]\\d\\d",,,,,,,[3]],,,[,,"333|9(?:11|88|99)",,,,"333"],[,,,,,,,,,[-1]],,,,"DM",,,,,,,,,,,,,,,,,,[,,"333|9(?:11|99)",,,,"333"],,[,,"333|9(?:11|88|99)",,,,"333"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],DO:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"112|9(?:11|88)",,,,"112"],[,,,,,,,,,[-1]],,,,"DO",,,,,,,,,,,,,,,,,,[,,"112|911",,,,"112"],,[,,"112|9(?:11|88)",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],DZ:[,[,,"[17]\\d{1,3}",,,,,,,[2,3,4]],,,[,,"1(?:12|[47]|54\\d)",,,,"14"],[,,,,,,,,,[-1]],,,,"DZ",,,,,,,,,,,,,,,,,,[,,"1(?:12|[47])",,,,"14",,,[2,3]],,[,,"1(?:055|12|[47]|548)|730",,,,"14"],[,,,,,,,,,[-1]],[,,"730",,,,"730",,,[3]],,[,,"730",,,,"730",,,[3]]],EC:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"1(?:0[12]|12)|911",,,,"101"],[,,,,,,,,,[-1]],,,,"EC",,,,,,,,,,,,,,,,,,[,,"1(?:0[12]|12)|911",,,,"101"],,[,,"1(?:0[12]|12)|911",,,,"101"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],EE:[,[,,"1\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"1(?:1(?:[02]|6\\d{3})|2(?:05|28)|3(?:014|3(?:21|5\\d?)|660)|492|5(?:1[03]|410|501)|6(?:112|333|644)|7(?:012|127|89)|8(?:10|8[57])|9(?:0[134]|14))",,,,"110"],[,,"1(?:18(?:00|[12458]\\d?)|2(?:0(?:[02-46-8]\\d?|1[0-36])|1(?:[0-4]\\d?|6[06])|2(?:[0-4]\\d?|5[25])|[367]|4(?:0[04]|[12]\\d?|4[24]|54)|55[12457])|3(?:0(?:[02]\\d?|1[13578]|3[356])|1[1347]|2[02-5]|3(?:[01347]\\d?|2[023]|88)|4(?:[35]\\d?|4[34])|5(?:3[134]|5[035])|666)|4(?:2(?:00|4\\d?)|4(?:0[01358]|1[024]|50|7\\d?)|900)|5(?:0[0-35]|1(?:[1267]\\d?|5[0-7]|82)|2(?:[014-6]\\d?|22)|330|4(?:[35]\\d?|44)|5(?:00|[1-69]\\d?)|9(?:[159]\\d?|[38]0|77))|6(?:1(?:00|1[19]|[35-9]\\d?)|2(?:2[26]|[68]\\d?)|3(?:22|36|6[36])|5|6(?:[0-359]\\d?|6[0-26])|7(?:00|55|7\\d?|8[89])|9(?:00|1\\d?|69))|7(?:0(?:[023]\\d?|1[0578])|1(?:00|2[034]|[4-9]\\d?)|2(?:[07]\\d?|20|44)|7(?:[0-57]\\d?|9[79])|8(?:0[08]|2\\d?|8[0178])|9(?:00|97))|8(?:1[127]|8[1268]|9[269])|9(?:0(?:[02]\\d?|69|9[0269])|1[1-3689]|21))",,,,"123",,,[3,4,5]],,,,"EE",,,,,,,,,,,,,,,,,,[,,"11[02]",,,,"110",,,[3]],,[,,"1(?:1(?:[02-579]|6(?:000|111)|8(?:[09]\\d|[1-8]))|2[36-9]|3[7-9]|4[05-7]|5[6-8]|6[05]|7[3-6]|8[02-7]|9[3-9])|1(?:2[0-245]|3[0-6]|4[1-489]|5[0-59]|6[1-46-9]|7[0-27-9]|8[189]|9[0-2])\\d\\d?",,,,"110"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"1(?:18[1258]|2(?:0(?:1[036]|[46]\\d?)|166|21|4(?:0[04]|1\\d?|5[47])|[67])|3(?:0(?:1[13-578]|2\\d?|3[56])|1[15]|2[045]|3(?:[13]\\d?|2[13])|43|5(?:00|3[34]|53))|44(?:0[0135]|14|50|7\\d?)|5(?:05|1(?:[12]\\d?|5[1246]|8[12])|2(?:[01]\\d?|22)|3(?:00|3[03])|4(?:15|5\\d?)|500|9(?:5\\d?|77|80))|6(?:1[35-8]|226|3(?:22|3[36]|66)|644|7(?:00|7\\d?|89)|9(?:00|69))|7(?:01[258]|1(?:00|[15]\\d?)|2(?:44|7\\d?)|8(?:00|87|9\\d?))|8(?:1[128]|8[56]|9(?:[26]\\d?|77))|90(?:2\\d?|69|92))",,,,"126",,,[3,4,5]]],EG:[,[,,"[13]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"1(?:2[23]|80)",,,,"122",,,[3]],[,,,,,,,,,[-1]],,,,"EG",,,,,,,,,,,,,,,,,,[,,"1(?:2[23]|80)",,,,"122",,,[3]],,[,,"1(?:2[23]|[679]\\d{3}|80)|34400",,,,"122"],[,,,,,,,,,[-1]],[,,"344\\d\\d",,,,"34400",,,[5]],,[,,"344\\d\\d",,,,"34400",,,[5]]],EH:[,[,,"1\\d\\d?",,,,,,,[2,3]],,,[,,"1(?:[59]|77)",,,,"15"],[,,,,,,,,,[-1]],,,,"EH",,,,,,,,,,,,,,,,,,[,,"1(?:[59]|77)",,,,"15"],,[,,"1(?:[59]|77)",,,,"15"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],ER:[,[,,"[12]\\d\\d(?:\\d{3})?",,,,,,,[3,6]],,,[,,"11[2-46]|(?:12[47]|20[12])\\d{3}",,,,"112"],[,,,,,,,,,[-1]],,,,"ER",,,,,,,,,,,,,,,,,,[,,"1(?:1[2-46]|24422)|20(?:1(?:606|917)|2914)|(?:1277|2020)99",,,,"112"],,[,,"1(?:1[2-6]|24422)|20(?:1(?:606|917)|2914)|(?:1277|2020)99",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],ES:[,[,,"[0-379]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"0(?:16|6[57]|8[58])|1(?:006|12|[3-7]\\d\\d)|(?:116|20\\d)\\d{3}",,,,"016",,,[3,4,6]],[,,"[12]2\\d{1,4}|90(?:5\\d|7)|(?:118|2(?:[357]\\d|80)|3[357]\\d)\\d\\d|[79]9[57]\\d{3}",,,,"120"],,,,"ES",,,,,,,,,,,,,,,,,,[,,"08[58]|112",,,,"085",,,[3]],,[,,"0(?:1[0-26]|6[0-257]|8[058]|9[12])|1(?:0[03-57]\\d{1,3}|1(?:2|6(?:000|111)|8\\d\\d)|2\\d{1,4}|[3-9]\\d\\d)|2(?:2\\d{1,4}|80\\d\\d)|90(?:5[124578]|7)|1(?:3[34]|77)|(?:2[01]\\d|[79]9[57])\\d{3}|[23][357]\\d{3}",,,,"010"],[,,"0(?:[16][0-2]|80|9[12])|21\\d{4}",,,,"010",,,[3,6]],[,,"1(?:3[34]|77)|[12]2\\d{1,4}",,,,"120"],,[,,"(?:2[0-2]\\d|3[357]|[79]9[57])\\d{3}|2(?:[2357]\\d|80)\\d\\d",,,,"22000",,,[5,6]]],ET:[,[,,"9\\d\\d?",,,,,,,[2,3]],,,[,,"9(?:07|11?|2|39?|9[17])",,,,"91"],[,,,,,,,,,[-1]],,,,"ET",,,,,,,,,,,,,,,,,,[,,"9(?:11?|2|39?|9[17])",,,,"91"],,[,,"9(?:07|11?|2|39?|45|9[17])",,,,"91"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],FI:[,[,,"[17]\\d\\d(?:\\d{2,3})?",,,,,,,[3,5,6]],,,[,,"11(?:2|6\\d{3})",,,,"112",,,[3,6]],[,,,,,,,,,[-1]],,,,"FI",,,,,,,,,,,,,,,,,,[,,"112",,,,"112",,,[3]],,[,,"11(?:2|6(?:00[06]|1(?:1[17]|23)))|(?:1[235-8]\\d|75[12])\\d\\d",,,,"112"],[,,"1[235-8]\\d{3}",,,,"12000",,,[5]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],FJ:[,[,,"[0-579]\\d(?:\\d(?:\\d{2})?)?",,,,,,,[2,3,5]],,,[,,"91[17]",,,,"911",,,[3]],[,,,,,,,,,[-1]],,,,"FJ",,,,,,,,,,,,,,,,,,[,,"91[17]",,,,"911",,,[3]],,[,,"0(?:1[34]|8[1-4])|1(?:0[1-3]|[25]9)|2[289]|30|40404|91[137]|[45]4|75",,,,"22"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"404\\d\\d",,,,"40400",,,[5]]],FK:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"999",,,,"999"],[,,,,,,,,,[-1]],,,,"FK",,,,,,,,,,,,,,,,,,[,,"999",,,,"999"],,[,,"1\\d\\d|999",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],FM:[,[,,"[39]\\d\\d(?:\\d{3})?",,,,,,,[3,6]],,,[,,"320\\d{3}|911",,,,"911"],[,,,,,,,,,[-1]],,,,"FM",,,,,,,,,,,,,,,,,,[,,"(?:32022|91)1",,,,"911"],,[,,"(?:32022|91)1",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],FO:[,[,,"1\\d{2,3}",,,,,,,[3,4]],,,[,,"1(?:1[24]|81\\d)",,,,"112"],[,,,,,,,,,[-1]],,,,"FO",,,,,,,,,,,,,,,,,,[,,"11[24]",,,,"112",,,[3]],,[,,"1(?:1[248]|819)|1(?:4[124]|71|8[7-9])\\d",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],FR:[,[,,"[1-8]\\d{1,5}",,,,,,,[2,3,4,5,6]],,,[,,"1(?:1[02459]|[578]|9[167])|224|(?:3370|74)0|(?:116\\d|3[01])\\d\\d",,,,"15"],[,,"(?:1(?:0|18\\d)|366|[4-8]\\d\\d)\\d\\d|3[2-9]\\d\\d",,,,"1000",,,[4,5,6]],,,,"FR",,,,,,,,,,,,,,,,,,[,,"1(?:12|[578])",,,,"15",,,[2,3]],,[,,"1(?:0\\d\\d|1(?:[02459]|6(?:000|111)|8\\d{3})|[578]|9[167])|2(?:0(?:00|2)0|24)|[3-8]\\d{4}|3\\d{3}|6(?:1[14]|34)|7(?:0[06]|22|40)",,,,"15"],[,,"202\\d|6(?:1[14]|34)|70[06]",,,,"611",,,[3,4]],[,,"118777|224|6(?:1[14]|34)|7(?:0[06]|22|40)|20(?:0\\d|2)\\d",,,,"224",,,[3,4,5,6]],,[,,"114|[3-8]\\d{4}",,,,"114",,,[3,5]]],GA:[,[,,"1\\d(?:\\d{2})?",,,,,,,[2,4]],,,[,,"18|1(?:3\\d|73)\\d",,,,"18"],[,,,,,,,,,[-1]],,,,"GA",,,,,,,,,,,,,,,,,,[,,"1(?:3\\d\\d|730|8)",,,,"18"],,[,,"1(?:3\\d\\d|730|8)",,,,"18"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],GB:[,[,,"[1-46-9]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"1(?:05|1(?:[29]|6\\d{3})|7[56]\\d|8000)|2(?:20\\d|48)|4444|999",,,,"105"],[,,,,,,,,,[-1]],,,,"GB",,,,,,,,,,,,,,,,,,[,,"112|999",,,,"112",,,[3]],,[,,"1(?:0[015]|1(?:[129]|6(?:000|1(?:11|23))|8\\d{3})|2(?:[1-3]|50)|33|4(?:1|7\\d)|571|7(?:0\\d|[56]0)|800\\d|9[15])|2(?:0202|1300|2(?:02|11)|3(?:02|336|45)|4(?:25|8))|3[13]3|4(?:0[02]|35[01]|44[45]|5\\d)|(?:[68]\\d|7[089])\\d{3}|15\\d|2[02]2|650|789|9(?:01|99)",,,,"100"],[,,,,,,,,,[-1]],[,,"1(?:(?:25|7[56])\\d|571)|2(?:02(?:\\d{2})?|[13]3\\d\\d|48)|4444|901",,,,"202",,,[3,4,5]],,[,,"(?:125|2(?:020|13\\d)|(?:7[089]|8[01])\\d\\d)\\d",,,,"1250",,,[4,5]]],GD:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"9(?:11|88)",,,,"911"],[,,,,,,,,,[-1]],,,,"GD",,,,,,,,,,,,,,,,,,[,,"911",,,,"911"],,[,,"176|9(?:11|88)",,,,"176"],[,,,,,,,,,[-1]],[,,"176",,,,"176"],,[,,"176",,,,"176"]],GE:[,[,,"[014]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"0(?:11|33)|11[1-3]|[01]22",,,,"011",,,[3]],[,,,,,,,,,[-1]],,,,"GE",,,,,,,,,,,,,,,,,,[,,"0(?:11|33)|11[1-3]|[01]22",,,,"011",,,[3]],,[,,"0(?:11|33)|11[1-3]|40404|[01]22",,,,"011"],[,,,,,,,,,[-1]],[,,"404\\d\\d",,,,"40400",,,[5]],,[,,"404\\d\\d",,,,"40400",,,[5]]],GF:[,[,,"1\\d",,,,,,,[2]],,,[,,"1[578]",,,,"15"],[,,,,,,,,,[-1]],,,,"GF",,,,,,,,,,,,,,,,,,[,,"1[578]",,,,"15"],,[,,"1[578]",,,,"15"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],GG:[,[,,"[19]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"112|999",,,,"112",,,[3]],[,,,,,,,,,[-1]],,,,"GG",,,,,,,,,,,,,,,,,,[,,"112|999",,,,"112",,,[3]],,[,,"1(?:0[01]|1[12]|23|41|55|9[05])|999|1(?:1[68]\\d\\d|47|800)\\d",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],GH:[,[,,"[14589]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"19[1-3]|999",,,,"191",,,[3]],[,,,,,,,,,[-1]],,,,"GH",,,,,,,,,,,,,,,,,,[,,"19[1-3]|999",,,,"191",,,[3]],,[,,"19[1-3]|40404|(?:54|83)00|999",,,,"191"],[,,,,,,,,,[-1]],[,,"404\\d\\d|(?:54|83)0\\d",,,,"5400",,,[4,5]],,[,,"404\\d\\d|(?:54|83)0\\d",,,,"5400",,,[4,5]]],GI:[,[,,"[158]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"1(?:00|1[25]|23|4(?:1|7\\d)|5[15]|9[02-49])|555|(?:116\\d|80)\\d\\d",,,,"100",,,[3,4,6]],[,,"8[1-69]\\d\\d",,,,"8100",,,[4]],,,,"GI",,,,,,,,,,,,,,,,,,[,,"1(?:12|9[09])",,,,"112",,,[3]],,[,,"1(?:00|1(?:[25]|6(?:00[06]|1(?:1[17]|23))|8\\d\\d)|23|4(?:1|7[014])|5[015]|9[02-49])|555|8[0-79]\\d\\d|8(?:00|4[0-2]|8[0-589])",,,,"100"],[,,"150|87\\d\\d",,,,"150",,,[3,4]],[,,"1(?:00|1(?:5|8\\d\\d)|23|51|9[2-4])|555|8(?:00|4[0-2]|8[0-589])",,,,"100",,,[3,5]],,[,,,,,,,,,[-1]]],GL:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"112",,,,"112"],[,,,,,,,,,[-1]],,,,"GL",,,,,,,,,,,,,,,,,,[,,"112",,,,"112"],,[,,"1[1-8]\\d",,,,"110"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],GM:[,[,,"1\\d\\d?",,,,,,,[2,3]],,,[,,"1(?:1[6-8]|[6-8])",,,,"16"],[,,,,,,,,,[-1]],,,,"GM",,,,,,,,,,,,,,,,,,[,,"1(?:1[6-8]|[6-8])",,,,"16"],,[,,"1(?:1[6-8]|[6-8])",,,,"16"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],GN:[,[,,"[14]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,,"GN",,,,,,,,,,,,,,,,,,[,,,,,,,,,[-1]],,[,,"12\\d|40404",,,,"120"],[,,,,,,,,,[-1]],[,,"404\\d\\d",,,,"40400",,,[5]],,[,,"404\\d\\d",,,,"40400",,,[5]]],GP:[,[,,"1\\d",,,,,,,[2]],,,[,,"1[578]",,,,"15"],[,,,,,,,,,[-1]],,,,"GP",,,,,,,,,,,,,,,,,,[,,"1[578]",,,,"15"],,[,,"1[578]",,,,"15"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],GR:[,[,,"1\\d\\d(?:\\d{2,3})?",,,,,,,[3,5,6]],,,[,,"1(?:0[089]|1(?:2|6\\d{3})|66|99)",,,,"100",,,[3,6]],[,,,,,,,,,[-1]],,,,"GR",,,,,,,,,,,,,,,,,,[,,"1(?:00|12|66|99)",,,,"100",,,[3]],,[,,"1(?:0[089]|1(?:2|320|6(?:000|1(?:1[17]|23)))|(?:389|9)9|66)",,,,"100"],[,,"113\\d\\d",,,,"11300",,,[5]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],GT:[,[,,"[14]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"1(?:10|2[03])",,,,"110",,,[3]],[,,,,,,,,,[-1]],,,,"GT",,,,,,,,,,,,,,,,,,[,,"1(?:10|2[03])",,,,"110",,,[3]],,[,,"110|40404|1(?:2|[57]\\d)\\d",,,,"110"],[,,,,,,,,,[-1]],[,,"404\\d\\d",,,,"40400",,,[5]],,[,,"404\\d\\d",,,,"40400",,,[5]]],GU:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"9(?:11|88)",,,,"911"],[,,,,,,,,,[-1]],,,,"GU",,,,,,,,,,,,,,,,,,[,,"911",,,,"911"],,[,,"9(?:11|88)",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],GW:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"11[378]",,,,"113"],[,,,,,,,,,[-1]],,,,"GW",,,,,,,,,,,,,,,,,,[,,"11[378]",,,,"113"],,[,,"11[378]",,,,"113"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],GY:[,[,,"[019]\\d{2,3}",,,,,,,[3,4]],,,[,,"91[1-3]",,,,"911",,,[3]],[,,,,,,,,,[-1]],,,,"GY",,,,,,,,,,,,,,,,,,[,,"91[1-3]",,,,"911",,,[3]],,[,,"0(?:02|(?:17|80)1|444|7(?:[67]7|9)|9(?:0[78]|[2-47]))|1(?:443|5[568])|91[1-3]",,,,"002"],[,,,,,,,,,[-1]],[,,"144\\d",,,,"1440",,,[4]],,[,,"144\\d",,,,"1440",,,[4]]],HK:[,[,,"[19]\\d{2,6}",,,,,,,[3,4,5,6,7]],,,[,,"112|99[29]",,,,"112",,,[3]],[,,,,,,,,,[-1]],,,,"HK",,,,,,,,,,,,,,,,,,[,,"112|99[29]",,,,"112",,,[3]],,[,,"1(?:0(?:(?:[0136]\\d|2[14])\\d{0,3}|8[138])|12|2(?:[0-3]\\d{0,4}|(?:58|8[13])\\d{0,3})|7(?:[135-9]\\d{0,4}|219\\d{0,2})|8(?:0(?:(?:[13]|60\\d)\\d|8)|1(?:0\\d|[2-8])|2(?:0[5-9]|(?:18|2)2|3|8[128])|(?:(?:3[0-689]\\d|7(?:2[1-389]|8[0235-9]|93))\\d|8)\\d|50[138]|6(?:1(?:11|86)|8)))|99[29]|10[0139]",,,,"100"],[,,,,,,,,,[-1]],[,,"109|1(?:08|85\\d)\\d",,,,"109",,,[3,4,5]],,[,,"992",,,,"992",,,[3]]],HN:[,[,,"[14]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"199",,,,"199",,,[3]],[,,,,,,,,,[-1]],,,,"HN",,,,,,,,,,,,,,,,,,[,,"199",,,,"199",,,[3]],,[,,"199|40404",,,,"199"],[,,,,,,,,,[-1]],[,,"404\\d\\d",,,,"40400",,,[5]],,[,,"404\\d\\d",,,,"40400",,,[5]]],HR:[,[,,"[19]\\d{1,5}",,,,,,,[2,3,4,5,6]],,,[,,"1(?:12|9[2-4])|9[34]|1(?:16\\d|39)\\d\\d",,,,"93",,,[2,3,5,6]],[,,"118\\d\\d",,,,"11800",,,[5]],,,,"HR",,,,,,,,,,,,,,,,,,[,,"1(?:12|9[2-4])|9[34]",,,,"93",,,[2,3]],,[,,"1(?:1(?:2|6(?:00[06]|1(?:1[17]|23))|8\\d\\d)|3977|9(?:[2-5]|87))|9[34]",,,,"93"],[,,,,,,,,,[-1]],[,,"139\\d\\d",,,,"13900",,,[5]],,[,,"139\\d\\d",,,,"13900",,,[5]]],HT:[,[,,"[14]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"11[48]",,,,"114",,,[3]],[,,,,,,,,,[-1]],,,,"HT",,,,,,,,,,,,,,,,,,[,,"11[48]",,,,"114",,,[3]],,[,,"11[48]|40404",,,,"114"],[,,,,,,,,,[-1]],[,,"404\\d\\d",,,,"40400",,,[5]],,[,,"404\\d\\d",,,,"40400",,,[5]]],HU:[,[,,"1\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"1(?:0[457]|12|4[0-4]\\d)|1(?:16\\d|37|45)\\d\\d",,,,"104"],[,,,,,,,,,[-1]],,,,"HU",,,,,,,,,,,,,,,,,,[,,"1(?:0[457]|12)",,,,"104",,,[3]],,[,,"1(?:0[457]|1(?:2|6(?:000|1(?:11|23))|800)|2(?:0[0-4]|1[013489]|2[0-5]|3[0-46]|4[0-24-68]|5[0-2568]|6[06]|7[0-25-7]|8[028]|9[08])|37(?:00|37|7[07])|4(?:0[0-5]|1[013-8]|2[034]|3[23]|4[02-9]|5(?:00|41|67))|777|8(?:1[27-9]|2[04]|40|[589]))",,,,"104"],[,,,,,,,,,[-1]],[,,"1(?:4[0-4]|77)\\d|1(?:18|2|45)\\d\\d",,,,"1200",,,[4,5]],,[,,"184\\d",,,,"1840",,,[4]]],ID:[,[,,"[178]\\d\\d(?:\\d{2,3})?",,,,,,,[3,5,6]],,,[,,"11[02389]",,,,"110",,,[3]],[,,,,,,,,,[-1]],,,,"ID",,,,,,,,,,,,,,,,,,[,,"11[02389]",,,,"110",,,[3]],,[,,"1(?:1[02389]|40\\d\\d|50264)|71400|89887",,,,"110"],[,,,,,,,,,[-1]],[,,"(?:714|898)\\d\\d",,,,"71400",,,[5]],,[,,"714\\d\\d",,,,"71400",,,[5]]],IE:[,[,,"[159]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"11(?:2|6\\d{3})|999",,,,"112",,,[3,6]],[,,"5[37]\\d{3}",,,,"53000",,,[5]],,,,"IE",,,,,,,,,,,,,,,,,,[,,"112|999",,,,"112",,,[3]],,[,,"11(?:2|6(?:00[06]|1(?:1[17]|23)))|999|(?:1(?:18|9)|5[0137]\\d)\\d\\d",,,,"112"],[,,"51\\d{3}",,,,"51000",,,[5]],[,,"51210",,,,"51210",,,[5]],,[,,"51210|(?:118|5[037]\\d)\\d\\d",,,,"11800",,,[5]]],IL:[,[,,"[12]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"1(?:0[0-2]|12)",,,,"100",,,[3]],[,,,,,,,,,[-1]],,,,"IL",,,,,,,,,,,,,,,,,,[,,"1(?:0[0-2]|12)",,,,"100",,,[3]],,[,,"1(?:0[0-2]|1(?:[013-9]\\d|2)|[2-9]\\d\\d)|2407|(?:104|27)00",,,,"100"],[,,,,,,,,,[-1]],[,,"104\\d\\d",,,,"10400",,,[5]],,[,,"104\\d\\d",,,,"10400",,,[5]]],IM:[,[,,"[189]\\d\\d(?:\\d{2,3})?",,,,,,,[3,5,6]],,,[,,"999",,,,"999",,,[3]],[,,,,,,,,,[-1]],,,,"IM",,,,,,,,,,,,,,,,,,[,,"999",,,,"999",,,[3]],,[,,"1\\d\\d(?:\\d{3})?|8(?:6444|9887)|999",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"8(?:64|98)\\d\\d",,,,"86400",,,[5]]],IN:[,[,,"[12578]\\d{2,8}",,,,,,,[3,4,5,6,7,8,9]],,,[,,"1(?:0[0-248]|1[289]|21|[39][89]|4[01]|6(?:1|6\\d?)|8[12])|777|800|1[05]5\\d|1(?:07|51|94)\\d\\d?|(?:1(?:[05]5\\d|70)\\d|261)\\d|1(?:0[369]|10|29|3[126]|9[0-256])\\d",,,,"100",,,[3,4,5,6]],[,,"11[67]\\d{4}|56161561",,,,"1160000",,,[7,8]],,,,"IN",,,,,,,,,,,,,,,,,,[,,"1(?:0[0-28]|12|298)|2611",,,,"100",,,[3,4]],,[,,"1(?:0(?:[0-248]|3[39]|5(?:010|6)|6[3468]|7(?:[01357]|[28]0?|4[01])|9[0135-9])|1(?:00|[289])|2(?:1|98)|3(?:11|2[0-2]|63|[89])|4[01]|5(?:1(?:0[0-36]|[127])|54)|6(?:1|6[01]?)|7000|8[12]|9(?:0[013-59]|12|25|4[4-9]\\d?|50|6[1347]|[89]))|2611|5(?:0(?:0(?:0\\d|1|20?)|325|5[2-79]\\d{3,5})|1(?:234|555|717|818|96[49])|2(?:0(?:0[01]|[14]0)|151|555|666|888|9(?:06|99\\d?))|3(?:0[01]0|131|553|(?:66|77)6)|(?:464|55[05])\\d{1,3}|6(?:070|3[68]|43)|717\\d)|777|800|5(?:05(?:0|1\\d)|221|3(?:03|3[23]))\\d{1,4}|5(?:(?:04|88)0|2(?:2[0267]|3[16])|4(?:1[04]|20|3[02])|5(?:3[16]|67)|6(?:06|[67]\\d)|787|9(?:64|90))\\d\\d?|(?:1(?:05[79]|(?:1[67][0-2]|802)\\d|55[23])\\d|5(?:(?:00(?:0\\d|1)|(?:304|616)\\d\\d)\\d|1(?:0[12]|4[2-4])|2(?:2[3589]|3(?:1\\d{3}|2)|4[04]|7[78])|4(?:[02]4|32\\d{4}|4[04]|99)|5(?:1[25]|[36]5|4[45]|93)|7(?:(?:17\\d|57)\\d\\d|[27]7|88)|8(?:3[4-69]|4[01]|5[58]|88(?:8\\d\\d|9)|99)|9(?:0(?:0|2\\d{3})|55|6[67]|77|88)))\\d",,,,"100"],[,,"5(?:14(?:2[5-9]|[34]\\d)|757555)",,,,"51425",,,[5,7]],[,,"1(?:(?:1[67]\\d\\d|70)\\d\\d|55330|909)|5(?:300\\d|6161(?:17[89]|561))|1(?:[19][89]|21|4[01])",,,,"118",,,[3,4,5,6,7,8]],,[,,"1(?:39|90[019])|5(?:14(?:2[5-9]|[34]\\d)|6161(?:17[89]|561)|757555)",,,,"139",,,[3,4,5,7,8]]],IQ:[,[,,"[1479]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"1(?:0[04]|15|22)",,,,"100",,,[3]],[,,,,,,,,,[-1]],,,,"IQ",,,,,,,,,,,,,,,,,,[,,"1(?:0[04]|15|22)",,,,"100",,,[3]],,[,,"1(?:0[04]|15|22)|4432|71117|9988",,,,"100"],[,,,,,,,,,[-1]],[,,"(?:443|711\\d|998)\\d",,,,"4430",,,[4,5]],,[,,"(?:443|711\\d|998)\\d",,,,"4430",,,[4,5]]],IR:[,[,,"[129]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"1(?:1[0-68]|2[0-59]|9[0-579])|911",,,,"110",,,[3]],[,,,,,,,,,[-1]],,,,"IR",,,,,,,,,,,,,,,,,,[,,"1(?:1[025]|25)|911",,,,"110",,,[3]],,[,,"1(?:1[0-68]|2[0-59]|3[346-8]|4(?:[0147]|[289]0)|5(?:0[14]|1[02479]|2[0-3]|39|[49]0|65)|6(?:[16]6|[27]|90)|8(?:03|1[18]|22|3[37]|4[28]|88|99)|9[0-579])|20(?:[09]0|1(?:[038]|1[079]|26|9[69])|2[01])|9(?:11|9(?:0009|90))",,,,"110"],[,,"1(?:5[0-469]|8[0-489])\\d",,,,"1500",,,[4]],[,,"(?:1(?:5[0-469]|8[0-489])|99(?:0\\d\\d|9))\\d",,,,"1500",,,[4,6]],,[,,"990\\d{3}",,,,"990000",,,[6]]],IS:[,[,,"1\\d\\d(?:\\d(?:\\d{2})?)?",,,,,,,[3,4,6]],,,[,,"1(?:12|71\\d)",,,,"112",,,[3,4]],[,,,,,,,,,[-1]],,,,"IS",,,,,,,,,,,,,,,,,,[,,"112",,,,"112",,,[3]],,[,,"1(?:1(?:[28]|61(?:16|23))|4(?:00|1[145]|4[0146])|55|7(?:00|17|7[07-9])|8(?:[02]0|1[16-9]|88)|900)",,,,"112"],[,,,,,,,,,[-1]],[,,"14(?:0\\d|41)",,,,"1400",,,[4]],,[,,"1(?:415|90\\d)",,,,"1415",,,[4]]],IT:[,[,,"[14]\\d{2,6}",,,,,,,[3,4,5,6,7]],,,[,,"1(?:1(?:[2358]|6\\d{3})|87)",,,,"112",,,[3,6]],[,,"(?:12|4(?:[478](?:[0-4]|[5-9]\\d\\d)|55))\\d\\d",,,,"1200",,,[4,5,7]],,,,"IT",,,,,,,,,,,,,,,,,,[,,"11[2358]",,,,"112",,,[3]],,[,,"1(?:0\\d{2,3}|1(?:[2-57-9]|6(?:000|111))|3[39]|4(?:82|9\\d{1,3})|5(?:00|1[58]|2[25]|3[03]|44|[59])|60|8[67]|9(?:[01]|2[2-9]|4\\d|696))|4(?:2323|5045)|(?:1(?:2|92[01])|4(?:3(?:[01]|[45]\\d\\d)|[478](?:[0-4]|[5-9]\\d\\d)|55))\\d\\d",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"4(?:3(?:[01]|[45]\\d\\d)|[478](?:[0-4]|[5-9]\\d\\d)|5[05])\\d\\d",,,,"43000",,,[5,7]]],JE:[,[,,"[129]\\d\\d(?:\\d(?:\\d{2})?)?",,,,,,,[3,4,6]],,,[,,"112|999",,,,"112",,,[3]],[,,,,,,,,,[-1]],,,,"JE",,,,,,,,,,,,,,,,,,[,,"112|999",,,,"112",,,[3]],,[,,"1(?:00|1(?:2|8\\d{3})|23|4(?:[14]|28|7\\d)|5\\d|7(?:0[12]|[128]|35?)|808|9[0135])|23[2-4]|999",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],JM:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"11[029]|9(?:11|88)",,,,"110"],[,,,,,,,,,[-1]],,,,"JM",,,,,,,,,,,,,,,,,,[,,"11[029]|911",,,,"110"],,[,,"1(?:1[029]|76)|9(?:11|88)",,,,"110"],[,,,,,,,,,[-1]],[,,"176",,,,"176"],,[,,"176",,,,"176"]],JO:[,[,,"[19]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"1(?:0[235]|1[2-6]|9[127])|911",,,,"102",,,[3]],[,,"9[0-4689]\\d{3}",,,,"90000",,,[5]],,,,"JO",,,,,,,,,,,,,,,,,,[,,"1(?:12|9[127])|911",,,,"112",,,[3]],,[,,"1(?:0[2359]|1[0-68]|9[0-24-79])|9[0-4689]\\d{3}|911",,,,"102"],[,,,,,,,,,[-1]],[,,"9[0-4689]\\d{3}",,,,"90000",,,[5]],,[,,"9[0-4689]\\d{3}",,,,"90000",,,[5]]],JP:[,[,,"[01]\\d\\d(?:\\d{7})?",,,,,,,[3,10]],,,[,,"11[089]",,,,"110",,,[3]],[,,,,,,,,,[-1]],,,,"JP",,,,,,,,,,,,,,,,,,[,,"11[09]",,,,"110",,,[3]],,[,,"000[259]\\d{6}|1(?:0[24]|1[089]|44|89)",,,,"102"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"000[259]\\d{6}",,,,"0002000000",,,[10]]],KE:[,[,,"[1-9]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"1(?:1(?:[246]|9\\d)|5(?:01|2[127]|6[26]\\d))|999",,,,"112"],[,,"909\\d\\d",,,,"90900",,,[5]],,,,"KE",,,,,,,,,,,,,,,,,,[,,"11[24]|999",,,,"112",,,[3]],,[,,"1(?:0(?:[07-9]|1[0-25]|400)|1(?:[024-6]|9[0-579])|2[1-3]|3[01]|4[14]|5(?:[01][01]|2[0-24-79]|33|4[05]|5[59]|6(?:00|29|6[67]))|(?:6[035]\\d|[78])\\d|9(?:[02-9]\\d\\d|19))|(?:(?:2[0-79]|[37][0-29]|4[0-4]|6[2357]|8\\d)\\d|5(?:[0-7]\\d|99))\\d\\d|9(?:09\\d\\d|99)|8988",,,,"100"],[,,,,,,,,,[-1]],[,,"1(?:(?:04|6[35])\\d\\d|3[01]|4[14]|5(?:1\\d|2[25]))|(?:(?:2[0-79]|[37][0-29]|4[0-4]|6[2357]|8\\d)\\d|5(?:[0-7]\\d|99)|909)\\d\\d|898\\d",,,,"130"],,[,,"1(?:(?:04|6[035])\\d\\d|4[14]|5(?:01|55|6[26]\\d))|40404|8988|909\\d\\d",,,,"141"]],KG:[,[,,"[14]\\d{2,3}",,,,,,,[3,4]],,,[,,"10[1-3]",,,,"101",,,[3]],[,,,,,,,,,[-1]],,,,"KG",,,,,,,,,,,,,,,,,,[,,"10[1-3]",,,,"101",,,[3]],,[,,"10[1-3]|4040",,,,"101"],[,,,,,,,,,[-1]],[,,"404\\d",,,,"4040",,,[4]],,[,,"404\\d",,,,"4040",,,[4]]],KH:[,[,,"[146]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"11[7-9]|666",,,,"117",,,[3]],[,,,,,,,,,[-1]],,,,"KH",,,,,,,,,,,,,,,,,,[,,"11[7-9]|666",,,,"117",,,[3]],,[,,"11[7-9]|40404|666",,,,"117"],[,,,,,,,,,[-1]],[,,"404\\d\\d",,,,"40400",,,[5]],,[,,"404\\d\\d",,,,"40400",,,[5]]],KI:[,[,,"[179]\\d{2,3}",,,,,,,[3,4]],,,[,,"19[2-5]|99[2-4]",,,,"192",,,[3]],[,,,,,,,,,[-1]],,,,"KI",,,,,,,,,,,,,,,,,,[,,"19[2-5]|99[2-4]",,,,"192",,,[3]],,[,,"1(?:05[0-259]|88|9[2-5])|777|99[2-4]|10[0-8]",,,,"100"],[,,"103",,,,"103",,,[3]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],KM:[,[,,"1\\d",,,,,,,[2]],,,[,,"1[78]",,,,"17"],[,,,,,,,,,[-1]],,,,"KM",,,,,,,,,,,,,,,,,,[,,"1[78]",,,,"17"],,[,,"1[78]",,,,"17"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],KN:[,[,,"[39]\\d\\d",,,,,,,[3]],,,[,,"333|9(?:11|88|99)",,,,"333"],[,,,,,,,,,[-1]],,,,"KN",,,,,,,,,,,,,,,,,,[,,"333|9(?:11|99)",,,,"333"],,[,,"333|9(?:11|88|99)",,,,"333"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],KP:[,[,,"[18]\\d\\d",,,,,,,[3]],,,[,,"11[29]|819",,,,"112"],[,,,,,,,,,[-1]],,,,"KP",,,,,,,,,,,,,,,,,,[,,"11[29]|819",,,,"112"],,[,,"11[29]|819",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],KR:[,[,,"1\\d{2,4}",,,,,,,[3,4,5]],,,[,,"1(?:1[27-9]|28|330|82)",,,,"112",,,[3,4]],[,,,,,,,,,[-1]],,,,"KR",,,,,,,,,,,,,,,,,,[,,"11[29]",,,,"112",,,[3]],,[,,"1(?:[016-9]114|3(?:0[01]|2|3[0-35-9]|45?|5[057]|6[569]|7[79]|8[2589]|9[0189]))|1(?:0[015]|1\\d|2[01357-9]|41|8[28])",,,,"100"],[,,,,,,,,,[-1]],[,,"1(?:0[01]|1[4-6]|41)|1(?:[06-9]1\\d|111)\\d",,,,"100",,,[3,5]],,[,,,,,,,,,[-1]]],KW:[,[,,"[18]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"112",,,,"112",,,[3]],[,,,,,,,,,[-1]],,,,"KW",,,,,,,,,,,,,,,,,,[,,"112",,,,"112",,,[3]],,[,,"1[0-7]\\d|89887",,,,"100"],[,,,,,,,,,[-1]],[,,"898\\d\\d",,,,"89800",,,[5]],,[,,,,,,,,,[-1]]],KY:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"9(?:11|88)",,,,"911"],[,,,,,,,,,[-1]],,,,"KY",,,,,,,,,,,,,,,,,,[,,"911",,,,"911"],,[,,"9(?:11|88)",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],KZ:[,[,,"[1-4]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"1(?:0[1-3]|12)|212\\d",,,,"101",,,[3,4]],[,,,,,,,,,[-1]],,,,"KZ",,,,,,,,,,,,,,,,,,[,,"1(?:0[1-3]|12)",,,,"101",,,[3]],,[,,"1(?:0[1-4]|12)|2121|(?:3040|404)0",,,,"101"],[,,,,,,,,,[-1]],[,,"(?:304\\d|404)\\d",,,,"4040",,,[4,5]],,[,,"(?:304\\d|404)\\d",,,,"4040",,,[4,5]]],LA:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"19[015]",,,,"190"],[,,,,,,,,,[-1]],,,,"LA",,,,,,,,,,,,,,,,,,[,,"19[015]",,,,"190"],,[,,"19[015]",,,,"190"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],LB:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"1(?:12|40|75)|999",,,,"112"],[,,,,,,,,,[-1]],,,,"LB",,,,,,,,,,,,,,,,,,[,,"1(?:12|40|75)|999",,,,"112"],,[,,"1(?:12|40|75)|999",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],LC:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"9(?:11|88|99)",,,,"911"],[,,,,,,,,,[-1]],,,,"LC",,,,,,,,,,,,,,,,,,[,,"9(?:11|99)",,,,"911"],,[,,"9(?:11|88|99)",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],LI:[,[,,"1\\d{2,3}",,,,,,,[3,4]],,,[,,"1(?:1[278]|44)",,,,"112",,,[3]],[,,,,,,,,,[-1]],,,,"LI",,,,,,,,,,,,,,,,,,[,,"1(?:1[278]|44)",,,,"112",,,[3]],,[,,"1(?:1(?:[278]|45)|4[3-57]|50|75|81[18])",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],LK:[,[,,"1\\d{2,3}",,,,,,,[3,4]],,,[,,"11[02689]",,,,"110",,,[3]],[,,,,,,,,,[-1]],,,,"LK",,,,,,,,,,,,,,,,,,[,,"11[02689]",,,,"110",,,[3]],,[,,"1(?:1[024-9]|3(?:00|1[2-49]|2[23]|3[1-3]|44|5[07]|[67]9|88|9[039])|9(?:0[0-2589]|1[0-357-9]|2[0-25689]|3[0389]|4[0489]|5[014-69]|6[0-2689]|7[03579]|8[02457-9]|9[0-2569]))",,,,"110"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],LR:[,[,,"[3489]\\d{2,3}",,,,,,,[3,4]],,,[,,"355|911",,,,"355",,,[3]],[,,,,,,,,,[-1]],,,,"LR",,,,,,,,,,,,,,,,,,[,,"355|911",,,,"355",,,[3]],,[,,"355|4040|8(?:400|933)|911",,,,"355"],[,,,,,,,,,[-1]],[,,"(?:404|8(?:40|93))\\d",,,,"4040",,,[4]],,[,,"(?:404|8(?:40|93))\\d",,,,"4040",,,[4]]],LS:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"11[257]",,,,"112"],[,,,,,,,,,[-1]],,,,"LS",,,,,,,,,,,,,,,,,,[,,"11[257]",,,,"112"],,[,,"11[257]",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],LT:[,[,,"[01]\\d(?:\\d(?:\\d{3})?)?",,,,,,,[2,3,6]],,,[,,"0(?:11?|22?|33?)|1(?:0[1-3]|1(?:2|6111))|116(?:0\\d|12)\\d",,,,"01"],[,,,,,,,,,[-1]],,,,"LT",,,,,,,,,,,,,,,,,,[,,"0(?:11?|22?|33?)|1(?:0[1-3]|12)",,,,"01",,,[2,3]],,[,,"0(?:11?|22?|33?)|1(?:0[1-3]|1(?:[27-9]|6(?:000|1(?:1[17]|23))))",,,,"01"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],LU:[,[,,"1\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"11(?:[23]|6\\d{3})",,,,"112",,,[3,6]],[,,,,,,,,,[-1]],,,,"LU",,,,,,,,,,,,,,,,,,[,,"11[23]",,,,"112",,,[3]],,[,,"11(?:[23]|6(?:000|111))|1(?:18|[25]\\d|3)\\d\\d",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],LV:[,[,,"[018]\\d{1,5}",,,,,,,[2,3,4,5,6]],,,[,,"0[1-3]|11(?:[023]|6\\d{3})",,,,"01",,,[2,3,6]],[,,"1180|821\\d\\d",,,,"1180",,,[4,5]],,,,"LV",,,,,,,,,,,,,,,,,,[,,"0[1-3]|11[023]",,,,"01",,,[2,3]],,[,,"0[1-4]|1(?:1(?:[02-4]|6(?:000|111)|8[0189])|(?:5|65)5|77)|821[57]4",,,,"01"],[,,"1181",,,,"1181",,,[4]],[,,"165\\d",,,,"1650",,,[4]],,[,,,,,,,,,[-1]]],LY:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"19[013]",,,,"190"],[,,,,,,,,,[-1]],,,,"LY",,,,,,,,,,,,,,,,,,[,,"19[013]",,,,"190"],,[,,"19[013]",,,,"190"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MA:[,[,,"1\\d\\d?",,,,,,,[2,3]],,,[,,"1(?:[59]|77)",,,,"15"],[,,,,,,,,,[-1]],,,,"MA",,,,,,,,,,,,,,,,,,[,,"1(?:[59]|77)",,,,"15"],,[,,"1(?:[59]|77)",,,,"15"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MC:[,[,,"1\\d\\d?",,,,,,,[2,3]],,,[,,"1(?:12|[578])",,,,"15"],[,,,,,,,,,[-1]],,,,"MC",,,,,,,,,,,,,,,,,,[,,"1(?:12|[578])",,,,"15"],,[,,"1(?:12|41|[578])",,,,"15"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MD:[,[,,"[19]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"11(?:2|6(?:000|1(?:11|2\\d)))|90[1-3]",,,,"112",,,[3,6]],[,,,,,,,,,[-1]],,,,"MD",,,,,,,,,,,,,,,,,,[,,"112|90[1-3]",,,,"112",,,[3]],,[,,"1(?:1(?:2|6(?:00[06]|1(?:1[17]|23))|8\\d\\d?|99)|90[04-9])|90[1-3]|1(?:4\\d\\d|6[0-389]|9[1-4])\\d",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],ME:[,[,,"1\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"1(?:12|2[2-4])",,,,"112",,,[3]],[,,,,,,,,,[-1]],,,,"ME",,,,,,,,,,,,,,,,,,[,,"1(?:12|2[2-4])",,,,"112",,,[3]],,[,,"1(?:1(?:(?:[013-57-9]|6\\d\\d)\\d|2)|[249]\\d{3}|5999|8(?:0[089]|1[0-8]|888))|1(?:[02-5]\\d\\d|60[06]|700)|12\\d",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MF:[,[,,"1\\d",,,,,,,[2]],,,[,,"1[578]",,,,"15"],[,,,,,,,,,[-1]],,,,"MF",,,,,,,,,,,,,,,,,,[,,"1[578]",,,,"15"],,[,,"1[578]",,,,"15"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MG:[,[,,"1\\d\\d?",,,,,,,[2,3]],,,[,,"1(?:1[78]|[78])",,,,"17"],[,,,,,,,,,[-1]],,,,"MG",,,,,,,,,,,,,,,,,,[,,"1(?:1[78]|[78])",,,,"17"],,[,,"1(?:1[78]|[78])",,,,"17"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MH:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"911",,,,"911"],[,,,,,,,,,[-1]],,,,"MH",,,,,,,,,,,,,,,,,,[,,"911",,,,"911"],,[,,"911",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MK:[,[,,"1\\d\\d(?:\\d(?:\\d{2})?)?",,,,,,,[3,4,6]],,,[,,"1(?:1(?:2|6\\d{3})|9[2-4])",,,,"112",,,[3,6]],[,,,,,,,,,[-1]],,,,"MK",,,,,,,,,,,,,,,,,,[,,"1(?:12|9[2-4])",,,,"112",,,[3]],,[,,"1(?:1(?:2|8\\d)|3\\d|9[2-4])|1(?:16|2\\d)\\d{3}",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],ML:[,[,,"[136-8]\\d{1,4}",,,,,,,[2,3,4,5]],,,[,,"1[578]|(?:352|67)00|7402|(?:677|744|8000)\\d",,,,"15",,,[2,4,5]],[,,"(?:12|800)2\\d|3(?:52(?:11|2[02]|3[04-6]|99)|7574)",,,,"1220",,,[4,5]],,,,"ML",,,,,,,,,,,,,,,,,,[,,"1[578]",,,,"15",,,[2]],,[,,"1(?:1(?:[013-9]\\d|2)|2(?:1[02-469]|2[13])|[578])|350(?:35|57)|67(?:0[09]|[59]9|77|8[89])|74(?:0[02]|44|55)|800[0-2][12]|3(?:52|[67]\\d)\\d\\d",,,,"15"],[,,"37(?:433|575)|7400|8001\\d",,,,"7400",,,[4,5]],[,,"3503\\d|(?:3[67]\\d|800)\\d\\d",,,,"35030",,,[5]],,[,,"374(?:0[24-9]|[1-9]\\d)|7400|3(?:6\\d|75)\\d\\d",,,,"7400",,,[4,5]]],MM:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"199",,,,"199"],[,,,,,,,,,[-1]],,,,"MM",,,,,,,,,,,,,,,,,,[,,"199",,,,"199"],,[,,"199",,,,"199"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MN:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"10[0-35]",,,,"100"],[,,,,,,,,,[-1]],,,,"MN",,,,,,,,,,,,,,,,,,[,,"10[0-35]",,,,"100"],,[,,"10[0-35]",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MO:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"999",,,,"999"],[,,,,,,,,,[-1]],,,,"MO",,,,,,,,,,,,,,,,,,[,,"999",,,,"999"],,[,,"999",,,,"999"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MP:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"9(?:11|88)",,,,"911"],[,,,,,,,,,[-1]],,,,"MP",,,,,,,,,,,,,,,,,,[,,"911",,,,"911"],,[,,"9(?:11|88)",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MQ:[,[,,"1\\d\\d?",,,,,,,[2,3]],,,[,,"1(?:12|[578])",,,,"15"],[,,,,,,,,,[-1]],,,,"MQ",,,,,,,,,,,,,,,,,,[,,"1(?:12|[578])",,,,"15"],,[,,"1(?:12|[578])",,,,"15"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MR:[,[,,"1\\d",,,,,,,[2]],,,[,,"1[78]",,,,"17"],[,,,,,,,,,[-1]],,,,"MR",,,,,,,,,,,,,,,,,,[,,"1[78]",,,,"17"],,[,,"1[78]",,,,"17"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MS:[,[,,"[29]\\d\\d",,,,,,,[3]],,,[,,"9(?:11|88|99)",,,,"911"],[,,,,,,,,,[-1]],,,,"MS",,,,,,,,,,,,,,,,,,[,,"9(?:11|99)",,,,"911"],,[,,"211|9(?:11|88|99)",,,,"211"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MT:[,[,,"1\\d\\d(?:\\d{3})?",,,,,,,[3,6]],,,[,,"11(?:2|6\\d{3})",,,,"112"],[,,,,,,,,,[-1]],,,,"MT",,,,,,,,,,,,,,,,,,[,,"112",,,,"112",,,[3]],,[,,"11(?:2|6(?:000|1(?:11|23)))",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MU:[,[,,"[189]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"11[45]|99[59]",,,,"114",,,[3]],[,,,,,,,,,[-1]],,,,"MU",,,,,,,,,,,,,,,,,,[,,"11[45]|99[59]",,,,"114",,,[3]],,[,,"1\\d{2,4}|(?:8\\d\\d|99)\\d",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MV:[,[,,"[14]\\d{2,3}",,,,,,,[3,4]],,,[,,"1(?:02|1[89])",,,,"102",,,[3]],[,,,,,,,,,[-1]],,,,"MV",,,,,,,,,,,,,,,,,,[,,"1(?:02|1[89])",,,,"102",,,[3]],,[,,"1(?:[0-37-9]|[4-6]\\d)\\d|4040|1[45]1",,,,"100"],[,,,,,,,,,[-1]],[,,"1[45]1",,,,"141",,,[3]],,[,,,,,,,,,[-1]]],MW:[,[,,"[189]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"199|99[7-9]",,,,"199",,,[3]],[,,,,,,,,,[-1]],,,,"MW",,,,,,,,,,,,,,,,,,[,,"199|99[7-9]",,,,"199",,,[3]],,[,,"199|80400|99[7-9]",,,,"199"],[,,,,,,,,,[-1]],[,,"804\\d\\d",,,,"80400",,,[5]],,[,,"804\\d\\d",,,,"80400",,,[5]]],MX:[,[,,"[0579]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"0(?:6[0568]|80)|911",,,,"060",,,[3]],[,,"(?:530\\d|776)\\d",,,,"7760",,,[4,5]],,,,"MX",,,,,,,,,,,,,,,,,,[,,"0(?:6[0568]|80)|911",,,,"060",,,[3]],,[,,"0[1-9]\\d|53053|7766|911",,,,"010"],[,,,,,,,,,[-1]],[,,"0(?:[249]0|[35][01])",,,,"020",,,[3]],,[,,,,,,,,,[-1]]],MY:[,[,,"[1369]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"112|999",,,,"112",,,[3]],[,,,,,,,,,[-1]],,,,"MY",,,,,,,,,,,,,,,,,,[,,"112|999",,,,"112",,,[3]],,[,,"1(?:0[01348]|1(?:[02]|1[128]|311)|2(?:0[125]|[13-6]|2\\d{0,2})|(?:3[1-35-79]|7[45])\\d\\d?|5(?:454|5\\d\\d?|77|888|999?)|8(?:18?|2|8[18])|9(?:[124]\\d?|68|71|9[0679]))|66628|99[1-469]|13[5-7]|(?:1(?:0[569]|309|5[12]|7[136-9]|9[03])|3[23679]\\d\\d)\\d",,,,"100"],[,,"666\\d\\d",,,,"66600",,,[5]],[,,,,,,,,,[-1]],,[,,"(?:3[23679]\\d|666)\\d\\d",,,,"32000",,,[5]]],MZ:[,[,,"1\\d{2,3}",,,,,,,[3,4]],,,[,,"1(?:1[79]|9[78])",,,,"117",,,[3]],[,,,,,,,,,[-1]],,,,"MZ",,,,,,,,,,,,,,,,,,[,,"1(?:1[79]|9[78])",,,,"117",,,[3]],,[,,"1(?:[02-5]\\d\\d|1[79]|9[78])",,,,"117"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],NA:[,[,,"[19]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"10111",,,,"10111",,,[5]],[,,,,,,,,,[-1]],,,,"NA",,,,,,,,,,,,,,,,,,[,,"10111",,,,"10111",,,[5]],,[,,"(?:10|93)111|(?:1\\d|9)\\d\\d",,,,"900"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],NC:[,[,,"[135]\\d{1,3}",,,,,,,[2,3,4]],,,[,,"1(?:0(?:00|1[23]|3[0-2]|8\\d)|[5-8])|363\\d|577",,,,"15"],[,,,,,,,,,[-1]],,,,"NC",,,,,,,,,,,,,,,,,,[,,"1[5-8]",,,,"15",,,[2]],,[,,"1(?:0(?:0[06]|1[02-46]|20|3[0-25]|42|5[058]|77|88)|[5-8])|3631|5[6-8]\\d",,,,"15"],[,,"5(?:67|88)",,,,"567",,,[3]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],NE:[,[,,"[1-3578]\\d(?:\\d(?:\\d{3})?)?",,,,,,,[2,3,6]],,,[,,"1(?:18|[578])|723\\d{3}",,,,"15"],[,,,,,,,,,[-1]],,,,"NE",,,,,,,,,,,,,,,,,,[,,"1(?:18|[578])|723141",,,,"15"],,[,,"1(?:0[01]|1[128]|2[034]|3[013]|[46]0|55?|[78])|222|333|555|723141|888",,,,"15"],[,,,,,,,,,[-1]],[,,"1(?:0[01]|1[12]|2[034]|3[013]|[46]0|55)|222|333|555|888",,,,"100",,,[3]],,[,,,,,,,,,[-1]]],NF:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"9(?:11|55|77)",,,,"911"],[,,,,,,,,,[-1]],,,,"NF",,,,,,,,,,,,,,,,,,[,,"9(?:11|55|77)",,,,"911"],,[,,"9(?:11|55|77)",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],NG:[,[,,"[14]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"199",,,,"199",,,[3]],[,,,,,,,,,[-1]],,,,"NG",,,,,,,,,,,,,,,,,,[,,"199",,,,"199",,,[3]],,[,,"199|40700",,,,"199"],[,,,,,,,,,[-1]],[,,"407\\d\\d",,,,"40700",,,[5]],,[,,"407\\d\\d",,,,"40700",,,[5]]],NI:[,[,,"[12467]\\d{2,3}",,,,,,,[3,4]],,,[,,"1(?:1[58]|2[08])|737\\d",,,,"115"],[,,,,,,,,,[-1]],,,,"NI",,,,,,,,,,,,,,,,,,[,,"1(?:1[58]|2[08])",,,,"115",,,[3]],,[,,"1(?:1[58]|200)|4878|7(?:010|373)|12[0158]|(?:19|[267]1)00",,,,"115"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],NL:[,[,,"[1349]\\d\\d(?:\\d(?:\\d{2})?)?",,,,,,,[3,4,6]],,,[,,"11(?:2|6\\d{3})|911",,,,"112",,,[3,6]],[,,,,,,,,,[-1]],,,,"NL",,,,,,,,,,,,,,,,,,[,,"112|911",,,,"112",,,[3]],,[,,"1(?:1(?:2|6(?:00[06]|1(?:11|23)))|2(?:0[0-4]|3[34]|44)|3[03-9]\\d|400|8(?:[02-9]\\d|1[0-79]))|[34]000|911",,,,"112"],[,,,,,,,,,[-1]],[,,"120\\d",,,,"1200",,,[4]],,[,,"[34]00\\d",,,,"3000",,,[4]]],NO:[,[,,"1\\d\\d(?:\\d(?:\\d{2})?)?",,,,,,,[3,4,6]],,,[,,"11(?:[023]|6\\d{3})",,,,"110",,,[3,6]],[,,,,,,,,,[-1]],,,,"NO",,,,,,,,,,,,,,,,,,[,,"11[023]",,,,"110",,,[3]],,[,,"1(?:1(?:[0239]|61(?:1[17]|23))|2[048]|4(?:12|[59])|7[57]|8[5-9]\\d|90)",,,,"110"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],NP:[,[,,"1\\d{2,3}",,,,,,,[3,4]],,,[,,"1(?:0[0-36]|12)|1(?:09|11)\\d",,,,"100"],[,,,,,,,,,[-1]],,,,"NP",,,,,,,,,,,,,,,,,,[,,"1(?:0[0-3]|12)",,,,"100",,,[3]],,[,,"1(?:0(?:[0-36]|98)|1(?:1[1-4]|2))",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],NR:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"11[0-2]",,,,"110"],[,,,,,,,,,[-1]],,,,"NR",,,,,,,,,,,,,,,,,,[,,"11[0-2]",,,,"110"],,[,,"1(?:1[0-2]|23|92)",,,,"110"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],NU:[,[,,"[019]\\d\\d",,,,,,,[3]],,,[,,"999",,,,"999"],[,,,,,,,,,[-1]],,,,"NU",,,,,,,,,,,,,,,,,,[,,"999",,,,"999"],,[,,"01[05]|101|999",,,,"010"],[,,,,,,,,,[-1]],[,,"010",,,,"010"],,[,,,,,,,,,[-1]]],NZ:[,[,,"\\d{3,4}",,,,,,,[3,4]],,,[,,"111",,,,"111",,,[3]],[,,"018",,,,"018",,,[3]],,,,"NZ",,,,,,,,,,,,,,,,,,[,,"111",,,,"111",,,[3]],,[,,"018|1(?:(?:1|37)1|(?:23|94)4|7[03]7)|[2-57-9]\\d{2,3}|6(?:161|26[0-3]|742)",,,,"018"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"018|(?:1(?:23|37|7[03]|94)|6(?:[12]6|74))\\d|[2-57-9]\\d{2,3}",,,,"018"]],OM:[,[,,"[19]\\d{3}",,,,,,,[4]],,,[,,"1444|999\\d",,,,"1444"],[,,,,,,,,,[-1]],,,,"OM",,,,,,,,,,,,,,,,,,[,,"1444|9999",,,,"1444"],,[,,"1(?:111|222|4(?:4[0-5]|50|66|7[7-9])|51[0-8])|9999|1(?:2[3-5]|3[0-2]|50)\\d",,,,"1111"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],PA:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"911",,,,"911"],[,,,,,,,,,[-1]],,,,"PA",,,,,,,,,,,,,,,,,,[,,"911",,,,"911"],,[,,"10[2-4]|911",,,,"102"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],PE:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"1(?:05|1[67])",,,,"105"],[,,,,,,,,,[-1]],,,,"PE",,,,,,,,,,,,,,,,,,[,,"1(?:05|1[67])",,,,"105"],,[,,"1(?:05|1[67])",,,,"105"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],PF:[,[,,"1\\d",,,,,,,[2]],,,[,,"1[578]",,,,"15"],[,,,,,,,,,[-1]],,,,"PF",,,,,,,,,,,,,,,,,,[,,"1[578]",,,,"15"],,[,,"1[578]",,,,"15"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],PG:[,[,,"[01]\\d{2,6}",,,,,,,[3,4,5,6,7]],,,[,,"000|11[01]",,,,"000",,,[3]],[,,,,,,,,,[-1]],,,,"PG",,,,,,,,,,,,,,,,,,[,,"000|11[01]",,,,"000",,,[3]],,[,,"000|1(?:1[01]|5\\d\\d|6\\d{2,5})",,,,"000"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"16\\d{2,5}",,,,"1600",,,[4,5,6,7]]],PH:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"11[27]|911",,,,"112"],[,,,,,,,,,[-1]],,,,"PH",,,,,,,,,,,,,,,,,,[,,"11[27]|911",,,,"112"],,[,,"11[27]|911",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],PK:[,[,,"1\\d{1,3}",,,,,,,[2,3,4]],,,[,,"1(?:1(?:2\\d?|5)|[56])",,,,"15"],[,,,,,,,,,[-1]],,,,"PK",,,,,,,,,,,,,,,,,,[,,"1(?:1(?:22?|5)|[56])",,,,"15"],,[,,"1(?:122|3[014]|[56])|11[2457-9]",,,,"15"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],PL:[,[,,"[19]\\d\\d(?:\\d{2,3})?",,,,,,,[3,5,6]],,,[,,"11(?:2|6\\d{3})|99[7-9]",,,,"112",,,[3,6]],[,,,,,,,,,[-1]],,,,"PL",,,,,,,,,,,,,,,,,,[,,"112|99[7-9]",,,,"112",,,[3]],,[,,"1(?:1(?:2|61(?:11|23)|891[23])|9\\d{3})|9(?:8[4-7]|9[1-9])|11[68]000",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],PM:[,[,,"[13]\\d(?:\\d{2})?",,,,,,,[2,4]],,,[,,"1[578]",,,,"15",,,[2]],[,,,,,,,,,[-1]],,,,"PM",,,,,,,,,,,,,,,,,,[,,"1[578]",,,,"15",,,[2]],,[,,"1[578]|3103",,,,"15"],[,,,,,,,,,[-1]],[,,"310\\d",,,,"3100",,,[4]],,[,,,,,,,,,[-1]]],PR:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"9(?:11|88)",,,,"911"],[,,,,,,,,,[-1]],,,,"PR",,,,,,,,,,,,,,,,,,[,,"911",,,,"911"],,[,,"9(?:11|88)",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],PS:[,[,,"1\\d{2,3}",,,,,,,[3,4]],,,[,,"1(?:0[0-2]|66)",,,,"100",,,[3]],[,,,,,,,,,[-1]],,,,"PS",,,,,,,,,,,,,,,,,,[,,"10[0-2]",,,,"100",,,[3]],,[,,"1(?:0[0-2]|122|44|66|99)",,,,"100"],[,,,,,,,,,[-1]],[,,"112\\d",,,,"1120",,,[4]],,[,,,,,,,,,[-1]]],PT:[,[,,"1\\d\\d(?:\\d(?:\\d{2})?)?",,,,,,,[3,4,6]],,,[,,"11[257]|1(?:16\\d\\d|5[1589]|8[279])\\d",,,,"112"],[,,,,,,,,,[-1]],,,,"PT",,,,,,,,,,,,,,,,,,[,,"11[25]",,,,"112",,,[3]],,[,,"1(?:0(?:45|5[01])|1(?:[2578]|600[06])|4(?:1[45]|4)|583|6(?:1[0236]|3[02]|9[169]))|1(?:1611|59)1|1[068]78|1[08]9[16]|1(?:0[1-38]|40|5[15]|6[258]|82)0",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],PW:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"911",,,,"911"],[,,,,,,,,,[-1]],,,,"PW",,,,,,,,,,,,,,,,,,[,,"911",,,,"911"],,[,,"911",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],PY:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"128|911",,,,"128"],[,,,,,,,,,[-1]],,,,"PY",,,,,,,,,,,,,,,,,,[,,"128|911",,,,"128"],,[,,"1[1-9]\\d|911",,,,"110"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],QA:[,[,,"[129]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"99\\d",,,,"990",,,[3]],[,,"900",,,,"900",,,[3]],,,,"QA",,,,,,,,,,,,,,,,,,[,,"999",,,,"999",,,[3]],,[,,"9(?:00|[19]\\d)|(?:1|20|9[27]\\d)\\d\\d",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],RE:[,[,,"1\\d\\d?",,,,,,,[2,3]],,,[,,"1(?:12|[578])",,,,"15"],[,,,,,,,,,[-1]],,,,"RE",,,,,,,,,,,,,,,,,,[,,"1(?:12|[578])",,,,"15"],,[,,"1(?:12|[578])",,,,"15"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],RO:[,[,,"[18]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"11(?:2|6\\d{3})",,,,"112",,,[3,6]],[,,"(?:1(?:18[39]|[24])|8[48])\\d\\d",,,,"1200",,,[4,6]],,,,"RO",,,,,,,,,,,,,,,,,,[,,"112",,,,"112",,,[3]],,[,,"1(?:1(?:2|6(?:000|1(?:11|23))|8(?:(?:01|8[18])1|119|[23]00|932))|[24]\\d\\d|9(?:0(?:00|19)|1[19]|21|3[02]|5[178]))|8[48]\\d\\d",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"(?:1[24]|8[48])\\d\\d",,,,"1200",,,[4]]],RS:[,[,,"[19]\\d{1,5}",,,,,,,[2,3,4,5,6]],,,[,,"112|9[2-4]",,,,"92",,,[2,3]],[,,,,,,,,,[-1]],,,,"RS",,,,,,,,,,,,,,,,,,[,,"112|9[2-4]",,,,"92",,,[2,3]],,[,,"1[189]\\d{1,4}|9[2-4]",,,,"92"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],RU:[,[,,"[01]\\d\\d?",,,,,,,[2,3]],,,[,,"112|(?:0|10)[1-3]",,,,"01"],[,,,,,,,,,[-1]],,,,"RU",,,,,,,,,,,,,,,,,,[,,"112|(?:0|10)[1-3]",,,,"01"],,[,,"112|(?:0|10)[1-4]",,,,"01"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],RW:[,[,,"[14]\\d\\d",,,,,,,[3]],,,[,,"11[1245]",,,,"111"],[,,,,,,,,,[-1]],,,,"RW",,,,,,,,,,,,,,,,,,[,,"11[12]",,,,"111"],,[,,"1(?:0[0-2]|1[0-24-6]|2[13]|70|99)|456",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SA:[,[,,"[19]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"11(?:2|6\\d{3})|9(?:11|37|9[7-9])",,,,"112",,,[3,6]],[,,,,,,,,,[-1]],,,,"SA",,,,,,,,,,,,,,,,,,[,,"112|9(?:11|9[79])",,,,"112",,,[3]],,[,,"1(?:1(?:00|2|6111)|410|9(?:00|1[89]|9(?:099|22|9[0-3])))|9(?:0[24-79]|11|3[379]|40|66|8[5-9]|9[02-9])",,,,"112"],[,,"141\\d",,,,"1410",,,[4]],[,,"1(?:10|41)\\d|90[24679]",,,,"902",,,[3,4]],,[,,,,,,,,,[-1]]],SB:[,[,,"[127-9]\\d\\d",,,,,,,[3]],,,[,,"999",,,,"999"],[,,,,,,,,,[-1]],,,,"SB",,,,,,,,,,,,,,,,,,[,,"999",,,,"999"],,[,,"1(?:[02]\\d|1[12]|[35][01]|[49][1-9]|6[2-9]|7[7-9]|8[0-8])|269|777|835|9(?:[01]1|22|33|55|77|88|99)",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SC:[,[,,"[19]\\d{2,3}",,,,,,,[3,4]],,,[,,"1(?:1[1468]|60)|999",,,,"111",,,[3]],[,,,,,,,,,[-1]],,,,"SC",,,,,,,,,,,,,,,,,,[,,"999",,,,"999",,,[3]],,[,,"1(?:[06]\\d|1[0-246-8]|2[0-8]|3[13]|4[0-2]|5[15]|7[124-6]|8[158]|9[015])|9(?:6\\d\\d|99)",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SD:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"999",,,,"999"],[,,,,,,,,,[-1]],,,,"SD",,,,,,,,,,,,,,,,,,[,,"999",,,,"999"],,[,,"999",,,,"999"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SE:[,[,,"[1-37-9]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"11(?:2|(?:3|6\\d)\\d\\d|414|77)|900\\d\\d",,,,"112"],[,,"11811[89]|72\\d{3}",,,,"72000",,,[5,6]],,,,"SE",,,,,,,,,,,,,,,,,,[,,"112|90000",,,,"112",,,[3,5]],,[,,"11(?:[25]|313|6(?:00[06]|1(?:1[17]|23))|7[0-8])|2(?:2[02358]|33|4[01]|50|6[1-4])|32[13]|8(?:22|88)|9(?:0(?:00|51)0|12)|(?:11(?:4|8[02-46-9])|7\\d\\d|90[2-4])\\d\\d|(?:118|90)1(?:[02-9]\\d|1[013-9])",,,,"112"],[,,,,,,,,,[-1]],[,,"2(?:2[02358]|33|4[01]|50|6[1-4])|32[13]|8(?:22|88)|912",,,,"220",,,[3]],,[,,"7\\d{4}",,,,"70000",,,[5]]],SG:[,[,,"[179]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"99[359]",,,,"993",,,[3]],[,,,,,,,,,[-1]],,,,"SG",,,,,,,,,,,,,,,,,,[,,"99[359]",,,,"993",,,[3]],,[,,"1(?:(?:[01368]\\d|44)\\d|[57]\\d{2,3}|9(?:0[1-9]|[1-9]\\d))|77222|99[02-9]|100",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"772\\d\\d",,,,"77200",,,[5]]],SH:[,[,,"[129]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"9(?:11|99)",,,,"911",,,[3]],[,,,,,,,,,[-1]],,,,"SH",,,,,,,,,,,,,,,,,,[,,"9(?:11|99)",,,,"911",,,[3]],,[,,"1\\d{2,3}|26[01]\\d\\d|9(?:11|99)",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SI:[,[,,"1\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"11(?:(?:0|6\\d)\\d\\d|[23]|8\\d\\d?)",,,,"112"],[,,,,,,,,,[-1]],,,,"SI",,,,,,,,,,,,,,,,,,[,,"11[23]",,,,"112",,,[3]],,[,,"1(?:1(?:00[146]|[23]|6(?:000|1(?:11|23))|8(?:[08]|99))|9(?:059|1(?:0[12]|16)|5|70|87|9(?:00|[149])))|19(?:08|81)[09]",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SJ:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"11[023]",,,,"110"],[,,,,,,,,,[-1]],,,,"SJ",,,,,,,,,,,,,,,,,,[,,"11[023]",,,,"110"],,[,,"11[023]",,,,"110"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SK:[,[,,"1\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"1(?:1(?:2|6\\d{3})|5[058])",,,,"112",,,[3,6]],[,,,,,,,,,[-1]],,,,"SK",,,,,,,,,,,,,,,,,,[,,"1(?:12|5[058])",,,,"112",,,[3]],,[,,"1(?:1(?:2|6(?:000|111)|8[0-8])|[248]\\d{3}|5[0589])",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SL:[,[,,"[069]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"(?:01|99)9",,,,"019",,,[3]],[,,,,,,,,,[-1]],,,,"SL",,,,,,,,,,,,,,,,,,[,,"(?:01|99)9",,,,"019",,,[3]],,[,,"(?:01|99)9|60400",,,,"019"],[,,,,,,,,,[-1]],[,,"604\\d\\d",,,,"60400",,,[5]],,[,,"604\\d\\d",,,,"60400",,,[5]]],SM:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"11[358]",,,,"113"],[,,,,,,,,,[-1]],,,,"SM",,,,,,,,,,,,,,,,,,[,,"11[358]",,,,"113"],,[,,"11[358]",,,,"113"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SN:[,[,,"[12]\\d{1,5}",,,,,,,[2,3,4,5,6]],,,[,,"1(?:515|[78])|2(?:00|1)\\d{3}",,,,"17",,,[2,4,5,6]],[,,"2(?:0[246]|[468])\\d{3}",,,,"24000",,,[5,6]],,,,"SN",,,,,,,,,,,,,,,,,,[,,"1[78]",,,,"17",,,[2]],,[,,"1(?:1[69]|(?:[246]\\d|51)\\d)|2(?:0[0-246]|[12468])\\d{3}|1[278]",,,,"12"],[,,"2(?:01|2)\\d{3}",,,,"22000",,,[5,6]],[,,"1[46]\\d\\d",,,,"1400",,,[4]],,[,,"2[468]\\d{3}",,,,"24000",,,[5]]],SO:[,[,,"[57-9]\\d\\d",,,,,,,[3]],,,[,,"555|888|999",,,,"555"],[,,,,,,,,,[-1]],,,,"SO",,,,,,,,,,,,,,,,,,[,,"555|888|999",,,,"555"],,[,,"555|777|888|999",,,,"555"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SR:[,[,,"1\\d{2,3}",,,,,,,[3,4]],,,[,,"115",,,,"115",,,[3]],[,,,,,,,,,[-1]],,,,"SR",,,,,,,,,,,,,,,,,,[,,"115",,,,"115",,,[3]],,[,,"1\\d{2,3}",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SS:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"999",,,,"999"],[,,,,,,,,,[-1]],,,,"SS",,,,,,,,,,,,,,,,,,[,,"999",,,,"999"],,[,,"999",,,,"999"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],ST:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"112",,,,"112"],[,,,,,,,,,[-1]],,,,"ST",,,,,,,,,,,,,,,,,,[,,"112",,,,"112"],,[,,"112",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SV:[,[,,"[149]\\d\\d(?:\\d{2,3})?",,,,,,,[3,5,6]],,,[,,"116\\d{3}|911",,,,"911",,,[3,6]],[,,,,,,,,,[-1]],,,,"SV",,,,,,,,,,,,,,,,,,[,,"91[13]",,,,"911",,,[3]],,[,,"1(?:1(?:2|6111)|2[136-8]|3[0-6]|9[05])|40404|9(?:1\\d|29)",,,,"112"],[,,,,,,,,,[-1]],[,,"404\\d\\d",,,,"40400",,,[5]],,[,,"404\\d\\d",,,,"40400",,,[5]]],SX:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"9(?:19|88)",,,,"919"],[,,,,,,,,,[-1]],,,,"SX",,,,,,,,,,,,,,,,,,[,,"919",,,,"919"],,[,,"9(?:19|88)",,,,"919"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SY:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"11[023]",,,,"110"],[,,,,,,,,,[-1]],,,,"SY",,,,,,,,,,,,,,,,,,[,,"11[023]",,,,"110"],,[,,"11[023]",,,,"110"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SZ:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"999",,,,"999"],[,,,,,,,,,[-1]],,,,"SZ",,,,,,,,,,,,,,,,,,[,,"999",,,,"999"],,[,,"999",,,,"999"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TC:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"9(?:11|88|99)",,,,"911"],[,,,,,,,,,[-1]],,,,"TC",,,,,,,,,,,,,,,,,,[,,"9(?:11|99)",,,,"911"],,[,,"9(?:11|88|99)",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TD:[,[,,"1\\d",,,,,,,[2]],,,[,,"1[78]",,,,"17"],[,,,,,,,,,[-1]],,,,"TD",,,,,,,,,,,,,,,,,,[,,"1[78]",,,,"17"],,[,,"1[78]",,,,"17"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TG:[,[,,"1\\d{2,3}",,,,,,,[3,4]],,,[,,"1(?:1[78]|7[127])",,,,"117",,,[3]],[,,,,,,,,,[-1]],,,,"TG",,,,,,,,,,,,,,,,,,[,,"1(?:1[78]|7[127])",,,,"117",,,[3]],,[,,"1(?:011|1[078]|7[127])",,,,"110"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TH:[,[,,"1\\d{2,3}",,,,,,,[3,4]],,,[,,"1(?:1(?:00|2[03]|3[3479]|7[67]|9[0246])|578|6(?:44|6[79]|88|9[16])|88\\d|9[19])|1[15]55",,,,"191"],[,,"1(?:113|2[23]\\d|5(?:09|56))",,,,"1113",,,[4]],,,,"TH",,,,,,,,,,,,,,,,,,[,,"1(?:669|9[19])",,,,"191"],,[,,"1(?:0[0-2]|1(?:0[03]|1[1-35]|2[0358]|3[03-79]|4[02-489]|5[04-9]|6[04-79]|7[03-9]|8[027-9]|9[02-9])|2(?:22|3[89]|66)|3(?:18|2[23]|3[013]|5[56]|6[45]|73)|477|5(?:0\\d|4[0-37-9]|5[1-8]|6[01679]|7[12568]|8[0-24589]|9[013589])|6(?:0[0-29]|2[03]|4[3-6]|6[1-9]|7[0257-9]|8[0158]|9[014-9])|7(?:[14]9|7[27]|90)|888|9[19])",,,,"100"],[,,"1(?:1(?:03|1[15]|2[58]|3[056]|4[02-49]|5[046-9]|7[03-589]|9[57-9])|5(?:0[0-8]|4[0-378]|5[1-478]|7[156])|6(?:20|4[356]|6[1-68]|7[057-9]|8[015]|9[0457-9]))|1(?:1[68]|26|3[1-35]|5[689]|60|7[17])\\d",,,,"1103",,,[4]],[,,"114[89]",,,,"1148",,,[4]],,[,,,,,,,,,[-1]]],TJ:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"1(?:0[1-3]|12)",,,,"101"],[,,,,,,,,,[-1]],,,,"TJ",,,,,,,,,,,,,,,,,,[,,"1(?:0[1-3]|12)",,,,"101"],,[,,"1(?:0[1-3]|12)",,,,"101"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TL:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"11[25]",,,,"112"],[,,,,,,,,,[-1]],,,,"TL",,,,,,,,,,,,,,,,,,[,,"11[25]",,,,"112"],,[,,"1(?:0[02]|1[25]|2[0138]|72|9[07])",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TM:[,[,,"0\\d",,,,,,,[2]],,,[,,"0[1-49]",,,,"01"],[,,,,,,,,,[-1]],,,,"TM",,,,,,,,,,,,,,,,,,[,,"0[1-3]",,,,"01"],,[,,"0[1-49]",,,,"01"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TN:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"19[078]",,,,"190"],[,,,,,,,,,[-1]],,,,"TN",,,,,,,,,,,,,,,,,,[,,"19[078]",,,,"190"],,[,,"19[078]",,,,"190"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TO:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"9(?:11|22|33|99)",,,,"911"],[,,,,,,,,,[-1]],,,,"TO",,,,,,,,,,,,,,,,,,[,,"9(?:11|22|33|99)",,,,"911"],,[,,"9(?:11|22|33|99)",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TR:[,[,,"[1-9]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"1(?:1[02]|22|3[126]|4[04]|5[15-9]|6[18]|77|83)",,,,"110",,,[3]],[,,,,,,,,,[-1]],,,,"TR",,,,,,,,,,,,,,,,,,[,,"1(?:1[02]|55)",,,,"110",,,[3]],,[,,"1(?:1(?:[02-79]|8(?:1[018]|2[0245]|3[2-4]|42|5[058]|6[06]|7[07]|8[01389]|9[089]))|3(?:37|[58]6|65)|471|5(?:07|78)|6(?:[02]6|99)|8(?:63|95))|2(?:077|268|4(?:17|23)|5(?:7[26]|82)|6[14]4|8\\d\\d|9(?:30|89))|3(?:0(?:05|72)|353|4(?:06|30|64)|502|674|747|851|9(?:1[29]|60))|4(?:0(?:25|3[12]|[47]2)|3(?:3[13]|[89]1)|439|5(?:43|55)|717|832)|5(?:145|290|[4-6]\\d\\d|772|833|9(?:[06]1|92))|6(?:236|6(?:12|39|8[59])|769)|7890|8(?:688|7(?:28|65)|85[06])|9(?:159|290)|1[2-9]\\d",,,,"110"],[,,"(?:285|542)0",,,,"2850",,,[4]],[,,,,,,,,,[-1]],,[,,"1(?:3(?:37|[58]6|65)|4(?:4|71)|5(?:07|78)|6(?:[02]6|99)|8(?:3|63|95))|(?:2(?:07|26|4[12]|5[78]|6[14]|8\\d|9[38])|3(?:0[07]|[38]5|4[036]|50|67|74|9[16])|4(?:0[2-47]|3[389]|[48]3|5[45]|71)|5(?:14|29|[4-6]\\d|77|83|9[069])|6(?:23|6[138]|76)|789|8(?:68|7[26]|85)|9(?:15|29))\\d",,,,"144",,,[3,4]]],TT:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"9(?:88|9[09])",,,,"988"],[,,,,,,,,,[-1]],,,,"TT",,,,,,,,,,,,,,,,,,[,,"99[09]",,,,"990"],,[,,"9(?:88|9[09])",,,,"988"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TV:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"911",,,,"911"],[,,,,,,,,,[-1]],,,,"TV",,,,,,,,,,,,,,,,,,[,,"911",,,,"911"],,[,,"1\\d\\d|911",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TW:[,[,,"1\\d{2,3}",,,,,,,[3,4]],,,[,,"11[0289]|1(?:81|92)\\d",,,,"110"],[,,"10[56]",,,,"105",,,[3]],,,,"TW",,,,,,,,,,,,,,,,,,[,,"11[029]",,,,"110",,,[3]],,[,,"1(?:0[04-6]|1[0237-9]|3[389]|6[05-8]|7[07]|8(?:0|11)|9(?:19|22|5[057]|68|8[05]|9[15689]))",,,,"100"],[,,"1(?:65|9(?:1\\d|50|85|98))",,,,"165"],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TZ:[,[,,"[149]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"1(?:1[0-79]|9[09])|999",,,,"110",,,[3]],[,,,,,,,,,[-1]],,,,"TZ",,,,,,,,,,,,,,,,,,[,,"11[0-245]|999",,,,"110",,,[3]],,[,,"1(?:1\\d|9[09])|46400|999",,,,"110"],[,,,,,,,,,[-1]],[,,"464\\d\\d",,,,"46400",,,[5]],,[,,"464\\d\\d",,,,"46400",,,[5]]],UA:[,[,,"[189]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"1(?:0[1-3]|1(?:2|6\\d{3}))",,,,"101",,,[3,6]],[,,,,,,,,,[-1]],,,,"UA",,,,,,,,,,,,,,,,,,[,,"1(?:0[1-3]|12)",,,,"101",,,[3]],,[,,"1(?:0[1-49]|1(?:2|6(?:000|1(?:11|23))|8\\d\\d?)|(?:[278]|5\\d)\\d)|[89]00\\d\\d?|151|1(?:06|4\\d|6)\\d\\d",,,,"101"],[,,,,,,,,,[-1]],[,,"(?:118|[89]00)\\d\\d?",,,,"1180",,,[4,5]],,[,,,,,,,,,[-1]]],UG:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"999",,,,"999"],[,,,,,,,,,[-1]],,,,"UG",,,,,,,,,,,,,,,,,,[,,"999",,,,"999"],,[,,"999",,,,"999"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],US:[,[,,"[1-9]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"112|611|9(?:11|33|88)",,,,"112",,,[3]],[,,"24280|(?:381|968)35|4(?:3355|7553|8221)|5(?:(?:489|934)2|5928)|72078|(?:323|960)40|(?:276|414)63|(?:2(?:520|744)|7390|9968)9|(?:693|732|976)88|(?:3(?:556|825)|5294|8623|9729)4|(?:3378|4136|7642|8961|9979)6|(?:4(?:6(?:15|32)|827)|(?:591|720)8|9529)7",,,,"24280",,,[5]],,,,"US",,,,,,,,,,,,,,,,,,[,,"112|911",,,,"112",,,[3]],,[,,"11(?:2|5[1-47]|[68]\\d|7[0-57]|98)|[2-9]\\d{3,5}|[2-8]11|9(?:11|33|88)",,,,"112"],[,,"2(?:3333|(?:4224|7562|900)2|56447|6688)|3(?:1010|2665|7404)|40404|560560|6(?:0060|22639|5246|7622)|7(?:0701|3822|4666)|8(?:(?:3825|7226)5|4816)|99099",,,,"23333",,,[5,6]],[,,"336\\d\\d|[2-9]\\d{3}|[2356]11",,,,"211",,,[3,4,5]],,[,,"[2-9]\\d{4,5}",,,,"20000",,,[5,6]]],UY:[,[,,"[19]\\d{2,3}",,,,,,,[3,4]],,,[,,"128|911",,,,"128",,,[3]],[,,,,,,,,,[-1]],,,,"UY",,,,,,,,,,,,,,,,,,[,,"128|911",,,,"128",,,[3]],,[,,"1(?:0[4-9]|1[2368]|2[0-3568]|787)|911",,,,"104"],[,,"178\\d",,,,"1780",,,[4]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],UZ:[,[,,"[04]\\d(?:\\d(?:\\d{2})?)?",,,,,,,[2,3,5]],,,[,,"0(?:0[1-3]|[1-3]|50)",,,,"01",,,[2,3]],[,,,,,,,,,[-1]],,,,"UZ",,,,,,,,,,,,,,,,,,[,,"0(?:0[1-3]|[1-3]|50)",,,,"01",,,[2,3]],,[,,"0(?:0[1-3]|[1-3]|50)|45400",,,,"01"],[,,,,,,,,,[-1]],[,,"454\\d\\d",,,,"45400",,,[5]],,[,,"454\\d\\d",,,,"45400",,,[5]]],VA:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"11[2358]",,,,"112"],[,,,,,,,,,[-1]],,,,"VA",,,,,,,,,,,,,,,,,,[,,"11[2358]",,,,"112"],,[,,"11[2358]",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],VC:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"9(?:11|88|99)",,,,"911"],[,,,,,,,,,[-1]],,,,"VC",,,,,,,,,,,,,,,,,,[,,"9(?:11|99)",,,,"911"],,[,,"9(?:11|88|99)",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],VE:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"1(?:12|71)|911",,,,"112"],[,,,,,,,,,[-1]],,,,"VE",,,,,,,,,,,,,,,,,,[,,"1(?:12|71)|911",,,,"112"],,[,,"1(?:12|71)|911",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],VG:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"9(?:11|88|99)",,,,"911"],[,,,,,,,,,[-1]],,,,"VG",,,,,,,,,,,,,,,,,,[,,"9(?:11|99)",,,,"911"],,[,,"9(?:11|88|99)",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],VI:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"9(?:11|88)",,,,"911"],[,,,,,,,,,[-1]],,,,"VI",,,,,,,,,,,,,,,,,,[,,"911",,,,"911"],,[,,"9(?:11|88)",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],VN:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"11[3-5]",,,,"113"],[,,,,,,,,,[-1]],,,,"VN",,,,,,,,,,,,,,,,,,[,,"11[3-5]",,,,"113"],,[,,"11[3-5]",,,,"113"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],VU:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"112",,,,"112"],[,,,,,,,,,[-1]],,,,"VU",,,,,,,,,,,,,,,,,,[,,"112",,,,"112"],,[,,"112",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],WF:[,[,,"1\\d",,,,,,,[2]],,,[,,"1[578]",,,,"15"],[,,,,,,,,,[-1]],,,,"WF",,,,,,,,,,,,,,,,,,[,,"1[578]",,,,"15"],,[,,"1[578]",,,,"15"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],WS:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"9(?:11|9[4-69])",,,,"911"],[,,,,,,,,,[-1]],,,,"WS",,,,,,,,,,,,,,,,,,[,,"9(?:11|9[4-69])",,,,"911"],,[,,"1(?:1[12]|2[0-6]|[39]0)|9(?:11|9[4-79])",,,,"111"],[,,,,,,,,,[-1]],[,,"12[0-6]",,,,"120"],,[,,,,,,,,,[-1]]],XK:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"1(?:12|9[2-4])",,,,"112"],[,,,,,,,,,[-1]],,,,"XK",,,,,,,,,,,,,,,,,,[,,"1(?:12|9[2-4])",,,,"112"],,[,,"1(?:12|9[2-4])",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],YE:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"19[1459]",,,,"191"],[,,,,,,,,,[-1]],,,,"YE",,,,,,,,,,,,,,,,,,[,,"19[1459]",,,,"191"],,[,,"19[1459]",,,,"191"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],YT:[,[,,"1\\d\\d?",,,,,,,[2,3]],,,[,,"1(?:12|5)",,,,"15"],[,,,,,,,,,[-1]],,,,"YT",,,,,,,,,,,,,,,,,,[,,"1(?:12|5)",,,,"15"],,[,,"1(?:12|5)",,,,"15"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],ZA:[,[,,"[134]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"1(?:01\\d\\d|12)",,,,"112",,,[3,5]],[,,"41(?:348|851)",,,,"41348",,,[5]],,,,"ZA",,,,,,,,,,,,,,,,,,[,,"1(?:01(?:11|77)|12)",,,,"112",,,[3,5]],,[,,"1(?:0(?:1(?:11|77)|20|7)|1[12]|77(?:3[237]|[45]7|6[279]|9[26]))|[34]\\d{4}",,,,"107"],[,,"3(?:078[23]|7(?:064|567)|8126)|4(?:394[16]|7751|8837)|4[23]699",,,,"30782",,,[5]],[,,"111",,,,"111",,,[3]],,[,,"[34]\\d{4}",,,,"30000",,,[5]]],ZM:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"112|99[139]",,,,"112"],[,,,,,,,,,[-1]],,,,"ZM",,,,,,,,,,,,,,,,,,[,,"112|99[139]",,,,"112"],,[,,"112|99[139]",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],ZW:[,[,,"[139]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"112|9(?:5[023]|61|9[3-59])",,,,"112",,,[3]],[,,"3[013-57-9]\\d{3}",,,,"30000",,,[5]],,,,"ZW",,,,,,,,,,,,,,,,,,[,,"112|99[3-59]",,,,"112",,,[3]],,[,,"11[2469]|3[013-57-9]\\d{3}|9(?:5[023]|6[0-25]|9[3-59])",,,,"112"],[,,,,,,,,,[-1]],[,,"114|9(?:5[023]|6[0-25])",,,,"114",,,[3]],,[,,,,,,,,,[-1]]]},i18n.phonenumbers.ShortNumberInfo=function(){this.regionToMetadataMap={}},goog.addSingletonGetter(i18n.phonenumbers.ShortNumberInfo),i18n.phonenumbers.ShortNumberInfo.REGIONS_WHERE_EMERGENCY_NUMBERS_MUST_BE_EXACT_=["BR","CL","NI"],i18n.phonenumbers.ShortNumberInfo.ShortNumberCost={TOLL_FREE:0,STANDARD_RATE:1,PREMIUM_RATE:2,UNKNOWN_COST:3},i18n.phonenumbers.ShortNumberInfo.prototype.getRegionCodesForCountryCode_=function(l){return(l=i18n.phonenumbers.metadata.countryCodeToRegionCodeMap[l])?l:[]},i18n.phonenumbers.ShortNumberInfo.prototype.regionDialingFromMatchesNumber_=function(l,h){return l=this.getRegionCodesForCountryCode_(l.getCountryCodeOrDefault()),null!=h&&l.includes(h)},i18n.phonenumbers.ShortNumberInfo.prototype.isPossibleShortNumberForRegion=function(l,h){return!(!this.regionDialingFromMatchesNumber_(l,h)||(h=this.getMetadataForRegion_(h),!h))&&(l=this.getNationalSignificantNumber_(l).length,h.getGeneralDesc().possibleLengthArray().includes(l))},i18n.phonenumbers.ShortNumberInfo.prototype.isPossibleShortNumber=function(l){var h=this.getRegionCodesForCountryCode_(l.getCountryCodeOrDefault());l=this.getNationalSignificantNumber_(l).length;for(var _=0;_<h.length;_++){var y=this.getMetadataForRegion_(h[_]);if(y&&y.getGeneralDesc().possibleLengthArray().includes(l))return!0}return!1},i18n.phonenumbers.ShortNumberInfo.prototype.isValidShortNumberForRegion=function(l,h){if(!this.regionDialingFromMatchesNumber_(l,h)||!(h=this.getMetadataForRegion_(h)))return!1;l=this.getNationalSignificantNumber_(l);var _=h.getGeneralDesc();return!!this.matchesPossibleNumberAndNationalNumber_(l,_)&&(h=h.getShortCode(),this.matchesPossibleNumberAndNationalNumber_(l,h))},i18n.phonenumbers.ShortNumberInfo.prototype.isValidShortNumber=function(l){var h=this.getRegionCodesForCountryCode_(l.getCountryCodeOrDefault()),_=this.getRegionCodeForShortNumberFromRegionList_(l,h);return 1<h.length&&null!=_||this.isValidShortNumberForRegion(l,_)},i18n.phonenumbers.ShortNumberInfo.prototype.getExpectedCostForRegion=function(l,h){var _=i18n.phonenumbers.ShortNumberInfo.ShortNumberCost;if(!this.regionDialingFromMatchesNumber_(l,h))return _.UNKNOWN_COST;var y=this.getMetadataForRegion_(h);return y?(l=this.getNationalSignificantNumber_(l),y.getGeneralDesc().possibleLengthArray().includes(l.length)?this.matchesPossibleNumberAndNationalNumber_(l,y.getPremiumRate())?_.PREMIUM_RATE:this.matchesPossibleNumberAndNationalNumber_(l,y.getStandardRate())?_.STANDARD_RATE:this.matchesPossibleNumberAndNationalNumber_(l,y.getTollFree())||this.isEmergencyNumber(l,h)?_.TOLL_FREE:_.UNKNOWN_COST:_.UNKNOWN_COST):_.UNKNOWN_COST},i18n.phonenumbers.ShortNumberInfo.prototype.getExpectedCost=function(l){var h=i18n.phonenumbers.ShortNumberInfo.ShortNumberCost,_=this.getRegionCodesForCountryCode_(l.getCountryCodeOrDefault());if(0===_.length)return h.UNKNOWN_COST;if(1===_.length)return this.getExpectedCostForRegion(l,_[0]);for(var y=h.TOLL_FREE,w=0;w<_.length;w++){var A=this.getExpectedCostForRegion(l,_[w]);switch(A){case h.PREMIUM_RATE:return h.PREMIUM_RATE;case h.UNKNOWN_COST:y=h.UNKNOWN_COST;break;case h.STANDARD_RATE:y!==h.UNKNOWN_COST&&(y=h.STANDARD_RATE);break;case h.TOLL_FREE:break;default:throw Error("Unrecognized cost for region: "+A)}}return y},i18n.phonenumbers.ShortNumberInfo.prototype.getRegionCodeForShortNumberFromRegionList_=function(l,h){if(0===h.length)return null;if(1===h.length)return h[0];l=this.getNationalSignificantNumber_(l);for(var _=0;_<h.length;_++){var y=h[_],w=this.getMetadataForRegion_(y);if(w&&this.matchesPossibleNumberAndNationalNumber_(l,w.getShortCode()))return y}return null},i18n.phonenumbers.ShortNumberInfo.prototype.getSupportedRegions=function(){return Object.keys(i18n.phonenumbers.shortnumbermetadata.countryToMetadata).filter(function(l){return isNaN(l)})},i18n.phonenumbers.ShortNumberInfo.prototype.getExampleShortNumber=function(l){return(l=this.getMetadataForRegion_(l))&&(l=l.getShortCode()).hasExampleNumber()&&l.getExampleNumber()||""},i18n.phonenumbers.ShortNumberInfo.prototype.getExampleShortNumberForCost=function(l,h){if(!(l=this.getMetadataForRegion_(l)))return"";var _=i18n.phonenumbers.ShortNumberInfo.ShortNumberCost,y=null;switch(h){case _.TOLL_FREE:y=l.getTollFree();break;case _.STANDARD_RATE:y=l.getStandardRate();break;case _.PREMIUM_RATE:y=l.getPremiumRate()}return y&&y.hasExampleNumber()&&y.getExampleNumber()||""},i18n.phonenumbers.ShortNumberInfo.prototype.connectsToEmergencyNumber=function(l,h){return this.matchesEmergencyNumberHelper_(l,h,!0)},i18n.phonenumbers.ShortNumberInfo.prototype.isEmergencyNumber=function(l,h){return this.matchesEmergencyNumberHelper_(l,h,!1)},i18n.phonenumbers.ShortNumberInfo.prototype.getMetadataForRegion_=function(l){if(!l)return null;l=l.toUpperCase();var h=this.regionToMetadataMap[l];if(null==h){h=new goog.proto2.PbLiteSerializer;var _=i18n.phonenumbers.shortnumbermetadata.countryToMetadata[l];if(null==_)return null;h=h.deserialize(i18n.phonenumbers.PhoneMetadata.getDescriptor(),_),this.regionToMetadataMap[l]=h}return h},i18n.phonenumbers.ShortNumberInfo.prototype.matchesEmergencyNumberHelper_=function(l,h,_){var y=i18n.phonenumbers.PhoneNumberUtil.extractPossibleNumber(l);return!(i18n.phonenumbers.PhoneNumberUtil.LEADING_PLUS_CHARS_PATTERN.test(y)||(l=this.getMetadataForRegion_(h),null==l||!l.hasEmergency()))&&(y=i18n.phonenumbers.PhoneNumberUtil.normalizeDigitsOnly(y),h=_&&!i18n.phonenumbers.ShortNumberInfo.REGIONS_WHERE_EMERGENCY_NUMBERS_MUST_BE_EXACT_.includes(h),_=l.getEmergency().getNationalNumberPatternOrDefault(),i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(_,y)||h&&i18n.phonenumbers.PhoneNumberUtil.matchesPrefix(_,y))},i18n.phonenumbers.ShortNumberInfo.prototype.isCarrierSpecific=function(l){var h=this.getRegionCodesForCountryCode_(l.getCountryCodeOrDefault());return h=this.getRegionCodeForShortNumberFromRegionList_(l,h),l=this.getNationalSignificantNumber_(l),!!(h=this.getMetadataForRegion_(h))&&this.matchesPossibleNumberAndNationalNumber_(l,h.getCarrierSpecific())},i18n.phonenumbers.ShortNumberInfo.prototype.isCarrierSpecificForRegion=function(l,h){return!!this.regionDialingFromMatchesNumber_(l,h)&&(l=this.getNationalSignificantNumber_(l),!!(h=this.getMetadataForRegion_(h))&&this.matchesPossibleNumberAndNationalNumber_(l,h.getCarrierSpecific()))},i18n.phonenumbers.ShortNumberInfo.prototype.isSmsServiceForRegion=function(l,h){return!!this.regionDialingFromMatchesNumber_(l,h)&&(h=this.getMetadataForRegion_(h),l=this.getNationalSignificantNumber_(l),!!h&&this.matchesPossibleNumberAndNationalNumber_(l,h.getSmsServices()))},i18n.phonenumbers.ShortNumberInfo.prototype.getNationalSignificantNumber_=function(l){if(!l.hasNationalNumber())return"";var h=""+l.getNationalNumber();return l.hasItalianLeadingZero()&&l.getItalianLeadingZero()&&0<l.getNumberOfLeadingZerosOrDefault()?Array(l.getNumberOfLeadingZerosOrDefault()+1).join("0")+h:h},i18n.phonenumbers.ShortNumberInfo.prototype.matchesPossibleNumberAndNationalNumber_=function(l,h){return!(0<h.possibleLengthArray().length&&!h.possibleLengthArray().includes(l.length))&&i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(h.getNationalNumberPatternOrDefault(),l.toString())},i18n.phonenumbers.AsYouTypeFormatter=function(l){this.DIGIT_PLACEHOLDER_="\u2008",this.DIGIT_PATTERN_=new RegExp(this.DIGIT_PLACEHOLDER_),this.currentOutput_="",this.formattingTemplate_=new goog.string.StringBuffer,this.currentFormattingPattern_="",this.accruedInput_=new goog.string.StringBuffer,this.accruedInputWithoutFormatting_=new goog.string.StringBuffer,this.ableToFormat_=!0,this.isExpectingCountryCallingCode_=this.isCompleteNumber_=this.inputHasFormatting_=!1,this.phoneUtil_=i18n.phonenumbers.PhoneNumberUtil.getInstance(),this.positionToRemember_=this.originalPosition_=this.lastMatchPosition_=0,this.prefixBeforeNationalNumber_=new goog.string.StringBuffer,this.shouldAddSpaceAfterNationalPrefix_=!1,this.extractedNationalPrefix_="",this.nationalNumber_=new goog.string.StringBuffer,this.possibleFormats_=[],this.defaultCountry_=l,this.defaultMetadata_=this.currentMetadata_=this.getMetadataForRegion_(this.defaultCountry_)},i18n.phonenumbers.AsYouTypeFormatter.SEPARATOR_BEFORE_NATIONAL_NUMBER_=" ",i18n.phonenumbers.AsYouTypeFormatter.EMPTY_METADATA_=new i18n.phonenumbers.PhoneMetadata,i18n.phonenumbers.AsYouTypeFormatter.EMPTY_METADATA_.setInternationalPrefix("NA"),i18n.phonenumbers.AsYouTypeFormatter.ELIGIBLE_FORMAT_PATTERN_=new RegExp("^["+i18n.phonenumbers.PhoneNumberUtil.VALID_PUNCTUATION+"]*\\$1["+i18n.phonenumbers.PhoneNumberUtil.VALID_PUNCTUATION+"]*(\\$\\d["+i18n.phonenumbers.PhoneNumberUtil.VALID_PUNCTUATION+"]*)*$"),i18n.phonenumbers.AsYouTypeFormatter.NATIONAL_PREFIX_SEPARATORS_PATTERN_=/[- ]/,i18n.phonenumbers.AsYouTypeFormatter.MIN_LEADING_DIGITS_LENGTH_=3,i18n.phonenumbers.AsYouTypeFormatter.prototype.getMetadataForRegion_=function(l){return l=this.phoneUtil_.getCountryCodeForRegion(l),l=this.phoneUtil_.getRegionCodeForCountryCode(l),(l=this.phoneUtil_.getMetadataForRegion(l))??i18n.phonenumbers.AsYouTypeFormatter.EMPTY_METADATA_},i18n.phonenumbers.AsYouTypeFormatter.prototype.maybeCreateNewTemplate_=function(){for(var l=this.possibleFormats_.length,h=0;h<l;++h){var _=this.possibleFormats_[h],y=_.getPatternOrDefault();if(this.currentFormattingPattern_==y)return!1;if(this.createFormattingTemplate_(_))return this.currentFormattingPattern_=y,this.shouldAddSpaceAfterNationalPrefix_=i18n.phonenumbers.AsYouTypeFormatter.NATIONAL_PREFIX_SEPARATORS_PATTERN_.test(_.getNationalPrefixFormattingRule()),this.lastMatchPosition_=0,!0}return this.ableToFormat_=!1},i18n.phonenumbers.AsYouTypeFormatter.prototype.getAvailableFormats_=function(l){for(var h=this.isCompleteNumber_&&0==this.extractedNationalPrefix_.length&&0<this.currentMetadata_.intlNumberFormatCount()?this.currentMetadata_.intlNumberFormatArray():this.currentMetadata_.numberFormatArray(),_=h.length,y=0;y<_;++y){var w=h[y];0<this.extractedNationalPrefix_.length&&this.phoneUtil_.formattingRuleHasFirstGroupOnly(w.getNationalPrefixFormattingRuleOrDefault())&&!w.getNationalPrefixOptionalWhenFormatting()&&!w.hasDomesticCarrierCodeFormattingRule()||(0!=this.extractedNationalPrefix_.length||this.isCompleteNumber_||this.phoneUtil_.formattingRuleHasFirstGroupOnly(w.getNationalPrefixFormattingRuleOrDefault())||w.getNationalPrefixOptionalWhenFormatting())&&i18n.phonenumbers.AsYouTypeFormatter.ELIGIBLE_FORMAT_PATTERN_.test(w.getFormatOrDefault())&&this.possibleFormats_.push(w)}this.narrowDownPossibleFormats_(l)},i18n.phonenumbers.AsYouTypeFormatter.prototype.narrowDownPossibleFormats_=function(l){for(var h=[],_=l.length-i18n.phonenumbers.AsYouTypeFormatter.MIN_LEADING_DIGITS_LENGTH_,y=this.possibleFormats_.length,w=0;w<y;++w){var A=this.possibleFormats_[w];if(0==A.leadingDigitsPatternCount())h.push(this.possibleFormats_[w]);else{var O=Math.min(_,A.leadingDigitsPatternCount()-1);A=A.getLeadingDigitsPattern(O),0==l.search(A)&&h.push(this.possibleFormats_[w])}}this.possibleFormats_=h},i18n.phonenumbers.AsYouTypeFormatter.prototype.createFormattingTemplate_=function(l){var h=l.getPatternOrDefault();return this.formattingTemplate_.clear(),0<(l=this.getFormattingTemplate_(h,l.getFormatOrDefault())).length&&(this.formattingTemplate_.append(l),!0)},i18n.phonenumbers.AsYouTypeFormatter.prototype.getFormattingTemplate_=function(l,h){var _="999999999999999".match(l)[0];return _.length<this.nationalNumber_.getLength()?"":l=(l=_.replace(new RegExp(l,"g"),h)).replace(/9/g,this.DIGIT_PLACEHOLDER_)},i18n.phonenumbers.AsYouTypeFormatter.prototype.clear=function(){this.currentOutput_="",this.accruedInput_.clear(),this.accruedInputWithoutFormatting_.clear(),this.formattingTemplate_.clear(),this.lastMatchPosition_=0,this.currentFormattingPattern_="",this.prefixBeforeNationalNumber_.clear(),this.extractedNationalPrefix_="",this.nationalNumber_.clear(),this.ableToFormat_=!0,this.inputHasFormatting_=!1,this.originalPosition_=this.positionToRemember_=0,this.isExpectingCountryCallingCode_=this.isCompleteNumber_=!1,this.possibleFormats_=[],this.shouldAddSpaceAfterNationalPrefix_=!1,this.currentMetadata_!=this.defaultMetadata_&&(this.currentMetadata_=this.getMetadataForRegion_(this.defaultCountry_))},i18n.phonenumbers.AsYouTypeFormatter.prototype.inputDigit=function(l){return this.currentOutput_=this.inputDigitWithOptionToRememberPosition_(l,!1)},i18n.phonenumbers.AsYouTypeFormatter.prototype.inputDigitAndRememberPosition=function(l){return this.currentOutput_=this.inputDigitWithOptionToRememberPosition_(l,!0)},i18n.phonenumbers.AsYouTypeFormatter.prototype.inputDigitWithOptionToRememberPosition_=function(l,h){if(this.accruedInput_.append(l),h&&(this.originalPosition_=this.accruedInput_.getLength()),this.isDigitOrLeadingPlusSign_(l)?l=this.normalizeAndAccrueDigitsAndPlusSign_(l,h):(this.ableToFormat_=!1,this.inputHasFormatting_=!0),!this.ableToFormat_){if(!this.inputHasFormatting_)if(this.attemptToExtractIdd_()){if(this.attemptToExtractCountryCallingCode_())return this.attemptToChoosePatternWithPrefixExtracted_()}else if(this.ableToExtractLongerNdd_())return this.prefixBeforeNationalNumber_.append(i18n.phonenumbers.AsYouTypeFormatter.SEPARATOR_BEFORE_NATIONAL_NUMBER_),this.attemptToChoosePatternWithPrefixExtracted_();return this.accruedInput_.toString()}switch(this.accruedInputWithoutFormatting_.getLength()){case 0:case 1:case 2:return this.accruedInput_.toString();case 3:if(!this.attemptToExtractIdd_())return this.extractedNationalPrefix_=this.removeNationalPrefixFromNationalNumber_(),this.attemptToChooseFormattingPattern_();this.isExpectingCountryCallingCode_=!0;default:return this.isExpectingCountryCallingCode_?(this.attemptToExtractCountryCallingCode_()&&(this.isExpectingCountryCallingCode_=!1),this.prefixBeforeNationalNumber_.toString()+this.nationalNumber_.toString()):0<this.possibleFormats_.length?(l=this.inputDigitHelper_(l),0<(h=this.attemptToFormatAccruedDigits_()).length?h:(this.narrowDownPossibleFormats_(this.nationalNumber_.toString()),this.maybeCreateNewTemplate_()?this.inputAccruedNationalNumber_():this.ableToFormat_?this.appendNationalNumber_(l):this.accruedInput_.toString())):this.attemptToChooseFormattingPattern_()}},i18n.phonenumbers.AsYouTypeFormatter.prototype.attemptToChoosePatternWithPrefixExtracted_=function(){return this.ableToFormat_=!0,this.isExpectingCountryCallingCode_=!1,this.possibleFormats_=[],this.lastMatchPosition_=0,this.formattingTemplate_.clear(),this.currentFormattingPattern_="",this.attemptToChooseFormattingPattern_()},i18n.phonenumbers.AsYouTypeFormatter.prototype.getExtractedNationalPrefix_=function(){return this.extractedNationalPrefix_},i18n.phonenumbers.AsYouTypeFormatter.prototype.ableToExtractLongerNdd_=function(){if(0<this.extractedNationalPrefix_.length){var l=this.nationalNumber_.toString();this.nationalNumber_.clear(),this.nationalNumber_.append(this.extractedNationalPrefix_),this.nationalNumber_.append(l);var h=(l=this.prefixBeforeNationalNumber_.toString()).lastIndexOf(this.extractedNationalPrefix_);this.prefixBeforeNationalNumber_.clear(),this.prefixBeforeNationalNumber_.append(l.substring(0,h))}return this.extractedNationalPrefix_!=this.removeNationalPrefixFromNationalNumber_()},i18n.phonenumbers.AsYouTypeFormatter.prototype.isDigitOrLeadingPlusSign_=function(l){return i18n.phonenumbers.PhoneNumberUtil.CAPTURING_DIGIT_PATTERN.test(l)||1==this.accruedInput_.getLength()&&i18n.phonenumbers.PhoneNumberUtil.PLUS_CHARS_PATTERN.test(l)},i18n.phonenumbers.AsYouTypeFormatter.prototype.attemptToFormatAccruedDigits_=function(){for(var l=this.nationalNumber_.toString(),h=this.possibleFormats_.length,_=0;_<h;++_){var y=this.possibleFormats_[_],w=y.getPatternOrDefault();if(new RegExp("^(?:"+w+")$").test(l)&&(this.shouldAddSpaceAfterNationalPrefix_=i18n.phonenumbers.AsYouTypeFormatter.NATIONAL_PREFIX_SEPARATORS_PATTERN_.test(y.getNationalPrefixFormattingRule()),y=l.replace(new RegExp(w,"g"),y.getFormat()),y=this.appendNationalNumber_(y),i18n.phonenumbers.PhoneNumberUtil.normalizeDiallableCharsOnly(y)==this.accruedInputWithoutFormatting_))return y}return""},i18n.phonenumbers.AsYouTypeFormatter.prototype.appendNationalNumber_=function(l){var h=this.prefixBeforeNationalNumber_.getLength();return this.shouldAddSpaceAfterNationalPrefix_&&0<h&&this.prefixBeforeNationalNumber_.toString().charAt(h-1)!=i18n.phonenumbers.AsYouTypeFormatter.SEPARATOR_BEFORE_NATIONAL_NUMBER_?this.prefixBeforeNationalNumber_+i18n.phonenumbers.AsYouTypeFormatter.SEPARATOR_BEFORE_NATIONAL_NUMBER_+l:this.prefixBeforeNationalNumber_+l},i18n.phonenumbers.AsYouTypeFormatter.prototype.getRememberedPosition=function(){if(!this.ableToFormat_)return this.originalPosition_;for(var l=0,h=0,_=this.accruedInputWithoutFormatting_.toString(),y=this.currentOutput_.toString();l<this.positionToRemember_&&h<y.length;)_.charAt(l)==y.charAt(h)&&l++,h++;return h},i18n.phonenumbers.AsYouTypeFormatter.prototype.attemptToChooseFormattingPattern_=function(){var l=this.nationalNumber_.toString();return l.length>=i18n.phonenumbers.AsYouTypeFormatter.MIN_LEADING_DIGITS_LENGTH_?(this.getAvailableFormats_(l),0<(l=this.attemptToFormatAccruedDigits_()).length?l:this.maybeCreateNewTemplate_()?this.inputAccruedNationalNumber_():this.accruedInput_.toString()):this.appendNationalNumber_(l)},i18n.phonenumbers.AsYouTypeFormatter.prototype.inputAccruedNationalNumber_=function(){var l=this.nationalNumber_.toString(),h=l.length;if(0<h){for(var _="",y=0;y<h;y++)_=this.inputDigitHelper_(l.charAt(y));return this.ableToFormat_?this.appendNationalNumber_(_):this.accruedInput_.toString()}return this.prefixBeforeNationalNumber_.toString()},i18n.phonenumbers.AsYouTypeFormatter.prototype.isNanpaNumberWithNationalPrefix_=function(){if(1!=this.currentMetadata_.getCountryCode())return!1;var l=this.nationalNumber_.toString();return"1"==l.charAt(0)&&"0"!=l.charAt(1)&&"1"!=l.charAt(1)},i18n.phonenumbers.AsYouTypeFormatter.prototype.removeNationalPrefixFromNationalNumber_=function(){var l=this.nationalNumber_.toString(),h=0;if(this.isNanpaNumberWithNationalPrefix_())h=1,this.prefixBeforeNationalNumber_.append("1").append(i18n.phonenumbers.AsYouTypeFormatter.SEPARATOR_BEFORE_NATIONAL_NUMBER_),this.isCompleteNumber_=!0;else if(this.currentMetadata_.hasNationalPrefixForParsing()){var _=new RegExp("^(?:"+this.currentMetadata_.getNationalPrefixForParsing()+")");null!=(_=l.match(_))&&null!=_[0]&&0<_[0].length&&(this.isCompleteNumber_=!0,this.prefixBeforeNationalNumber_.append(l.substring(0,h=_[0].length)))}return this.nationalNumber_.clear(),this.nationalNumber_.append(l.substring(h)),l.substring(0,h)},i18n.phonenumbers.AsYouTypeFormatter.prototype.attemptToExtractIdd_=function(){var l=this.accruedInputWithoutFormatting_.toString(),h=new RegExp("^(?:\\"+i18n.phonenumbers.PhoneNumberUtil.PLUS_SIGN+"|"+this.currentMetadata_.getInternationalPrefix()+")");return null!=(h=l.match(h))&&null!=h[0]&&0<h[0].length&&(this.isCompleteNumber_=!0,h=h[0].length,this.nationalNumber_.clear(),this.nationalNumber_.append(l.substring(h)),this.prefixBeforeNationalNumber_.clear(),this.prefixBeforeNationalNumber_.append(l.substring(0,h)),l.charAt(0)!=i18n.phonenumbers.PhoneNumberUtil.PLUS_SIGN&&this.prefixBeforeNationalNumber_.append(i18n.phonenumbers.AsYouTypeFormatter.SEPARATOR_BEFORE_NATIONAL_NUMBER_),!0)},i18n.phonenumbers.AsYouTypeFormatter.prototype.attemptToExtractCountryCallingCode_=function(){if(0==this.nationalNumber_.getLength())return!1;var l=new goog.string.StringBuffer,h=this.phoneUtil_.extractCountryCode(this.nationalNumber_,l);return 0!=h&&(this.nationalNumber_.clear(),this.nationalNumber_.append(l.toString()),l=this.phoneUtil_.getRegionCodeForCountryCode(h),i18n.phonenumbers.PhoneNumberUtil.REGION_CODE_FOR_NON_GEO_ENTITY==l?this.currentMetadata_=this.phoneUtil_.getMetadataForNonGeographicalRegion(h):l!=this.defaultCountry_&&(this.currentMetadata_=this.getMetadataForRegion_(l)),this.prefixBeforeNationalNumber_.append(""+h).append(i18n.phonenumbers.AsYouTypeFormatter.SEPARATOR_BEFORE_NATIONAL_NUMBER_),this.extractedNationalPrefix_="",!0)},i18n.phonenumbers.AsYouTypeFormatter.prototype.normalizeAndAccrueDigitsAndPlusSign_=function(l,h){if(l==i18n.phonenumbers.PhoneNumberUtil.PLUS_SIGN){var _=l;this.accruedInputWithoutFormatting_.append(l)}else this.accruedInputWithoutFormatting_.append(_=i18n.phonenumbers.PhoneNumberUtil.DIGIT_MAPPINGS[l]),this.nationalNumber_.append(_);return h&&(this.positionToRemember_=this.accruedInputWithoutFormatting_.getLength()),_},i18n.phonenumbers.AsYouTypeFormatter.prototype.inputDigitHelper_=function(l){var h=this.formattingTemplate_.toString();if(0<=h.substring(this.lastMatchPosition_).search(this.DIGIT_PATTERN_)){var _=h.search(this.DIGIT_PATTERN_);return l=h.replace(this.DIGIT_PATTERN_,l),this.formattingTemplate_.clear(),this.formattingTemplate_.append(l),this.lastMatchPosition_=_,l.substring(0,this.lastMatchPosition_+1)}return 1==this.possibleFormats_.length&&(this.ableToFormat_=!1),this.currentFormattingPattern_="",this.accruedInput_.toString()},Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=i18n.phonenumbers,module.exports=exports.default}).call(this)}).call(this,typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[1])(1)},module.exports=l()},119:l=>{l.exports=function w(A,O,j){function Z(F,Q){if(!O[F]){if(!A[F]){if(K)return K(F,!0);var q=new Error("Cannot find module '"+F+"'");throw q.code="MODULE_NOT_FOUND",q}var Y=O[F]={exports:{}};A[F][0].call(Y.exports,function(U){return Z(A[F][1][U]||U)},Y,Y.exports,w,A,O,j)}return O[F].exports}for(var K=void 0,ne=0;ne<j.length;ne++)Z(j[ne]);return Z}({1:[function(w,A,O){(function(j){"use strict";var K,Z=j.MutationObserver||j.WebKitMutationObserver;if(Z){var ne=0,F=new Z(U),Q=j.document.createTextNode("");F.observe(Q,{characterData:!0}),K=function(){Q.data=ne=++ne%2}}else if(!j.setImmediate&&typeof j.MessageChannel<"u"){var V=new j.MessageChannel;V.port1.onmessage=U,K=function(){V.port2.postMessage(0)}}else K="document"in j&&"onreadystatechange"in j.document.createElement("script")?function(){var te=j.document.createElement("script");te.onreadystatechange=function(){U(),te.onreadystatechange=null,te.parentNode.removeChild(te),te=null},j.document.documentElement.appendChild(te)}:function(){setTimeout(U,0)};var q,Y=[];function U(){q=!0;for(var te,de,ve=Y.length;ve;){for(de=Y,Y=[],te=-1;++te<ve;)de[te]();ve=Y.length}q=!1}A.exports=function X(te){1===Y.push(te)&&!q&&K()}}).call(this,typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{}],2:[function(w,A,O){"use strict";var j=w(1);function Z(){}var K={},ne=["REJECTED"],F=["FULFILLED"],Q=["PENDING"];function V(Be){if("function"!=typeof Be)throw new TypeError("resolver must be a function");this.state=Q,this.queue=[],this.outcome=void 0,Be!==Z&&X(this,Be)}function q(Be,Ee,ye){this.promise=Be,"function"==typeof Ee&&(this.onFulfilled=Ee,this.callFulfilled=this.otherCallFulfilled),"function"==typeof ye&&(this.onRejected=ye,this.callRejected=this.otherCallRejected)}function Y(Be,Ee,ye){j(function(){var $e;try{$e=Ee(ye)}catch(qe){return K.reject(Be,qe)}$e===Be?K.reject(Be,new TypeError("Cannot resolve promise with itself")):K.resolve(Be,$e)})}function U(Be){var Ee=Be&&Be.then;if(Be&&("object"==typeof Be||"function"==typeof Be)&&"function"==typeof Ee)return function(){Ee.apply(Be,arguments)}}function X(Be,Ee){var ye=!1;function $e(xe){ye||(ye=!0,K.reject(Be,xe))}function qe(xe){ye||(ye=!0,K.resolve(Be,xe))}var st=te(function et(){Ee(qe,$e)});"error"===st.status&&$e(st.value)}function te(Be,Ee){var ye={};try{ye.value=Be(Ee),ye.status="success"}catch($e){ye.status="error",ye.value=$e}return ye}A.exports=V,V.prototype.catch=function(Be){return this.then(null,Be)},V.prototype.then=function(Be,Ee){if("function"!=typeof Be&&this.state===F||"function"!=typeof Ee&&this.state===ne)return this;var ye=new this.constructor(Z);return this.state!==Q?Y(ye,this.state===F?Be:Ee,this.outcome):this.queue.push(new q(ye,Be,Ee)),ye},q.prototype.callFulfilled=function(Be){K.resolve(this.promise,Be)},q.prototype.otherCallFulfilled=function(Be){Y(this.promise,this.onFulfilled,Be)},q.prototype.callRejected=function(Be){K.reject(this.promise,Be)},q.prototype.otherCallRejected=function(Be){Y(this.promise,this.onRejected,Be)},K.resolve=function(Be,Ee){var ye=te(U,Ee);if("error"===ye.status)return K.reject(Be,ye.value);var $e=ye.value;if($e)X(Be,$e);else{Be.state=F,Be.outcome=Ee;for(var qe=-1,et=Be.queue.length;++qe<et;)Be.queue[qe].callFulfilled(Ee)}return Be},K.reject=function(Be,Ee){Be.state=ne,Be.outcome=Ee;for(var ye=-1,$e=Be.queue.length;++ye<$e;)Be.queue[ye].callRejected(Ee);return Be},V.resolve=function de(Be){return Be instanceof this?Be:K.resolve(new this(Z),Be)},V.reject=function ve(Be){var Ee=new this(Z);return K.reject(Ee,Be)},V.all=function Oe(Be){var Ee=this;if("[object Array]"!==Object.prototype.toString.call(Be))return this.reject(new TypeError("must be an array"));var ye=Be.length,$e=!1;if(!ye)return this.resolve([]);for(var qe=new Array(ye),et=0,st=-1,xe=new this(Z);++st<ye;)Ie(Be[st],st);return xe;function Ie(he,Ue){Ee.resolve(he).then(function Ye(bt){qe[Ue]=bt,++et===ye&&!$e&&($e=!0,K.resolve(xe,qe))},function(bt){$e||($e=!0,K.reject(xe,bt))})}},V.race=function Ce(Be){var Ee=this;if("[object Array]"!==Object.prototype.toString.call(Be))return this.reject(new TypeError("must be an array"));var ye=Be.length,$e=!1;if(!ye)return this.resolve([]);for(var qe=-1,et=new this(Z);++qe<ye;)Ee.resolve(Be[qe]).then(function(Ie){$e||($e=!0,K.resolve(et,Ie))},function(Ie){$e||($e=!0,K.reject(et,Ie))});return et}},{1:1}],3:[function(w,A,O){(function(j){"use strict";"function"!=typeof j.Promise&&(j.Promise=w(2))}).call(this,typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{2:2}],4:[function(w,A,O){"use strict";var j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(J){return typeof J}:function(J){return J&&"function"==typeof Symbol&&J.constructor===Symbol&&J!==Symbol.prototype?"symbol":typeof J};var ne=function K(){try{if(typeof indexedDB<"u")return indexedDB;if(typeof webkitIndexedDB<"u")return webkitIndexedDB;if(typeof mozIndexedDB<"u")return mozIndexedDB;if(typeof OIndexedDB<"u")return OIndexedDB;if(typeof msIndexedDB<"u")return msIndexedDB}catch{return}}();function Q(J,Se){J=J||[],Se=Se||{};try{return new Blob(J,Se)}catch(we){if("TypeError"!==we.name)throw we;for(var _e=new(typeof BlobBuilder<"u"?BlobBuilder:typeof MSBlobBuilder<"u"?MSBlobBuilder:typeof MozBlobBuilder<"u"?MozBlobBuilder:WebKitBlobBuilder),ke=0;ke<J.length;ke+=1)_e.append(J[ke]);return _e.getBlob(Se.type)}}typeof Promise>"u"&&w(3);var V=Promise;function q(J,Se){Se&&J.then(function(ee){Se(null,ee)},function(ee){Se(ee)})}function Y(J,Se,ee){"function"==typeof Se&&J.then(Se),"function"==typeof ee&&J.catch(ee)}function U(J){return"string"!=typeof J&&(console.warn(J+" used as a key, but it is not a string."),J=String(J)),J}function X(){if(arguments.length&&"function"==typeof arguments[arguments.length-1])return arguments[arguments.length-1]}var te="local-forage-detect-blob-support",de=void 0,ve={},Oe=Object.prototype.toString,Ce="readonly",Be="readwrite";function Ee(J){for(var Se=J.length,ee=new ArrayBuffer(Se),_e=new Uint8Array(ee),ke=0;ke<Se;ke++)_e[ke]=J.charCodeAt(ke);return ee}function $e(J){return"boolean"==typeof de?V.resolve(de):function ye(J){return new V(function(Se){var ee=J.transaction(te,Be),_e=Q([""]);ee.objectStore(te).put(_e,"key"),ee.onabort=function(ke){ke.preventDefault(),ke.stopPropagation(),Se(!1)},ee.oncomplete=function(){var ke=navigator.userAgent.match(/Chrome\/(\d+)/),we=navigator.userAgent.match(/Edge\//);Se(we||!ke||parseInt(ke[1],10)>=43)}}).catch(function(){return!1})}(J).then(function(Se){return de=Se})}function qe(J){var Se=ve[J.name],ee={};ee.promise=new V(function(_e,ke){ee.resolve=_e,ee.reject=ke}),Se.deferredOperations.push(ee),Se.dbReady=Se.dbReady?Se.dbReady.then(function(){return ee.promise}):ee.promise}function et(J){var ee=ve[J.name].deferredOperations.pop();if(ee)return ee.resolve(),ee.promise}function st(J,Se){var _e=ve[J.name].deferredOperations.pop();if(_e)return _e.reject(Se),_e.promise}function xe(J,Se){return new V(function(ee,_e){if(ve[J.name]=ve[J.name]||{forages:[],db:null,dbReady:null,deferredOperations:[]},J.db){if(!Se)return ee(J.db);qe(J),J.db.close()}var ke=[J.name];Se&&ke.push(J.version);var we=ne.open.apply(ne,ke);Se&&(we.onupgradeneeded=function(gt){var vt=we.result;try{vt.createObjectStore(J.storeName),gt.oldVersion<=1&&vt.createObjectStore(te)}catch(wt){if("ConstraintError"!==wt.name)throw wt;console.warn('The database "'+J.name+'" has been upgraded from version '+gt.oldVersion+" to version "+gt.newVersion+', but the storage "'+J.storeName+'" already exists.')}}),we.onerror=function(gt){gt.preventDefault(),_e(we.error)},we.onsuccess=function(){var gt=we.result;gt.onversionchange=function(vt){vt.target.close()},ee(gt),et(J)}})}function Ie(J){return xe(J,!1)}function he(J){return xe(J,!0)}function Ue(J,Se){if(!J.db)return!0;var ee=!J.db.objectStoreNames.contains(J.storeName),ke=J.version>J.db.version;if(J.version<J.db.version&&(J.version!==Se&&console.warn('The database "'+J.name+"\" can't be downgraded from version "+J.db.version+" to version "+J.version+"."),J.version=J.db.version),ke||ee){if(ee){var we=J.db.version+1;we>J.version&&(J.version=we)}return!0}return!1}function bt(J){return Q([Ee(atob(J.data))],{type:J.type})}function Ae(J){return J&&J.__local_forage_encoded_blob}function ue(J){var Se=this,ee=Se._initReady().then(function(){var _e=ve[Se._dbInfo.name];if(_e&&_e.dbReady)return _e.dbReady});return Y(ee,J,J),ee}function ae(J,Se,ee,_e){void 0===_e&&(_e=1);try{var ke=J.db.transaction(J.storeName,Se);ee(null,ke)}catch(we){if(_e>0&&(!J.db||"InvalidStateError"===we.name||"NotFoundError"===we.name))return V.resolve().then(function(){if(!J.db||"NotFoundError"===we.name&&!J.db.objectStoreNames.contains(J.storeName)&&J.version<=J.db.version)return J.db&&(J.version=J.db.version+1),he(J)}).then(function(){return function ie(J){qe(J);for(var Se=ve[J.name],ee=Se.forages,_e=0;_e<ee.length;_e++){var ke=ee[_e];ke._dbInfo.db&&(ke._dbInfo.db.close(),ke._dbInfo.db=null)}return J.db=null,Ie(J).then(function(we){return J.db=we,Ue(J)?he(J):we}).then(function(we){J.db=Se.db=we;for(var gt=0;gt<ee.length;gt++)ee[gt]._dbInfo.db=we}).catch(function(we){throw st(J,we),we})}(J).then(function(){ae(J,Se,ee,_e-1)})}).catch(ee);ee(we)}}var sn={_driver:"asyncStorage",_initStorage:function Xe(J){var Se=this,ee={db:null};if(J)for(var _e in J)ee[_e]=J[_e];var ke=ve[ee.name];ke||(ve[ee.name]=ke={forages:[],db:null,dbReady:null,deferredOperations:[]}),ke.forages.push(Se),Se._initReady||(Se._initReady=Se.ready,Se.ready=ue);var we=[];function gt(){return V.resolve()}for(var vt=0;vt<ke.forages.length;vt++){var wt=ke.forages[vt];wt!==Se&&we.push(wt._initReady().catch(gt))}var Ct=ke.forages.slice(0);return V.all(we).then(function(){return ee.db=ke.db,Ie(ee)}).then(function(xt){return ee.db=xt,Ue(ee,Se._defaultConfig.version)?he(ee):xt}).then(function(xt){ee.db=ke.db=xt,Se._dbInfo=ee;for(var Kt=0;Kt<Ct.length;Kt++){var Pn=Ct[Kt];Pn!==Se&&(Pn._dbInfo.db=ee.db,Pn._dbInfo.version=ee.version)}})},_support:function F(){try{if(!ne||!ne.open)return!1;var J=typeof openDatabase<"u"&&/(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent)&&!/BlackBerry/.test(navigator.platform),Se="function"==typeof fetch&&-1!==fetch.toString().indexOf("[native code");return(!J||Se)&&typeof indexedDB<"u"&&typeof IDBKeyRange<"u"}catch{return!1}}(),iterate:function Bt(J,Se){var ee=this,_e=new V(function(ke,we){ee.ready().then(function(){ae(ee._dbInfo,Ce,function(gt,vt){if(gt)return we(gt);try{var Ct=vt.objectStore(ee._dbInfo.storeName).openCursor(),xt=1;Ct.onsuccess=function(){var Kt=Ct.result;if(Kt){var Pn=Kt.value;Ae(Pn)&&(Pn=bt(Pn));var Yn=J(Pn,Kt.key,xt++);void 0!==Yn?ke(Yn):Kt.continue()}else ke()},Ct.onerror=function(){we(Ct.error)}}catch(Kt){we(Kt)}})}).catch(we)});return q(_e,Se),_e},getItem:function Ot(J,Se){var ee=this;J=U(J);var _e=new V(function(ke,we){ee.ready().then(function(){ae(ee._dbInfo,Ce,function(gt,vt){if(gt)return we(gt);try{var Ct=vt.objectStore(ee._dbInfo.storeName).get(J);Ct.onsuccess=function(){var xt=Ct.result;void 0===xt&&(xt=null),Ae(xt)&&(xt=bt(xt)),ke(xt)},Ct.onerror=function(){we(Ct.error)}}catch(xt){we(xt)}})}).catch(we)});return q(_e,Se),_e},setItem:function zt(J,Se,ee){var _e=this;J=U(J);var ke=new V(function(we,gt){var vt;_e.ready().then(function(){return vt=_e._dbInfo,"[object Blob]"===Oe.call(Se)?$e(vt.db).then(function(wt){return wt?Se:function Ye(J){return new V(function(Se,ee){var _e=new FileReader;_e.onerror=ee,_e.onloadend=function(ke){var we=btoa(ke.target.result||"");Se({__local_forage_encoded_blob:!0,data:we,type:J.type})},_e.readAsBinaryString(J)})}(Se)}):Se}).then(function(wt){ae(_e._dbInfo,Be,function(Ct,xt){if(Ct)return gt(Ct);try{var Kt=xt.objectStore(_e._dbInfo.storeName);null===wt&&(wt=void 0);var Pn=Kt.put(wt,J);xt.oncomplete=function(){void 0===wt&&(wt=null),we(wt)},xt.onabort=xt.onerror=function(){gt(Pn.error?Pn.error:Pn.transaction.error)}}catch(Yn){gt(Yn)}})}).catch(gt)});return q(ke,ee),ke},removeItem:function Vt(J,Se){var ee=this;J=U(J);var _e=new V(function(ke,we){ee.ready().then(function(){ae(ee._dbInfo,Be,function(gt,vt){if(gt)return we(gt);try{var Ct=vt.objectStore(ee._dbInfo.storeName).delete(J);vt.oncomplete=function(){ke()},vt.onerror=function(){we(Ct.error)},vt.onabort=function(){we(Ct.error?Ct.error:Ct.transaction.error)}}catch(xt){we(xt)}})}).catch(we)});return q(_e,Se),_e},clear:function dn(J){var Se=this,ee=new V(function(_e,ke){Se.ready().then(function(){ae(Se._dbInfo,Be,function(we,gt){if(we)return ke(we);try{var wt=gt.objectStore(Se._dbInfo.storeName).clear();gt.oncomplete=function(){_e()},gt.onabort=gt.onerror=function(){ke(wt.error?wt.error:wt.transaction.error)}}catch(Ct){ke(Ct)}})}).catch(ke)});return q(ee,J),ee},length:function vn(J){var Se=this,ee=new V(function(_e,ke){Se.ready().then(function(){ae(Se._dbInfo,Ce,function(we,gt){if(we)return ke(we);try{var wt=gt.objectStore(Se._dbInfo.storeName).count();wt.onsuccess=function(){_e(wt.result)},wt.onerror=function(){ke(wt.error)}}catch(Ct){ke(Ct)}})}).catch(ke)});return q(ee,J),ee},key:function Un(J,Se){var ee=this,_e=new V(function(ke,we){J<0?ke(null):ee.ready().then(function(){ae(ee._dbInfo,Ce,function(gt,vt){if(gt)return we(gt);try{var wt=vt.objectStore(ee._dbInfo.storeName),Ct=!1,xt=wt.openKeyCursor();xt.onsuccess=function(){var Kt=xt.result;Kt?0===J||Ct?ke(Kt.key):(Ct=!0,Kt.advance(J)):ke(null)},xt.onerror=function(){we(xt.error)}}catch(Kt){we(Kt)}})}).catch(we)});return q(_e,Se),_e},keys:function Cn(J){var Se=this,ee=new V(function(_e,ke){Se.ready().then(function(){ae(Se._dbInfo,Ce,function(we,gt){if(we)return ke(we);try{var wt=gt.objectStore(Se._dbInfo.storeName).openKeyCursor(),Ct=[];wt.onsuccess=function(){var xt=wt.result;xt?(Ct.push(xt.key),xt.continue()):_e(Ct)},wt.onerror=function(){ke(wt.error)}}catch(xt){ke(xt)}})}).catch(ke)});return q(ee,J),ee},dropInstance:function hr(J,Se){Se=X.apply(this,arguments);var ke,ee=this.config();return(J="function"!=typeof J&&J||{}).name||(J.name=J.name||ee.name,J.storeName=J.storeName||ee.storeName),q(ke=J.name?(J.name===ee.name&&this._dbInfo.db?V.resolve(this._dbInfo.db):Ie(J).then(function(vt){var wt=ve[J.name],Ct=wt.forages;wt.db=vt;for(var xt=0;xt<Ct.length;xt++)Ct[xt]._dbInfo.db=vt;return vt})).then(J.storeName?function(vt){if(vt.objectStoreNames.contains(J.storeName)){var wt=vt.version+1;qe(J);var Ct=ve[J.name],xt=Ct.forages;vt.close();for(var Kt=0;Kt<xt.length;Kt++){var Pn=xt[Kt];Pn._dbInfo.db=null,Pn._dbInfo.version=wt}return new V(function(eo,rr){var xo=ne.open(J.name,wt);xo.onerror=function(Ci){xo.result.close(),rr(Ci)},xo.onupgradeneeded=function(){xo.result.deleteObjectStore(J.storeName)},xo.onsuccess=function(){var Ci=xo.result;Ci.close(),eo(Ci)}}).then(function(eo){Ct.db=eo;for(var rr=0;rr<xt.length;rr++){var xo=xt[rr];xo._dbInfo.db=eo,et(xo._dbInfo)}}).catch(function(eo){throw(st(J,eo)||V.resolve()).catch(function(){}),eo})}}:function(vt){qe(J);var wt=ve[J.name],Ct=wt.forages;vt.close();for(var xt=0;xt<Ct.length;xt++)Ct[xt]._dbInfo.db=null;return new V(function(Yn,eo){var rr=ne.deleteDatabase(J.name);rr.onerror=function(){var xo=rr.result;xo&&xo.close(),eo(rr.error)},rr.onblocked=function(){console.warn('dropInstance blocked for database "'+J.name+'" until all open connections are closed')},rr.onsuccess=function(){var xo=rr.result;xo&&xo.close(),Yn(xo)}}).then(function(Yn){wt.db=Yn;for(var eo=0;eo<Ct.length;eo++)et(Ct[eo]._dbInfo)}).catch(function(Yn){throw(st(J,Yn)||V.resolve()).catch(function(){}),Yn})}):V.reject("Invalid arguments"),Se),ke}};var Xn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Wt=/^~~local_forage_type~([^~]+)~/,ft="__lfsc__:",at="arbf",Mt="blob",tr=Object.prototype.toString;function Fr(J){var _e,we,gt,vt,wt,Se=.75*J.length,ee=J.length,ke=0;"="===J[J.length-1]&&(Se--,"="===J[J.length-2]&&Se--);var Ct=new ArrayBuffer(Se),xt=new Uint8Array(Ct);for(_e=0;_e<ee;_e+=4)we=Xn.indexOf(J[_e]),gt=Xn.indexOf(J[_e+1]),vt=Xn.indexOf(J[_e+2]),wt=Xn.indexOf(J[_e+3]),xt[ke++]=we<<2|gt>>4,xt[ke++]=(15&gt)<<4|vt>>2,xt[ke++]=(3&vt)<<6|63&wt;return Ct}function nr(J){var _e,Se=new Uint8Array(J),ee="";for(_e=0;_e<Se.length;_e+=3)ee+=Xn[Se[_e]>>2],ee+=Xn[(3&Se[_e])<<4|Se[_e+1]>>4],ee+=Xn[(15&Se[_e+1])<<2|Se[_e+2]>>6],ee+=Xn[63&Se[_e+2]];return Se.length%3==2?ee=ee.substring(0,ee.length-1)+"=":Se.length%3==1&&(ee=ee.substring(0,ee.length-2)+"=="),ee}var Li={serialize:function oi(J,Se){var ee="";if(J&&(ee=tr.call(J)),J&&("[object ArrayBuffer]"===ee||J.buffer&&"[object ArrayBuffer]"===tr.call(J.buffer))){var _e,ke=ft;J instanceof ArrayBuffer?(_e=J,ke+=at):(_e=J.buffer,"[object Int8Array]"===ee?ke+="si08":"[object Uint8Array]"===ee?ke+="ui08":"[object Uint8ClampedArray]"===ee?ke+="uic8":"[object Int16Array]"===ee?ke+="si16":"[object Uint16Array]"===ee?ke+="ur16":"[object Int32Array]"===ee?ke+="si32":"[object Uint32Array]"===ee?ke+="ui32":"[object Float32Array]"===ee?ke+="fl32":"[object Float64Array]"===ee?ke+="fl64":Se(new Error("Failed to get type for BinaryArray"))),Se(ke+nr(_e))}else if("[object Blob]"===ee){var we=new FileReader;we.onload=function(){var gt="~~local_forage_type~"+J.type+"~"+nr(this.result);Se(ft+Mt+gt)},we.readAsArrayBuffer(J)}else try{Se(JSON.stringify(J))}catch(gt){console.error("Couldn't convert value into a JSON string: ",J),Se(null,gt)}},deserialize:function qr(J){if(J.substring(0,9)!==ft)return JSON.parse(J);var _e,Se=J.substring(13),ee=J.substring(9,13);if(ee===Mt&&Wt.test(Se)){var ke=Se.match(Wt);_e=ke[1],Se=Se.substring(ke[0].length)}var we=Fr(Se);switch(ee){case at:return we;case Mt:return Q([we],{type:_e});case"si08":return new Int8Array(we);case"ui08":return new Uint8Array(we);case"uic8":return new Uint8ClampedArray(we);case"si16":return new Int16Array(we);case"ur16":return new Uint16Array(we);case"si32":return new Int32Array(we);case"ui32":return new Uint32Array(we);case"fl32":return new Float32Array(we);case"fl64":return new Float64Array(we);default:throw new Error("Unkown type: "+ee)}},stringToBuffer:Fr,bufferToString:nr};function Fi(J,Se,ee,_e){J.executeSql("CREATE TABLE IF NOT EXISTS "+Se.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],ee,_e)}function ri(J,Se,ee,_e,ke,we){J.executeSql(ee,_e,ke,function(gt,vt){vt.code===vt.SYNTAX_ERR?gt.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[Se.storeName],function(wt,Ct){Ct.rows.length?we(wt,vt):Fi(wt,Se,function(){wt.executeSql(ee,_e,ke,we)},we)},we):we(gt,vt)},we)}function Na(J,Se,ee,_e){var ke=this;J=U(J);var we=new V(function(gt,vt){ke.ready().then(function(){void 0===Se&&(Se=null);var wt=Se,Ct=ke._dbInfo;Ct.serializer.serialize(Se,function(xt,Kt){Kt?vt(Kt):Ct.db.transaction(function(Pn){ri(Pn,Ct,"INSERT OR REPLACE INTO "+Ct.storeName+" (key, value) VALUES (?, ?)",[J,xt],function(){gt(wt)},function(Yn,eo){vt(eo)})},function(Pn){if(Pn.code===Pn.QUOTA_ERR){if(_e>0)return void gt(Na.apply(ke,[J,wt,ee,_e-1]));vt(Pn)}})})}).catch(vt)});return q(we,ee),we}var or={_driver:"webSQLStorage",_initStorage:function Ms(J){var Se=this,ee={db:null};if(J)for(var _e in J)ee[_e]="string"!=typeof J[_e]?J[_e].toString():J[_e];var ke=new V(function(we,gt){try{ee.db=openDatabase(ee.name,String(ee.version),ee.description,ee.size)}catch(vt){return gt(vt)}ee.db.transaction(function(vt){Fi(vt,ee,function(){Se._dbInfo=ee,we()},function(wt,Ct){gt(Ct)})},gt)});return ee.serializer=Li,ke},_support:function ho(){return"function"==typeof openDatabase}(),iterate:function Bi(J,Se){var ee=this,_e=new V(function(ke,we){ee.ready().then(function(){var gt=ee._dbInfo;gt.db.transaction(function(vt){ri(vt,gt,"SELECT * FROM "+gt.storeName,[],function(wt,Ct){for(var xt=Ct.rows,Kt=xt.length,Pn=0;Pn<Kt;Pn++){var Yn=xt.item(Pn),eo=Yn.value;if(eo&&(eo=gt.serializer.deserialize(eo)),void 0!==(eo=J(eo,Yn.key,Pn+1)))return void ke(eo)}ke()},function(wt,Ct){we(Ct)})})}).catch(we)});return q(_e,Se),_e},getItem:function oa(J,Se){var ee=this;J=U(J);var _e=new V(function(ke,we){ee.ready().then(function(){var gt=ee._dbInfo;gt.db.transaction(function(vt){ri(vt,gt,"SELECT * FROM "+gt.storeName+" WHERE key = ? LIMIT 1",[J],function(wt,Ct){var xt=Ct.rows.length?Ct.rows.item(0).value:null;xt&&(xt=gt.serializer.deserialize(xt)),ke(xt)},function(wt,Ct){we(Ct)})})}).catch(we)});return q(_e,Se),_e},setItem:function nl(J,Se,ee){return Na.apply(this,[J,Se,ee,1])},removeItem:function bo(J,Se){var ee=this;J=U(J);var _e=new V(function(ke,we){ee.ready().then(function(){var gt=ee._dbInfo;gt.db.transaction(function(vt){ri(vt,gt,"DELETE FROM "+gt.storeName+" WHERE key = ?",[J],function(){ke()},function(wt,Ct){we(Ct)})})}).catch(we)});return q(_e,Se),_e},clear:function xa(J){var Se=this,ee=new V(function(_e,ke){Se.ready().then(function(){var we=Se._dbInfo;we.db.transaction(function(gt){ri(gt,we,"DELETE FROM "+we.storeName,[],function(){_e()},function(vt,wt){ke(wt)})})}).catch(ke)});return q(ee,J),ee},length:function Ul(J){var Se=this,ee=new V(function(_e,ke){Se.ready().then(function(){var we=Se._dbInfo;we.db.transaction(function(gt){ri(gt,we,"SELECT COUNT(key) as c FROM "+we.storeName,[],function(vt,wt){var Ct=wt.rows.item(0).c;_e(Ct)},function(vt,wt){ke(wt)})})}).catch(ke)});return q(ee,J),ee},key:function ol(J,Se){var ee=this,_e=new V(function(ke,we){ee.ready().then(function(){var gt=ee._dbInfo;gt.db.transaction(function(vt){ri(vt,gt,"SELECT key FROM "+gt.storeName+" WHERE id = ? LIMIT 1",[J+1],function(wt,Ct){var xt=Ct.rows.length?Ct.rows.item(0).key:null;ke(xt)},function(wt,Ct){we(Ct)})})}).catch(we)});return q(_e,Se),_e},keys:function rl(J){var Se=this,ee=new V(function(_e,ke){Se.ready().then(function(){var we=Se._dbInfo;we.db.transaction(function(gt){ri(gt,we,"SELECT key FROM "+we.storeName,[],function(vt,wt){for(var Ct=[],xt=0;xt<wt.rows.length;xt++)Ct.push(wt.rows.item(xt).key);_e(Ct)},function(vt,wt){ke(wt)})})}).catch(ke)});return q(ee,J),ee},dropInstance:function Oa(J,Se){Se=X.apply(this,arguments);var ee=this.config();(J="function"!=typeof J&&J||{}).name||(J.name=J.name||ee.name,J.storeName=J.storeName||ee.storeName);var ke,_e=this;return q(ke=J.name?new V(function(we){var gt;gt=J.name===ee.name?_e._dbInfo.db:openDatabase(J.name,"","",0),we(J.storeName?{db:gt,storeNames:[J.storeName]}:function Ho(J){return new V(function(Se,ee){J.transaction(function(_e){_e.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name <> '__WebKitDatabaseInfoTable__'",[],function(ke,we){for(var gt=[],vt=0;vt<we.rows.length;vt++)gt.push(we.rows.item(vt).name);Se({db:J,storeNames:gt})},function(ke,we){ee(we)})},function(_e){ee(_e)})})}(gt))}).then(function(we){return new V(function(gt,vt){we.db.transaction(function(wt){function Ct(Yn){return new V(function(eo,rr){wt.executeSql("DROP TABLE IF EXISTS "+Yn,[],function(){eo()},function(xo,Ci){rr(Ci)})})}for(var xt=[],Kt=0,Pn=we.storeNames.length;Kt<Pn;Kt++)xt.push(Ct(we.storeNames[Kt]));V.all(xt).then(function(){gt()}).catch(function(Yn){vt(Yn)})},function(wt){vt(wt)})})}):V.reject("Invalid arguments"),Se),ke}};function wo(J,Se){var ee=J.name+"/";return J.storeName!==Se.storeName&&(ee+=J.storeName+"/"),ee}function ra(){return!function jn(){var J="_localforage_support_test";try{return localStorage.setItem(J,!0),localStorage.removeItem(J),!1}catch{return!0}}()||localStorage.length>0}var ii={_driver:"localStorageWrapper",_initStorage:function rn(J){var ee={};if(J)for(var _e in J)ee[_e]=J[_e];return ee.keyPrefix=wo(J,this._defaultConfig),ra()?(this._dbInfo=ee,ee.serializer=Li,V.resolve()):V.reject()},_support:function Ki(){try{return typeof localStorage<"u"&&"setItem"in localStorage&&!!localStorage.setItem}catch{return!1}}(),iterate:function Ve(J,Se){var ee=this,_e=ee.ready().then(function(){for(var ke=ee._dbInfo,we=ke.keyPrefix,gt=we.length,vt=localStorage.length,wt=1,Ct=0;Ct<vt;Ct++){var xt=localStorage.key(Ct);if(0===xt.indexOf(we)){var Kt=localStorage.getItem(xt);if(Kt&&(Kt=ke.serializer.deserialize(Kt)),void 0!==(Kt=J(Kt,xt.substring(gt),wt++)))return Kt}}});return q(_e,Se),_e},getItem:function _r(J,Se){var ee=this;J=U(J);var _e=ee.ready().then(function(){var ke=ee._dbInfo,we=localStorage.getItem(ke.keyPrefix+J);return we&&(we=ke.serializer.deserialize(we)),we});return q(_e,Se),_e},setItem:function Rc(J,Se,ee){var _e=this;J=U(J);var ke=_e.ready().then(function(){void 0===Se&&(Se=null);var we=Se;return new V(function(gt,vt){var wt=_e._dbInfo;wt.serializer.serialize(Se,function(Ct,xt){if(xt)vt(xt);else try{localStorage.setItem(wt.keyPrefix+J,Ct),gt(we)}catch(Kt){("QuotaExceededError"===Kt.name||"NS_ERROR_DOM_QUOTA_REACHED"===Kt.name)&&vt(Kt),vt(Kt)}})})});return q(ke,ee),ke},removeItem:function il(J,Se){var ee=this;J=U(J);var _e=ee.ready().then(function(){localStorage.removeItem(ee._dbInfo.keyPrefix+J)});return q(_e,Se),_e},clear:function Xi(J){var Se=this,ee=Se.ready().then(function(){for(var _e=Se._dbInfo.keyPrefix,ke=localStorage.length-1;ke>=0;ke--){var we=localStorage.key(ke);0===we.indexOf(_e)&&localStorage.removeItem(we)}});return q(ee,J),ee},length:function ka(J){var ee=this.keys().then(function(_e){return _e.length});return q(ee,J),ee},key:function Zi(J,Se){var ee=this,_e=ee.ready().then(function(){var we,ke=ee._dbInfo;try{we=localStorage.key(J)}catch{we=null}return we&&(we=we.substring(ke.keyPrefix.length)),we});return q(_e,Se),_e},keys:function Qi(J){var Se=this,ee=Se.ready().then(function(){for(var _e=Se._dbInfo,ke=localStorage.length,we=[],gt=0;gt<ke;gt++){var vt=localStorage.key(gt);0===vt.indexOf(_e.keyPrefix)&&we.push(vt.substring(_e.keyPrefix.length))}return we});return q(ee,J),ee},dropInstance:function $s(J,Se){if(Se=X.apply(this,arguments),!(J="function"!=typeof J&&J||{}).name){var ee=this.config();J.name=J.name||ee.name,J.storeName=J.storeName||ee.storeName}var ke,_e=this;return q(ke=J.name?new V(function(we){we(J.storeName?wo(J,_e._defaultConfig):J.name+"/")}).then(function(we){for(var gt=localStorage.length-1;gt>=0;gt--){var vt=localStorage.key(gt);0===vt.indexOf(we)&&localStorage.removeItem(vt)}}):V.reject("Invalid arguments"),Se),ke}},Ji=function(Se,ee){return Se===ee||"number"==typeof Se&&"number"==typeof ee&&isNaN(Se)&&isNaN(ee)},Yr=function(Se,ee){for(var _e=Se.length,ke=0;ke<_e;){if(Ji(Se[ke],ee))return!0;ke++}return!1},hi=Array.isArray||function(J){return"[object Array]"===Object.prototype.toString.call(J)},vr={},ia={},si={INDEXEDDB:sn,WEBSQL:or,LOCALSTORAGE:ii},nt=[si.INDEXEDDB._driver,si.WEBSQL._driver,si.LOCALSTORAGE._driver],yt=["dropInstance"],_n=["clear","getItem","iterate","key","keys","length","removeItem","setItem"].concat(yt),Eo={description:"",driver:nt.slice(),name:"localforage",size:4980736,storeName:"keyvaluepairs",version:1};function gn(J,Se){J[Se]=function(){var ee=arguments;return J.ready().then(function(){return J[Se].apply(J,ee)})}}function Br(){for(var J=1;J<arguments.length;J++){var Se=arguments[J];if(Se)for(var ee in Se)Se.hasOwnProperty(ee)&&(arguments[0][ee]=hi(Se[ee])?Se[ee].slice():Se[ee])}return arguments[0]}var Qn=function(){function J(Se){for(var ee in function Z(J,Se){if(!(J instanceof Se))throw new TypeError("Cannot call a class as a function")}(this,J),si)if(si.hasOwnProperty(ee)){var _e=si[ee],ke=_e._driver;this[ee]=ke,vr[ke]||this.defineDriver(_e)}this._defaultConfig=Br({},Eo),this._config=Br({},this._defaultConfig,Se),this._driverSet=null,this._initDriver=null,this._ready=!1,this._dbInfo=null,this._wrapLibraryMethodsWithReady(),this.setDriver(this._config.driver).catch(function(){})}return J.prototype.config=function(ee){if("object"===(typeof ee>"u"?"undefined":j(ee))){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var _e in ee){if("storeName"===_e&&(ee[_e]=ee[_e].replace(/\W/g,"_")),"version"===_e&&"number"!=typeof ee[_e])return new Error("Database version must be a number.");this._config[_e]=ee[_e]}return!("driver"in ee)||!ee.driver||this.setDriver(this._config.driver)}return"string"==typeof ee?this._config[ee]:this._config},J.prototype.defineDriver=function(ee,_e,ke){var we=new V(function(gt,vt){try{var wt=ee._driver,Ct=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!ee._driver)return void vt(Ct);for(var xt=_n.concat("_initStorage"),Kt=0,Pn=xt.length;Kt<Pn;Kt++){var Yn=xt[Kt];if((!Yr(yt,Yn)||ee[Yn])&&"function"!=typeof ee[Yn])return void vt(Ct)}!function(){for(var yr=function(zf){return function(){var Vf=new Error("Method "+zf+" is not implemented by the current driver"),St=V.reject(Vf);return q(St,arguments[arguments.length-1]),St}},Jt=0,Uf=yt.length;Jt<Uf;Jt++){var Lc=yt[Jt];ee[Lc]||(ee[Lc]=yr(Lc))}}();var xo=function(yr){vr[wt]&&console.info("Redefining LocalForage driver: "+wt),vr[wt]=ee,ia[wt]=yr,gt()};"_support"in ee?ee._support&&"function"==typeof ee._support?ee._support().then(xo,vt):xo(!!ee._support):xo(!0)}catch(Ci){vt(Ci)}});return Y(we,_e,ke),we},J.prototype.driver=function(){return this._driver||null},J.prototype.getDriver=function(ee,_e,ke){var we=vr[ee]?V.resolve(vr[ee]):V.reject(new Error("Driver not found."));return Y(we,_e,ke),we},J.prototype.getSerializer=function(ee){var _e=V.resolve(Li);return Y(_e,ee),_e},J.prototype.ready=function(ee){var _e=this,ke=_e._driverSet.then(function(){return null===_e._ready&&(_e._ready=_e._initDriver()),_e._ready});return Y(ke,ee,ee),ke},J.prototype.setDriver=function(ee,_e,ke){var we=this;hi(ee)||(ee=[ee]);var gt=this._getSupportedDrivers(ee);function vt(){we._config.driver=we.driver()}function wt(Kt){return we._extend(Kt),vt(),we._ready=we._initStorage(we._config),we._ready}var xt=null!==this._driverSet?this._driverSet.catch(function(){return V.resolve()}):V.resolve();return this._driverSet=xt.then(function(){var Kt=gt[0];return we._dbInfo=null,we._ready=null,we.getDriver(Kt).then(function(Pn){we._driver=Pn._driver,vt(),we._wrapLibraryMethodsWithReady(),we._initDriver=function Ct(Kt){return function(){var Pn=0;return function Yn(){for(;Pn<Kt.length;){var eo=Kt[Pn];return Pn++,we._dbInfo=null,we._ready=null,we.getDriver(eo).then(wt).catch(Yn)}vt();var rr=new Error("No available storage method found.");return we._driverSet=V.reject(rr),we._driverSet}()}}(gt)})}).catch(function(){vt();var Kt=new Error("No available storage method found.");return we._driverSet=V.reject(Kt),we._driverSet}),Y(this._driverSet,_e,ke),this._driverSet},J.prototype.supports=function(ee){return!!ia[ee]},J.prototype._extend=function(ee){Br(this,ee)},J.prototype._getSupportedDrivers=function(ee){for(var _e=[],ke=0,we=ee.length;ke<we;ke++){var gt=ee[ke];this.supports(gt)&&_e.push(gt)}return _e},J.prototype._wrapLibraryMethodsWithReady=function(){for(var ee=0,_e=_n.length;ee<_e;ee++)gn(this,_n[ee])},J.prototype.createInstance=function(ee){return new J(ee)},J}(),zl=new Qn;A.exports=zl},{3:3}]},{},[4])(4)},8314:(l,h,_)=>{const y=_(2836),w=_(9460),A=_(7030),O=_(6511);function j(Z,K,ne,F,Q){const V=[].slice.call(arguments,1),q=V.length,Y="function"==typeof V[q-1];if(!Y&&!y())throw new Error("Callback required as last argument");if(!Y){if(q<1)throw new Error("Too few arguments provided");return 1===q?(ne=K,K=F=void 0):2===q&&!K.getContext&&(F=ne,ne=K,K=void 0),new Promise(function(U,X){try{const te=w.create(ne,F);U(Z(te,K,F))}catch(te){X(te)}})}if(q<2)throw new Error("Too few arguments provided");2===q?(Q=ne,ne=K,K=F=void 0):3===q&&(K.getContext&&typeof Q>"u"?(Q=F,F=void 0):(Q=F,F=ne,ne=K,K=void 0));try{const U=w.create(ne,F);Q(null,Z(U,K,F))}catch(U){Q(U)}}h.create=w.create,h.toCanvas=j.bind(null,A.render),h.toDataURL=j.bind(null,A.renderToDataURL),h.toString=j.bind(null,function(Z,K,ne){return O.render(Z,ne)})},2836:l=>{l.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},6214:(l,h,_)=>{const y=_(9089).getSymbolSize;h.getRowColCoords=function(A){if(1===A)return[];const O=Math.floor(A/7)+2,j=y(A),Z=145===j?26:2*Math.ceil((j-13)/(2*O-2)),K=[j-7];for(let ne=1;ne<O-1;ne++)K[ne]=K[ne-1]-Z;return K.push(6),K.reverse()},h.getPositions=function(A){const O=[],j=h.getRowColCoords(A),Z=j.length;for(let K=0;K<Z;K++)for(let ne=0;ne<Z;ne++)0===K&&0===ne||0===K&&ne===Z-1||K===Z-1&&0===ne||O.push([j[K],j[ne]]);return O}},1018:(l,h,_)=>{const y=_(1677),w=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function A(O){this.mode=y.ALPHANUMERIC,this.data=O}A.getBitsLength=function(j){return 11*Math.floor(j/2)+j%2*6},A.prototype.getLength=function(){return this.data.length},A.prototype.getBitsLength=function(){return A.getBitsLength(this.data.length)},A.prototype.write=function(j){let Z;for(Z=0;Z+2<=this.data.length;Z+=2){let K=45*w.indexOf(this.data[Z]);K+=w.indexOf(this.data[Z+1]),j.put(K,11)}this.data.length%2&&j.put(w.indexOf(this.data[Z]),6)},l.exports=A},4662:l=>{function h(){this.buffer=[],this.length=0}h.prototype={get:function(_){const y=Math.floor(_/8);return 1==(this.buffer[y]>>>7-_%8&1)},put:function(_,y){for(let w=0;w<y;w++)this.putBit(1==(_>>>y-w-1&1))},getLengthInBits:function(){return this.length},putBit:function(_){const y=Math.floor(this.length/8);this.buffer.length<=y&&this.buffer.push(0),_&&(this.buffer[y]|=128>>>this.length%8),this.length++}},l.exports=h},5941:l=>{function h(_){if(!_||_<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=_,this.data=new Uint8Array(_*_),this.reservedBit=new Uint8Array(_*_)}h.prototype.set=function(_,y,w,A){const O=_*this.size+y;this.data[O]=w,A&&(this.reservedBit[O]=!0)},h.prototype.get=function(_,y){return this.data[_*this.size+y]},h.prototype.xor=function(_,y,w){this.data[_*this.size+y]^=w},h.prototype.isReserved=function(_,y){return this.reservedBit[_*this.size+y]},l.exports=h},4969:(l,h,_)=>{const y=_(3174),w=_(1677);function A(O){this.mode=w.BYTE,"string"==typeof O&&(O=y(O)),this.data=new Uint8Array(O)}A.getBitsLength=function(j){return 8*j},A.prototype.getLength=function(){return this.data.length},A.prototype.getBitsLength=function(){return A.getBitsLength(this.data.length)},A.prototype.write=function(O){for(let j=0,Z=this.data.length;j<Z;j++)O.put(this.data[j],8)},l.exports=A},3677:(l,h,_)=>{const y=_(7424),w=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],A=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];h.getBlocksCount=function(j,Z){switch(Z){case y.L:return w[4*(j-1)+0];case y.M:return w[4*(j-1)+1];case y.Q:return w[4*(j-1)+2];case y.H:return w[4*(j-1)+3];default:return}},h.getTotalCodewordsCount=function(j,Z){switch(Z){case y.L:return A[4*(j-1)+0];case y.M:return A[4*(j-1)+1];case y.Q:return A[4*(j-1)+2];case y.H:return A[4*(j-1)+3];default:return}}},7424:(l,h)=>{h.L={bit:1},h.M={bit:0},h.Q={bit:3},h.H={bit:2},h.isValid=function(w){return w&&typeof w.bit<"u"&&w.bit>=0&&w.bit<4},h.from=function(w,A){if(h.isValid(w))return w;try{return function _(y){if("string"!=typeof y)throw new Error("Param is not a string");switch(y.toLowerCase()){case"l":case"low":return h.L;case"m":case"medium":return h.M;case"q":case"quartile":return h.Q;case"h":case"high":return h.H;default:throw new Error("Unknown EC Level: "+y)}}(w)}catch{return A}}},6269:(l,h,_)=>{const y=_(9089).getSymbolSize;h.getPositions=function(O){const j=y(O);return[[0,0],[j-7,0],[0,j-7]]}},6254:(l,h,_)=>{const y=_(9089),O=y.getBCHDigit(1335);h.getEncodedBits=function(Z,K){const ne=Z.bit<<3|K;let F=ne<<10;for(;y.getBCHDigit(F)-O>=0;)F^=1335<<y.getBCHDigit(F)-O;return 21522^(ne<<10|F)}},6686:(l,h)=>{const _=new Uint8Array(512),y=new Uint8Array(256);(function(){let A=1;for(let O=0;O<255;O++)_[O]=A,y[A]=O,A<<=1,256&A&&(A^=285);for(let O=255;O<512;O++)_[O]=_[O-255]})(),h.log=function(A){if(A<1)throw new Error("log("+A+")");return y[A]},h.exp=function(A){return _[A]},h.mul=function(A,O){return 0===A||0===O?0:_[y[A]+y[O]]}},3264:(l,h,_)=>{const y=_(1677),w=_(9089);function A(O){this.mode=y.KANJI,this.data=O}A.getBitsLength=function(j){return 13*j},A.prototype.getLength=function(){return this.data.length},A.prototype.getBitsLength=function(){return A.getBitsLength(this.data.length)},A.prototype.write=function(O){let j;for(j=0;j<this.data.length;j++){let Z=w.toSJIS(this.data[j]);if(Z>=33088&&Z<=40956)Z-=33088;else{if(!(Z>=57408&&Z<=60351))throw new Error("Invalid SJIS character: "+this.data[j]+"\nMake sure your charset is UTF-8");Z-=49472}Z=192*(Z>>>8&255)+(255&Z),O.put(Z,13)}},l.exports=A},3361:(l,h)=>{h.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};function y(w,A,O){switch(w){case h.Patterns.PATTERN000:return(A+O)%2==0;case h.Patterns.PATTERN001:return A%2==0;case h.Patterns.PATTERN010:return O%3==0;case h.Patterns.PATTERN011:return(A+O)%3==0;case h.Patterns.PATTERN100:return(Math.floor(A/2)+Math.floor(O/3))%2==0;case h.Patterns.PATTERN101:return A*O%2+A*O%3==0;case h.Patterns.PATTERN110:return(A*O%2+A*O%3)%2==0;case h.Patterns.PATTERN111:return(A*O%3+(A+O)%2)%2==0;default:throw new Error("bad maskPattern:"+w)}}h.isValid=function(A){return null!=A&&""!==A&&!isNaN(A)&&A>=0&&A<=7},h.from=function(A){return h.isValid(A)?parseInt(A,10):void 0},h.getPenaltyN1=function(A){const O=A.size;let j=0,Z=0,K=0,ne=null,F=null;for(let Q=0;Q<O;Q++){Z=K=0,ne=F=null;for(let V=0;V<O;V++){let q=A.get(Q,V);q===ne?Z++:(Z>=5&&(j+=Z-5+3),ne=q,Z=1),q=A.get(V,Q),q===F?K++:(K>=5&&(j+=K-5+3),F=q,K=1)}Z>=5&&(j+=Z-5+3),K>=5&&(j+=K-5+3)}return j},h.getPenaltyN2=function(A){const O=A.size;let j=0;for(let Z=0;Z<O-1;Z++)for(let K=0;K<O-1;K++){const ne=A.get(Z,K)+A.get(Z,K+1)+A.get(Z+1,K)+A.get(Z+1,K+1);(4===ne||0===ne)&&j++}return 3*j},h.getPenaltyN3=function(A){const O=A.size;let j=0,Z=0,K=0;for(let ne=0;ne<O;ne++){Z=K=0;for(let F=0;F<O;F++)Z=Z<<1&2047|A.get(ne,F),F>=10&&(1488===Z||93===Z)&&j++,K=K<<1&2047|A.get(F,ne),F>=10&&(1488===K||93===K)&&j++}return 40*j},h.getPenaltyN4=function(A){let O=0;const j=A.data.length;for(let K=0;K<j;K++)O+=A.data[K];return 10*Math.abs(Math.ceil(100*O/j/5)-10)},h.applyMask=function(A,O){const j=O.size;for(let Z=0;Z<j;Z++)for(let K=0;K<j;K++)O.isReserved(K,Z)||O.xor(K,Z,y(A,K,Z))},h.getBestMask=function(A,O){const j=Object.keys(h.Patterns).length;let Z=0,K=1/0;for(let ne=0;ne<j;ne++){O(ne),h.applyMask(ne,A);const F=h.getPenaltyN1(A)+h.getPenaltyN2(A)+h.getPenaltyN3(A)+h.getPenaltyN4(A);h.applyMask(ne,A),F<K&&(K=F,Z=ne)}return Z}},1677:(l,h,_)=>{const y=_(377),w=_(9359);h.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},h.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},h.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},h.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},h.MIXED={bit:-1},h.getCharCountIndicator=function(j,Z){if(!j.ccBits)throw new Error("Invalid mode: "+j);if(!y.isValid(Z))throw new Error("Invalid version: "+Z);return Z>=1&&Z<10?j.ccBits[0]:Z<27?j.ccBits[1]:j.ccBits[2]},h.getBestModeForData=function(j){return w.testNumeric(j)?h.NUMERIC:w.testAlphanumeric(j)?h.ALPHANUMERIC:w.testKanji(j)?h.KANJI:h.BYTE},h.toString=function(j){if(j&&j.id)return j.id;throw new Error("Invalid mode")},h.isValid=function(j){return j&&j.bit&&j.ccBits},h.from=function(j,Z){if(h.isValid(j))return j;try{return function A(O){if("string"!=typeof O)throw new Error("Param is not a string");switch(O.toLowerCase()){case"numeric":return h.NUMERIC;case"alphanumeric":return h.ALPHANUMERIC;case"kanji":return h.KANJI;case"byte":return h.BYTE;default:throw new Error("Unknown mode: "+O)}}(j)}catch{return Z}}},6628:(l,h,_)=>{const y=_(1677);function w(A){this.mode=y.NUMERIC,this.data=A.toString()}w.getBitsLength=function(O){return 10*Math.floor(O/3)+(O%3?O%3*3+1:0)},w.prototype.getLength=function(){return this.data.length},w.prototype.getBitsLength=function(){return w.getBitsLength(this.data.length)},w.prototype.write=function(O){let j,Z,K;for(j=0;j+3<=this.data.length;j+=3)Z=this.data.substr(j,3),K=parseInt(Z,10),O.put(K,10);const ne=this.data.length-j;ne>0&&(Z=this.data.substr(j),K=parseInt(Z,10),O.put(K,3*ne+1))},l.exports=w},1744:(l,h,_)=>{const y=_(6686);h.mul=function(A,O){const j=new Uint8Array(A.length+O.length-1);for(let Z=0;Z<A.length;Z++)for(let K=0;K<O.length;K++)j[Z+K]^=y.mul(A[Z],O[K]);return j},h.mod=function(A,O){let j=new Uint8Array(A);for(;j.length-O.length>=0;){const Z=j[0];for(let ne=0;ne<O.length;ne++)j[ne]^=y.mul(O[ne],Z);let K=0;for(;K<j.length&&0===j[K];)K++;j=j.slice(K)}return j},h.generateECPolynomial=function(A){let O=new Uint8Array([1]);for(let j=0;j<A;j++)O=h.mul(O,new Uint8Array([1,y.exp(j)]));return O}},9460:(l,h,_)=>{const y=_(9089),w=_(7424),A=_(4662),O=_(5941),j=_(6214),Z=_(6269),K=_(3361),ne=_(3677),F=_(6289),Q=_(1252),V=_(6254),q=_(1677),Y=_(2868);function ve(ye,$e,qe){const et=ye.size,st=V.getEncodedBits($e,qe);let xe,Ie;for(xe=0;xe<15;xe++)Ie=1==(st>>xe&1),ye.set(xe<6?xe:xe<8?xe+1:et-15+xe,8,Ie,!0),ye.set(8,xe<8?et-xe-1:xe<9?15-xe-1+1:15-xe-1,Ie,!0);ye.set(et-8,8,1,!0)}function Ee(ye,$e,qe,et){let st;if(Array.isArray(ye))st=Y.fromArray(ye);else{if("string"!=typeof ye)throw new Error("Invalid data");{let Ye=$e;if(!Ye){const bt=Y.rawSplit(ye);Ye=Q.getBestVersionForData(bt,qe)}st=Y.fromString(ye,Ye||40)}}const xe=Q.getBestVersionForData(st,qe);if(!xe)throw new Error("The amount of data is too big to be stored in a QR Code");if($e){if($e<xe)throw new Error("\nThe chosen QR Code version cannot contain this amount of data.\nMinimum version required to store current data is: "+xe+".\n")}else $e=xe;const Ie=function Ce(ye,$e,qe){const et=new A;qe.forEach(function(Ue){et.put(Ue.mode.bit,4),et.put(Ue.getLength(),q.getCharCountIndicator(Ue.mode,ye)),Ue.write(et)});const Ie=8*(y.getSymbolTotalCodewords(ye)-ne.getTotalCodewordsCount(ye,$e));for(et.getLengthInBits()+4<=Ie&&et.put(0,4);et.getLengthInBits()%8!=0;)et.putBit(0);const he=(Ie-et.getLengthInBits())/8;for(let Ue=0;Ue<he;Ue++)et.put(Ue%2?17:236,8);return function Be(ye,$e,qe){const et=y.getSymbolTotalCodewords($e),xe=et-ne.getTotalCodewordsCount($e,qe),Ie=ne.getBlocksCount($e,qe),Ue=Ie-et%Ie,Ye=Math.floor(et/Ie),bt=Math.floor(xe/Ie),Ae=bt+1,ue=Ye-bt,ie=new F(ue);let ae=0;const pe=new Array(Ie),Xe=new Array(Ie);let Ot=0;const Bt=new Uint8Array(ye.buffer);for(let Un=0;Un<Ie;Un++){const Cn=Un<Ue?bt:Ae;pe[Un]=Bt.slice(ae,ae+Cn),Xe[Un]=ie.encode(pe[Un]),ae+=Cn,Ot=Math.max(Ot,Cn)}const zt=new Uint8Array(et);let dn,vn,Vt=0;for(dn=0;dn<Ot;dn++)for(vn=0;vn<Ie;vn++)dn<pe[vn].length&&(zt[Vt++]=pe[vn][dn]);for(dn=0;dn<ue;dn++)for(vn=0;vn<Ie;vn++)zt[Vt++]=Xe[vn][dn];return zt}(et,ye,$e)}($e,qe,st),he=y.getSymbolSize($e),Ue=new O(he);return function U(ye,$e){const qe=ye.size,et=Z.getPositions($e);for(let st=0;st<et.length;st++){const xe=et[st][0],Ie=et[st][1];for(let he=-1;he<=7;he++)if(!(xe+he<=-1||qe<=xe+he))for(let Ue=-1;Ue<=7;Ue++)Ie+Ue<=-1||qe<=Ie+Ue||ye.set(xe+he,Ie+Ue,he>=0&&he<=6&&(0===Ue||6===Ue)||Ue>=0&&Ue<=6&&(0===he||6===he)||he>=2&&he<=4&&Ue>=2&&Ue<=4,!0)}}(Ue,$e),function X(ye){const $e=ye.size;for(let qe=8;qe<$e-8;qe++){const et=qe%2==0;ye.set(qe,6,et,!0),ye.set(6,qe,et,!0)}}(Ue),function te(ye,$e){const qe=j.getPositions($e);for(let et=0;et<qe.length;et++){const st=qe[et][0],xe=qe[et][1];for(let Ie=-2;Ie<=2;Ie++)for(let he=-2;he<=2;he++)ye.set(st+Ie,xe+he,-2===Ie||2===Ie||-2===he||2===he||0===Ie&&0===he,!0)}}(Ue,$e),ve(Ue,qe,0),$e>=7&&function de(ye,$e){const qe=ye.size,et=Q.getEncodedBits($e);let st,xe,Ie;for(let he=0;he<18;he++)st=Math.floor(he/3),xe=he%3+qe-8-3,Ie=1==(et>>he&1),ye.set(st,xe,Ie,!0),ye.set(xe,st,Ie,!0)}(Ue,$e),function Oe(ye,$e){const qe=ye.size;let et=-1,st=qe-1,xe=7,Ie=0;for(let he=qe-1;he>0;he-=2)for(6===he&&he--;;){for(let Ue=0;Ue<2;Ue++)if(!ye.isReserved(st,he-Ue)){let Ye=!1;Ie<$e.length&&(Ye=1==($e[Ie]>>>xe&1)),ye.set(st,he-Ue,Ye),xe--,-1===xe&&(Ie++,xe=7)}if(st+=et,st<0||qe<=st){st-=et,et=-et;break}}}(Ue,Ie),isNaN(et)&&(et=K.getBestMask(Ue,ve.bind(null,Ue,qe))),K.applyMask(et,Ue),ve(Ue,qe,et),{modules:Ue,version:$e,errorCorrectionLevel:qe,maskPattern:et,segments:st}}h.create=function($e,qe){if(typeof $e>"u"||""===$e)throw new Error("No input text");let st,xe,et=w.M;return typeof qe<"u"&&(et=w.from(qe.errorCorrectionLevel,w.M),st=Q.from(qe.version),xe=K.from(qe.maskPattern),qe.toSJISFunc&&y.setToSJISFunction(qe.toSJISFunc)),Ee($e,st,et,xe)}},6289:(l,h,_)=>{const y=_(1744);function w(A){this.genPoly=void 0,this.degree=A,this.degree&&this.initialize(this.degree)}w.prototype.initialize=function(O){this.degree=O,this.genPoly=y.generateECPolynomial(this.degree)},w.prototype.encode=function(O){if(!this.genPoly)throw new Error("Encoder not initialized");const j=new Uint8Array(O.length+this.degree);j.set(O);const Z=y.mod(j,this.genPoly),K=this.degree-Z.length;if(K>0){const ne=new Uint8Array(this.degree);return ne.set(Z,K),ne}return Z},l.exports=w},9359:(l,h)=>{const _="[0-9]+";let w="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";w=w.replace(/u/g,"\\u");const A="(?:(?![A-Z0-9 $%*+\\-./:]|"+w+")(?:.|[\r\n]))+";h.KANJI=new RegExp(w,"g"),h.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),h.BYTE=new RegExp(A,"g"),h.NUMERIC=new RegExp(_,"g"),h.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");const O=new RegExp("^"+w+"$"),j=new RegExp("^"+_+"$"),Z=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");h.testKanji=function(ne){return O.test(ne)},h.testNumeric=function(ne){return j.test(ne)},h.testAlphanumeric=function(ne){return Z.test(ne)}},2868:(l,h,_)=>{const y=_(1677),w=_(6628),A=_(1018),O=_(4969),j=_(3264),Z=_(9359),K=_(9089),ne=_(243);function F(de){return unescape(encodeURIComponent(de)).length}function Q(de,ve,Oe){const Ce=[];let Be;for(;null!==(Be=de.exec(Oe));)Ce.push({data:Be[0],index:Be.index,mode:ve,length:Be[0].length});return Ce}function V(de){const ve=Q(Z.NUMERIC,y.NUMERIC,de),Oe=Q(Z.ALPHANUMERIC,y.ALPHANUMERIC,de);let Ce,Be;return K.isKanjiModeEnabled()?(Ce=Q(Z.BYTE,y.BYTE,de),Be=Q(Z.KANJI,y.KANJI,de)):(Ce=Q(Z.BYTE_KANJI,y.BYTE,de),Be=[]),ve.concat(Oe,Ce,Be).sort(function(ye,$e){return ye.index-$e.index}).map(function(ye){return{data:ye.data,mode:ye.mode,length:ye.length}})}function q(de,ve){switch(ve){case y.NUMERIC:return w.getBitsLength(de);case y.ALPHANUMERIC:return A.getBitsLength(de);case y.KANJI:return j.getBitsLength(de);case y.BYTE:return O.getBitsLength(de)}}function te(de,ve){let Oe;const Ce=y.getBestModeForData(de);if(Oe=y.from(ve,Ce),Oe!==y.BYTE&&Oe.bit<Ce.bit)throw new Error('"'+de+'" cannot be encoded with mode '+y.toString(Oe)+".\n Suggested mode is: "+y.toString(Ce));switch(Oe===y.KANJI&&!K.isKanjiModeEnabled()&&(Oe=y.BYTE),Oe){case y.NUMERIC:return new w(de);case y.ALPHANUMERIC:return new A(de);case y.KANJI:return new j(de);case y.BYTE:return new O(de)}}h.fromArray=function(ve){return ve.reduce(function(Oe,Ce){return"string"==typeof Ce?Oe.push(te(Ce,null)):Ce.data&&Oe.push(te(Ce.data,Ce.mode)),Oe},[])},h.fromString=function(ve,Oe){const Be=function U(de){const ve=[];for(let Oe=0;Oe<de.length;Oe++){const Ce=de[Oe];switch(Ce.mode){case y.NUMERIC:ve.push([Ce,{data:Ce.data,mode:y.ALPHANUMERIC,length:Ce.length},{data:Ce.data,mode:y.BYTE,length:Ce.length}]);break;case y.ALPHANUMERIC:ve.push([Ce,{data:Ce.data,mode:y.BYTE,length:Ce.length}]);break;case y.KANJI:ve.push([Ce,{data:Ce.data,mode:y.BYTE,length:F(Ce.data)}]);break;case y.BYTE:ve.push([{data:Ce.data,mode:y.BYTE,length:F(Ce.data)}])}}return ve}(V(ve,K.isKanjiModeEnabled())),Ee=function X(de,ve){const Oe={},Ce={start:{}};let Be=["start"];for(let Ee=0;Ee<de.length;Ee++){const ye=de[Ee],$e=[];for(let qe=0;qe<ye.length;qe++){const et=ye[qe],st=""+Ee+qe;$e.push(st),Oe[st]={node:et,lastCount:0},Ce[st]={};for(let xe=0;xe<Be.length;xe++){const Ie=Be[xe];Oe[Ie]&&Oe[Ie].node.mode===et.mode?(Ce[Ie][st]=q(Oe[Ie].lastCount+et.length,et.mode)-q(Oe[Ie].lastCount,et.mode),Oe[Ie].lastCount+=et.length):(Oe[Ie]&&(Oe[Ie].lastCount=et.length),Ce[Ie][st]=q(et.length,et.mode)+4+y.getCharCountIndicator(et.mode,ve))}}Be=$e}for(let Ee=0;Ee<Be.length;Ee++)Ce[Be[Ee]].end=0;return{map:Ce,table:Oe}}(Be,Oe),ye=ne.find_path(Ee.map,"start","end"),$e=[];for(let qe=1;qe<ye.length-1;qe++)$e.push(Ee.table[ye[qe]].node);return h.fromArray(function Y(de){return de.reduce(function(ve,Oe){const Ce=ve.length-1>=0?ve[ve.length-1]:null;return Ce&&Ce.mode===Oe.mode?(ve[ve.length-1].data+=Oe.data,ve):(ve.push(Oe),ve)},[])}($e))},h.rawSplit=function(ve){return h.fromArray(V(ve,K.isKanjiModeEnabled()))}},9089:(l,h)=>{let _;const y=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];h.getSymbolSize=function(A){if(!A)throw new Error('"version" cannot be null or undefined');if(A<1||A>40)throw new Error('"version" should be in range from 1 to 40');return 4*A+17},h.getSymbolTotalCodewords=function(A){return y[A]},h.getBCHDigit=function(w){let A=0;for(;0!==w;)A++,w>>>=1;return A},h.setToSJISFunction=function(A){if("function"!=typeof A)throw new Error('"toSJISFunc" is not a valid function.');_=A},h.isKanjiModeEnabled=function(){return typeof _<"u"},h.toSJIS=function(A){return _(A)}},377:(l,h)=>{h.isValid=function(y){return!isNaN(y)&&y>=1&&y<=40}},1252:(l,h,_)=>{const y=_(9089),w=_(3677),A=_(7424),O=_(1677),j=_(377),K=y.getBCHDigit(7973);function F(q,Y){return O.getCharCountIndicator(q,Y)+4}function Q(q,Y){let U=0;return q.forEach(function(X){const te=F(X.mode,Y);U+=te+X.getBitsLength()}),U}h.from=function(Y,U){return j.isValid(Y)?parseInt(Y,10):U},h.getCapacity=function(Y,U,X){if(!j.isValid(Y))throw new Error("Invalid QR Code version");typeof X>"u"&&(X=O.BYTE);const ve=8*(y.getSymbolTotalCodewords(Y)-w.getTotalCodewordsCount(Y,U));if(X===O.MIXED)return ve;const Oe=ve-F(X,Y);switch(X){case O.NUMERIC:return Math.floor(Oe/10*3);case O.ALPHANUMERIC:return Math.floor(Oe/11*2);case O.KANJI:return Math.floor(Oe/13);default:return Math.floor(Oe/8)}},h.getBestVersionForData=function(Y,U){let X;const te=A.from(U,A.M);if(Array.isArray(Y)){if(Y.length>1)return function V(q,Y){for(let U=1;U<=40;U++)if(Q(q,U)<=h.getCapacity(U,Y,O.MIXED))return U}(Y,te);if(0===Y.length)return 1;X=Y[0]}else X=Y;return function ne(q,Y,U){for(let X=1;X<=40;X++)if(Y<=h.getCapacity(X,U,q))return X}(X.mode,X.getLength(),te)},h.getEncodedBits=function(Y){if(!j.isValid(Y)||Y<7)throw new Error("Invalid QR Code version");let U=Y<<12;for(;y.getBCHDigit(U)-K>=0;)U^=7973<<y.getBCHDigit(U)-K;return Y<<12|U}},7030:(l,h,_)=>{const y=_(7077);h.render=function(j,Z,K){let ne=K,F=Z;typeof ne>"u"&&(!Z||!Z.getContext)&&(ne=Z,Z=void 0),Z||(F=function A(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}()),ne=y.getOptions(ne);const Q=y.getImageWidth(j.modules.size,ne),V=F.getContext("2d"),q=V.createImageData(Q,Q);return y.qrToImageData(q.data,j,ne),function w(O,j,Z){O.clearRect(0,0,j.width,j.height),j.style||(j.style={}),j.height=Z,j.width=Z,j.style.height=Z+"px",j.style.width=Z+"px"}(V,F,Q),V.putImageData(q,0,0),F},h.renderToDataURL=function(j,Z,K){let ne=K;return typeof ne>"u"&&(!Z||!Z.getContext)&&(ne=Z,Z=void 0),ne||(ne={}),h.render(j,Z,ne).toDataURL(ne.type||"image/png",(ne.rendererOpts||{}).quality)}},6511:(l,h,_)=>{const y=_(7077);function w(j,Z){const K=j.a/255,ne=Z+'="'+j.hex+'"';return K<1?ne+" "+Z+'-opacity="'+K.toFixed(2).slice(1)+'"':ne}function A(j,Z,K){let ne=j+Z;return typeof K<"u"&&(ne+=" "+K),ne}h.render=function(Z,K,ne){const F=y.getOptions(K),Q=Z.modules.size,V=Z.modules.data,q=Q+2*F.margin,Y=F.color.light.a?"<path "+w(F.color.light,"fill")+' d="M0 0h'+q+"v"+q+'H0z"/>':"",U="<path "+w(F.color.dark,"stroke")+' d="'+function O(j,Z,K){let ne="",F=0,Q=!1,V=0;for(let q=0;q<j.length;q++){const Y=Math.floor(q%Z),U=Math.floor(q/Z);!Y&&!Q&&(Q=!0),j[q]?(V++,q>0&&Y>0&&j[q-1]||(ne+=Q?A("M",Y+K,.5+U+K):A("m",F,0),F=0,Q=!1),Y+1<Z&&j[q+1]||(ne+=A("h",V),V=0)):F++}return ne}(V,Q,F.margin)+'"/>',de='<svg xmlns="http://www.w3.org/2000/svg" '+(F.width?'width="'+F.width+'" height="'+F.width+'" ':"")+'viewBox="0 0 '+q+" "+q+'" shape-rendering="crispEdges">'+Y+U+"</svg>\n";return"function"==typeof ne&&ne(null,de),de}},7077:(l,h)=>{function _(y){if("number"==typeof y&&(y=y.toString()),"string"!=typeof y)throw new Error("Color should be defined as hex string");let w=y.slice().replace("#","").split("");if(w.length<3||5===w.length||w.length>8)throw new Error("Invalid hex color: "+y);(3===w.length||4===w.length)&&(w=Array.prototype.concat.apply([],w.map(function(O){return[O,O]}))),6===w.length&&w.push("F","F");const A=parseInt(w.join(""),16);return{r:A>>24&255,g:A>>16&255,b:A>>8&255,a:255&A,hex:"#"+w.slice(0,6).join("")}}h.getOptions=function(w){w||(w={}),w.color||(w.color={});const O=w.width&&w.width>=21?w.width:void 0;return{width:O,scale:O?4:w.scale||4,margin:typeof w.margin>"u"||null===w.margin||w.margin<0?4:w.margin,color:{dark:_(w.color.dark||"#000000ff"),light:_(w.color.light||"#ffffffff")},type:w.type,rendererOpts:w.rendererOpts||{}}},h.getScale=function(w,A){return A.width&&A.width>=w+2*A.margin?A.width/(w+2*A.margin):A.scale},h.getImageWidth=function(w,A){const O=h.getScale(w,A);return Math.floor((w+2*A.margin)*O)},h.qrToImageData=function(w,A,O){const j=A.modules.size,Z=A.modules.data,K=h.getScale(j,O),ne=Math.floor((j+2*O.margin)*K),F=O.margin*K,Q=[O.color.light,O.color.dark];for(let V=0;V<ne;V++)for(let q=0;q<ne;q++){let Y=4*(V*ne+q),U=O.color.light;V>=F&&q>=F&&V<ne-F&&q<ne-F&&(U=Q[Z[Math.floor((V-F)/K)*j+Math.floor((q-F)/K)]?1:0]),w[Y++]=U.r,w[Y++]=U.g,w[Y++]=U.b,w[Y]=U.a}}},8105:(l,h,_)=>{"use strict";var y=_(3471),w=Array.prototype.concat,A=Array.prototype.slice,O=l.exports=function(Z){for(var K=[],ne=0,F=Z.length;ne<F;ne++){var Q=Z[ne];y(Q)?K=w.call(K,A.call(Q)):K.push(Q)}return K};O.wrap=function(j){return function(){return j(O(arguments))}}},3471:l=>{l.exports=function(_){return!(!_||"string"==typeof _)&&(_ instanceof Array||Array.isArray(_)||_.length>=0&&(_.splice instanceof Function||Object.getOwnPropertyDescriptor(_,_.length-1)&&"String"!==_.constructor.name))}},8996:(l,h,_)=>{var y={"./ion-accordion_2.entry.js":[2375,2076,2375],"./ion-action-sheet.entry.js":[8814,2076,8814],"./ion-alert.entry.js":[5222,2076,5222],"./ion-app_8.entry.js":[7720,2076,7720],"./ion-avatar_3.entry.js":[1049,1049],"./ion-back-button.entry.js":[3162,2076,3162],"./ion-backdrop.entry.js":[7240,7240],"./ion-breadcrumb_2.entry.js":[5933,2076,8314],"./ion-button_2.entry.js":[4591,4591],"./ion-card_5.entry.js":[8584,8584],"./ion-checkbox.entry.js":[3511,3511],"./ion-chip.entry.js":[6024,6024],"./ion-col_3.entry.js":[5100,5100],"./ion-datetime-button.entry.js":[7428,1293,7428],"./ion-datetime_3.entry.js":[2885,1293,2076,2885],"./ion-fab_3.entry.js":[4463,2076,4463],"./ion-img.entry.js":[4183,4183],"./ion-infinite-scroll_2.entry.js":[4171,2076,4171],"./ion-input-password-toggle.entry.js":[6521,2076,6521],"./ion-input.entry.js":[9344,2076,9344],"./ion-item-option_3.entry.js":[5949,2076,5949],"./ion-item_8.entry.js":[3506,2076,3506],"./ion-loading.entry.js":[7372,2076,7372],"./ion-menu_3.entry.js":[2075,2076,2075],"./ion-modal.entry.js":[441,2076,441],"./ion-nav_2.entry.js":[5712,2076,5712],"./ion-picker-column-option.entry.js":[9013,9013],"./ion-picker-column.entry.js":[1459,2076,1459],"./ion-picker.entry.js":[6840,6840],"./ion-popover.entry.js":[6433,2076,6433],"./ion-progress-bar.entry.js":[9977,9977],"./ion-radio_2.entry.js":[8066,2076,8066],"./ion-range.entry.js":[8477,2076,8477],"./ion-refresher_2.entry.js":[5197,2076,5197],"./ion-reorder_2.entry.js":[4649,2076,7030],"./ion-ripple-effect.entry.js":[964,964],"./ion-route_4.entry.js":[8970,8970],"./ion-searchbar.entry.js":[8193,2076,8193],"./ion-segment_2.entry.js":[2560,2076,2560],"./ion-select_3.entry.js":[7076,2076,7076],"./ion-spinner.entry.js":[8805,2076,8805],"./ion-split-pane.entry.js":[5887,5887],"./ion-tab-bar_2.entry.js":[4406,2076,4406],"./ion-tab_2.entry.js":[1102,1102],"./ion-text.entry.js":[1577,1577],"./ion-textarea.entry.js":[9967,2076,2348],"./ion-toast.entry.js":[2415,2076,2415],"./ion-toggle.entry.js":[3814,2076,3814]};function w(A){if(!_.o(y,A))return Promise.resolve().then(()=>{var Z=new Error("Cannot find module '"+A+"'");throw Z.code="MODULE_NOT_FOUND",Z});var O=y[A],j=O[0];return Promise.all(O.slice(1).map(_.e)).then(()=>_(j))}w.keys=()=>Object.keys(y),w.id=8996,l.exports=w},467:(l,h,_)=>{"use strict";function y(A,O,j,Z,K,ne,F){try{var Q=A[ne](F),V=Q.value}catch(q){return void j(q)}Q.done?O(V):Promise.resolve(V).then(Z,K)}function w(A){return function(){var O=this,j=arguments;return new Promise(function(Z,K){var ne=A.apply(O,j);function F(V){y(ne,Z,K,F,Q,"next",V)}function Q(V){y(ne,Z,K,F,Q,"throw",V)}F(void 0)})}}_.d(h,{A:()=>w})}},l=>{l(l.s=1358)}]);