@onemrvapublic/design-system-demos 22.1.0-develop.2 → 22.1.0-develop.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/browser/main.js
CHANGED
|
@@ -319,7 +319,7 @@ ${e.map((n,r)=>`${r+1}) ${n.toString()}`).join(`
|
|
|
319
319
|
.mat-mdc-tooltip-hide {
|
|
320
320
|
animation: mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards;
|
|
321
321
|
}
|
|
322
|
-
`],encapsulation:2})}return t})();var Mr=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=_e({type:t});static \u0275inj=pe({imports:[dd,ar,It,Br]})}return t})();var DA=class{_document;_textarea;constructor(i,e){this._document=e;let n=this._textarea=this._document.createElement("textarea"),r=n.style;r.position="fixed",r.top=r.opacity="0",r.left="-999em",n.setAttribute("aria-hidden","true"),n.value=i,n.readOnly=true,(this._document.fullscreenElement||this._document.body).appendChild(n);}copy(){let i=this._textarea,e=false;try{if(i){let n=this._document.activeElement;i.select(),i.setSelectionRange(0,i.value.length),e=this._document.execCommand("copy"),n&&n.focus();}}catch{}return e}destroy(){let i=this._textarea;i&&(i.remove(),this._textarea=void 0);}},Eh=(()=>{class t{_document=p(He);copy(e){let n=this.beginCopy(e),r=n.copy();return n.destroy(),r}beginCopy(e){return new DA(e,this._document)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=Ke({token:t,factory:t.\u0275fac})}return t})();var aQ=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=_e({type:t});static \u0275inj=pe({})}return t})();var Kw=(function(t){return t.PROD="production",t.VAL="validation",t})(Kw||{});var Qw={prod:"https://cdn.services.rvaonem.fgov.be",val:"https://cdn.servicesval.rvaonem.fgov.be"},Zw="000000/000-00",sQ="http://services/lookupwpptservice/rest/lookup/getLookups?class=be.fgov.onerva.lookup.wppt.persistence.model.common.Country",lQ="onemrva-theme";var l2e=["ddMMyyyy","dd/MM/yyyy","d/M/yyyy","dd/M/yyyy","d/MM/yyyy","d.M.yyyy","dd.M.yyyy","d.MM.yyyy","d/M/yy","dd/M/yy","d/MM/yy","d.M.yy","dd.M.yy","d.MM.yy"];var c2e=["LLyyyy","L/yyyy","L/yy","LL/yyyy","LL/yy","L.yyyy","LL.yyyy"],d2e=["ddLLyyyy","d/LL/yyyy","d/L/yyyy","dd/L/yyyy","d/LL/yyyy","d.L.yyyy","dd.L.yyyy","d.LL.yyyy","d/L/yy","dd/L/yy","d/LL/yy","d.L.yy","dd.L.yy","d.LL.yy"],Xw={parse:{dateInput:l2e,timeInput:["HH:mm"]},display:{dateInput:"dd/MM/yyyy",monthYearLabel:"LL / yyyy",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM yyyy",timeInput:"HH:mm",timeOptionLabel:"HH:mm"}};var cQ={parse:{dateInput:c2e,timeInput:["HH:mm"]},display:{dateInput:"LL/yyyy",monthYearLabel:"LLL yyyy",dateA11yLabel:"DDD",monthYearA11yLabel:"LLLL yyyy",timeInput:"HH:mm",timeOptionLabel:"HH:mm"}},dQ={parse:{dateInput:d2e,timeInput:["HH:mm"]},display:{dateInput:"dd/LL/yyyy",monthYearLabel:"LLL yyyy",dateA11yLabel:"DDD",monthYearA11yLabel:"LLL yyyy",timeInput:"HH:mm",timeOptionLabel:"HH:mm"}};var uQ=new F("This is cdn url that will be used (val/prod)");var Jw=new F("LOOKUP_COUNTRY_SERVICE_URL",{providedIn:"root",factory:()=>sQ}),eT=new F("ONEMRVA_THEME_CLASS",{providedIn:"root",factory:()=>lQ});var mQ=(()=>{class t{constructor(){this._containerElement=null,this._themeObserver=null,this.platform=p(Lt),this._document=p(He),this.themeClass=p(eT);}ngOnDestroy(){this._containerElement?.remove(),this._themeObserver?.disconnect();}getContainerElement(){return this._containerElement===null&&this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";(this.platform.isBrowser||op())&&this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`).forEach(l=>{l.remove();});let n=this._document.createElement("div");n.classList.add(this.themeClass);let r=this._document.querySelectorAll(`.${this.themeClass}`),o=Array.from(r).find(s=>s!==n);o&&(o.classList.contains("dark-theme")?n.classList.add("dark-theme"):o.classList.contains("light-theme")&&n.classList.add("light-theme")),this._themeObserver=new MutationObserver(s=>{s.forEach(l=>{if(l.type==="attributes"&&l.attributeName==="class"){let c=l.target;c.classList.contains(this.themeClass)&&c!==n&&(n.classList.remove("dark-theme","light-theme"),c.classList.contains("dark-theme")?n.classList.add("dark-theme"):c.classList.contains("light-theme")&&n.classList.add("light-theme"));}});}),o&&this._themeObserver.observe(o,{attributes:true,attributeFilter:["class"]});let a=this._document.createElement("div");a.classList.add(e),op()?a.setAttribute("platform","test"):this.platform.isBrowser||a.setAttribute("platform","server"),n.appendChild(a),this._document.body.appendChild(n),this._containerElement=a;}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275prov=Re({token:t,factory:t.\u0275fac,providedIn:"root"});}}return t})();var IA=class{constructor(){this.storage=new Map;}getItem(i){return this.storage.get(i)}setItem(i,e){this.storage.set(i,e);}deleteItem(i){this.storage.delete(i);}},MA=class{constructor(){this.storage=new Map;}getItem(i){return this.storage.get(i)}setItem(i,e){this.storage.set(i,e);}deleteItem(i){this.storage.delete(i);}},pQ=t=>(i,e,n)=>{if(!(n?.value instanceof Function))throw Error("'@HttpRequestCache' can be applied only to the class method which returns an Observable");let r=`${i.constructor.name}_${e}`,o=n.value,a={},s=0;return n.value=function(...l){let c=t?.call(this,this,...l);!c?.storage&&!i._____storage_____&&(i._____storage_____=new IA),c?.ttl&&!i._____ttl_storage_____&&(i._____ttl_storage_____=new MA);let _=c?.storage??i._____storage_____,f=`${r}_${JSON.stringify(l)}`,g;c?.ttl&&(g=i._____ttl_storage_____.getItem(f),g?g.requestTime+c.ttl<=Date.now()&&(a[f]=true,g.requestTime=Date.now(),g.subject.next()):g={requestTime:Date.now(),subject:new H},i._____ttl_storage_____.setItem(f,g));let v=Mt(c?.refreshOn??GE,g?.subject??GE);return _.getItem(f).pipe(ut(1),on(E=>{if(s++,E===null)throw ""}),$i(()=>{let E=v.pipe(Ze(true),At(()=>o.apply(this,[...l])),on(()=>{delete a[f];}),Mo({bufferSize:1,refCount:c?.refCount??false,windowTime:c?.windowTime??1/0}),lt(()=>!a[f]),ys(()=>{s--,s===0&&c?.refCount&&(_.deleteItem(f),i._____ttl_storage_____?.deleteItem(f));}));return _.setItem(f,E),E}))},n};var kA=(()=>{class t{onKeyDown(e){if(["0","1","2","3","4","5","6","7","8","9",".",","," ","Backspace","Delete","Tab","-","Enter","ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End"].includes(e.key))return;let r=["a","c","x","v"];e.ctrlKey&&r.includes(e.key)||e.preventDefault();}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275dir=G({type:t,selectors:[["","digitOnly",""]],hostBindings:function(n,r){n&1&&x("keydown",function(a){return r.onKeyDown(a)});}});}}return t})();var md=t=>t;var Pt=md({NONE:"",PRIMARY:"primary",ACCENT:"accent",WARN:"warn",SUCCESS:"success",INFO:"info",ERROR:"error",NEUTRAL:"neutral",GRAYSCALE:"neutral"});var ma=md({DEFAULT:"",XSMALL:"xsmall",SMALL:"small",MEDIUM:"medium",LARGE:"large",XLARGE:"xlarge",XXLARGE:"xxlarge"});var An=(()=>{class t{constructor(){this.color=y(""),this.isPrimary=de(()=>this.color()===Pt.PRIMARY),this.isAccent=de(()=>this.color()===Pt.ACCENT),this.isError=de(()=>this.color()===Pt.ERROR),this.isWarn=de(()=>this.color()===Pt.WARN),this.isSuccess=de(()=>this.color()===Pt.SUCCESS),this.isInfo=de(()=>this.color()===Pt.INFO),this.isNeutral=de(()=>this.color()===Pt.NEUTRAL);}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275dir=G({type:t,selectors:[["onemrva-mat-selectable-box","color",""],["onemrva-collapsible-page-divider","color",""],["div","color",""],["onemrva-mat-avatar","color",""],["mat-card","color",""],["mat-toolbar","color",""],["onemrva-mat-spinner","color",""],["onemrva-mat-notification","color",""],["onemrva-mat-task-list","color",""],["onemrva-mat-sticker","color",""],["onemrva-mat-panel","color",""],["onemrva-mat-task","color",""],["onemrva-mat-choice-chip","color",""],["mat-form-field","color",""],["button","color",""],["mat-icon","color",""],["mat-chip","color",""],["mat-hint","color","","color",""],[""]],hostVars:14,hostBindings:function(n,r){n&2&&z("mat-primary",r.isPrimary())("mat-accent",r.isAccent())("mat-error",r.isError())("mat-warn",r.isWarn())("mat-success",r.isSuccess())("mat-info",r.isInfo())("mat-neutral",r.isNeutral());},inputs:{color:[1,"color"]}});}}return t})();var OA=(()=>{class t extends An{constructor(){super(...arguments),this.matRowClickable=en(),this.clickable=y(true),this._isClickable=de(()=>this.clickable());}click(){this.clickable()&&this.matRowClickable.emit();}static{this.\u0275fac=(()=>{let e;return function(r){return (e||(e=V(t)))(r||t)}})();}static{this.\u0275dir=G({type:t,selectors:[["tr","matRowClickable",""]],hostVars:4,hostBindings:function(n,r){n&1&&x("click",function(){return r.click()}),n&2&&z("clickable",r._isClickable())("onemrva-clickable-row",true);},inputs:{clickable:[1,"clickable"]},outputs:{matRowClickable:"matRowClickable"},features:[A]});}}return t})();var RA=(()=>{class t{constructor(){this.breakpointObserver=p(la),this._templateRef=p(Pe),this._viewContainer=p(nn),this.ifWidthIs=y.required();}ngOnInit(){this.breakpointObserver.observe([...this.ifWidthIs()]).subscribe(e=>{this._viewContainer.clear(),e.matches&&this._viewContainer.createEmbeddedView(this._templateRef);});}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275dir=G({type:t,selectors:[["","ifWidthIs",""]],inputs:{ifWidthIs:[1,"ifWidthIs"]}});}}return t})();var AA=50,PA=(()=>{class t{constructor(){this.el=p(ie),this.onemrvamask=y.required(),this.inputStack=[""],this.stackIdx=0,this.markForDelete=false;}onKeyDown(e){let n=e,r=["Tab","Enter","ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End"];if(r.indexOf(n.key)>=0)return;if(r=["Backspace","Delete"],r.indexOf(n.key)>=0){this.markForDelete=true;return}n.ctrlKey&&n.key==="z"&&this.stackIdx>0&&(this.stackIdx--,this.el.nativeElement.value=this.inputStack[this.stackIdx],e.preventDefault()),n.ctrlKey&&n.key==="u"&&this.stackIdx<this.inputStack.length-1&&(this.stackIdx++,this.el.nativeElement.value=this.inputStack[this.stackIdx],e.preventDefault());let o=["a","c","x","v"];n.ctrlKey&&o.indexOf(n.key)>=0;}onInput(e){let n=e.target?.selectionStart;if(this.markForDelete&&[...this.el.nativeElement.value].findIndex((l,c)=>{let _=this.onemrvamask()[c];return _==null?true:isNaN(l)&&l.toLowerCase()===l.toUpperCase()?l!==_:!NA(_,l)})<0){this.markForDelete=false;return}let r=[...this.el.nativeElement.value].filter(s=>NA("A",s)).reduce((s,l)=>{let c=s.length,_=this.onemrvamask()[c];if(_==null)return s;s=NA(_,l)?s+l:s;let f=this.onemrvamask()[++c],g=0;for(;f!=null&&["0","A","S","U","L"].indexOf(f)<0&&(g++,s+=f,f=this.onemrvamask()[++c],!(g>50)););return s},"");this.el.nativeElement.value=r;let o=n,a=this.onemrvamask()[o];for(;a!=null&&["0","A","S","U","L"].indexOf(a)<0&&(o++,a=this.onemrvamask()[o],!!(a!==null&&a&&["0","A","S","U","L"].indexOf(a)<0)););if(r!==this.inputStack[this.stackIdx]){this.stackIdx++;let s=this.stackIdx>AA-1?this.inputStack.slice(1):this.inputStack.splice(0,this.stackIdx);this.stackIdx=this.stackIdx>AA-1?AA-1:this.stackIdx,this.inputStack=[...s,r],this.el.nativeElement.setSelectionRange(o,o);}else if(this.markForDelete){let s=o-1;for(;s>0;){let l=this.onemrvamask()[s-1];if(["0","A","S","U","L"].indexOf(l)<0)s--;else break}this.el.nativeElement.setSelectionRange(s,s);}this.markForDelete=false;}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275dir=G({type:t,selectors:[["","onemrvamask",""]],hostBindings:function(n,r){n&1&&x("keydown",function(a){return r.onKeyDown(a)})("input",function(a){return r.onInput(a)});},inputs:{onemrvamask:[1,"onemrvamask"]}});}}return t})();function NA(t,i){switch(t){case "0":return i===" "?false:!isNaN(+i);case "A":return i===" "?false:!isNaN(+i)||i.toLowerCase()!=i.toUpperCase();case "S":return i.toLowerCase()!=i.toUpperCase();case "U":return i.toLowerCase()!=i.toUpperCase()&&i===i.toUpperCase();case "L":return i.toLowerCase()!=i.toUpperCase()&&i===i.toLowerCase()}return false}var pd=(()=>{class t{constructor(){this.el=p(ie),this.template="__/__/____";}onPaste(e){let n=this.el.nativeElement,o=(e.clipboardData?.getData("text/plain")||"").replace(/\D/g,"");if(!o){e.preventDefault();return}e.preventDefault();let a=n.selectionStart??0,s=n.value.split(""),l=0;for(;a<this.template.length&&l<o.length;){if(this.template[a]==="/"){a++;continue}s[a]=o[l++],a++;}n.value=s.join(""),this.emitInputEvent(n),this.setCaretToNextEditable(a);}onCut(e){let n=this.el.nativeElement,r=n.selectionStart??0,o=n.selectionEnd??0,a=n.value.substring(r,o),s=n.value.split("");for(let l=r;l<o;l++)this.template[l]!=="/"&&(s[l]="_");n.value=s.join(""),this.emitInputEvent(n),this.setCaretToNextEditable(r),e.preventDefault(),e.clipboardData&&e.clipboardData.setData("text/plain",a.replace(/\//g,""));}onFocus(){let e=this.el.nativeElement;(!e.value||e.value===this.template)&&(e.value=this.template),this.setCaretToNextEditable(0);}onClick(){let e=this.el.nativeElement,n=e.selectionStart??0,r=e.selectionEnd??0;n===r&&(e.value===this.template?this.setCaretToNextEditable(0):this.setCaretToNextEditable(n));}onKeyDown(e){let n=this.el.nativeElement,r=n.selectionStart??0,o=["a","c","x","v"];if(e.ctrlKey&&o.includes(e.key)){e.key==="x"&&n.value===""&&(n.value=this.template,this.emitInputEvent(n));return}if(!["ArrowLeft","ArrowRight","Tab"].includes(e.key)){if(e.key==="Backspace"||e.key==="Delete"){e.preventDefault();let a=n.selectionStart??0,s=n.selectionEnd??a;if(s>a){let c=n.value.split("");for(let _=a;_<s;_++)this.template[_]!=="/"&&(c[_]="_");n.value=c.join(""),this.emitInputEvent(n),this.setCaretToNextEditable(a);return}let l=a;if(e.key==="Backspace"&&l>0){do l--;while(this.template[l]==="/"&&l>0);this.replaceCharAt(n,l,"_"),this.emitInputEvent(n),this.setCaretToNextEditable(l);return}if(e.key==="Delete"&&l<this.template.length){for(;this.template[l]==="/"&&l<this.template.length;)l++;this.replaceCharAt(n,l,"_"),this.emitInputEvent(n),this.setCaretToNextEditable(l);return}}if(["/",".","-"," "].includes(e.key)){if(e.preventDefault(),r===1||r===4){let a=n.value.substring(r-1,r);if(!a.includes("_")){this.replaceCharAt(n,r-1,"0"),this.replaceCharAt(n,r,a),this.setCaretToNextEditable(r+2);return}}return}if(e.key==="Backspace"){if(e.preventDefault(),r===0)return;do r--;while(this.template[r]==="/"&&r>0);this.replaceCharAt(n,r,"_"),this.setCaretToNextEditable(r),this.emitInputEvent(n);return}if(!/^\d$/.test(e.key)){e.preventDefault();return}if(r>=this.template.length){e.preventDefault();return}for(;this.template[r]==="/"&&r<this.template.length;)r++;this.replaceCharAt(n,r,e.key),e.preventDefault(),this.setCaretToNextEditable(r+1),this.emitInputEvent(n);}}onBlur(){let e=this.el.nativeElement;e.value===this.template&&(e.value="",this.emitInputEvent(e));}emitInputEvent(e){e.dispatchEvent(new Event("input",{bubbles:true}));}replaceCharAt(e,n,r){let o=e.value.split("");o[n]=r,e.value=o.join("");}setCaretToNextEditable(e){let n=this.el.nativeElement;for(;this.template[e]==="/"&&e<this.template.length;)e++;n.setSelectionRange(e,e);}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275dir=G({type:t,selectors:[["","onemrvaDateFormat",""]],hostBindings:function(n,r){n&1&&x("paste",function(a){return r.onPaste(a)})("cut",function(a){return r.onCut(a)})("focus",function(){return r.onFocus()})("click",function(){return r.onClick()})("keydown",function(a){return r.onKeyDown(a)})("blur",function(){return r.onBlur()});}});}}return t})();var Nn=(()=>{class t{constructor(){this.readonly=y(true),this.isReadOnly=de(()=>this.readonly());}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275dir=G({type:t,selectors:[["form","readonly",""],["mat-checkbox","readonly",""],["mat-radio-group","readonly",""],["mat-form-field","readonly",""],["onemrva-mat-input-phone","readonly",""],["onemrva-mat-task-list","readonly",""],["onemrva-mat-selectable-box","readonly",""],["onemrva-mat-choice-chip","readonly",""],["onemrva-mat-input-birthplace","readonly",""],["onemrva-mat-input-country","readonly",""],["onemrva-mat-input-enterprise-number","readonly",""]],hostVars:2,hostBindings:function(n,r){n&2&&z("onemrva-readonly",r.isReadOnly());},inputs:{readonly:[1,"readonly"]}});}}return t})();var hu=(()=>{class t{constructor(){this.size=y(""),this.isXSmall=de(()=>this.size()===ma.XSMALL),this.isSmall=de(()=>this.size()===ma.SMALL),this.isLarge=de(()=>this.size()===ma.LARGE),this.isXLarge=de(()=>this.size()===ma.XLARGE),this.isXXLarge=de(()=>this.size()===ma.XXLARGE);}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275dir=G({type:t,selectors:[["mat-icon","size",""],["onemrva-mat-skeleton","size",""],["onemrva-mat-avatar","size",""],["button","size",""]],hostVars:10,hostBindings:function(n,r){n&2&&z("xsmall",r.isXSmall())("small",r.isSmall())("large",r.isLarge())("xlarge",r.isXLarge())("xxlarge",r.isXXLarge());},inputs:{size:[1,"size"]}});}}return t})();var Ho=(function(t){return t.EN="en",t.NL="nl",t.FR="fr",t.DE="de",t})(Ho||{});function LA(t,i){return t!=null&&i.includes(t)}function hQ(t,i=[Ho.EN,Ho.FR,Ho.NL,Ho.DE],e=Ho.EN){return async()=>{t.onLangChange.subscribe(o=>{localStorage.setItem("language",o.lang);}),t.addLangs([...i]);let n=null,r=localStorage.getItem("language");LA(r,i)&&(n=r),n===null&&LA(navigator.language,i)&&(n=navigator.language),n===null&&(n=navigator.languages.find(o=>LA(o,i))??e),await Kg(t.use(n));}}var fQ=(()=>{class t{transform(e){let n=e.trim().replace(/\/|\.|-/g,"");return n.length!==10?"?01?.???.???":`${n.substring(0,4)}.${n.substring(4,7)}.${n.substring(7,10)}`}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275pipe=Ji({name:"onemrvaBce",type:t,pure:true});}}return t})();var tT=(()=>{class t{transform(e){let n=e.trim().replace(/\/|\.|-/g,"");return n.length!==11?"??01??/???-??":`${n.substring(0,6)}/${n.substring(6,9)}-${n.substring(9,11)}`}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275pipe=Ji({name:"onemrvaNiss",type:t,pure:true});}}return t})();var gQ=(()=>{class t{constructor(){this._countries$=new Sr(1),this._customersInitialized=false,this.http=p(ao),this.commonCountryServiceURL=p(Jw);}getCountries(e=false){return (e||!this._customersInitialized)&&(this._customersInitialized=true,this.http.get(this.commonCountryServiceURL).subscribe(n=>{this._countries$.next(n);})),this._countries$.pipe(Xl(+e),Ya())}getCountryByCode(e){return this._countries$.pipe(se(n=>n.find(o=>o.code===e)||null))}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275prov=Re({token:t,factory:t.\u0275fac,providedIn:"root"});}}return t})();var bQ=(()=>{class t{setItem(e,n){n.subscribe(r=>{localStorage.setItem(e,JSON.stringify(r));});}getItem(e){let n=localStorage.getItem(e);return n===null?Ce(null):Ce(JSON.parse(n))}deleteItem(e){localStorage.removeItem(e);}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275prov=Re({token:t,factory:t.\u0275fac,providedIn:"root"});}}return t})();var Qr=class t{constructor(){this.rendererFactory=p(Zi),this.cacheService=p(bQ),this.http=p(ao),this.refresh$=new H;let i=p(uQ,{optional:true});switch(this.renderer=this.rendererFactory.createRenderer(null,null),i){case Kw.PROD:this.cdnUrl=Qw.prod;break;case Kw.VAL:this.cdnUrl=Qw.val;break;default:this.cdnUrl=Qw.prod;}let e=this.renderer.createElement("link");this.renderer.setAttribute(e,"rel","preconnect"),this.renderer.setAttribute(e,"href",this.cdnUrl),this.renderer.appendChild(document.head,e);}getUrl(i=""){return this.cdnUrl+i}getImg(i=""){return this.getUrl("/img/"+i)}getOri(i=""){return this.getImg("ori/"+i)}fetch(i){return this.http.get(this.cdnUrl+i)}fetchNoCache(i){return this.http.get(this.cdnUrl+i)}getTranslations(i,e,n="",r$1=""){let o=[this.http.get(`${this.cdnUrl}${n}design-system/design-system/${e}${r$1}`).pipe($i(()=>Ce({}))),...i.map(a=>this.http.get(`${this.cdnUrl}${n}${a}/${e}${r$1}`).pipe($i(()=>Ce({}))))];return vo(o).pipe(se(a=>a.filter(s=>!!s).reduce((s,l)=>r(r({},s),l),{})))}loadCss(i){return new Promise((e,n)=>{if(document.querySelector(`link[href="${i}"]`)){e();return}let o=this.renderer.createElement("link");this.renderer.setAttribute(o,"rel","stylesheet"),this.renderer.setAttribute(o,"type","text/css"),this.renderer.setAttribute(o,"href",i),o.onload=()=>e(),o.onerror=()=>n(new Error(`Failed to load CSS: ${i}`)),this.renderer.appendChild(document.head,o);})}static{this.\u0275fac=function(e){return new(e||t)};}static{this.\u0275prov=Re({token:t,factory:t.\u0275fac,providedIn:"root"});}};D$([pQ(t=>({refreshOn:t.refresh$,storage:t.cacheService,ttl:36e5}))],Qr.prototype,"fetch",null);var Ch=(()=>{class t{constructor(){this.cdnService=p(Qr),this.translateService=p(Rn);}getCountries(){return this.cdnService.fetch("/json/countries.json").pipe(se(e=>e),vs(Yn(this.translateService.onLangChange).pipe(Ze(this.translateService.getCurrentLang()||"fr"),se(e=>typeof e=="string"?e:e.lang))),se(([e,n])=>e.map(r$1=>s(r({},r$1),{name:this.getTranslatedCountryName(r$1,n)})).sort((r,o)=>r.name.toLowerCase().localeCompare(o.name.toLowerCase()))))}getCountriesByZone(e){return this.getCountries().pipe(se(n=>n.filter(r=>r.zone===e)))}getTranslatedCountryName(e,n=this.translateService.getCurrentLang()){return (n==="fr"||n==="nl"||n==="de")&&e.translations[n]!==void 0?e.translations[n]:e.name}findCountryFromCode(e){return this.getCountries().pipe(se(n=>n.find(r=>r.code.toLowerCase()===e?.toLowerCase())))}findCountryFromVIESCode(e){return this.getCountriesByZone("EU").pipe(se(n=>n.find(r=>r.pattern.substring(0,2)===e?.substring(0,2))))}findCountryFromPrefix(e){return e===null&&(e=""),this.getCountries().pipe(se(n=>n.find(r=>r.dial_code===e.substring(0,r.dial_code.length))))}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275prov=Re({token:t,factory:t.\u0275fac,providedIn:"root"});}}return t})();var vQ=(()=>{class t{constructor(){this.cdnService=p(Qr);}static{this.mimetypeFile="/json/mimetypes.json";}getMimesForExtension(e){return this.cdnService.fetch(t.mimetypeFile).pipe($i(()=>[]),se(n=>n.filter(r=>e.includes(r.extension)).map(r=>r.mimeType)))}getExtensionsForMime(e){return this.cdnService.fetch(t.mimetypeFile).pipe($i(()=>[]),se(n=>n.filter(r=>e.includes(r.mimeType)).map(r=>r.extension)))}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275prov=Re({token:t,factory:t.\u0275fac,providedIn:"root"});}}return t})();var yQ=(()=>{class t{constructor(){this.http=p(ao),this.nominatimUrl="https://nominatim.openstreetmap.org/search";}searchAddress(e,n=["be"],r="json",o=1,a=10){let s=new El().set("q",e).set("format",r).set("countrycodes",n.join(",")).set("addressdetails",o).set("limit",a);return this.http.get(this.nominatimUrl,{params:s})}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275prov=Re({token:t,factory:t.\u0275fac,providedIn:"root"});}}return t})();var EQ=(()=>{class t{handleError(e){console.error(e);}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275prov=Re({token:t,factory:t.\u0275fac});}}return t})();var fu=class{static bceValidator(i=false,e){if(e.value===null||e.value.trim()==="")return i?{bceNull:true}:null;let n=e.value.trim().replace(/\/|\.|-/g,"");return n.length!==10?{bceLengthError:{value:n}}:Number.isNaN(+n)?{bceNan:{value:n}}:null}static bce(i=false){return e=>this.bceValidator(i,e)}static nissValidator(i=false,e){if(e.value===null||e.value.trim()==="")return i?{nissNull:true}:null;let n=e.value.trim().replace(/\/|\.|-/g,"");if(n.length!==11)return {nissLengthError:{value:n}};if(Number.isNaN(+n))return {nissNan:{value:n}};let r=n.substring(9),o=n.substring(0,9),a=97-+o%97===+r,s=97-+`2${o}`%97===+r;if(!a&&!s)return {nissCheckDigitError:{value:n}};let l=n.substring(2,4),c=parseInt(l)-1;return parseInt(l)%20-1>11||c>51?{nissInvalidMonth:{value:n}}:+n.substring(4,6)>31?{nissInvalidDate:{value:n}}:null}static niss(i=false){return e=>this.nissValidator(i,e)}static nissOrBce(i=false){return e=>{if(e.value===null||e.value.trim()==="")return i?{nissNull:true}:null;let n=e.value.trim().replace(/\/|\.|-/g,"");return e.value.length===11?this.nissValidator(i,e):e.value.length===10?this.bceValidator(i,e):{lengthError:{value:n}}}}};function FA(t,i={allowQRIBAN:true}){if(t==null)return false;let e=new RegExp("^[0-9]{2}$",""),n=t.slice(0,2),r=_d[n];return r===void 0||r.bban_regexp===void 0||r.bban_regexp===null||r.chars===void 0?false:r.chars===t.length&&e.test(t.slice(2,4))&&h2e(t.slice(4),n)&&MQ(t)&&(i.allowQRIBAN||!xQ(t))}var ns=(function(t){return t[t.NoIBANProvided=0]="NoIBANProvided",t[t.NoIBANCountry=1]="NoIBANCountry",t[t.WrongBBANLength=2]="WrongBBANLength",t[t.WrongBBANFormat=3]="WrongBBANFormat",t[t.ChecksumNotNumber=4]="ChecksumNotNumber",t[t.WrongIBANChecksum=5]="WrongIBANChecksum",t[t.WrongAccountBankBranchChecksum=6]="WrongAccountBankBranchChecksum",t[t.QRIBANNotAllowed=7]="QRIBANNotAllowed",t})(ns||{});function TQ(t,i={allowQRIBAN:true}){let e={errorCodes:[],valid:true};if(t!=null&&t!==""){let n=_d[t.slice(0,2)];if(!n||!(n.bban_regexp||n.chars))return e.valid=false,e.errorCodes.push(ns.NoIBANCountry),e;n&&n.chars&&n.chars!==t.length&&(e.valid=false,e.errorCodes.push(ns.WrongBBANLength)),n&&n.bban_regexp&&!IQ(t.slice(4),n.bban_regexp)&&(e.valid=false,e.errorCodes.push(ns.WrongBBANFormat)),n&&n.bban_validation_func&&!n.bban_validation_func(t.slice(4))&&(e.valid=false,e.errorCodes.push(ns.WrongAccountBankBranchChecksum)),new RegExp("^[0-9]{2}$","").test(t.slice(2,4))||(e.valid=false,e.errorCodes.push(ns.ChecksumNotNumber)),(e.errorCodes.indexOf(ns.WrongBBANFormat)!==-1||!MQ(t))&&(e.valid=false,e.errorCodes.push(ns.WrongIBANChecksum)),!i.allowQRIBAN&&xQ(t)&&(e.valid=false,e.errorCodes.push(ns.QRIBANNotAllowed));}else e.valid=false,e.errorCodes.push(ns.NoIBANProvided);return e}function h2e(t,i){if(t==null||i===void 0||i===null)return false;let e=_d[i];return e==null||e.bban_regexp===void 0||e.bban_regexp===null||e.chars===void 0||e.chars===null?false:e.chars-4===t.length&&IQ(t,e.bban_regexp)?e.bban_validation_func?e.bban_validation_func(t.replace(/[\s.]+/g,"")):true:false}function xQ(t){if(t==null)return false;let i=t.slice(0,2);return ["LI","CH"].includes(i)?new RegExp("^3[0-1]{1}[0-9]{3}$","").test(t.slice(4,9)):false}function DQ(t){let i={},e=nT(t);if(i.iban=e||t,e&&FA(e)){i.bban=e.slice(4),i.countryCode=e.slice(0,2),i.valid=true;let n=_d[i.countryCode];if(n.account_indentifier){let r=n.account_indentifier.split("-"),o=parseInt(r[0]),a=parseInt(r[1]);i.accountNumber=i.iban.slice(o,a+1);}if(n.bank_identifier){let r=n.bank_identifier.split("-"),o=parseInt(r[0]),a=parseInt(r[1]);i.bankIdentifier=i.bban.slice(o,a+1);}if(n.branch_indentifier){let r=n.branch_indentifier.split("-"),o=parseInt(r[0]),a=parseInt(r[1]);i.branchIdentifier=i.bban.slice(o,a+1);}}else i.valid=false;return i}function IQ(t,i){return new RegExp(i,"").test(t)}function nT(t){return typeof t!="string"?null:t.replace(/[-\ ]/g,"").toUpperCase()}function BA(t,i){if(typeof t!="string")return null;i==null&&(i=" ");let e=nT(t);return e===null?null:e.replace(/(.{4})(?!$)/g,"$1"+i)}function MQ(t){let i=t.slice(0,2),e=parseInt(t.slice(2,4),10),n=t.slice(4),r=f2e(`${n}${i}00`);return 98-$A(r)===e}function f2e(t){return t.split("").map(i=>{let e=i.charCodeAt(0);return e>=65?(e-55).toString():i}).join("")}var g2e=t=>{let i=[5,4,3,2,7,6,5,4,3,2],e=t.replace(/[\s.]+/g,""),n=parseInt(e.charAt(10),10),r=e.substring(0,10),o=0;for(let s=0;s<10;s++)o+=parseInt(r.charAt(s),10)*i[s];let a=o%11;return n===(a===0?0:11-a)},b2e=t=>{let i=t.replace(/[\s.]+/g,""),e=parseInt(i.substring(0,i.length-2),10),n=parseInt(i.substring(i.length-2,i.length),10);return (e%97===0?97:e%97)===n},$A=t=>{for(;t.length>2;){let i=t.slice(0,6),e=parseInt(i,10);if(isNaN(e))return NaN;t=e%97+t.slice(i.length);}return parseInt(t,10)%97},Sh=t=>{let i=t.replace(/[\s.]+/g,"");return $A(i)===1},v2e=t=>{let i=[3,9,7,1,3,9,7],e=parseInt(t.charAt(7),10),n=t.substring(0,7),r=0;for(let a=0;a<7;a++)r+=parseInt(n.charAt(a),10)*i[a];let o=r%10;return e===(o===0?0:10-o)},y2e=t=>{let i=[4,8,5,10,9,7,3,6],e=[1,2,4,8,5,10,9,7,3,6],n=parseInt(t.charAt(8),10),r=parseInt(t.charAt(9),10),o=t.substring(0,8),a=t.substring(10,20),s=0;for(let c=0;c<8;c++)s+=parseInt(o.charAt(c),10)*i[c];let l=s%11;if(n!==(l===0?0:l===1?1:11-l))return false;s=0;for(let c=0;c<10;c++)s+=parseInt(a.charAt(c),10)*e[c];return l=s%11,r===(l===0?0:l===1?1:11-l)},CQ=(t,i)=>{let e=10;for(let n=0;n<t.length;n++)e+=parseInt(t.charAt(n),10),e%10!==0&&(e=e%10),e=e*2,e=e%11;return i===(11-e===10?0:11-e)},E2e=t=>{let i=parseInt(t.charAt(6),10),e=parseInt(t.charAt(16),10),n=t.substring(0,6),r=t.substring(7,16);return CQ(n,i)&&CQ(r,e)},SQ=t=>{let i=[10,5,8,4,2,1],e=[6,3,7,9,10,5,8,4,2,1],n=parseInt(t.charAt(9),10),r=parseInt(t.charAt(19),10),o=t.substring(4,9),a=t.substring(10,19),s=0;for(let c=0;c<o.length;c++)s+=parseInt(o.charAt(c),10)*i[c];let l=s%11;if(n!==(l===0?0:l===1?1:11-l))return false;s=0;for(let c=0;c<a.length;c++)s+=parseInt(a.charAt(c),10)*e[c];return l=s%11,r===(l===0?0:l===1?1:11-l)},C2e=t=>{let i=[7,1,3,7,1,3,7,1,3,7,1,3,7],e=parseInt(t.charAt(15),10),n=t.substring(2,15),r=0;for(let a=0;a<n.length;a++)r+=parseInt(n.charAt(a),10)*i[a];let o=r%10;return e===(o===0?0:10-o)},wQ=t=>{let i=t.replace(/[\s.]+/g,""),e=Array.from(i);for(let r=0;r<i.length;r++){let o=e[r].charCodeAt(0);if(o>=65)switch(o){case 65:case 74:e[r]="1";break;case 66:case 75:case 83:e[r]="2";break;case 67:case 76:case 84:e[r]="3";break;case 68:case 77:case 85:e[r]="4";break;case 69:case 78:case 86:e[r]="5";break;case 70:case 79:case 87:e[r]="6";break;case 71:case 80:case 88:e[r]="7";break;case 72:case 81:case 89:e[r]="8";break;case 73:case 82:case 90:e[r]="9";break}}return $A(e.join(""))===0},S2e=t=>{let i=[9,7,3,1,9,7,3,1,9,7,3,1,9,7,3],e=parseInt(t.charAt(7),10),n=t.substring(0,7),r=0;for(let a=0;a<n.length;a++)r+=parseInt(n.charAt(a),10)*i[a];let o=r%10;if(e!==(o===0?0:10-o))return false;if(r=0,t.endsWith("00000000")){let a=t.substring(8,15),s=parseInt(t.charAt(15),10);for(let c=0;c<a.length;c++)r+=parseInt(a.charAt(c),10)*i[c];let l=r%10;return s===(l===0?0:10-l)}else {let a=t.substring(8,23),s=parseInt(t.charAt(23),10);for(let c=0;c<a.length;c++)r+=parseInt(a.charAt(c),10)*i[c];let l=r%10;return s===(l===0?0:10-l)}};var _d={AD:{chars:24,bban_regexp:"^[0-9]{8}[A-Z0-9]{12}$",IBANRegistry:true,SEPA:true,branch_indentifier:"4-7",bank_identifier:"0-3",account_indentifier:"12-23"},AE:{chars:23,bban_regexp:"^[0-9]{3}[0-9]{16}$",IBANRegistry:true,bank_identifier:"0-2",account_indentifier:"7-23"},AF:{},AG:{},AI:{},AL:{chars:28,bban_regexp:"^[0-9]{8}[A-Z0-9]{16}$",IBANRegistry:true,branch_indentifier:"3-7",bank_identifier:"0-2",account_indentifier:"12-28"},AM:{},AO:{chars:25,bban_regexp:"^[0-9]{21}$"},AQ:{},AR:{},AS:{},AT:{chars:20,bban_regexp:"^[0-9]{16}$",IBANRegistry:true,SEPA:true,bank_identifier:"0-4"},AU:{},AW:{},AX:{chars:18,bban_regexp:"^[0-9]{14}$",IBANRegistry:true},AZ:{chars:28,bban_regexp:"^[A-Z]{4}[A-Z0-9]{20}$",IBANRegistry:true,bank_identifier:"0-3",account_indentifier:"4-28"},BA:{chars:20,bban_regexp:"^[0-9]{16}$",bban_validation_func:Sh,IBANRegistry:true,branch_indentifier:"3-5",bank_identifier:"0-2"},BB:{},BD:{},BE:{chars:16,bban_regexp:"^[0-9]{12}$",bban_validation_func:b2e,IBANRegistry:true,SEPA:true,bank_identifier:"0-2",account_indentifier:"0-16"},BF:{chars:28,bban_regexp:"^[A-Z0-9]{2}[0-9]{22}$"},BG:{chars:22,bban_regexp:"^[A-Z]{4}[0-9]{6}[A-Z0-9]{8}$",IBANRegistry:true,SEPA:true,branch_indentifier:"4-7",bank_identifier:"0-3"},BH:{chars:22,bban_regexp:"^[A-Z]{4}[A-Z0-9]{14}$",IBANRegistry:true,bank_identifier:"0-3",account_indentifier:"8-22"},BI:{chars:27,bban_regexp:"^[0-9]{23}$",branch_indentifier:"5-9",bank_identifier:"0-4",account_indentifier:"14-27"},BJ:{chars:28,bban_regexp:"^[A-Z0-9]{2}[0-9]{22}$"},BL:{chars:27,bban_regexp:"^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$"},BM:{},BN:{},BO:{},BQ:{},BR:{chars:29,bban_regexp:"^[0-9]{23}[A-Z]{1}[A-Z0-9]{1}$",IBANRegistry:true,branch_indentifier:"8-12",bank_identifier:"0-7",account_indentifier:"17-29"},BS:{},BT:{},BV:{},BW:{},BY:{chars:28,bban_regexp:"^[A-Z]{4}[0-9]{4}[A-Z0-9]{16}$",IBANRegistry:true,bank_identifier:"0-3"},BZ:{},CA:{},CC:{},CD:{},CF:{chars:27,bban_regexp:"^[0-9]{23}$"},CG:{chars:27,bban_regexp:"^[0-9]{23}$"},CH:{chars:21,bban_regexp:"^[0-9]{5}[A-Z0-9]{12}$",IBANRegistry:true,SEPA:true,bank_identifier:"0-4"},CI:{chars:28,bban_regexp:"^[A-Z]{1}[0-9]{23}$"},CK:{},CL:{},CM:{chars:27,bban_regexp:"^[0-9]{23}$"},CN:{},CO:{},CR:{chars:22,bban_regexp:"^[0-9]{18}$",IBANRegistry:true,bank_identifier:"0-3",account_indentifier:"8-22"},CU:{},CV:{chars:25,bban_regexp:"^[0-9]{21}$"},CW:{},CX:{},CY:{chars:28,bban_regexp:"^[0-9]{8}[A-Z0-9]{16}$",IBANRegistry:true,SEPA:true,branch_indentifier:"3-7",bank_identifier:"0-2",account_indentifier:"12-28"},CZ:{chars:24,bban_regexp:"^[0-9]{20}$",bban_validation_func:SQ,IBANRegistry:true,SEPA:true,bank_identifier:"0-3"},DE:{chars:22,bban_regexp:"^[0-9]{18}$",IBANRegistry:true,SEPA:true,bank_identifier:"0-7",account_indentifier:"12-22"},DJ:{chars:27,bban_regexp:"^[0-9]{23}$",branch_indentifier:"5-9",bank_identifier:"0-4",account_indentifier:"14-27"},DK:{chars:18,bban_regexp:"^[0-9]{14}$",IBANRegistry:true,SEPA:true,bank_identifier:"0-3",account_indentifier:"4-18"},DM:{},DO:{chars:28,bban_regexp:"^[A-Z]{4}[0-9]{20}$",IBANRegistry:true,bank_identifier:"0-3",account_indentifier:"8-28"},DZ:{chars:26,bban_regexp:"^[0-9]{22}$"},EC:{},EE:{chars:20,bban_regexp:"^[0-9]{16}$",bban_validation_func:C2e,IBANRegistry:true,SEPA:true,bank_identifier:"0-1",account_indentifier:"8-20"},EG:{chars:29,bban_regexp:"^[0-9]{25}",IBANRegistry:true,branch_indentifier:"4-7",bank_identifier:"0-3",account_indentifier:"17-29"},EH:{},ER:{},ES:{chars:24,bban_validation_func:y2e,bban_regexp:"^[0-9]{20}$",IBANRegistry:true,SEPA:true,branch_indentifier:"4-7",bank_identifier:"0-3",account_indentifier:"14-24"},ET:{},FI:{chars:18,bban_regexp:"^[0-9]{14}$",IBANRegistry:true,SEPA:true,bank_identifier:"0-2",account_indentifier:"0-0"},FJ:{},FK:{chars:18,bban_regexp:"^[A-Z]{2}[0-9]{12}$",bank_identifier:"0-1",account_indentifier:"6-18"},FM:{},FO:{chars:18,bban_regexp:"^[0-9]{14}$",IBANRegistry:true,bank_identifier:"0-3",account_indentifier:"4-18"},FR:{chars:27,bban_regexp:"^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$",bban_validation_func:wQ,IBANRegistry:true,SEPA:true,bank_identifier:"0-4",branch_indentifier:"5-9",account_indentifier:"14-24"},GA:{chars:27,bban_regexp:"^[0-9]{23}$"},GB:{chars:22,bban_regexp:"^[A-Z]{4}[0-9]{14}$",IBANRegistry:true,SEPA:true,branch_indentifier:"4-9",bank_identifier:"0-3"},GD:{},GE:{chars:22,bban_regexp:"^[A-Z0-9]{2}[0-9]{16}$",IBANRegistry:true,bank_identifier:"0-1",account_indentifier:"6-22"},GF:{chars:27,bban_regexp:"^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$",IBANRegistry:true},GG:{},GH:{},GI:{chars:23,bban_regexp:"^[A-Z]{4}[A-Z0-9]{15}$",IBANRegistry:true,SEPA:true,bank_identifier:"0-3",account_indentifier:"8-23"},GL:{chars:18,bban_regexp:"^[0-9]{14}$",IBANRegistry:true,bank_identifier:"0-3",account_indentifier:"4-18"},GM:{},GN:{},GP:{chars:27,bban_regexp:"^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$",IBANRegistry:true},GQ:{chars:27,bban_regexp:"^[0-9]{23}$"},GR:{chars:27,bban_regexp:"^[0-9]{7}[A-Z0-9]{16}$",IBANRegistry:true,SEPA:true,branch_indentifier:"3-6",bank_identifier:"0-2",account_indentifier:"7-27"},GS:{},GT:{chars:28,bban_regexp:"^[A-Z0-9]{24}$",IBANRegistry:true,bank_identifier:"0-3",account_indentifier:"8-28"},GU:{},GW:{chars:25,bban_regexp:"^[A-Z]{2}[0-9]{19}$"},GY:{},HK:{},HM:{},HN:{chars:28,bban_regexp:"^[A-Z]{4}[0-9]{20}$"},HR:{chars:21,bban_regexp:"^[0-9]{17}$",bban_validation_func:E2e,IBANRegistry:true,SEPA:true,bank_identifier:"0-6"},HT:{},HU:{chars:28,bban_regexp:"^[0-9]{24}$",bban_validation_func:S2e,IBANRegistry:true,SEPA:true,branch_indentifier:"3-6",bank_identifier:"0-2"},ID:{},IE:{chars:22,bban_regexp:"^[A-Z0-9]{4}[0-9]{14}$",IBANRegistry:true,SEPA:true,branch_indentifier:"4-9",bank_identifier:"0-3"},IL:{chars:23,bban_regexp:"^[0-9]{19}$",IBANRegistry:true,branch_indentifier:"3-5",bank_identifier:"0-2"},IM:{},IN:{},IO:{},IQ:{chars:23,bban_regexp:"^[A-Z]{4}[0-9]{15}$",IBANRegistry:true,branch_indentifier:"4-6",bank_identifier:"0-3",account_indentifier:"11-23"},IR:{chars:26,bban_regexp:"^[0-9]{22}$"},IS:{chars:26,bban_regexp:"^[0-9]{22}$",IBANRegistry:true,SEPA:true,branch_indentifier:"2-3",bank_identifier:"0-1",account_indentifier:"8-25"},IT:{chars:27,bban_regexp:"^[A-Z]{1}[0-9]{10}[A-Z0-9]{12}$",IBANRegistry:true,SEPA:true,branch_indentifier:"6-10",bank_identifier:"1-5",account_indentifier:"4-27"},JE:{},JM:{},JO:{chars:30,bban_regexp:"^[A-Z]{4}[0-9]{4}[A-Z0-9]{18}$",IBANRegistry:true,branch_indentifier:"4-7",bank_identifier:"4-7"},JP:{},KE:{},KG:{},KH:{},KI:{},KM:{chars:27,bban_regexp:"^[0-9]{23}$"},KN:{},KP:{},KR:{},KW:{chars:30,bban_regexp:"^[A-Z]{4}[A-Z0-9]{22}$",IBANRegistry:true,bank_identifier:"0-3",account_indentifier:"20-30"},KY:{},KZ:{chars:20,bban_regexp:"^[0-9]{3}[A-Z0-9]{13}$",IBANRegistry:true,bank_identifier:"0-2",account_indentifier:"0-20"},LA:{},LB:{chars:28,bban_regexp:"^[0-9]{4}[A-Z0-9]{20}$",IBANRegistry:true,bank_identifier:"0-3",account_indentifier:"14-28"},LC:{chars:32,bban_regexp:"^[A-Z]{4}[A-Z0-9]{24}$",IBANRegistry:true,bank_identifier:"0-3",account_indentifier:"8-32"},LI:{chars:21,bban_regexp:"^[0-9]{5}[A-Z0-9]{12}$",IBANRegistry:true,SEPA:true,bank_identifier:"0-4"},LK:{},LR:{},LS:{},LT:{chars:20,bban_regexp:"^[0-9]{16}$",IBANRegistry:true,SEPA:true,bank_identifier:"0-4"},LU:{chars:20,bban_regexp:"^[0-9]{3}[A-Z0-9]{13}$",IBANRegistry:true,SEPA:true,bank_identifier:"0-2"},LV:{chars:21,bban_regexp:"^[A-Z]{4}[A-Z0-9]{13}$",IBANRegistry:true,SEPA:true,bank_identifier:"0-3",account_indentifier:"0-21"},LY:{chars:25,bban_regexp:"^[0-9]{21}$",IBANRegistry:true,branch_indentifier:"3-5",bank_identifier:"0-2",account_indentifier:"10-25"},MA:{chars:28,bban_regexp:"^[0-9]{24}$"},MC:{chars:27,bban_regexp:"^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$",bban_validation_func:wQ,IBANRegistry:true,SEPA:true,branch_indentifier:"5-9",bank_identifier:"0-4"},MD:{chars:24,bban_regexp:"^[A-Z0-9]{2}[A-Z0-9]{18}$",IBANRegistry:true,bank_identifier:"0-1",account_indentifier:"6-24"},ME:{chars:22,bban_regexp:"^[0-9]{18}$",bban_validation_func:Sh,IBANRegistry:true,bank_identifier:"0-2",account_indentifier:"4-22"},MF:{chars:27,bban_regexp:"^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$",IBANRegistry:true},MG:{chars:27,bban_regexp:"^[0-9]{23}$"},MH:{},MK:{chars:19,bban_regexp:"^[0-9]{3}[A-Z0-9]{10}[0-9]{2}$",bban_validation_func:Sh,IBANRegistry:true,bank_identifier:"0-2"},ML:{chars:28,bban_regexp:"^[A-Z0-9]{2}[0-9]{22}$"},MM:{},MN:{chars:20,bban_regexp:"^[0-9]{16}$",IBANRegistry:true,bank_identifier:"0-3",account_indentifier:"8-20"},MO:{},MP:{},MQ:{chars:27,bban_regexp:"^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$",IBANRegistry:true},MR:{chars:27,bban_regexp:"^[0-9]{23}$",IBANRegistry:true,branch_indentifier:"5-9",bank_identifier:"0-4",account_indentifier:"8-26"},MS:{},MT:{chars:31,bban_regexp:"^[A-Z]{4}[0-9]{5}[A-Z0-9]{18}$",IBANRegistry:true,SEPA:true,branch_indentifier:"4-8",bank_identifier:"0-3",account_indentifier:"15-31"},MU:{chars:30,bban_regexp:"^[A-Z]{4}[0-9]{19}[A-Z]{3}$",IBANRegistry:true,branch_indentifier:"6-7",bank_identifier:"0-5",account_indentifier:"0-30"},MV:{},MW:{},MX:{},MY:{},MZ:{chars:25,bban_regexp:"^[0-9]{21}$"},NA:{},NC:{chars:27,bban_regexp:"^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$",IBANRegistry:true},NE:{chars:28,bban_regexp:"^[A-Z]{2}[0-9]{22}$"},NF:{},NG:{},NI:{chars:28,bban_regexp:"^[A-Z]{4}[0-9]{20}$",bank_identifier:"0-3",IBANRegistry:true,account_indentifier:"8-28"},NL:{chars:18,bban_regexp:"^[A-Z]{4}[0-9]{10}$",IBANRegistry:true,SEPA:true,bank_identifier:"0-3",account_indentifier:"8-18"},NO:{chars:15,bban_regexp:"^[0-9]{11}$",bban_validation_func:g2e,IBANRegistry:true,SEPA:true,bank_identifier:"0-3",account_indentifier:"4-15"},NP:{},NR:{},NU:{},NZ:{},OM:{chars:23,bban_regexp:"^[0-9]{3}[A-Z0-9]{16}$",IBANRegistry:true,SEPA:false,bank_identifier:"0-2"},PA:{},PE:{},PF:{chars:27,bban_regexp:"^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$",IBANRegistry:true},PG:{},PH:{},PK:{chars:24,bban_regexp:"^[A-Z0-9]{4}[0-9]{16}$",IBANRegistry:true,bank_identifier:"0-3"},PL:{chars:28,bban_validation_func:v2e,bban_regexp:"^[0-9]{24}$",IBANRegistry:true,SEPA:true,branch_indentifier:"0-7",account_indentifier:"2-28"},PM:{chars:27,bban_regexp:"^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$",IBANRegistry:true},PN:{},PR:{},PS:{chars:29,bban_regexp:"^[A-Z0-9]{4}[0-9]{21}$",IBANRegistry:true,bank_identifier:"0-3",account_indentifier:"17-29"},PT:{chars:25,bban_regexp:"^[0-9]{21}$",bban_validation_func:Sh,IBANRegistry:true,SEPA:true,bank_identifier:"0-3"},PW:{},PY:{},QA:{chars:29,bban_regexp:"^[A-Z]{4}[A-Z0-9]{21}$",IBANRegistry:true,bank_identifier:"0-3",account_indentifier:"8-29"},RE:{chars:27,bban_regexp:"^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$",IBANRegistry:true},RO:{chars:24,bban_regexp:"^[A-Z]{4}[A-Z0-9]{16}$",IBANRegistry:true,SEPA:true,bank_identifier:"0-3",account_indentifier:"0-24"},RS:{chars:22,bban_regexp:"^[0-9]{18}$",bban_validation_func:Sh,IBANRegistry:true,bank_identifier:"0-2"},RU:{chars:33,bban_regexp:"^[0-9]{14}[A-Z0-9]{15}$",IBANRegistry:true,branch_indentifier:"9-13",bank_identifier:"0-8",account_indentifier:"13-33"},RW:{},SA:{chars:24,bban_regexp:"^[0-9]{2}[A-Z0-9]{18}$",IBANRegistry:true,bank_identifier:"0-1",account_indentifier:"12-24"},SB:{},SC:{chars:31,bban_regexp:"^[A-Z]{4}[0-9]{20}[A-Z]{3}$",IBANRegistry:true,branch_indentifier:"6-7",bank_identifier:"0-5",account_indentifier:"12-28"},SD:{chars:18,bban_regexp:"^[0-9]{14}$",IBANRegistry:true,bank_identifier:"0-1",account_indentifier:"6-18"},SE:{chars:24,bban_regexp:"^[0-9]{20}$",IBANRegistry:true,SEPA:true,bank_identifier:"0-2"},SG:{},SH:{},SI:{chars:19,bban_regexp:"^[0-9]{15}$",bban_validation_func:Sh,IBANRegistry:true,SEPA:true,branch_indentifier:"2-4",bank_identifier:"0-1",account_indentifier:"9-16"},SJ:{},SK:{chars:24,bban_regexp:"^[0-9]{20}$",bban_validation_func:SQ,IBANRegistry:true,SEPA:true},SL:{},SM:{chars:27,bban_regexp:"^[A-Z]{1}[0-9]{10}[A-Z0-9]{12}$",IBANRegistry:true,SEPA:true,branch_indentifier:"6-10"},SN:{chars:28,bban_regexp:"^[A-Z]{2}[0-9]{22}$"},SO:{chars:23,bban_regexp:"^[0-9]{19}$",IBANRegistry:true,branch_indentifier:"4-6",account_indentifier:"11-23"},SR:{},SS:{},ST:{chars:25,bban_regexp:"^[0-9]{21}$",IBANRegistry:true,branch_indentifier:"4-7"},SV:{chars:28,bban_regexp:"^[A-Z]{4}[0-9]{20}$",IBANRegistry:true,account_indentifier:"8-28"},SX:{},SY:{},SZ:{},TC:{},TD:{chars:27,bban_regexp:"^[0-9]{23}$"},TF:{chars:27,bban_regexp:"^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$",IBANRegistry:true},TG:{chars:28,bban_regexp:"^[A-Z]{2}[0-9]{22}$"},TH:{},TJ:{},TK:{},TL:{chars:23,bban_regexp:"^[0-9]{19}$",IBANRegistry:true,account_indentifier:"4-23"},TM:{},TN:{chars:24,bban_regexp:"^[0-9]{20}$",IBANRegistry:true,branch_indentifier:"2-4",account_indentifier:"4-24"},TO:{},TR:{chars:26,bban_regexp:"^[0-9]{5}[A-Z0-9]{17}$",IBANRegistry:true},TT:{},TV:{},TW:{},TZ:{},UA:{chars:29,bban_regexp:"^[0-9]{6}[A-Z0-9]{19}$",IBANRegistry:true,account_indentifier:"15-29"},UG:{},UM:{},US:{},UY:{},UZ:{},VA:{chars:22,bban_regexp:"^[0-9]{18}",IBANRegistry:true,SEPA:true,account_indentifier:"7-22"},VC:{},VE:{},VG:{chars:24,bban_regexp:"^[A-Z0-9]{4}[0-9]{16}$",IBANRegistry:true,account_indentifier:"8-24"},VI:{},VN:{},VU:{},WF:{chars:27,bban_regexp:"^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$",IBANRegistry:true},WS:{},XK:{chars:20,bban_regexp:"^[0-9]{16}$",IBANRegistry:true,branch_indentifier:"2-3",account_indentifier:"4-20"},YE:{chars:30,bban_regexp:"[A-Z]{4}[0-9]{4}[0-9A-Z]{18}",IBANRegistry:true,bank_identifier:"0-3",branch_indentifier:"4-7"},YT:{chars:27,bban_regexp:"^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$",IBANRegistry:true},ZA:{},ZM:{},ZW:{}};var VA=Object.entries(_d).filter(t=>t[1].IBANRegistry).map(t=>t[0]),OQ=Object.entries(_d).filter(t=>t[1].SEPA).map(t=>t[0]),kQ=(t="")=>TQ(nT(t)||void 0),iT=(t=true)=>i=>{console.log(i);let e=[];if(typeof i.getRawValue()=="string")if(/^[a-zA-Z]{2}/.test(i.getRawValue().substring(0,2))){let{valid:o,errorCodes:a}=kQ(i.value);e=a;}else t||e.push(ns.NoIBANCountry);else {let r=i.value?i.value.countryCode:"",o=i.value?i.value.bban:"";if(r!==""){let{valid:a,errorCodes:s}=kQ(`${r}${o}`);e=s;}}if(e.length===0)return null;let n={};return e.forEach(r=>{let o=ns[r];n[o]={value:i.getRawValue()};}),n};var RQ={version:4,country_calling_codes:{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"],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"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],880:["BD"],886:["TW"],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"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},countries:{AC:["247","00","(?:[01589]\\d|[46])\\d{4}",[5,6]],AD:["376","00","(?:1|6\\d)\\d{7}|[135-9]\\d{5}",[6,8,9],[["(\\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"]]]],AE:["971","00","(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",[5,6,7,8,9,10,11,12],[["(\\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"]],"0"],AF:["93","00","[2-7]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],"0"],AG:["1","011","(?:268|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([457]\\d{6})$|1","268$1",0,"268"],AI:["1","011","(?:264|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2457]\\d{6})$|1","264$1",0,"264"],AL:["355","00","(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",[6,7,8,9],[["(\\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"]],"0"],AM:["374","00","(?:[1-489]\\d|55|60|77)\\d{6}",[8],[["(\\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"]],"0"],AO:["244","00","[29]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]]],AR:["54","00","(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",[10,11],[["(\\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",0,"$1 $2 $3-$4"],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1",0,"$1 $2 $3-$4"],["(\\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",0,"$1 $2 $3-$4"]],"0",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"],AS:["1","011","(?:[58]\\d\\d|684|900)\\d{7}",[10],0,"1",0,"([267]\\d{6})$|1","684$1",0,"684"],AT:["43","00","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],[["(\\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(?:48|5[0-3579]|[6-9])|7(?:20|32|8)|[89]","(?:31|4)6|51|6(?:485|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"]],"0"],AU:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","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],[["(\\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)"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],"0",0,"(183[12])|0",0,0,0,[["(?:(?:241|349)0\\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])|[34]\\d\\d)|91(?:(?:[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}|(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8])|8(?:55|6[0-8]|[78]\\d|9[02-9]))\\d{6}",[9]],["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,["163\\d{2,6}",[5,6,7,8,9]],["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],AW:["297","00","(?:[25-79]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]]],AX:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","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],0,"0",0,0,0,0,"18",0,"00"],AZ:["994","00","365\\d{6}|(?:[124579]\\d|60|88)\\d{7}",[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"]],"0"],BA:["387","00","6\\d{8}|(?:[35689]\\d|49|70)\\d{6}",[8,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"]],"0"],BB:["1","011","(?:246|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","246$1",0,"246"],BD:["880","00","[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],[["(\\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]|2[23]"],"0$1"],["(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],"0"],BE:["32","00","4\\d{8}|[1-9]\\d{7}",[8,9],[["(\\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"]],"0"],BF:["226","00","[024-7]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[024-7]"]]]],BG:["359","00","00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",[6,7,8,9,12],[["(\\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"]],"0"],BH:["973","00","[136-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[13679]|8[02-4679]"]]]],BI:["257","00","(?:[267]\\d|31)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]]],BJ:["229","00","(?:01\\d|8)\\d{7}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["0"]]]],BL:["590","00","7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["(?:59(?:0(?:2[7-9]|3[3-7]|5[12]|87)|87\\d)|80[6-9]\\d\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],["8[129]\\d{7}"],0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],BM:["1","011","(?:441|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","441$1",0,"441"],BN:["673","00","[2-578]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]]],BO:["591","00(?:1\\d)?","(?:[2-7]\\d\\d|8001)\\d{5}",[8,9],[["(\\d)(\\d{7})","$1 $2",["[23]|4[46]|50"]],["(\\d{8})","$1",["[5-7]"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"]]],"0",0,"0(1\\d)?"],BQ:["599","00","(?:[34]1|7\\d)\\d{5}",[7],0,0,0,0,0,0,"[347]"],BR:["55","00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","[1-467]\\d{9,10}|55[0-46-9]\\d{8}|[34]\\d{7}|55\\d{7,8}|(?:5[0-46-9]|[89]\\d)\\d{7,9}",[8,9,10,11],[["(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37|86)","300|4(?:0(?:0|20)|370|864)"]],["(\\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)"],["(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)"]],"0",0,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2"],BS:["1","011","(?:242|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([3-8]\\d{6})$|1","242$1",0,"242"],BT:["975","00","[178]\\d{7}|[2-8]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-6]|7[246]|8[2-4]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|[78]"]]]],BW:["267","00","(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",[7,8,10],[["(\\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"]]]],BY:["375","810","(?:[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],[["(\\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"]],"8",0,"0|80?",0,0,0,0,"8~10"],BZ:["501","00","(?:0800\\d|[2-8])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],["(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]]],CA:["1","011","[2-9]\\d{9}|3\\d{6}",[7,10],0,"1",0,0,0,0,0,[["(?:2(?:04|[23]6|[48]9|5[07]|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])|9(?:0[25]|42))[2-9]\\d{6}",[10]],["",[10]],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",[10]],["900[2-9]\\d{6}",[10]],["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(?:2[125-9]|3[23]|44|66|77|88)|6(?:22|33))[2-9]\\d{6}",[10]],0,["310\\d{4}",[7]],0,["600[2-9]\\d{6}",[10]]]],CC:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","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],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["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}",[9]],["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CD:["243","00","(?:(?:[189]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}",[7,8,9,10],[["(\\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{2})(\\d{4})","$1 $2 $3",["2"],"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"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["5"],"0$1"]],"0"],CF:["236","00","8776\\d{4}|(?:[27]\\d|61)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-8]"]]]],CG:["242","00","222\\d{6}|(?:0\\d|80)\\d{7}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]]],CH:["41","00","8\\d{11}|[2-9]\\d{8}",[9,12],[["(\\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"]],"0"],CI:["225","00","[02]\\d{9}",[10],[["(\\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"]]]],CK:["682","00","[2-578]\\d{4}",[5],[["(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]]],CL:["56","(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0","12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",[9,10,11],[["(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["60|809"]],["(\\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(?:10|[2-9])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-8]|[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"]]]],CM:["237","00","[26]\\d{8}|88\\d{6,7}",[8,9],[["(\\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"]]]],CN:["86","00|1(?:[12]\\d|79)\\d\\d00","(?:(?:1[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}",[7,8,9,10,11,12],[["(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|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(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]","(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|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]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|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]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|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]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|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(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"],"0$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"],["(\\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",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",1],["(\\d{3})(\\d{7,8})","$1 $2",["9"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",1]],"0",0,"(1(?:[12]\\d|79)\\d\\d)|0",0,0,0,0,"00"],CO:["57","00(?:4(?:[14]4|56)|[579])","(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["46"]],["(\\d{3})(\\d{7})","$1 $2",["6|90"],"($1)"],["(\\d{3})(\\d{7})","$1 $2",["3[0-357]|9[14]"]],["(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1",0,"$1 $2 $3"]],"0",0,"0([3579]|4(?:[14]4|56))?"],CR:["506","00","(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",[8,10],[["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"]]],0,0,"(19(?:0[0-2468]|1[09]|20|66|77|99))"],CU:["53","119","(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}",[6,7,8,10],[["(\\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"]],"0"],CV:["238","0","(?:[2-59]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]]],CW:["599","00","(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[3467]"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],0,0,0,0,0,"[69]"],CX:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","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],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["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}",[9]],["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CY:["357","00","(?:[279]\\d|[58]0)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]]],CZ:["420","00","(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}",[9,10,11,12],[["(\\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"]]]],DE:["49","00","[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],[["(\\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]|3[13])"],"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"]],"0"],DJ:["253","00","(?:2\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]]],DK:["45","00","[2-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]]],DM:["1","011","(?:[58]\\d\\d|767|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","767$1",0,"767"],DO:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,0,0,0,"8001|8[024]9"],DZ:["213","00","(?:[1-4]|[5-79]\\d|80)\\d{7}",[8,9],[["(\\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"]],"0"],EC:["593","00","1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",[8,9,10,11],[["(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)",0,"$1-$2-$3"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],"0"],EE:["372","00","8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",[7,8,10],[["(\\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"]]]],EG:["20","00","[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",[8,9,10],[["(\\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"]],"0"],EH:["212","00","[5-8]\\d{8}",[9],0,"0",0,0,0,0,0,[["528[89]\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[016-8]\\d|2[0-8]|5[0-5]))\\d{6}"],["80[0-7]\\d{6}"],["89\\d{7}"],0,0,0,0,["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]],ER:["291","00","[178]\\d{6}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],"0"],ES:["34","00","[5-9]\\d{8}",[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]"]]]],ET:["251","00","(?:11|[2-57-9]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-57-9]"],"0$1"]],"0"],FI:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","[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],[["(\\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",["(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"]],"0",0,0,0,0,"1[03-79]|[2-9]",0,"00"],FJ:["679","0(?:0|52)","45\\d{5}|(?:0800\\d|[235-9])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],0,0,0,0,0,0,0,"00"],FK:["500","00","[2-7]\\d{4}",[5]],FM:["691","00","(?:[39]\\d\\d|820)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[389]"]]]],FO:["298","00","[2-9]\\d{5}",[6],[["(\\d{6})","$1",["[2-9]"]]],0,0,"(10(?:01|[12]0|88))"],FR:["33","00","[1-9]\\d{8}",[9],[["(\\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"]],"0"],GA:["241","00","(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",[7,8],[["(\\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"]],0,0,"0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})","$1"],GB:["44","00","[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",[7,9,10],[["(\\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"]],"0",0,"0|180020",0,0,0,[["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-5])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|5[01]))\\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}",[9,10]],["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}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["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}",[10]],["56\\d{8}",[10]]],0," x"],GD:["1","011","(?:473|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","473$1",0,"473"],GE:["995","00","(?:[3-57]\\d\\d|800)\\d{6}",[9],[["(\\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"]],"0"],GF:["594","00","(?:694\\d|7093)\\d{5}|(?:59|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]|80[6-9]|9[47]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[89]"],"0$1"]],"0"],GG:["44","00","(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",[7,9,10],0,"0",0,"([25-9]\\d{5})$|0|180020","1481$1",0,0,[["1481[25-9]\\d{5}",[10]],["7(?:(?:781|839)\\d|911[17])\\d{5}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["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}",[10]],["56\\d{8}",[10]]]],GH:["233","00","[235]\\d{8}|800\\d{5,6}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2358]"],"0$1"]],"0"],GI:["350","00","(?:[25]\\d|60)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["2"]]]],GL:["299","00","(?:19|[2-689]\\d|70)\\d{4}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-9]"]]]],GM:["220","00","[2-9]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],GN:["224","00","722\\d{6}|(?:3|6\\d)\\d{7}",[8,9],[["(\\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]"]]]],GP:["590","00","7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]|80[6-9]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["(?:59(?:0(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)|87\\d)|80[6-9]\\d\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],["8[129]\\d{7}"],0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],GQ:["240","00","222\\d{6}|(?:3\\d|55|[89]0)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],["(\\d{3})(\\d{6})","$1 $2",["[89]"]]]],GR:["30","00","5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}",[10,11,12],[["(\\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"]]]],GT:["502","00","80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1 $2",["[2-8]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],GU:["1","011","(?:[58]\\d\\d|671|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","671$1",0,"671"],GW:["245","00","[49]\\d{8}|4\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["40"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]]],GY:["592","001","(?:[2-8]\\d{3}|9008)\\d{3}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],HK:["852","00(?:30|5[09]|[126-9]?)","8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}",[5,6,7,8,9,11],[["(\\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"]]],0,0,0,0,0,0,0,"00"],HN:["504","00","8\\d{10}|[237-9]\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]]],HR:["385","00","[2-69]\\d{8}|80\\d{5,7}|[1-79]\\d{7}|6\\d{6}",[7,8,9],[["(\\d{2})(\\d{2})(\\d{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"]],"0"],HT:["509","00","[2-589]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-589]"]]]],HU:["36","00","[235-7]\\d{8}|[1-9]\\d{7}",[8,9],[["(\\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"]],"06"],ID:["62","00[89]","00[1-9]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}",[7,8,9,10,11,12,13,14,15,16,17],[["(\\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"]],"0"],IE:["353","00","(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",[7,8,9,10],[["(\\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"]],"0"],IL:["972","0(?:0|1[2-9])","1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",[7,8,9,10,11,12],[["(\\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"]]],"0"],IM:["44","00","1624\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([25-8]\\d{5})$|0|180020","1624$1",0,"74576|(?:16|7[56])24"],IN:["91","00","(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",[8,9,10,11,12,13],[["(\\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)"],0,1],["(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],0,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]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67)[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(?:(?: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)|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(?:3171|5[15][2-6]|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|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]|3[129]|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(?:[23569]|8[0-57-9])|8[1-6])|7(?:1(?:[013-8]|9[6-9])|3(?:17|2[0-49]|9[2-57])|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|8(?:28[235-7]|3))|73179|807(?:1|9[1-3])|(?:1552|6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578])\\d|7(?:[23569]\\d|8[0-57-9])|8(?:[14-6]\\d|2[0-79]))|7(?:1(?:[013-8]\\d|9[6-9])|3(?:2[0-49]|9[2-57])|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",["16|[6-9]"],"0$1",1],["(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["18[06]","18[06]0"],0,1],["(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],0,1]],"0"],IO:["246","00","3\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["3"]]]],IQ:["964","00","(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}",[8,9,10],[["(\\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"]],"0"],IR:["98","00","[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}",[4,5,6,7,10],[["(\\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"]],"0"],IS:["354","00|1(?:0(?:01|[12]0)|100)","(?:38\\d|[4-9])\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],0,0,0,0,0,0,0,"00"],IT:["39","00","0\\d{5,11}|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],[["(\\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",["[03]"]]],0,0,0,0,0,0,[["0(?:669[0-79]\\d{1,6}|831\\d{2,8})|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[2356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}"],["3[2-9]\\d{7,8}|(?:31|43)\\d{8}",[9,10]],["80(?:0\\d{3}|3)\\d{3}",[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}",[6,8,9,10]],["1(?:78\\d|99)\\d{6}",[9,10]],["3[2-8]\\d{9,10}",[11,12]],0,0,["55\\d{8}",[10]],["84(?:[08]\\d{3}|[17])\\d{3}",[6,9]]]],JE:["44","00","1534\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([0-24-8]\\d{5})$|0|180020","1534$1",0,0,[["1534[0-24-8]\\d{5}"],["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"],["80(?:07(?:35|81)|8901)\\d{4}"],["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"],["701511\\d{4}"],0,["(?: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}"],["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}"],["56\\d{8}"]]],JM:["1","011","(?:[58]\\d\\d|658|900)\\d{7}",[10],0,"1",0,0,0,0,"658|876"],JO:["962","00","(?:(?:[2689]|7\\d)\\d|32|427|53)\\d{6}",[8,9],[["(\\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",["[47]"],"0$1"]],"0"],JP:["81","010","00[1-9]\\d{6,14}|[25-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",[8,9,10,11,12,13,14,15,16,17],[["(\\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",["3|4(?:2[09]|7[01])|6[1-9]","3|4(?:2(?:0|9[02-69])|7(?:0[019]|1))|6[1-9]"],"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",["[25-9]"],"0$1"]],"0",0,"(000[2569]\\d{4,6})$|(?:(?:003768)0?)|0","$1"],KE:["254","000","(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}",[7,8,9,10],[["(\\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"]],"0"],KG:["996","00","8\\d{9}|[235-9]\\d{8}",[9,10],[["(\\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"]],"0"],KH:["855","00[14-9]","1\\d{9}|[1-9]\\d{7,8}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],KI:["686","00","(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}",[5,8],0,"0"],KM:["269","00","[3478]\\d{6}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[3478]"]]]],KN:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","869$1",0,"869"],KP:["850","00|99","85\\d{6}|(?:19\\d|[2-7])\\d{7}",[8,10],[["(\\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"]],"0"],KR:["82","00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","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],[["(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1"],["(\\d{4})(\\d{4})","$1-$2",["1"]],["(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[36]0|8"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1"]],"0",0,"0(8(?:[1-46-8]|5\\d\\d))?"],KW:["965","00","18\\d{5}|(?:[2569]\\d|41)\\d{6}",[7,8],[["(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],["(\\d{3})(\\d{5})","$1 $2",["[245]"]]]],KY:["1","011","(?:345|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","345$1",0,"345"],KZ:["7","810","8\\d{13}|[78]\\d{9}",[10,14],0,"8",0,0,0,0,"7",0,"8~10"],LA:["856","00","[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}",[8,9,10],[["(\\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",["3"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],"0"],LB:["961","00","[27-9]\\d{7}|[13-9]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-6]|9[04-9])|8[02-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27-9]"]]],"0"],LC:["1","011","(?:[58]\\d\\d|758|900)\\d{7}",[10],0,"1",0,"([2-8]\\d{6})$|1","758$1",0,"758"],LI:["423","00","[68]\\d{8}|(?:[2378]\\d|90)\\d{5}",[7,9],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2379]|8(?:0[09]|7)","[2379]|8(?:0(?:02|9)|7)"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],"0",0,"(1001)|0"],LK:["94","00","[1-9]\\d{8}",[9],[["(\\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"]],"0"],LR:["231","00","(?:[2457]\\d|33|88)\\d{7}|(?:2\\d|[4-6])\\d{6}",[7,8,9],[["(\\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"]],"0"],LS:["266","00","(?:[256]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2568]"]]]],LT:["370","00","(?:[3469]\\d|52|[78]0)\\d{6}",[8],[["(\\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]],"0",0,"[08]"],LU:["352","00","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],[["(\\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])"]],["(\\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])"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["20"]],["(\\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]"]],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["20"]]],0,0,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"],LV:["371","00","(?:[268]\\d|78|90)\\d{6}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2679]|8[01]"]]]],LY:["218","00","[2-9]\\d{8}",[9],[["(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],"0"],MA:["212","00","[5-8]\\d{8}",[9],[["(\\d{4})(\\d{5})","$1-$2",["892"],"0$1"],["(\\d{2})(\\d{7})","$1-$2",["8(?:0[0-7]|9)"],"0$1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[5-8]"],"0$1"]],"0",0,0,0,0,"[5-8]"],MC:["377","00","(?:[3489]|[67]\\d)\\d{7}",[8,9],[["(\\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",["[67]"],"0$1"]],"0"],MD:["373","00","(?:[235-7]\\d|[89]0)\\d{6}",[8],[["(\\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"]],"0"],ME:["382","00","(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"0$1"]],"0"],MF:["590","00","7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["(?:59(?:0(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)|87\\d)|80[6-9]\\d\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],["8[129]\\d{7}"],0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],MG:["261","00","[23]\\d{8}",[9],[["(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],"0",0,"([24-9]\\d{6})$|0","20$1"],MH:["692","011","329\\d{4}|(?:[256]\\d|45)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],"1"],MK:["389","00","[2-578]\\d{7}",[8],[["(\\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"]],"0"],ML:["223","00","[24-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]]],MM:["95","00","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],[["(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["4(?:[2-46]|5[3-5])|5|6(?:[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-5]|(?:60|86)[23]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|452|678|86","[12]|452|6788|86"],"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"]],"0"],MN:["976","001","[12]\\d{7,9}|[5-9]\\d{7}",[8,9,10],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["11|2[16]"],"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"]],"0"],MO:["853","00","0800\\d{3}|(?:28|[68]\\d)\\d{6}",[7,8],[["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{4})(\\d{4})","$1 $2",["[268]"]]]],MP:["1","011","[58]\\d{9}|(?:67|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","670$1",0,"670"],MQ:["596","00","7091\\d{5}|(?:[56]9|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]|8(?:0[6-9]|[36])"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],MR:["222","00","(?:[2-4]\\d\\d|800)\\d{5}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]]],MS:["1","011","(?:[58]\\d\\d|664|900)\\d{7}",[10],0,"1",0,"([34]\\d{6})$|1","664$1",0,"664"],MT:["356","00","3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]]],MU:["230","0(?:0|[24-7]0|3[03])","(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],["(\\d{4})(\\d{4})","$1 $2",["[57]"]],["(\\d{5})(\\d{5})","$1 $2",["8"]]],0,0,0,0,0,0,0,"020"],MV:["960","0(?:0|19)","(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",[7,10],[["(\\d{3})(\\d{4})","$1-$2",["[34679]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],0,0,0,0,0,0,0,"00"],MW:["265","00","(?:[1289]\\d|31|77)\\d{7}|1\\d{6}",[7,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-37-9]"],"0$1"]],"0"],MX:["52","0[09]","[2-9]\\d{9}",[10],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"]]],0,0,0,0,0,0,0,"00"],MY:["60","00","1\\d{8,9}|(?:3\\d|[4-9])\\d{7}",[8,9,10],[["(\\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"]],"0"],MZ:["258","00","(?:2|8\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-79]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],NA:["264","00","[68]\\d{7,8}",[8,9],[["(\\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"]],"0"],NC:["687","00","(?:050|[2-57-9]\\d\\d)\\d{3}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]]],NE:["227","00","[027-9]\\d{7}",[8],[["(\\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]"]]]],NF:["672","00","[13]\\d{5}",[6],[["(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],["(\\d)(\\d{5})","$1 $2",["[13]"]]],0,0,"([0-258]\\d{4})$","3$1"],NG:["234","009","(?:20|9\\d)\\d{8}|[78]\\d{9,13}",[10,11,12,13,14],[["(\\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"]],"0"],NI:["505","00","(?:1800|[25-8]\\d{3})\\d{4}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]]],NL:["31","00","(?:[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],[["(\\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"]],"0"],NO:["47","00","(?:0|[2-9]\\d{3})\\d{4}",[5,8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]"]]],0,0,0,0,0,"[02-689]|7[0-8]"],NP:["977","00","(?:1\\d|9)\\d{9}|[1-9]\\d{7}",[8,10,11],[["(\\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"]]],"0"],NR:["674","00","(?:222|444|(?:55|8\\d)\\d|666|777|999)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[24-9]"]]]],NU:["683","00","(?:[4-7]|888\\d)\\d{3}",[4,7],[["(\\d{3})(\\d{4})","$1 $2",["8"]]]],NZ:["64","0(?:0|161)","[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],[["(\\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"]],"0",0,0,0,0,0,0,"00"],OM:["968","00","(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}",[7,8,9],[["(\\d{3})(\\d{4,6})","$1 $2",["[58]"]],["(\\d{2})(\\d{6})","$1 $2",["2"]],["(\\d{4})(\\d{4})","$1 $2",["[179]"]]]],PA:["507","00","(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}",[7,8,10,11],[["(\\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"]]]],PE:["51","00|19(?:1[124]|77|90)00","(?:[14-8]|9\\d)\\d{7}",[8,9],[["(\\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"]]],"0",0,0,0,0,0,0,"00"," Anexo "],PF:["689","00","4\\d{5}(?:\\d{2})?|8\\d{7,8}",[6,8,9],[["(\\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"]]]],PG:["675","00|140[1-3]","(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85"]],["(\\d{4})(\\d{4})","$1 $2",["[78]"]]],0,0,0,0,0,0,0,"00"],PH:["63","00","(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}",[6,8,9,10,11,12,13],[["(\\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"]]],"0"],PK:["92","00","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],[["(\\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)"]],"0"],PL:["48","00","(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}",[6,7,8,9,10],[["(\\d{5})","$1",["19"]],["(\\d{3})(\\d{3})","$1 $2",["11|20|64"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["30|(?: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","30|(?: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"]]]],PM:["508","00","[78]\\d{8}|[2-9]\\d{5}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[2-9]"],"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"]],"0"],PR:["1","011","(?:[589]\\d\\d|787)\\d{7}",[10],0,"1",0,0,0,0,"787|939"],PS:["970","00","[2489]2\\d{6}|(?:1\\d|5)\\d{8}",[8,9,10],[["(\\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"]]],"0"],PT:["351","00","1693\\d{5}|(?:[26-9]\\d|30)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["16|[236-9]"]]]],PW:["680","01[12]","(?:[24-8]\\d\\d|345|900)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],PY:["595","00","[36-8]\\d{5,8}|4\\d{6,8}|59\\d{6}|9\\d{5,10}|(?:2\\d|5[0-8])\\d{6,7}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["3[289]|4[246-8]|61|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"]]],"0"],QA:["974","00","800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}",[7,8,9,11],[["(\\d{3})(\\d{4})","$1 $2",["2[136]|8"]],["(\\d{4})(\\d{4})","$1 $2",["[3-7]"]]]],RE:["262","00","709\\d{6}|(?:26|[689]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-9]"],"0$1"]],"0",0,0,0,0,0,[["2631[0-6]\\d{4}|26(?:2\\d|30|88)\\d{5}"],["(?:69(?:2\\d\\d|3(?:[06][0-6]|1[0-3]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))|7092[0-3])\\d{4}"],["80\\d{7}"],["89[1-37-9]\\d{6}"],0,0,0,0,["9(?:399[0-3]|479[0-6]|76(?:2[278]|3[0-37]))\\d{4}"],["8(?:1[019]|2[0156]|84|90)\\d{6}"]]],RO:["40","00","(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}",[6,9],[["(\\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"]],"0",0,0,0,0,0,0,0," int "],RS:["381","00","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],[["(\\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"]],"0"],RU:["7","810","8\\d{13}|[347-9]\\d{9}",[10,14],[["(\\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)"]],"8",0,0,0,0,"[3489]",0,"8~10"],RW:["250","00","(?:06|[27]\\d\\d|[89]00)\\d{6}",[8,9],[["(\\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"]],"0"],SA:["966","00","(?:[15]\\d|800|92)\\d{7}",[9,10],[["(\\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{4})","$1 $2 $3",["8"]]],"0"],SB:["677","0[01]","[6-9]\\d{6}|[1-6]\\d{4}",[5,7],[["(\\d{2})(\\d{5})","$1 $2",["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]]],SC:["248","010|0[0-2]","(?:[2489]\\d|64)\\d{5}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],0,0,0,0,0,0,0,"00"],SD:["249","00","[19]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],"0"],SE:["46","00","(?:[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],[["(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44|9)"],"0$1",0,"$1 $2"],["(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3"],["(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\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",0,"$1 $2 $3"],["(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1",0,"$1 $2 $3"],["(\\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",0,"$1 $2 $3 $4"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1",0,"$1 $2 $3 $4"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\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",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1",0,"$1 $2 $3 $4 $5"]],"0"],SG:["65","0[0-3]\\d","(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",[8,10,11],[["(\\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"]]]],SH:["290","00","(?:[256]\\d|8)\\d{3}",[4,5],0,0,0,0,0,0,"[256]"],SI:["386","00|10(?:22|66|88|99)","[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",[5,6,7,8],[["(\\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[013]|51|6"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],"0",0,0,0,0,0,0,"00"],SJ:["47","00","0\\d{4}|(?:[489]\\d|79)\\d{6}",[5,8],0,0,0,0,0,0,"79"],SK:["421","00","[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",[6,7,9],[["(\\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"]],"0"],SL:["232","00","(?:[237-9]\\d|66)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],"0"],SM:["378","00","(?:0549|[5-7]\\d)\\d{6}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],["(\\d{4})(\\d{6})","$1 $2",["0"]]],0,0,"([89]\\d{5})$","0549$1"],SN:["221","00","(?:[378]\\d|93)\\d{7}",[9],[["(\\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]"]]]],SO:["252","00","[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",[6,7,8,9],[["(\\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{2})(\\d{5,7})","$1 $2",["1|28|9[2-9]"]],["(\\d)(\\d{7})","$1 $2",["[267]|904"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[346-9]"]]],"0"],SR:["597","00","(?:[2-5]|[6-9]\\d)\\d{5}",[6,7],[["(\\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-9]"]]]],SS:["211","00","[19]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[19]"],"0$1"]],"0"],ST:["239","00","(?:22|9\\d)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[29]"]]]],SV:["503","00","[25-7]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?",[7,8,11],[["(\\d{3})(\\d{4})","$1 $2",["[89]"]],["(\\d{4})(\\d{4})","$1 $2",["[25-7]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]]],SX:["1","011","7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"(5\\d{6})$|1","721$1",0,"721"],SY:["963","00","[1-359]\\d{8}|[1-5]\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-4]|5[1-3]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[59]"],"0$1",1]],"0"],SZ:["268","00","0800\\d{4}|(?:[237]\\d|900)\\d{6}",[8,9],[["(\\d{4})(\\d{4})","$1 $2",["[0237]"]],["(\\d{5})(\\d{4})","$1 $2",["9"]]]],TA:["290","00","8\\d{3}",[4],0,0,0,0,0,0,"8"],TC:["1","011","(?:[58]\\d\\d|649|900)\\d{7}",[10],0,"1",0,"([2-479]\\d{6})$|1","649$1",0,"649"],TD:["235","00|16","(?:22|[3689]\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[236-9]"]]],0,0,0,0,0,0,0,"00"],TG:["228","00","[279]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]]],TH:["66","00[1-9]","(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}",[8,9,10,13],[["(\\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"]]],"0"],TJ:["992","810","(?:[0-57-9]\\d|66)\\d{7}",[9],[["(\\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",["\\d"]]],0,0,0,0,0,0,0,"8~10"],TK:["690","00","[2-47]\\d{3,6}",[4,5,6,7]],TL:["670","00","7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],["(\\d{4})(\\d{4})","$1 $2",["7"]]]],TM:["993","810","(?:[1-6]\\d|71)\\d{6}",[8],[["(\\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"]],"8",0,0,0,0,0,0,"8~10"],TN:["216","00","[2-57-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]]],TO:["676","00","(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",[5,7],[["(\\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]"]]]],TR:["90","00","4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",[7,10,12,13],[["(\\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-79]"],"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]],"0"],TT:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-46-8]\\d{6})$|1","868$1",0,"868"],TV:["688","00","(?:2|7\\d\\d|90)\\d{4}",[5,6,7],[["(\\d{2})(\\d{3})","$1 $2",["2"]],["(\\d{2})(\\d{4})","$1 $2",["90"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],TW:["886","0(?:0[25-79]|19)","[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",[7,8,9,10,11],[["(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["826"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["83"],"0$1"],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["82"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[25]0|37|49|8[09]"],"0$1"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-478])|7[1-9]","[23568]|4(?:0[2-48]|[1-478])|(?: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"]],"0",0,0,0,0,0,0,0,"#"],TZ:["255","00[056]","(?:[25-8]\\d|41|90)\\d{7}",[9],[["(\\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"]],"0"],UA:["380","00","[89]\\d{9}|[3-9]\\d{8}",[9,10],[["(\\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"]],"0",0,0,0,0,0,0,"0~0"],UG:["256","00[057]","800\\d{6}|(?:[29]0|[347]\\d)\\d{7}",[9],[["(\\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"]],"0"],US:["1","011","[2-9]\\d{9}|3\\d{6}",[10],[["(\\d{3})(\\d{4})","$1-$2",["310"],0,1],["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],0,1,"$1-$2-$3"]],"1",0,0,0,0,0,[["(?:274[27]|(?:472|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-57-9]|1[02-9]|2[013-79]|3[0-24679]|4[167]|5[0-3]|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-57-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-269])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-2478]|4[0378]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[0168]|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-3589]|8[04-69]))[2-9]\\d{6}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["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]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],UY:["598","0(?:0|1[3-9]\\d)","0004\\d{2,9}|[1249]\\d{7}|2\\d{3,4}|(?:[49]\\d|80)\\d{5}",[4,5,6,7,8,9,10,11,12,13],[["(\\d{4,5})","$1",["21"]],["(\\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"]]],"0",0,0,0,0,0,0,"00"," int. "],UZ:["998","00","(?:20|33|[5-9]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-9]"]]]],VA:["39","00","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],0,0,0,0,0,0,"06698"],VC:["1","011","(?:[58]\\d\\d|784|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","784$1",0,"784"],VE:["58","00","[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}",[10],[["(\\d{3})(\\d{7})","$1-$2",["[24-689]"],"0$1"]],"0"],VG:["1","011","(?:284|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-578]\\d{6})$|1","284$1",0,"284"],VI:["1","011","[58]\\d{9}|(?:34|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","340$1",0,"340"],VN:["84","00","[12]\\d{9}|[135-9]\\d{8}|[16]\\d{6,7}|7\\d{6}",[7,8,9,10],[["(\\d{4})(\\d{4,6})","$1 $2",["1(?:2[02]|[89])"],0,1],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[26]|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]],"0"],VU:["678","00","[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}",[5,7],[["(\\d{3})(\\d{4})","$1 $2",["[57-9]"]]]],WF:["681","00","(?:40|72|8\\d{4})\\d{4}|[89]\\d{5}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[47-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],WS:["685","0","(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}",[5,6,7,10],[["(\\d{5})","$1",["[2-5]|6[1-9]"]],["(\\d{3})(\\d{3,7})","$1 $2",["[68]"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],XK:["383","00","2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}",[8,9,10,11,12],[["(\\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"]],"0"],YE:["967","00","(?:1|7\\d)\\d{7}|[1-7]\\d{6}",[7,8,9],[["(\\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"]],"0"],YT:["262","00","(?:639\\d|7093)\\d{5}|(?:26|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["26(?:89\\d|9(?:0[0-467]|15|5[0-4]|6\\d|[78]0))\\d{4}"],["(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|7093[5-7])\\d{4}"],["80\\d{7}"],0,0,0,0,0,["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]],ZA:["27","00","[1-79]\\d{8}|8\\d{4,9}",[5,6,7,8,9,10],[["(\\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"]],"0"],ZM:["260","00","800\\d{6}|(?:21|[579]\\d|63)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[579]"],"0$1"]],"0"],ZW:["263","00","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],[["(\\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"]],"0"]},nonGeographic:{800:["800",0,"(?:00|[1-9]\\d)\\d{6}",[8],[["(\\d{4})(\\d{4})","$1 $2",["\\d"]]],0,0,0,0,0,0,[0,0,["(?:00|[1-9]\\d)\\d{6}"]]],808:["808",0,"[1-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,0,["[1-9]\\d{7}"]]],870:["870",0,"7\\d{11}|[235-7]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-7]"]]],0,0,0,0,0,0,[0,["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"],0,0,0,0,0,0,["2\\d{8}",[9]]]],878:["878",0,"10\\d{10}",[12],[["(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["10\\d{10}"]]],881:["881",0,"6\\d{9}|[0-36-9]\\d{8}",[9,10],[["(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-37-9]"]],["(\\d)(\\d{3})(\\d{5,6})","$1 $2 $3",["6"]]],0,0,0,0,0,0,[0,["6\\d{9}|[0-36-9]\\d{8}"]]],882:["882",0,"[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?",[7,8,9,10,11,12],[["(\\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|5[12]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["34"]],["(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["[1-35]"]]],0,0,0,0,0,0,[0,["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|5(?:0\\d{3}|2[0-2]))\\d{7}",[7,8,9,10,12]],0,0,0,["348[57]\\d{7}",[11]],0,0,["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}"]]],883:["883",0,"(?:[1-4]\\d|51)\\d{6,10}",[8,9,10,11,12],[["(\\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]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["(?: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}"]]],888:["888",0,"\\d{11}",[11],[["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],0,0,0,0,0,0,[0,0,0,0,0,0,["\\d{11}"]]],979:["979",0,"[1359]\\d{8}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[1359]"]]],0,0,0,0,0,0,[0,0,0,["[1359]\\d{8}"]]]}};function UA(t,i){var e=Array.prototype.slice.call(i);return e.push(RQ),t.apply(this,e)}function HA(t,i){t=t.split("-"),i=i.split("-");for(var e=t[0].split("."),n=i[0].split("."),r=0;r<3;r++){var o=Number(e[r]),a=Number(n[r]);if(o>a)return 1;if(a>o)return -1;if(!isNaN(o)&&isNaN(a))return 1;if(isNaN(o)&&!isNaN(a))return -1}return t[1]&&i[1]?t[1]>i[1]?1:t[1]<i[1]?-1:0:!t[1]&&i[1]?1:t[1]&&!i[1]?-1:0}var w2e={}.constructor;function hc(t){return t!=null&&t.constructor===w2e}var T2e=/^\d+$/;function zA(t){return T2e.test(t)}function wh(t){"@babel/helpers - typeof";return wh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},wh(t)}function rT(t,i){if(!(t instanceof i))throw new TypeError("Cannot call a class as a function")}function AQ(t,i){for(var e=0;e<i.length;e++){var n=i[e];n.enumerable=n.enumerable||false,n.configurable=true,"value"in n&&(n.writable=true),Object.defineProperty(t,x2e(n.key),n);}}function oT(t,i,e){return i&&AQ(t.prototype,i),Object.defineProperty(t,"prototype",{writable:false}),t}function x2e(t){var i=D2e(t,"string");return wh(i)=="symbol"?i:i+""}function D2e(t,i){if(wh(t)!="object"||!t)return t;var e=t[Symbol.toPrimitive];if(e!==void 0){var n=e.call(t,i);if(wh(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return (String)(t)}var I2e="1.2.0",M2e="1.7.35",NQ=" ext. ",Mi=(function(){function t(i){rT(this,t),GA(i),this.metadata=i,BQ.call(this,i);}return oT(t,[{key:"getCountries",value:function(){return Object.keys(this.metadata.countries).filter(function(e){return e!=="001"})}},{key:"getCountryMetadata",value:function(e){return this.metadata.countries[e]}},{key:"nonGeographic",value:function(){if(!(this.v1||this.v2||this.v3))return this.metadata.nonGeographic||this.metadata.nonGeographical}},{key:"hasCountry",value:function(e){return this.getCountryMetadata(e)!==void 0}},{key:"hasCallingCode",value:function(e){if(this.getCountryCodesForCallingCode(e))return true;if(this.nonGeographic()){if(this.nonGeographic()[e])return true}else {var n=this.countryCallingCodes()[e];if(n&&n.length===1&&n[0]==="001")return true}}},{key:"isNonGeographicCallingCode",value:function(e){return this.nonGeographic()?!!this.nonGeographic()[e]:!this.getCountryCodesForCallingCode(e)}},{key:"country",value:function(e){return this.selectNumberingPlan(e)}},{key:"selectNumberingPlan",value:function(e,n){var r,o;if(e&&(zA(e)?o=e:r=e),n&&(o=n),r&&r!=="001"){var a=this.getCountryMetadata(r);if(!a)throw new Error("Unknown country: ".concat(r));this.numberingPlan=new PQ(a,this);}else if(o){if(!this.hasCallingCode(o))throw new Error("Unknown calling code: ".concat(o));this.numberingPlan=new PQ(this.getNumberingPlanMetadata(o),this);}else this.numberingPlan=void 0;return this}},{key:"getCountryCodesForCallingCode",value:function(e){var n=this.countryCallingCodes()[e];if(n)return n.length===1&&n[0].length===3?void 0:n}},{key:"getCountryCodeForCallingCode",value:function(e){var n=this.getCountryCodesForCallingCode(e);if(n)return n[0]}},{key:"getNumberingPlanMetadata",value:function(e){var n=this.getCountryCodeForCallingCode(e);if(n)return this.getCountryMetadata(n);if(this.nonGeographic()){var r=this.nonGeographic()[e];if(r)return r}else {var o=this.countryCallingCodes()[e];if(o&&o.length===1&&o[0]==="001")return this.metadata.countries["001"]}}},{key:"countryCallingCode",value:function(){return this.numberingPlan.callingCode()}},{key:"IDDPrefix",value:function(){return this.numberingPlan.IDDPrefix()}},{key:"defaultIDDPrefix",value:function(){return this.numberingPlan.defaultIDDPrefix()}},{key:"nationalNumberPattern",value:function(){return this.numberingPlan.nationalNumberPattern()}},{key:"possibleLengths",value:function(){return this.numberingPlan.possibleLengths()}},{key:"formats",value:function(){return this.numberingPlan.formats()}},{key:"nationalPrefixForParsing",value:function(){return this.numberingPlan.nationalPrefixForParsing()}},{key:"nationalPrefixTransformRule",value:function(){return this.numberingPlan.nationalPrefixTransformRule()}},{key:"leadingDigits",value:function(){return this.numberingPlan.leadingDigits()}},{key:"hasTypes",value:function(){return this.numberingPlan.hasTypes()}},{key:"type",value:function(e){return this.numberingPlan.type(e)}},{key:"ext",value:function(){return this.numberingPlan.ext()}},{key:"countryCallingCodes",value:function(){return this.v1?this.metadata.country_phone_code_to_countries:this.metadata.country_calling_codes}},{key:"chooseCountryByCountryCallingCode",value:function(e){return this.selectNumberingPlan(e)}},{key:"hasSelectedNumberingPlan",value:function(){return this.numberingPlan!==void 0}}])})();var PQ=(function(){function t(i,e){rT(this,t),this.globalMetadataObject=e,this.metadata=i,BQ.call(this,e.metadata);}return oT(t,[{key:"callingCode",value:function(){return this.metadata[0]}},{key:"_getDefaultCountryMetadataForThisCallingCode",value:function(){return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode())}},{key:"getDefaultCountryMetadataForRegion",value:function(){return this._getDefaultCountryMetadataForThisCallingCode()}},{key:"IDDPrefix",value:function(){if(!(this.v1||this.v2))return this.metadata[1]}},{key:"defaultIDDPrefix",value:function(){if(!(this.v1||this.v2))return this.metadata[12]}},{key:"nationalNumberPattern",value:function(){return this.v1||this.v2?this.metadata[1]:this.metadata[2]}},{key:"possibleLengths",value:function(){if(!this.v1)return this.metadata[this.v2?2:3]}},{key:"_getFormats",value:function(e){return e[this.v1?2:this.v2?3:4]}},{key:"formats",value:function(){var e=this,n=this._getFormats(this.metadata)||this._getFormats(this._getDefaultCountryMetadataForThisCallingCode())||[];return n.map(function(r){return new k2e(r,e)})}},{key:"nationalPrefix",value:function(){return this.metadata[this.v1?3:this.v2?4:5]}},{key:"_getNationalPrefixFormattingRule",value:function(e){return e[this.v1?4:this.v2?5:6]}},{key:"nationalPrefixFormattingRule",value:function(){return this._getNationalPrefixFormattingRule(this.metadata)||this._getNationalPrefixFormattingRule(this._getDefaultCountryMetadataForThisCallingCode())}},{key:"_nationalPrefixForParsing",value:function(){return this.metadata[this.v1?5:this.v2?6:7]}},{key:"nationalPrefixForParsing",value:function(){return this._nationalPrefixForParsing()||this.nationalPrefix()}},{key:"nationalPrefixTransformRule",value:function(){return this.metadata[this.v1?6:this.v2?7:8]}},{key:"_getNationalPrefixIsOptionalWhenFormatting",value:function(){return !!this.metadata[this.v1?7:this.v2?8:9]}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata)||this._getNationalPrefixIsOptionalWhenFormatting(this._getDefaultCountryMetadataForThisCallingCode())}},{key:"leadingDigits",value:function(){return this.metadata[this.v1?8:this.v2?9:10]}},{key:"types",value:function(){return this.metadata[this.v1?9:this.v2?10:11]}},{key:"hasTypes",value:function(){return this.types()&&this.types().length===0?false:!!this.types()}},{key:"type",value:function(e){if(this.hasTypes()&&LQ(this.types(),e))return new R2e(LQ(this.types(),e),this)}},{key:"ext",value:function(){return this.v1||this.v2?NQ:this.metadata[13]||NQ}}])})(),k2e=(function(){function t(i,e){rT(this,t),this._format=i,this.metadata=e;}return oT(t,[{key:"pattern",value:function(){return this._format[0]}},{key:"format",value:function(){return this._format[1]}},{key:"leadingDigitsPatterns",value:function(){return this._format[2]||[]}},{key:"nationalPrefixFormattingRule",value:function(){return this._format[3]||this.metadata.nationalPrefixFormattingRule()}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return !!this._format[4]||this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"nationalPrefixIsMandatoryWhenFormattingInNationalFormat",value:function(){return this.usesNationalPrefix()&&!this.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"usesNationalPrefix",value:function(){return !!(this.nationalPrefixFormattingRule()&&!O2e.test(this.nationalPrefixFormattingRule()))}},{key:"internationalFormat",value:function(){return this._format[5]||this.format()}}])})(),O2e=/^\(?\$1\)?$/,R2e=(function(){function t(i,e){rT(this,t),this.type=i,this.metadata=e;}return oT(t,[{key:"pattern",value:function(){return this.metadata.v1?this.type:this.type[0]}},{key:"possibleLengths",value:function(){if(!this.metadata.v1)return this.type[1]||this.metadata.possibleLengths()}}])})();function LQ(t,i){switch(i){case "FIXED_LINE":return t[0];case "MOBILE":return t[1];case "TOLL_FREE":return t[2];case "PREMIUM_RATE":return t[3];case "PERSONAL_NUMBER":return t[4];case "VOICEMAIL":return t[5];case "UAN":return t[6];case "PAGER":return t[7];case "VOIP":return t[8];case "SHARED_COST":return t[9]}}function GA(t){if(!t)throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!hc(t)||!hc(t.countries))throw new Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat(hc(t)?"an object of shape: { "+Object.keys(t).join(", ")+" }":"a "+A2e(t)+": "+t,"."))}var A2e=function(i){return wh(i)};function Hv(t,i){var e=new Mi(i);if(e.hasCountry(t))return e.selectNumberingPlan(t).countryCallingCode();throw new Error("Unknown country: ".concat(t))}function FQ(t,i){return i.countries.hasOwnProperty(t)}function BQ(t){var i=t.version;typeof i=="number"?(this.v1=i===1,this.v2=i===2,this.v3=i===3,this.v4=i===4):i?HA(i,I2e)===-1?this.v2=true:HA(i,M2e)===-1?this.v3=true:this.v4=true:this.v1=true;}function mp(t,i,e){return VQ(t,void 0,i,e)}function VQ(t,i,e,n){e&&(n=new Mi(n.metadata),n.selectNumberingPlan(e));var r=n.type(i),o=r&&r.possibleLengths()||n.possibleLengths();if(!o)return "IS_POSSIBLE";var s=t.length,l=o[0];return l===s?"IS_POSSIBLE":l>s?"TOO_SHORT":o[o.length-1]<s?"TOO_LONG":o.indexOf(s,1)>=0?"IS_POSSIBLE":"INVALID_LENGTH"}function jA(t,i,e){i===void 0&&(i={});var n=new Mi(e);if(i.v2){if(!t.countryCallingCode)throw new Error("Invalid phone number object passed");n.selectNumberingPlan(t.country||t.countryCallingCode);}else {if(!t.phone)return false;if(t.country){if(!n.hasCountry(t.country))throw new Error("Unknown country: ".concat(t.country));n.selectNumberingPlan(t.country);}else {if(!t.countryCallingCode)throw new Error("Invalid phone number object passed");n.selectNumberingPlan(t.countryCallingCode);}}if(n.possibleLengths())return YA(t.phone||t.nationalNumber,n);if(t.countryCallingCode&&n.isNonGeographicCallingCode(t.countryCallingCode))return true;throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.')}function YA(t,i){return mp(t,void 0,i)==="IS_POSSIBLE"}function zo(t,i){return t=t||"",new RegExp("^(?:"+i+")$").test(t)}function L2e(t,i){var e=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(e)return (e=e.call(t)).next.bind(e);if(Array.isArray(t)||(e=F2e(t))||i){e&&(t=e);var n=0;return function(){return n>=t.length?{done:true}:{done:false,value:t[n++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
322
|
+
`],encapsulation:2})}return t})();var Mr=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=_e({type:t});static \u0275inj=pe({imports:[dd,ar,It,Br]})}return t})();var DA=class{_document;_textarea;constructor(i,e){this._document=e;let n=this._textarea=this._document.createElement("textarea"),r=n.style;r.position="fixed",r.top=r.opacity="0",r.left="-999em",n.setAttribute("aria-hidden","true"),n.value=i,n.readOnly=true,(this._document.fullscreenElement||this._document.body).appendChild(n);}copy(){let i=this._textarea,e=false;try{if(i){let n=this._document.activeElement;i.select(),i.setSelectionRange(0,i.value.length),e=this._document.execCommand("copy"),n&&n.focus();}}catch{}return e}destroy(){let i=this._textarea;i&&(i.remove(),this._textarea=void 0);}},Eh=(()=>{class t{_document=p(He);copy(e){let n=this.beginCopy(e),r=n.copy();return n.destroy(),r}beginCopy(e){return new DA(e,this._document)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=Ke({token:t,factory:t.\u0275fac})}return t})();var aQ=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=_e({type:t});static \u0275inj=pe({})}return t})();var Kw=(function(t){return t.PROD="production",t.VAL="validation",t})(Kw||{});var Qw={prod:"https://cdn.services.rvaonem.fgov.be",val:"https://cdn.servicesval.rvaonem.fgov.be"},Zw="000000/000-00",sQ="http://services/lookupwpptservice/rest/lookup/getLookups?class=be.fgov.onerva.lookup.wppt.persistence.model.common.Country",lQ="onemrva-theme";var l2e=["ddMMyyyy","dd/MM/yyyy","d/M/yyyy","dd/M/yyyy","d/MM/yyyy","d.M.yyyy","dd.M.yyyy","d.MM.yyyy","d/M/yy","dd/M/yy","d/MM/yy","d.M.yy","dd.M.yy","d.MM.yy"];var c2e=["LLyyyy","L/yyyy","L/yy","LL/yyyy","LL/yy","L.yyyy","LL.yyyy"],d2e=["ddLLyyyy","d/LL/yyyy","d/L/yyyy","dd/L/yyyy","d/LL/yyyy","d.L.yyyy","dd.L.yyyy","d.LL.yyyy","d/L/yy","dd/L/yy","d/LL/yy","d.L.yy","dd.L.yy","d.LL.yy"],Xw={parse:{dateInput:l2e,timeInput:["HH:mm"]},display:{dateInput:"dd/MM/yyyy",monthYearLabel:"LL / yyyy",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM yyyy",timeInput:"HH:mm",timeOptionLabel:"HH:mm"}};var cQ={parse:{dateInput:c2e,timeInput:["HH:mm"]},display:{dateInput:"LL/yyyy",monthYearLabel:"LLL yyyy",dateA11yLabel:"DDD",monthYearA11yLabel:"LLLL yyyy",timeInput:"HH:mm",timeOptionLabel:"HH:mm"}},dQ={parse:{dateInput:d2e,timeInput:["HH:mm"]},display:{dateInput:"dd/LL/yyyy",monthYearLabel:"LLL yyyy",dateA11yLabel:"DDD",monthYearA11yLabel:"LLL yyyy",timeInput:"HH:mm",timeOptionLabel:"HH:mm"}};var uQ=new F("This is cdn url that will be used (val/prod)");var Jw=new F("LOOKUP_COUNTRY_SERVICE_URL",{providedIn:"root",factory:()=>sQ}),eT=new F("ONEMRVA_THEME_CLASS",{providedIn:"root",factory:()=>lQ});var mQ=(()=>{class t{constructor(){this._containerElement=null,this._themeObserver=null,this.platform=p(Lt),this._document=p(He),this.themeClass=p(eT);}ngOnDestroy(){this._containerElement?.remove(),this._themeObserver?.disconnect();}getContainerElement(){return this._containerElement===null&&this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";(this.platform.isBrowser||op())&&this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`).forEach(l=>{l.remove();});let n=this._document.createElement("div");n.classList.add(this.themeClass);let r=this._document.querySelectorAll(`.${this.themeClass}`),o=Array.from(r).find(s=>s!==n);o&&(o.classList.contains("dark-theme")?n.classList.add("dark-theme"):o.classList.contains("light-theme")&&n.classList.add("light-theme")),this._themeObserver=new MutationObserver(s=>{s.forEach(l=>{if(l.type==="attributes"&&l.attributeName==="class"){let c=l.target;c.classList.contains(this.themeClass)&&c!==n&&(n.classList.remove("dark-theme","light-theme"),c.classList.contains("dark-theme")?n.classList.add("dark-theme"):c.classList.contains("light-theme")&&n.classList.add("light-theme"));}});}),o&&this._themeObserver.observe(o,{attributes:true,attributeFilter:["class"]});let a=this._document.createElement("div");a.classList.add(e),op()?a.setAttribute("platform","test"):this.platform.isBrowser||a.setAttribute("platform","server"),n.appendChild(a),this._document.body.appendChild(n),this._containerElement=a;}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275prov=Re({token:t,factory:t.\u0275fac,providedIn:"root"});}}return t})();var IA=class{constructor(){this.storage=new Map;}getItem(i){return this.storage.get(i)}setItem(i,e){this.storage.set(i,e);}deleteItem(i){this.storage.delete(i);}},MA=class{constructor(){this.storage=new Map;}getItem(i){return this.storage.get(i)}setItem(i,e){this.storage.set(i,e);}deleteItem(i){this.storage.delete(i);}},pQ=t=>(i,e,n)=>{if(!(n?.value instanceof Function))throw Error("'@HttpRequestCache' can be applied only to the class method which returns an Observable");let r=`${i.constructor.name}_${e}`,o=n.value,a={},s=0;return n.value=function(...l){let c=t?.call(this,this,...l);!c?.storage&&!i._____storage_____&&(i._____storage_____=new IA),c?.ttl&&!i._____ttl_storage_____&&(i._____ttl_storage_____=new MA);let _=c?.storage??i._____storage_____,f=`${r}_${JSON.stringify(l)}`,g;c?.ttl&&(g=i._____ttl_storage_____.getItem(f),g?g.requestTime+c.ttl<=Date.now()&&(a[f]=true,g.requestTime=Date.now(),g.subject.next()):g={requestTime:Date.now(),subject:new H},i._____ttl_storage_____.setItem(f,g));let v=Mt(c?.refreshOn??GE,g?.subject??GE);return _.getItem(f).pipe(ut(1),on(E=>{if(s++,E===null)throw ""}),$i(()=>{let E=v.pipe(Ze(true),At(()=>o.apply(this,[...l])),on(()=>{delete a[f];}),Mo({bufferSize:1,refCount:c?.refCount??false,windowTime:c?.windowTime??1/0}),lt(()=>!a[f]),ys(()=>{s--,s===0&&c?.refCount&&(_.deleteItem(f),i._____ttl_storage_____?.deleteItem(f));}));return _.setItem(f,E),E}))},n};var kA=(()=>{class t{onKeyDown(e){if(["0","1","2","3","4","5","6","7","8","9",".",","," ","Backspace","Delete","Tab","-","Enter","ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End"].includes(e.key))return;let r=["a","c","x","v"];e.ctrlKey&&r.includes(e.key)||e.preventDefault();}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275dir=G({type:t,selectors:[["","digitOnly",""]],hostBindings:function(n,r){n&1&&x("keydown",function(a){return r.onKeyDown(a)});}});}}return t})();var md=t=>t;var Pt=md({NONE:"",PRIMARY:"primary",ACCENT:"accent",WARN:"warn",SUCCESS:"success",INFO:"info",ERROR:"error",NEUTRAL:"neutral",GRAYSCALE:"neutral"});var ma=md({DEFAULT:"",XSMALL:"xsmall",SMALL:"small",MEDIUM:"medium",LARGE:"large",XLARGE:"xlarge",XXLARGE:"xxlarge"});var An=(()=>{class t{constructor(){this.color=y(""),this.isPrimary=de(()=>this.color()===Pt.PRIMARY),this.isAccent=de(()=>this.color()===Pt.ACCENT),this.isError=de(()=>this.color()===Pt.ERROR),this.isWarn=de(()=>this.color()===Pt.WARN),this.isSuccess=de(()=>this.color()===Pt.SUCCESS),this.isInfo=de(()=>this.color()===Pt.INFO),this.isNeutral=de(()=>this.color()===Pt.NEUTRAL);}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275dir=G({type:t,selectors:[["onemrva-mat-selectable-box","color",""],["onemrva-collapsible-page-divider","color",""],["div","color",""],["onemrva-mat-avatar","color",""],["mat-card","color",""],["mat-toolbar","color",""],["onemrva-mat-spinner","color",""],["onemrva-mat-notification","color",""],["onemrva-mat-task-list","color",""],["onemrva-mat-sticker","color",""],["onemrva-mat-panel","color",""],["onemrva-mat-task","color",""],["onemrva-mat-choice-chip","color",""],["mat-form-field","color",""],["button","color",""],["mat-icon","color",""],["mat-chip","color",""],["mat-hint","color","","color",""],[""]],hostVars:14,hostBindings:function(n,r){n&2&&z("mat-primary",r.isPrimary())("mat-accent",r.isAccent())("mat-error",r.isError())("mat-warn",r.isWarn())("mat-success",r.isSuccess())("mat-info",r.isInfo())("mat-neutral",r.isNeutral());},inputs:{color:[1,"color"]}});}}return t})();var OA=(()=>{class t extends An{constructor(){super(...arguments),this.matRowClickable=en(),this.clickable=y(true),this._isClickable=de(()=>this.clickable());}click(){this.clickable()&&this.matRowClickable.emit();}static{this.\u0275fac=(()=>{let e;return function(r){return (e||(e=V(t)))(r||t)}})();}static{this.\u0275dir=G({type:t,selectors:[["tr","matRowClickable",""]],hostVars:4,hostBindings:function(n,r){n&1&&x("click",function(){return r.click()}),n&2&&z("clickable",r._isClickable())("onemrva-clickable-row",true);},inputs:{clickable:[1,"clickable"]},outputs:{matRowClickable:"matRowClickable"},features:[A]});}}return t})();var RA=(()=>{class t{constructor(){this.breakpointObserver=p(la),this._templateRef=p(Pe),this._viewContainer=p(nn),this.ifWidthIs=y.required();}ngOnInit(){this.breakpointObserver.observe([...this.ifWidthIs()]).subscribe(e=>{this._viewContainer.clear(),e.matches&&this._viewContainer.createEmbeddedView(this._templateRef);});}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275dir=G({type:t,selectors:[["","ifWidthIs",""]],inputs:{ifWidthIs:[1,"ifWidthIs"]}});}}return t})();var AA=50,PA=(()=>{class t{constructor(){this.el=p(ie),this.onemrvamask=y.required(),this.inputStack=[""],this.stackIdx=0,this.markForDelete=false;}onKeyDown(e){let n=e,r=["Tab","Enter","ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End"];if(r.indexOf(n.key)>=0)return;if(r=["Backspace","Delete"],r.indexOf(n.key)>=0){this.markForDelete=true;return}n.ctrlKey&&n.key==="z"&&this.stackIdx>0&&(this.stackIdx--,this.el.nativeElement.value=this.inputStack[this.stackIdx],e.preventDefault()),n.ctrlKey&&n.key==="u"&&this.stackIdx<this.inputStack.length-1&&(this.stackIdx++,this.el.nativeElement.value=this.inputStack[this.stackIdx],e.preventDefault());let o=["a","c","x","v"];n.ctrlKey&&o.indexOf(n.key)>=0;}onInput(e){let n=e.target?.selectionStart;if(this.markForDelete&&[...this.el.nativeElement.value].findIndex((l,c)=>{let _=this.onemrvamask()[c];return _==null?true:isNaN(l)&&l.toLowerCase()===l.toUpperCase()?l!==_:!NA(_,l)})<0){this.markForDelete=false;return}let r=[...this.el.nativeElement.value].filter(s=>NA("A",s)).reduce((s,l)=>{let c=s.length,_=this.onemrvamask()[c];if(_==null)return s;s=NA(_,l)?s+l:s;let f=this.onemrvamask()[++c],g=0;for(;f!=null&&["0","A","S","U","L"].indexOf(f)<0&&(g++,s+=f,f=this.onemrvamask()[++c],!(g>50)););return s},"");this.el.nativeElement.value=r;let o=n,a=this.onemrvamask()[o];for(;a!=null&&["0","A","S","U","L"].indexOf(a)<0&&(o++,a=this.onemrvamask()[o],!!(a!==null&&a&&["0","A","S","U","L"].indexOf(a)<0)););if(r!==this.inputStack[this.stackIdx]){this.stackIdx++;let s=this.stackIdx>AA-1?this.inputStack.slice(1):this.inputStack.splice(0,this.stackIdx);this.stackIdx=this.stackIdx>AA-1?AA-1:this.stackIdx,this.inputStack=[...s,r],this.el.nativeElement.setSelectionRange(o,o);}else if(this.markForDelete){let s=o-1;for(;s>0;){let l=this.onemrvamask()[s-1];if(["0","A","S","U","L"].indexOf(l)<0)s--;else break}this.el.nativeElement.setSelectionRange(s,s);}this.markForDelete=false;}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275dir=G({type:t,selectors:[["","onemrvamask",""]],hostBindings:function(n,r){n&1&&x("keydown",function(a){return r.onKeyDown(a)})("input",function(a){return r.onInput(a)});},inputs:{onemrvamask:[1,"onemrvamask"]}});}}return t})();function NA(t,i){switch(t){case "0":return i===" "?false:!isNaN(+i);case "A":return i===" "?false:!isNaN(+i)||i.toLowerCase()!=i.toUpperCase();case "S":return i.toLowerCase()!=i.toUpperCase();case "U":return i.toLowerCase()!=i.toUpperCase()&&i===i.toUpperCase();case "L":return i.toLowerCase()!=i.toUpperCase()&&i===i.toLowerCase()}return false}var pd=(()=>{class t{constructor(){this.el=p(ie),this.template="__/__/____";}onPaste(e){let n=this.el.nativeElement,o=(e.clipboardData?.getData("text/plain")||"").replace(/\D/g,"");if(!o){e.preventDefault();return}e.preventDefault();let a=n.selectionStart??0,s=n.value.split(""),l=0;for(;a<this.template.length&&l<o.length;){if(this.template[a]==="/"){a++;continue}s[a]=o[l++],a++;}n.value=s.join(""),this.emitInputEvent(n),this.setCaretToNextEditable(a);}onCut(e){let n=this.el.nativeElement,r=n.selectionStart??0,o=n.selectionEnd??0,a=n.value.substring(r,o),s=n.value.split("");for(let l=r;l<o;l++)this.template[l]!=="/"&&(s[l]="_");n.value=s.join(""),this.emitInputEvent(n),this.setCaretToNextEditable(r),e.preventDefault(),e.clipboardData&&e.clipboardData.setData("text/plain",a.replace(/\//g,""));}onFocus(){let e=this.el.nativeElement;(!e.value||e.value===this.template)&&(e.value=this.template),this.setCaretToNextEditable(0);}onClick(){let e=this.el.nativeElement,n=e.selectionStart??0,r=e.selectionEnd??0;n===r&&(e.value===this.template?this.setCaretToNextEditable(0):this.setCaretToNextEditable(n));}onKeyDown(e){let n=this.el.nativeElement,r=n.selectionStart??0,o=["a","c","x","v"];if(e.ctrlKey&&o.includes(e.key)){e.key==="x"&&n.value===""&&(n.value=this.template,this.emitInputEvent(n));return}if(!["ArrowLeft","ArrowRight","Tab"].includes(e.key)){if(e.key==="Backspace"||e.key==="Delete"){e.preventDefault();let a=n.selectionStart??0,s=n.selectionEnd??a;if(s>a){let c=n.value.split("");for(let _=a;_<s;_++)this.template[_]!=="/"&&(c[_]="_");n.value=c.join(""),this.emitInputEvent(n),this.setCaretToNextEditable(a);return}let l=a;if(e.key==="Backspace"&&l>0){do l--;while(this.template[l]==="/"&&l>0);this.replaceCharAt(n,l,"_"),this.emitInputEvent(n),this.setCaretToNextEditable(l);return}if(e.key==="Delete"&&l<this.template.length){for(;this.template[l]==="/"&&l<this.template.length;)l++;this.replaceCharAt(n,l,"_"),this.emitInputEvent(n),this.setCaretToNextEditable(l);return}}if(["/",".","-"," "].includes(e.key)){if(e.preventDefault(),r===1||r===4){let a=n.value.substring(r-1,r);if(!a.includes("_")){this.replaceCharAt(n,r-1,"0"),this.replaceCharAt(n,r,a),this.setCaretToNextEditable(r+2);return}}return}if(e.key==="Backspace"){if(e.preventDefault(),r===0)return;do r--;while(this.template[r]==="/"&&r>0);this.replaceCharAt(n,r,"_"),this.setCaretToNextEditable(r),this.emitInputEvent(n);return}if(!/^\d$/.test(e.key)){e.preventDefault();return}if(r>=this.template.length){e.preventDefault();return}for(;this.template[r]==="/"&&r<this.template.length;)r++;this.replaceCharAt(n,r,e.key),e.preventDefault(),this.setCaretToNextEditable(r+1),this.emitInputEvent(n);}}onBlur(){let e=this.el.nativeElement;e.value===this.template&&(e.value="",this.emitInputEvent(e));}emitInputEvent(e){e.dispatchEvent(new Event("input",{bubbles:true}));}replaceCharAt(e,n,r){let o=e.value.split("");o[n]=r,e.value=o.join("");}setCaretToNextEditable(e){let n=this.el.nativeElement;for(;this.template[e]==="/"&&e<this.template.length;)e++;n.setSelectionRange(e,e);}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275dir=G({type:t,selectors:[["","onemrvaDateFormat",""]],hostBindings:function(n,r){n&1&&x("paste",function(a){return r.onPaste(a)})("cut",function(a){return r.onCut(a)})("focus",function(){return r.onFocus()})("click",function(){return r.onClick()})("keydown",function(a){return r.onKeyDown(a)})("blur",function(){return r.onBlur()});}});}}return t})();var Nn=(()=>{class t{constructor(){this.readonly=y(true),this.isReadOnly=de(()=>this.readonly());}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275dir=G({type:t,selectors:[["form","readonly",""],["mat-checkbox","readonly",""],["mat-radio-group","readonly",""],["mat-form-field","readonly",""],["onemrva-mat-input-phone","readonly",""],["onemrva-mat-task-list","readonly",""],["onemrva-mat-selectable-box","readonly",""],["onemrva-mat-choice-chip","readonly",""],["onemrva-mat-input-birthplace","readonly",""],["onemrva-mat-input-country","readonly",""],["onemrva-mat-input-enterprise-number","readonly",""]],hostVars:2,hostBindings:function(n,r){n&2&&z("onemrva-readonly",r.isReadOnly());},inputs:{readonly:[1,"readonly"]}});}}return t})();var hu=(()=>{class t{constructor(){this.size=y(""),this.isXSmall=de(()=>this.size()===ma.XSMALL),this.isSmall=de(()=>this.size()===ma.SMALL),this.isLarge=de(()=>this.size()===ma.LARGE),this.isXLarge=de(()=>this.size()===ma.XLARGE),this.isXXLarge=de(()=>this.size()===ma.XXLARGE);}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275dir=G({type:t,selectors:[["mat-icon","size",""],["onemrva-mat-skeleton","size",""],["onemrva-mat-avatar","size",""],["button","size",""]],hostVars:10,hostBindings:function(n,r){n&2&&z("xsmall",r.isXSmall())("small",r.isSmall())("large",r.isLarge())("xlarge",r.isXLarge())("xxlarge",r.isXXLarge());},inputs:{size:[1,"size"]}});}}return t})();var Ho=(function(t){return t.EN="en",t.NL="nl",t.FR="fr",t.DE="de",t})(Ho||{});function LA(t,i){return t!=null&&i.includes(t)}async function hQ(t,i=[Ho.EN,Ho.FR,Ho.NL,Ho.DE],e=Ho.EN){t.onLangChange.subscribe(o=>{localStorage.setItem("language",o.lang);}),t.addLangs([...i]);let n=null,r=localStorage.getItem("language");LA(r,i)&&(n=r),n===null&&LA(navigator.language,i)&&(n=navigator.language),n===null&&(n=navigator.languages.find(o=>LA(o,i))??e),await Kg(t.use(n));}var fQ=(()=>{class t{transform(e){let n=e.trim().replace(/\/|\.|-/g,"");return n.length!==10?"?01?.???.???":`${n.substring(0,4)}.${n.substring(4,7)}.${n.substring(7,10)}`}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275pipe=Ji({name:"onemrvaBce",type:t,pure:true});}}return t})();var tT=(()=>{class t{transform(e){let n=e.trim().replace(/\/|\.|-/g,"");return n.length!==11?"??01??/???-??":`${n.substring(0,6)}/${n.substring(6,9)}-${n.substring(9,11)}`}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275pipe=Ji({name:"onemrvaNiss",type:t,pure:true});}}return t})();var gQ=(()=>{class t{constructor(){this._countries$=new Sr(1),this._customersInitialized=false,this.http=p(ao),this.commonCountryServiceURL=p(Jw);}getCountries(e=false){return (e||!this._customersInitialized)&&(this._customersInitialized=true,this.http.get(this.commonCountryServiceURL).subscribe(n=>{this._countries$.next(n);})),this._countries$.pipe(Xl(+e),Ya())}getCountryByCode(e){return this._countries$.pipe(se(n=>n.find(o=>o.code===e)||null))}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275prov=Re({token:t,factory:t.\u0275fac,providedIn:"root"});}}return t})();var bQ=(()=>{class t{setItem(e,n){n.subscribe(r=>{localStorage.setItem(e,JSON.stringify(r));});}getItem(e){let n=localStorage.getItem(e);return n===null?Ce(null):Ce(JSON.parse(n))}deleteItem(e){localStorage.removeItem(e);}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275prov=Re({token:t,factory:t.\u0275fac,providedIn:"root"});}}return t})();var Qr=class t{constructor(){this.rendererFactory=p(Zi),this.cacheService=p(bQ),this.http=p(ao),this.refresh$=new H;let i=p(uQ,{optional:true});switch(this.renderer=this.rendererFactory.createRenderer(null,null),i){case Kw.PROD:this.cdnUrl=Qw.prod;break;case Kw.VAL:this.cdnUrl=Qw.val;break;default:this.cdnUrl=Qw.prod;}let e=this.renderer.createElement("link");this.renderer.setAttribute(e,"rel","preconnect"),this.renderer.setAttribute(e,"href",this.cdnUrl),this.renderer.appendChild(document.head,e);}getUrl(i=""){return this.cdnUrl+i}getImg(i=""){return this.getUrl("/img/"+i)}getOri(i=""){return this.getImg("ori/"+i)}fetch(i){return this.http.get(this.cdnUrl+i)}fetchNoCache(i){return this.http.get(this.cdnUrl+i)}getTranslations(i,e,n="",r$1=""){let o=[this.http.get(`${this.cdnUrl}${n}design-system/design-system/${e}${r$1}`).pipe($i(()=>Ce({}))),...i.map(a=>this.http.get(`${this.cdnUrl}${n}${a}/${e}${r$1}`).pipe($i(()=>Ce({}))))];return vo(o).pipe(se(a=>a.filter(s=>!!s).reduce((s,l)=>r(r({},s),l),{})))}loadCss(i){return new Promise((e,n)=>{if(document.querySelector(`link[href="${i}"]`)){e();return}let o=this.renderer.createElement("link");this.renderer.setAttribute(o,"rel","stylesheet"),this.renderer.setAttribute(o,"type","text/css"),this.renderer.setAttribute(o,"href",i),o.onload=()=>e(),o.onerror=()=>n(new Error(`Failed to load CSS: ${i}`)),this.renderer.appendChild(document.head,o);})}static{this.\u0275fac=function(e){return new(e||t)};}static{this.\u0275prov=Re({token:t,factory:t.\u0275fac,providedIn:"root"});}};D$([pQ(t=>({refreshOn:t.refresh$,storage:t.cacheService,ttl:36e5}))],Qr.prototype,"fetch",null);var Ch=(()=>{class t{constructor(){this.cdnService=p(Qr),this.translateService=p(Rn);}getCountries(){return this.cdnService.fetch("/json/countries.json").pipe(se(e=>e),vs(Yn(this.translateService.onLangChange).pipe(Ze(this.translateService.getCurrentLang()||"fr"),se(e=>typeof e=="string"?e:e.lang))),se(([e,n])=>e.map(r$1=>s(r({},r$1),{name:this.getTranslatedCountryName(r$1,n)})).sort((r,o)=>r.name.toLowerCase().localeCompare(o.name.toLowerCase()))))}getCountriesByZone(e){return this.getCountries().pipe(se(n=>n.filter(r=>r.zone===e)))}getTranslatedCountryName(e,n=this.translateService.getCurrentLang()){return (n==="fr"||n==="nl"||n==="de")&&e.translations[n]!==void 0?e.translations[n]:e.name}findCountryFromCode(e){return this.getCountries().pipe(se(n=>n.find(r=>r.code.toLowerCase()===e?.toLowerCase())))}findCountryFromVIESCode(e){return this.getCountriesByZone("EU").pipe(se(n=>n.find(r=>r.pattern.substring(0,2)===e?.substring(0,2))))}findCountryFromPrefix(e){return e===null&&(e=""),this.getCountries().pipe(se(n=>n.find(r=>r.dial_code===e.substring(0,r.dial_code.length))))}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275prov=Re({token:t,factory:t.\u0275fac,providedIn:"root"});}}return t})();var vQ=(()=>{class t{constructor(){this.cdnService=p(Qr);}static{this.mimetypeFile="/json/mimetypes.json";}getMimesForExtension(e){return this.cdnService.fetch(t.mimetypeFile).pipe($i(()=>[]),se(n=>n.filter(r=>e.includes(r.extension)).map(r=>r.mimeType)))}getExtensionsForMime(e){return this.cdnService.fetch(t.mimetypeFile).pipe($i(()=>[]),se(n=>n.filter(r=>e.includes(r.mimeType)).map(r=>r.extension)))}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275prov=Re({token:t,factory:t.\u0275fac,providedIn:"root"});}}return t})();var yQ=(()=>{class t{constructor(){this.http=p(ao),this.nominatimUrl="https://nominatim.openstreetmap.org/search";}searchAddress(e,n=["be"],r="json",o=1,a=10){let s=new El().set("q",e).set("format",r).set("countrycodes",n.join(",")).set("addressdetails",o).set("limit",a);return this.http.get(this.nominatimUrl,{params:s})}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275prov=Re({token:t,factory:t.\u0275fac,providedIn:"root"});}}return t})();var EQ=(()=>{class t{handleError(e){console.error(e);}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275prov=Re({token:t,factory:t.\u0275fac});}}return t})();var fu=class{static bceValidator(i=false,e){if(e.value===null||e.value.trim()==="")return i?{bceNull:true}:null;let n=e.value.trim().replace(/\/|\.|-/g,"");return n.length!==10?{bceLengthError:{value:n}}:Number.isNaN(+n)?{bceNan:{value:n}}:null}static bce(i=false){return e=>this.bceValidator(i,e)}static nissValidator(i=false,e){if(e.value===null||e.value.trim()==="")return i?{nissNull:true}:null;let n=e.value.trim().replace(/\/|\.|-/g,"");if(n.length!==11)return {nissLengthError:{value:n}};if(Number.isNaN(+n))return {nissNan:{value:n}};let r=n.substring(9),o=n.substring(0,9),a=97-+o%97===+r,s=97-+`2${o}`%97===+r;if(!a&&!s)return {nissCheckDigitError:{value:n}};let l=n.substring(2,4),c=parseInt(l)-1;return parseInt(l)%20-1>11||c>51?{nissInvalidMonth:{value:n}}:+n.substring(4,6)>31?{nissInvalidDate:{value:n}}:null}static niss(i=false){return e=>this.nissValidator(i,e)}static nissOrBce(i=false){return e=>{if(e.value===null||e.value.trim()==="")return i?{nissNull:true}:null;let n=e.value.trim().replace(/\/|\.|-/g,"");return e.value.length===11?this.nissValidator(i,e):e.value.length===10?this.bceValidator(i,e):{lengthError:{value:n}}}}};function FA(t,i={allowQRIBAN:true}){if(t==null)return false;let e=new RegExp("^[0-9]{2}$",""),n=t.slice(0,2),r=_d[n];return r===void 0||r.bban_regexp===void 0||r.bban_regexp===null||r.chars===void 0?false:r.chars===t.length&&e.test(t.slice(2,4))&&h2e(t.slice(4),n)&&MQ(t)&&(i.allowQRIBAN||!xQ(t))}var ns=(function(t){return t[t.NoIBANProvided=0]="NoIBANProvided",t[t.NoIBANCountry=1]="NoIBANCountry",t[t.WrongBBANLength=2]="WrongBBANLength",t[t.WrongBBANFormat=3]="WrongBBANFormat",t[t.ChecksumNotNumber=4]="ChecksumNotNumber",t[t.WrongIBANChecksum=5]="WrongIBANChecksum",t[t.WrongAccountBankBranchChecksum=6]="WrongAccountBankBranchChecksum",t[t.QRIBANNotAllowed=7]="QRIBANNotAllowed",t})(ns||{});function TQ(t,i={allowQRIBAN:true}){let e={errorCodes:[],valid:true};if(t!=null&&t!==""){let n=_d[t.slice(0,2)];if(!n||!(n.bban_regexp||n.chars))return e.valid=false,e.errorCodes.push(ns.NoIBANCountry),e;n&&n.chars&&n.chars!==t.length&&(e.valid=false,e.errorCodes.push(ns.WrongBBANLength)),n&&n.bban_regexp&&!IQ(t.slice(4),n.bban_regexp)&&(e.valid=false,e.errorCodes.push(ns.WrongBBANFormat)),n&&n.bban_validation_func&&!n.bban_validation_func(t.slice(4))&&(e.valid=false,e.errorCodes.push(ns.WrongAccountBankBranchChecksum)),new RegExp("^[0-9]{2}$","").test(t.slice(2,4))||(e.valid=false,e.errorCodes.push(ns.ChecksumNotNumber)),(e.errorCodes.indexOf(ns.WrongBBANFormat)!==-1||!MQ(t))&&(e.valid=false,e.errorCodes.push(ns.WrongIBANChecksum)),!i.allowQRIBAN&&xQ(t)&&(e.valid=false,e.errorCodes.push(ns.QRIBANNotAllowed));}else e.valid=false,e.errorCodes.push(ns.NoIBANProvided);return e}function h2e(t,i){if(t==null||i===void 0||i===null)return false;let e=_d[i];return e==null||e.bban_regexp===void 0||e.bban_regexp===null||e.chars===void 0||e.chars===null?false:e.chars-4===t.length&&IQ(t,e.bban_regexp)?e.bban_validation_func?e.bban_validation_func(t.replace(/[\s.]+/g,"")):true:false}function xQ(t){if(t==null)return false;let i=t.slice(0,2);return ["LI","CH"].includes(i)?new RegExp("^3[0-1]{1}[0-9]{3}$","").test(t.slice(4,9)):false}function DQ(t){let i={},e=nT(t);if(i.iban=e||t,e&&FA(e)){i.bban=e.slice(4),i.countryCode=e.slice(0,2),i.valid=true;let n=_d[i.countryCode];if(n.account_indentifier){let r=n.account_indentifier.split("-"),o=parseInt(r[0]),a=parseInt(r[1]);i.accountNumber=i.iban.slice(o,a+1);}if(n.bank_identifier){let r=n.bank_identifier.split("-"),o=parseInt(r[0]),a=parseInt(r[1]);i.bankIdentifier=i.bban.slice(o,a+1);}if(n.branch_indentifier){let r=n.branch_indentifier.split("-"),o=parseInt(r[0]),a=parseInt(r[1]);i.branchIdentifier=i.bban.slice(o,a+1);}}else i.valid=false;return i}function IQ(t,i){return new RegExp(i,"").test(t)}function nT(t){return typeof t!="string"?null:t.replace(/[-\ ]/g,"").toUpperCase()}function BA(t,i){if(typeof t!="string")return null;i==null&&(i=" ");let e=nT(t);return e===null?null:e.replace(/(.{4})(?!$)/g,"$1"+i)}function MQ(t){let i=t.slice(0,2),e=parseInt(t.slice(2,4),10),n=t.slice(4),r=f2e(`${n}${i}00`);return 98-$A(r)===e}function f2e(t){return t.split("").map(i=>{let e=i.charCodeAt(0);return e>=65?(e-55).toString():i}).join("")}var g2e=t=>{let i=[5,4,3,2,7,6,5,4,3,2],e=t.replace(/[\s.]+/g,""),n=parseInt(e.charAt(10),10),r=e.substring(0,10),o=0;for(let s=0;s<10;s++)o+=parseInt(r.charAt(s),10)*i[s];let a=o%11;return n===(a===0?0:11-a)},b2e=t=>{let i=t.replace(/[\s.]+/g,""),e=parseInt(i.substring(0,i.length-2),10),n=parseInt(i.substring(i.length-2,i.length),10);return (e%97===0?97:e%97)===n},$A=t=>{for(;t.length>2;){let i=t.slice(0,6),e=parseInt(i,10);if(isNaN(e))return NaN;t=e%97+t.slice(i.length);}return parseInt(t,10)%97},Sh=t=>{let i=t.replace(/[\s.]+/g,"");return $A(i)===1},v2e=t=>{let i=[3,9,7,1,3,9,7],e=parseInt(t.charAt(7),10),n=t.substring(0,7),r=0;for(let a=0;a<7;a++)r+=parseInt(n.charAt(a),10)*i[a];let o=r%10;return e===(o===0?0:10-o)},y2e=t=>{let i=[4,8,5,10,9,7,3,6],e=[1,2,4,8,5,10,9,7,3,6],n=parseInt(t.charAt(8),10),r=parseInt(t.charAt(9),10),o=t.substring(0,8),a=t.substring(10,20),s=0;for(let c=0;c<8;c++)s+=parseInt(o.charAt(c),10)*i[c];let l=s%11;if(n!==(l===0?0:l===1?1:11-l))return false;s=0;for(let c=0;c<10;c++)s+=parseInt(a.charAt(c),10)*e[c];return l=s%11,r===(l===0?0:l===1?1:11-l)},CQ=(t,i)=>{let e=10;for(let n=0;n<t.length;n++)e+=parseInt(t.charAt(n),10),e%10!==0&&(e=e%10),e=e*2,e=e%11;return i===(11-e===10?0:11-e)},E2e=t=>{let i=parseInt(t.charAt(6),10),e=parseInt(t.charAt(16),10),n=t.substring(0,6),r=t.substring(7,16);return CQ(n,i)&&CQ(r,e)},SQ=t=>{let i=[10,5,8,4,2,1],e=[6,3,7,9,10,5,8,4,2,1],n=parseInt(t.charAt(9),10),r=parseInt(t.charAt(19),10),o=t.substring(4,9),a=t.substring(10,19),s=0;for(let c=0;c<o.length;c++)s+=parseInt(o.charAt(c),10)*i[c];let l=s%11;if(n!==(l===0?0:l===1?1:11-l))return false;s=0;for(let c=0;c<a.length;c++)s+=parseInt(a.charAt(c),10)*e[c];return l=s%11,r===(l===0?0:l===1?1:11-l)},C2e=t=>{let i=[7,1,3,7,1,3,7,1,3,7,1,3,7],e=parseInt(t.charAt(15),10),n=t.substring(2,15),r=0;for(let a=0;a<n.length;a++)r+=parseInt(n.charAt(a),10)*i[a];let o=r%10;return e===(o===0?0:10-o)},wQ=t=>{let i=t.replace(/[\s.]+/g,""),e=Array.from(i);for(let r=0;r<i.length;r++){let o=e[r].charCodeAt(0);if(o>=65)switch(o){case 65:case 74:e[r]="1";break;case 66:case 75:case 83:e[r]="2";break;case 67:case 76:case 84:e[r]="3";break;case 68:case 77:case 85:e[r]="4";break;case 69:case 78:case 86:e[r]="5";break;case 70:case 79:case 87:e[r]="6";break;case 71:case 80:case 88:e[r]="7";break;case 72:case 81:case 89:e[r]="8";break;case 73:case 82:case 90:e[r]="9";break}}return $A(e.join(""))===0},S2e=t=>{let i=[9,7,3,1,9,7,3,1,9,7,3,1,9,7,3],e=parseInt(t.charAt(7),10),n=t.substring(0,7),r=0;for(let a=0;a<n.length;a++)r+=parseInt(n.charAt(a),10)*i[a];let o=r%10;if(e!==(o===0?0:10-o))return false;if(r=0,t.endsWith("00000000")){let a=t.substring(8,15),s=parseInt(t.charAt(15),10);for(let c=0;c<a.length;c++)r+=parseInt(a.charAt(c),10)*i[c];let l=r%10;return s===(l===0?0:10-l)}else {let a=t.substring(8,23),s=parseInt(t.charAt(23),10);for(let c=0;c<a.length;c++)r+=parseInt(a.charAt(c),10)*i[c];let l=r%10;return s===(l===0?0:10-l)}};var _d={AD:{chars:24,bban_regexp:"^[0-9]{8}[A-Z0-9]{12}$",IBANRegistry:true,SEPA:true,branch_indentifier:"4-7",bank_identifier:"0-3",account_indentifier:"12-23"},AE:{chars:23,bban_regexp:"^[0-9]{3}[0-9]{16}$",IBANRegistry:true,bank_identifier:"0-2",account_indentifier:"7-23"},AF:{},AG:{},AI:{},AL:{chars:28,bban_regexp:"^[0-9]{8}[A-Z0-9]{16}$",IBANRegistry:true,branch_indentifier:"3-7",bank_identifier:"0-2",account_indentifier:"12-28"},AM:{},AO:{chars:25,bban_regexp:"^[0-9]{21}$"},AQ:{},AR:{},AS:{},AT:{chars:20,bban_regexp:"^[0-9]{16}$",IBANRegistry:true,SEPA:true,bank_identifier:"0-4"},AU:{},AW:{},AX:{chars:18,bban_regexp:"^[0-9]{14}$",IBANRegistry:true},AZ:{chars:28,bban_regexp:"^[A-Z]{4}[A-Z0-9]{20}$",IBANRegistry:true,bank_identifier:"0-3",account_indentifier:"4-28"},BA:{chars:20,bban_regexp:"^[0-9]{16}$",bban_validation_func:Sh,IBANRegistry:true,branch_indentifier:"3-5",bank_identifier:"0-2"},BB:{},BD:{},BE:{chars:16,bban_regexp:"^[0-9]{12}$",bban_validation_func:b2e,IBANRegistry:true,SEPA:true,bank_identifier:"0-2",account_indentifier:"0-16"},BF:{chars:28,bban_regexp:"^[A-Z0-9]{2}[0-9]{22}$"},BG:{chars:22,bban_regexp:"^[A-Z]{4}[0-9]{6}[A-Z0-9]{8}$",IBANRegistry:true,SEPA:true,branch_indentifier:"4-7",bank_identifier:"0-3"},BH:{chars:22,bban_regexp:"^[A-Z]{4}[A-Z0-9]{14}$",IBANRegistry:true,bank_identifier:"0-3",account_indentifier:"8-22"},BI:{chars:27,bban_regexp:"^[0-9]{23}$",branch_indentifier:"5-9",bank_identifier:"0-4",account_indentifier:"14-27"},BJ:{chars:28,bban_regexp:"^[A-Z0-9]{2}[0-9]{22}$"},BL:{chars:27,bban_regexp:"^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$"},BM:{},BN:{},BO:{},BQ:{},BR:{chars:29,bban_regexp:"^[0-9]{23}[A-Z]{1}[A-Z0-9]{1}$",IBANRegistry:true,branch_indentifier:"8-12",bank_identifier:"0-7",account_indentifier:"17-29"},BS:{},BT:{},BV:{},BW:{},BY:{chars:28,bban_regexp:"^[A-Z]{4}[0-9]{4}[A-Z0-9]{16}$",IBANRegistry:true,bank_identifier:"0-3"},BZ:{},CA:{},CC:{},CD:{},CF:{chars:27,bban_regexp:"^[0-9]{23}$"},CG:{chars:27,bban_regexp:"^[0-9]{23}$"},CH:{chars:21,bban_regexp:"^[0-9]{5}[A-Z0-9]{12}$",IBANRegistry:true,SEPA:true,bank_identifier:"0-4"},CI:{chars:28,bban_regexp:"^[A-Z]{1}[0-9]{23}$"},CK:{},CL:{},CM:{chars:27,bban_regexp:"^[0-9]{23}$"},CN:{},CO:{},CR:{chars:22,bban_regexp:"^[0-9]{18}$",IBANRegistry:true,bank_identifier:"0-3",account_indentifier:"8-22"},CU:{},CV:{chars:25,bban_regexp:"^[0-9]{21}$"},CW:{},CX:{},CY:{chars:28,bban_regexp:"^[0-9]{8}[A-Z0-9]{16}$",IBANRegistry:true,SEPA:true,branch_indentifier:"3-7",bank_identifier:"0-2",account_indentifier:"12-28"},CZ:{chars:24,bban_regexp:"^[0-9]{20}$",bban_validation_func:SQ,IBANRegistry:true,SEPA:true,bank_identifier:"0-3"},DE:{chars:22,bban_regexp:"^[0-9]{18}$",IBANRegistry:true,SEPA:true,bank_identifier:"0-7",account_indentifier:"12-22"},DJ:{chars:27,bban_regexp:"^[0-9]{23}$",branch_indentifier:"5-9",bank_identifier:"0-4",account_indentifier:"14-27"},DK:{chars:18,bban_regexp:"^[0-9]{14}$",IBANRegistry:true,SEPA:true,bank_identifier:"0-3",account_indentifier:"4-18"},DM:{},DO:{chars:28,bban_regexp:"^[A-Z]{4}[0-9]{20}$",IBANRegistry:true,bank_identifier:"0-3",account_indentifier:"8-28"},DZ:{chars:26,bban_regexp:"^[0-9]{22}$"},EC:{},EE:{chars:20,bban_regexp:"^[0-9]{16}$",bban_validation_func:C2e,IBANRegistry:true,SEPA:true,bank_identifier:"0-1",account_indentifier:"8-20"},EG:{chars:29,bban_regexp:"^[0-9]{25}",IBANRegistry:true,branch_indentifier:"4-7",bank_identifier:"0-3",account_indentifier:"17-29"},EH:{},ER:{},ES:{chars:24,bban_validation_func:y2e,bban_regexp:"^[0-9]{20}$",IBANRegistry:true,SEPA:true,branch_indentifier:"4-7",bank_identifier:"0-3",account_indentifier:"14-24"},ET:{},FI:{chars:18,bban_regexp:"^[0-9]{14}$",IBANRegistry:true,SEPA:true,bank_identifier:"0-2",account_indentifier:"0-0"},FJ:{},FK:{chars:18,bban_regexp:"^[A-Z]{2}[0-9]{12}$",bank_identifier:"0-1",account_indentifier:"6-18"},FM:{},FO:{chars:18,bban_regexp:"^[0-9]{14}$",IBANRegistry:true,bank_identifier:"0-3",account_indentifier:"4-18"},FR:{chars:27,bban_regexp:"^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$",bban_validation_func:wQ,IBANRegistry:true,SEPA:true,bank_identifier:"0-4",branch_indentifier:"5-9",account_indentifier:"14-24"},GA:{chars:27,bban_regexp:"^[0-9]{23}$"},GB:{chars:22,bban_regexp:"^[A-Z]{4}[0-9]{14}$",IBANRegistry:true,SEPA:true,branch_indentifier:"4-9",bank_identifier:"0-3"},GD:{},GE:{chars:22,bban_regexp:"^[A-Z0-9]{2}[0-9]{16}$",IBANRegistry:true,bank_identifier:"0-1",account_indentifier:"6-22"},GF:{chars:27,bban_regexp:"^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$",IBANRegistry:true},GG:{},GH:{},GI:{chars:23,bban_regexp:"^[A-Z]{4}[A-Z0-9]{15}$",IBANRegistry:true,SEPA:true,bank_identifier:"0-3",account_indentifier:"8-23"},GL:{chars:18,bban_regexp:"^[0-9]{14}$",IBANRegistry:true,bank_identifier:"0-3",account_indentifier:"4-18"},GM:{},GN:{},GP:{chars:27,bban_regexp:"^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$",IBANRegistry:true},GQ:{chars:27,bban_regexp:"^[0-9]{23}$"},GR:{chars:27,bban_regexp:"^[0-9]{7}[A-Z0-9]{16}$",IBANRegistry:true,SEPA:true,branch_indentifier:"3-6",bank_identifier:"0-2",account_indentifier:"7-27"},GS:{},GT:{chars:28,bban_regexp:"^[A-Z0-9]{24}$",IBANRegistry:true,bank_identifier:"0-3",account_indentifier:"8-28"},GU:{},GW:{chars:25,bban_regexp:"^[A-Z]{2}[0-9]{19}$"},GY:{},HK:{},HM:{},HN:{chars:28,bban_regexp:"^[A-Z]{4}[0-9]{20}$"},HR:{chars:21,bban_regexp:"^[0-9]{17}$",bban_validation_func:E2e,IBANRegistry:true,SEPA:true,bank_identifier:"0-6"},HT:{},HU:{chars:28,bban_regexp:"^[0-9]{24}$",bban_validation_func:S2e,IBANRegistry:true,SEPA:true,branch_indentifier:"3-6",bank_identifier:"0-2"},ID:{},IE:{chars:22,bban_regexp:"^[A-Z0-9]{4}[0-9]{14}$",IBANRegistry:true,SEPA:true,branch_indentifier:"4-9",bank_identifier:"0-3"},IL:{chars:23,bban_regexp:"^[0-9]{19}$",IBANRegistry:true,branch_indentifier:"3-5",bank_identifier:"0-2"},IM:{},IN:{},IO:{},IQ:{chars:23,bban_regexp:"^[A-Z]{4}[0-9]{15}$",IBANRegistry:true,branch_indentifier:"4-6",bank_identifier:"0-3",account_indentifier:"11-23"},IR:{chars:26,bban_regexp:"^[0-9]{22}$"},IS:{chars:26,bban_regexp:"^[0-9]{22}$",IBANRegistry:true,SEPA:true,branch_indentifier:"2-3",bank_identifier:"0-1",account_indentifier:"8-25"},IT:{chars:27,bban_regexp:"^[A-Z]{1}[0-9]{10}[A-Z0-9]{12}$",IBANRegistry:true,SEPA:true,branch_indentifier:"6-10",bank_identifier:"1-5",account_indentifier:"4-27"},JE:{},JM:{},JO:{chars:30,bban_regexp:"^[A-Z]{4}[0-9]{4}[A-Z0-9]{18}$",IBANRegistry:true,branch_indentifier:"4-7",bank_identifier:"4-7"},JP:{},KE:{},KG:{},KH:{},KI:{},KM:{chars:27,bban_regexp:"^[0-9]{23}$"},KN:{},KP:{},KR:{},KW:{chars:30,bban_regexp:"^[A-Z]{4}[A-Z0-9]{22}$",IBANRegistry:true,bank_identifier:"0-3",account_indentifier:"20-30"},KY:{},KZ:{chars:20,bban_regexp:"^[0-9]{3}[A-Z0-9]{13}$",IBANRegistry:true,bank_identifier:"0-2",account_indentifier:"0-20"},LA:{},LB:{chars:28,bban_regexp:"^[0-9]{4}[A-Z0-9]{20}$",IBANRegistry:true,bank_identifier:"0-3",account_indentifier:"14-28"},LC:{chars:32,bban_regexp:"^[A-Z]{4}[A-Z0-9]{24}$",IBANRegistry:true,bank_identifier:"0-3",account_indentifier:"8-32"},LI:{chars:21,bban_regexp:"^[0-9]{5}[A-Z0-9]{12}$",IBANRegistry:true,SEPA:true,bank_identifier:"0-4"},LK:{},LR:{},LS:{},LT:{chars:20,bban_regexp:"^[0-9]{16}$",IBANRegistry:true,SEPA:true,bank_identifier:"0-4"},LU:{chars:20,bban_regexp:"^[0-9]{3}[A-Z0-9]{13}$",IBANRegistry:true,SEPA:true,bank_identifier:"0-2"},LV:{chars:21,bban_regexp:"^[A-Z]{4}[A-Z0-9]{13}$",IBANRegistry:true,SEPA:true,bank_identifier:"0-3",account_indentifier:"0-21"},LY:{chars:25,bban_regexp:"^[0-9]{21}$",IBANRegistry:true,branch_indentifier:"3-5",bank_identifier:"0-2",account_indentifier:"10-25"},MA:{chars:28,bban_regexp:"^[0-9]{24}$"},MC:{chars:27,bban_regexp:"^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$",bban_validation_func:wQ,IBANRegistry:true,SEPA:true,branch_indentifier:"5-9",bank_identifier:"0-4"},MD:{chars:24,bban_regexp:"^[A-Z0-9]{2}[A-Z0-9]{18}$",IBANRegistry:true,bank_identifier:"0-1",account_indentifier:"6-24"},ME:{chars:22,bban_regexp:"^[0-9]{18}$",bban_validation_func:Sh,IBANRegistry:true,bank_identifier:"0-2",account_indentifier:"4-22"},MF:{chars:27,bban_regexp:"^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$",IBANRegistry:true},MG:{chars:27,bban_regexp:"^[0-9]{23}$"},MH:{},MK:{chars:19,bban_regexp:"^[0-9]{3}[A-Z0-9]{10}[0-9]{2}$",bban_validation_func:Sh,IBANRegistry:true,bank_identifier:"0-2"},ML:{chars:28,bban_regexp:"^[A-Z0-9]{2}[0-9]{22}$"},MM:{},MN:{chars:20,bban_regexp:"^[0-9]{16}$",IBANRegistry:true,bank_identifier:"0-3",account_indentifier:"8-20"},MO:{},MP:{},MQ:{chars:27,bban_regexp:"^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$",IBANRegistry:true},MR:{chars:27,bban_regexp:"^[0-9]{23}$",IBANRegistry:true,branch_indentifier:"5-9",bank_identifier:"0-4",account_indentifier:"8-26"},MS:{},MT:{chars:31,bban_regexp:"^[A-Z]{4}[0-9]{5}[A-Z0-9]{18}$",IBANRegistry:true,SEPA:true,branch_indentifier:"4-8",bank_identifier:"0-3",account_indentifier:"15-31"},MU:{chars:30,bban_regexp:"^[A-Z]{4}[0-9]{19}[A-Z]{3}$",IBANRegistry:true,branch_indentifier:"6-7",bank_identifier:"0-5",account_indentifier:"0-30"},MV:{},MW:{},MX:{},MY:{},MZ:{chars:25,bban_regexp:"^[0-9]{21}$"},NA:{},NC:{chars:27,bban_regexp:"^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$",IBANRegistry:true},NE:{chars:28,bban_regexp:"^[A-Z]{2}[0-9]{22}$"},NF:{},NG:{},NI:{chars:28,bban_regexp:"^[A-Z]{4}[0-9]{20}$",bank_identifier:"0-3",IBANRegistry:true,account_indentifier:"8-28"},NL:{chars:18,bban_regexp:"^[A-Z]{4}[0-9]{10}$",IBANRegistry:true,SEPA:true,bank_identifier:"0-3",account_indentifier:"8-18"},NO:{chars:15,bban_regexp:"^[0-9]{11}$",bban_validation_func:g2e,IBANRegistry:true,SEPA:true,bank_identifier:"0-3",account_indentifier:"4-15"},NP:{},NR:{},NU:{},NZ:{},OM:{chars:23,bban_regexp:"^[0-9]{3}[A-Z0-9]{16}$",IBANRegistry:true,SEPA:false,bank_identifier:"0-2"},PA:{},PE:{},PF:{chars:27,bban_regexp:"^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$",IBANRegistry:true},PG:{},PH:{},PK:{chars:24,bban_regexp:"^[A-Z0-9]{4}[0-9]{16}$",IBANRegistry:true,bank_identifier:"0-3"},PL:{chars:28,bban_validation_func:v2e,bban_regexp:"^[0-9]{24}$",IBANRegistry:true,SEPA:true,branch_indentifier:"0-7",account_indentifier:"2-28"},PM:{chars:27,bban_regexp:"^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$",IBANRegistry:true},PN:{},PR:{},PS:{chars:29,bban_regexp:"^[A-Z0-9]{4}[0-9]{21}$",IBANRegistry:true,bank_identifier:"0-3",account_indentifier:"17-29"},PT:{chars:25,bban_regexp:"^[0-9]{21}$",bban_validation_func:Sh,IBANRegistry:true,SEPA:true,bank_identifier:"0-3"},PW:{},PY:{},QA:{chars:29,bban_regexp:"^[A-Z]{4}[A-Z0-9]{21}$",IBANRegistry:true,bank_identifier:"0-3",account_indentifier:"8-29"},RE:{chars:27,bban_regexp:"^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$",IBANRegistry:true},RO:{chars:24,bban_regexp:"^[A-Z]{4}[A-Z0-9]{16}$",IBANRegistry:true,SEPA:true,bank_identifier:"0-3",account_indentifier:"0-24"},RS:{chars:22,bban_regexp:"^[0-9]{18}$",bban_validation_func:Sh,IBANRegistry:true,bank_identifier:"0-2"},RU:{chars:33,bban_regexp:"^[0-9]{14}[A-Z0-9]{15}$",IBANRegistry:true,branch_indentifier:"9-13",bank_identifier:"0-8",account_indentifier:"13-33"},RW:{},SA:{chars:24,bban_regexp:"^[0-9]{2}[A-Z0-9]{18}$",IBANRegistry:true,bank_identifier:"0-1",account_indentifier:"12-24"},SB:{},SC:{chars:31,bban_regexp:"^[A-Z]{4}[0-9]{20}[A-Z]{3}$",IBANRegistry:true,branch_indentifier:"6-7",bank_identifier:"0-5",account_indentifier:"12-28"},SD:{chars:18,bban_regexp:"^[0-9]{14}$",IBANRegistry:true,bank_identifier:"0-1",account_indentifier:"6-18"},SE:{chars:24,bban_regexp:"^[0-9]{20}$",IBANRegistry:true,SEPA:true,bank_identifier:"0-2"},SG:{},SH:{},SI:{chars:19,bban_regexp:"^[0-9]{15}$",bban_validation_func:Sh,IBANRegistry:true,SEPA:true,branch_indentifier:"2-4",bank_identifier:"0-1",account_indentifier:"9-16"},SJ:{},SK:{chars:24,bban_regexp:"^[0-9]{20}$",bban_validation_func:SQ,IBANRegistry:true,SEPA:true},SL:{},SM:{chars:27,bban_regexp:"^[A-Z]{1}[0-9]{10}[A-Z0-9]{12}$",IBANRegistry:true,SEPA:true,branch_indentifier:"6-10"},SN:{chars:28,bban_regexp:"^[A-Z]{2}[0-9]{22}$"},SO:{chars:23,bban_regexp:"^[0-9]{19}$",IBANRegistry:true,branch_indentifier:"4-6",account_indentifier:"11-23"},SR:{},SS:{},ST:{chars:25,bban_regexp:"^[0-9]{21}$",IBANRegistry:true,branch_indentifier:"4-7"},SV:{chars:28,bban_regexp:"^[A-Z]{4}[0-9]{20}$",IBANRegistry:true,account_indentifier:"8-28"},SX:{},SY:{},SZ:{},TC:{},TD:{chars:27,bban_regexp:"^[0-9]{23}$"},TF:{chars:27,bban_regexp:"^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$",IBANRegistry:true},TG:{chars:28,bban_regexp:"^[A-Z]{2}[0-9]{22}$"},TH:{},TJ:{},TK:{},TL:{chars:23,bban_regexp:"^[0-9]{19}$",IBANRegistry:true,account_indentifier:"4-23"},TM:{},TN:{chars:24,bban_regexp:"^[0-9]{20}$",IBANRegistry:true,branch_indentifier:"2-4",account_indentifier:"4-24"},TO:{},TR:{chars:26,bban_regexp:"^[0-9]{5}[A-Z0-9]{17}$",IBANRegistry:true},TT:{},TV:{},TW:{},TZ:{},UA:{chars:29,bban_regexp:"^[0-9]{6}[A-Z0-9]{19}$",IBANRegistry:true,account_indentifier:"15-29"},UG:{},UM:{},US:{},UY:{},UZ:{},VA:{chars:22,bban_regexp:"^[0-9]{18}",IBANRegistry:true,SEPA:true,account_indentifier:"7-22"},VC:{},VE:{},VG:{chars:24,bban_regexp:"^[A-Z0-9]{4}[0-9]{16}$",IBANRegistry:true,account_indentifier:"8-24"},VI:{},VN:{},VU:{},WF:{chars:27,bban_regexp:"^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$",IBANRegistry:true},WS:{},XK:{chars:20,bban_regexp:"^[0-9]{16}$",IBANRegistry:true,branch_indentifier:"2-3",account_indentifier:"4-20"},YE:{chars:30,bban_regexp:"[A-Z]{4}[0-9]{4}[0-9A-Z]{18}",IBANRegistry:true,bank_identifier:"0-3",branch_indentifier:"4-7"},YT:{chars:27,bban_regexp:"^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$",IBANRegistry:true},ZA:{},ZM:{},ZW:{}};var VA=Object.entries(_d).filter(t=>t[1].IBANRegistry).map(t=>t[0]),OQ=Object.entries(_d).filter(t=>t[1].SEPA).map(t=>t[0]),kQ=(t="")=>TQ(nT(t)||void 0),iT=(t=true)=>i=>{console.log(i);let e=[];if(typeof i.getRawValue()=="string")if(/^[a-zA-Z]{2}/.test(i.getRawValue().substring(0,2))){let{valid:o,errorCodes:a}=kQ(i.value);e=a;}else t||e.push(ns.NoIBANCountry);else {let r=i.value?i.value.countryCode:"",o=i.value?i.value.bban:"";if(r!==""){let{valid:a,errorCodes:s}=kQ(`${r}${o}`);e=s;}}if(e.length===0)return null;let n={};return e.forEach(r=>{let o=ns[r];n[o]={value:i.getRawValue()};}),n};var RQ={version:4,country_calling_codes:{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"],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"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],880:["BD"],886:["TW"],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"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},countries:{AC:["247","00","(?:[01589]\\d|[46])\\d{4}",[5,6]],AD:["376","00","(?:1|6\\d)\\d{7}|[135-9]\\d{5}",[6,8,9],[["(\\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"]]]],AE:["971","00","(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",[5,6,7,8,9,10,11,12],[["(\\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"]],"0"],AF:["93","00","[2-7]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],"0"],AG:["1","011","(?:268|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([457]\\d{6})$|1","268$1",0,"268"],AI:["1","011","(?:264|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2457]\\d{6})$|1","264$1",0,"264"],AL:["355","00","(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",[6,7,8,9],[["(\\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"]],"0"],AM:["374","00","(?:[1-489]\\d|55|60|77)\\d{6}",[8],[["(\\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"]],"0"],AO:["244","00","[29]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]]],AR:["54","00","(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",[10,11],[["(\\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",0,"$1 $2 $3-$4"],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1",0,"$1 $2 $3-$4"],["(\\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",0,"$1 $2 $3-$4"]],"0",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"],AS:["1","011","(?:[58]\\d\\d|684|900)\\d{7}",[10],0,"1",0,"([267]\\d{6})$|1","684$1",0,"684"],AT:["43","00","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],[["(\\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(?:48|5[0-3579]|[6-9])|7(?:20|32|8)|[89]","(?:31|4)6|51|6(?:485|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"]],"0"],AU:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","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],[["(\\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)"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],"0",0,"(183[12])|0",0,0,0,[["(?:(?:241|349)0\\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])|[34]\\d\\d)|91(?:(?:[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}|(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8])|8(?:55|6[0-8]|[78]\\d|9[02-9]))\\d{6}",[9]],["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,["163\\d{2,6}",[5,6,7,8,9]],["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],AW:["297","00","(?:[25-79]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]]],AX:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","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],0,"0",0,0,0,0,"18",0,"00"],AZ:["994","00","365\\d{6}|(?:[124579]\\d|60|88)\\d{7}",[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"]],"0"],BA:["387","00","6\\d{8}|(?:[35689]\\d|49|70)\\d{6}",[8,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"]],"0"],BB:["1","011","(?:246|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","246$1",0,"246"],BD:["880","00","[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],[["(\\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]|2[23]"],"0$1"],["(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],"0"],BE:["32","00","4\\d{8}|[1-9]\\d{7}",[8,9],[["(\\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"]],"0"],BF:["226","00","[024-7]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[024-7]"]]]],BG:["359","00","00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",[6,7,8,9,12],[["(\\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"]],"0"],BH:["973","00","[136-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[13679]|8[02-4679]"]]]],BI:["257","00","(?:[267]\\d|31)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]]],BJ:["229","00","(?:01\\d|8)\\d{7}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["0"]]]],BL:["590","00","7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["(?:59(?:0(?:2[7-9]|3[3-7]|5[12]|87)|87\\d)|80[6-9]\\d\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],["8[129]\\d{7}"],0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],BM:["1","011","(?:441|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","441$1",0,"441"],BN:["673","00","[2-578]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]]],BO:["591","00(?:1\\d)?","(?:[2-7]\\d\\d|8001)\\d{5}",[8,9],[["(\\d)(\\d{7})","$1 $2",["[23]|4[46]|50"]],["(\\d{8})","$1",["[5-7]"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"]]],"0",0,"0(1\\d)?"],BQ:["599","00","(?:[34]1|7\\d)\\d{5}",[7],0,0,0,0,0,0,"[347]"],BR:["55","00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","[1-467]\\d{9,10}|55[0-46-9]\\d{8}|[34]\\d{7}|55\\d{7,8}|(?:5[0-46-9]|[89]\\d)\\d{7,9}",[8,9,10,11],[["(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37|86)","300|4(?:0(?:0|20)|370|864)"]],["(\\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)"],["(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)"]],"0",0,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2"],BS:["1","011","(?:242|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([3-8]\\d{6})$|1","242$1",0,"242"],BT:["975","00","[178]\\d{7}|[2-8]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-6]|7[246]|8[2-4]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|[78]"]]]],BW:["267","00","(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",[7,8,10],[["(\\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"]]]],BY:["375","810","(?:[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],[["(\\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"]],"8",0,"0|80?",0,0,0,0,"8~10"],BZ:["501","00","(?:0800\\d|[2-8])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],["(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]]],CA:["1","011","[2-9]\\d{9}|3\\d{6}",[7,10],0,"1",0,0,0,0,0,[["(?:2(?:04|[23]6|[48]9|5[07]|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])|9(?:0[25]|42))[2-9]\\d{6}",[10]],["",[10]],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",[10]],["900[2-9]\\d{6}",[10]],["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(?:2[125-9]|3[23]|44|66|77|88)|6(?:22|33))[2-9]\\d{6}",[10]],0,["310\\d{4}",[7]],0,["600[2-9]\\d{6}",[10]]]],CC:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","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],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["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}",[9]],["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CD:["243","00","(?:(?:[189]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}",[7,8,9,10],[["(\\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{2})(\\d{4})","$1 $2 $3",["2"],"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"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["5"],"0$1"]],"0"],CF:["236","00","8776\\d{4}|(?:[27]\\d|61)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-8]"]]]],CG:["242","00","222\\d{6}|(?:0\\d|80)\\d{7}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]]],CH:["41","00","8\\d{11}|[2-9]\\d{8}",[9,12],[["(\\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"]],"0"],CI:["225","00","[02]\\d{9}",[10],[["(\\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"]]]],CK:["682","00","[2-578]\\d{4}",[5],[["(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]]],CL:["56","(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0","12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",[9,10,11],[["(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["60|809"]],["(\\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(?:10|[2-9])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-8]|[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"]]]],CM:["237","00","[26]\\d{8}|88\\d{6,7}",[8,9],[["(\\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"]]]],CN:["86","00|1(?:[12]\\d|79)\\d\\d00","(?:(?:1[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}",[7,8,9,10,11,12],[["(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|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(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]","(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|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]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|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]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|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]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|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(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"],"0$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"],["(\\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",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",1],["(\\d{3})(\\d{7,8})","$1 $2",["9"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",1]],"0",0,"(1(?:[12]\\d|79)\\d\\d)|0",0,0,0,0,"00"],CO:["57","00(?:4(?:[14]4|56)|[579])","(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["46"]],["(\\d{3})(\\d{7})","$1 $2",["6|90"],"($1)"],["(\\d{3})(\\d{7})","$1 $2",["3[0-357]|9[14]"]],["(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1",0,"$1 $2 $3"]],"0",0,"0([3579]|4(?:[14]4|56))?"],CR:["506","00","(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",[8,10],[["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"]]],0,0,"(19(?:0[0-2468]|1[09]|20|66|77|99))"],CU:["53","119","(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}",[6,7,8,10],[["(\\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"]],"0"],CV:["238","0","(?:[2-59]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]]],CW:["599","00","(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[3467]"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],0,0,0,0,0,"[69]"],CX:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","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],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["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}",[9]],["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CY:["357","00","(?:[279]\\d|[58]0)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]]],CZ:["420","00","(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}",[9,10,11,12],[["(\\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"]]]],DE:["49","00","[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],[["(\\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]|3[13])"],"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"]],"0"],DJ:["253","00","(?:2\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]]],DK:["45","00","[2-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]]],DM:["1","011","(?:[58]\\d\\d|767|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","767$1",0,"767"],DO:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,0,0,0,"8001|8[024]9"],DZ:["213","00","(?:[1-4]|[5-79]\\d|80)\\d{7}",[8,9],[["(\\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"]],"0"],EC:["593","00","1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",[8,9,10,11],[["(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)",0,"$1-$2-$3"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],"0"],EE:["372","00","8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",[7,8,10],[["(\\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"]]]],EG:["20","00","[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",[8,9,10],[["(\\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"]],"0"],EH:["212","00","[5-8]\\d{8}",[9],0,"0",0,0,0,0,0,[["528[89]\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[016-8]\\d|2[0-8]|5[0-5]))\\d{6}"],["80[0-7]\\d{6}"],["89\\d{7}"],0,0,0,0,["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]],ER:["291","00","[178]\\d{6}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],"0"],ES:["34","00","[5-9]\\d{8}",[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]"]]]],ET:["251","00","(?:11|[2-57-9]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-57-9]"],"0$1"]],"0"],FI:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","[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],[["(\\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",["(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"]],"0",0,0,0,0,"1[03-79]|[2-9]",0,"00"],FJ:["679","0(?:0|52)","45\\d{5}|(?:0800\\d|[235-9])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],0,0,0,0,0,0,0,"00"],FK:["500","00","[2-7]\\d{4}",[5]],FM:["691","00","(?:[39]\\d\\d|820)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[389]"]]]],FO:["298","00","[2-9]\\d{5}",[6],[["(\\d{6})","$1",["[2-9]"]]],0,0,"(10(?:01|[12]0|88))"],FR:["33","00","[1-9]\\d{8}",[9],[["(\\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"]],"0"],GA:["241","00","(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",[7,8],[["(\\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"]],0,0,"0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})","$1"],GB:["44","00","[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",[7,9,10],[["(\\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"]],"0",0,"0|180020",0,0,0,[["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-5])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|5[01]))\\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}",[9,10]],["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}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["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}",[10]],["56\\d{8}",[10]]],0," x"],GD:["1","011","(?:473|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","473$1",0,"473"],GE:["995","00","(?:[3-57]\\d\\d|800)\\d{6}",[9],[["(\\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"]],"0"],GF:["594","00","(?:694\\d|7093)\\d{5}|(?:59|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]|80[6-9]|9[47]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[89]"],"0$1"]],"0"],GG:["44","00","(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",[7,9,10],0,"0",0,"([25-9]\\d{5})$|0|180020","1481$1",0,0,[["1481[25-9]\\d{5}",[10]],["7(?:(?:781|839)\\d|911[17])\\d{5}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["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}",[10]],["56\\d{8}",[10]]]],GH:["233","00","[235]\\d{8}|800\\d{5,6}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2358]"],"0$1"]],"0"],GI:["350","00","(?:[25]\\d|60)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["2"]]]],GL:["299","00","(?:19|[2-689]\\d|70)\\d{4}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-9]"]]]],GM:["220","00","[2-9]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],GN:["224","00","722\\d{6}|(?:3|6\\d)\\d{7}",[8,9],[["(\\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]"]]]],GP:["590","00","7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]|80[6-9]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["(?:59(?:0(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)|87\\d)|80[6-9]\\d\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],["8[129]\\d{7}"],0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],GQ:["240","00","222\\d{6}|(?:3\\d|55|[89]0)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],["(\\d{3})(\\d{6})","$1 $2",["[89]"]]]],GR:["30","00","5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}",[10,11,12],[["(\\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"]]]],GT:["502","00","80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1 $2",["[2-8]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],GU:["1","011","(?:[58]\\d\\d|671|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","671$1",0,"671"],GW:["245","00","[49]\\d{8}|4\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["40"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]]],GY:["592","001","(?:[2-8]\\d{3}|9008)\\d{3}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],HK:["852","00(?:30|5[09]|[126-9]?)","8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}",[5,6,7,8,9,11],[["(\\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"]]],0,0,0,0,0,0,0,"00"],HN:["504","00","8\\d{10}|[237-9]\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]]],HR:["385","00","[2-69]\\d{8}|80\\d{5,7}|[1-79]\\d{7}|6\\d{6}",[7,8,9],[["(\\d{2})(\\d{2})(\\d{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"]],"0"],HT:["509","00","[2-589]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-589]"]]]],HU:["36","00","[235-7]\\d{8}|[1-9]\\d{7}",[8,9],[["(\\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"]],"06"],ID:["62","00[89]","00[1-9]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}",[7,8,9,10,11,12,13,14,15,16,17],[["(\\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"]],"0"],IE:["353","00","(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",[7,8,9,10],[["(\\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"]],"0"],IL:["972","0(?:0|1[2-9])","1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",[7,8,9,10,11,12],[["(\\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"]]],"0"],IM:["44","00","1624\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([25-8]\\d{5})$|0|180020","1624$1",0,"74576|(?:16|7[56])24"],IN:["91","00","(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",[8,9,10,11,12,13],[["(\\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)"],0,1],["(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],0,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]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67)[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(?:(?: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)|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(?:3171|5[15][2-6]|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|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]|3[129]|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(?:[23569]|8[0-57-9])|8[1-6])|7(?:1(?:[013-8]|9[6-9])|3(?:17|2[0-49]|9[2-57])|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|8(?:28[235-7]|3))|73179|807(?:1|9[1-3])|(?:1552|6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578])\\d|7(?:[23569]\\d|8[0-57-9])|8(?:[14-6]\\d|2[0-79]))|7(?:1(?:[013-8]\\d|9[6-9])|3(?:2[0-49]|9[2-57])|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",["16|[6-9]"],"0$1",1],["(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["18[06]","18[06]0"],0,1],["(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],0,1]],"0"],IO:["246","00","3\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["3"]]]],IQ:["964","00","(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}",[8,9,10],[["(\\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"]],"0"],IR:["98","00","[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}",[4,5,6,7,10],[["(\\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"]],"0"],IS:["354","00|1(?:0(?:01|[12]0)|100)","(?:38\\d|[4-9])\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],0,0,0,0,0,0,0,"00"],IT:["39","00","0\\d{5,11}|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],[["(\\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",["[03]"]]],0,0,0,0,0,0,[["0(?:669[0-79]\\d{1,6}|831\\d{2,8})|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[2356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}"],["3[2-9]\\d{7,8}|(?:31|43)\\d{8}",[9,10]],["80(?:0\\d{3}|3)\\d{3}",[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}",[6,8,9,10]],["1(?:78\\d|99)\\d{6}",[9,10]],["3[2-8]\\d{9,10}",[11,12]],0,0,["55\\d{8}",[10]],["84(?:[08]\\d{3}|[17])\\d{3}",[6,9]]]],JE:["44","00","1534\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([0-24-8]\\d{5})$|0|180020","1534$1",0,0,[["1534[0-24-8]\\d{5}"],["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"],["80(?:07(?:35|81)|8901)\\d{4}"],["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"],["701511\\d{4}"],0,["(?: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}"],["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}"],["56\\d{8}"]]],JM:["1","011","(?:[58]\\d\\d|658|900)\\d{7}",[10],0,"1",0,0,0,0,"658|876"],JO:["962","00","(?:(?:[2689]|7\\d)\\d|32|427|53)\\d{6}",[8,9],[["(\\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",["[47]"],"0$1"]],"0"],JP:["81","010","00[1-9]\\d{6,14}|[25-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",[8,9,10,11,12,13,14,15,16,17],[["(\\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",["3|4(?:2[09]|7[01])|6[1-9]","3|4(?:2(?:0|9[02-69])|7(?:0[019]|1))|6[1-9]"],"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",["[25-9]"],"0$1"]],"0",0,"(000[2569]\\d{4,6})$|(?:(?:003768)0?)|0","$1"],KE:["254","000","(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}",[7,8,9,10],[["(\\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"]],"0"],KG:["996","00","8\\d{9}|[235-9]\\d{8}",[9,10],[["(\\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"]],"0"],KH:["855","00[14-9]","1\\d{9}|[1-9]\\d{7,8}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],KI:["686","00","(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}",[5,8],0,"0"],KM:["269","00","[3478]\\d{6}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[3478]"]]]],KN:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","869$1",0,"869"],KP:["850","00|99","85\\d{6}|(?:19\\d|[2-7])\\d{7}",[8,10],[["(\\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"]],"0"],KR:["82","00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","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],[["(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1"],["(\\d{4})(\\d{4})","$1-$2",["1"]],["(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[36]0|8"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1"]],"0",0,"0(8(?:[1-46-8]|5\\d\\d))?"],KW:["965","00","18\\d{5}|(?:[2569]\\d|41)\\d{6}",[7,8],[["(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],["(\\d{3})(\\d{5})","$1 $2",["[245]"]]]],KY:["1","011","(?:345|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","345$1",0,"345"],KZ:["7","810","8\\d{13}|[78]\\d{9}",[10,14],0,"8",0,0,0,0,"7",0,"8~10"],LA:["856","00","[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}",[8,9,10],[["(\\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",["3"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],"0"],LB:["961","00","[27-9]\\d{7}|[13-9]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-6]|9[04-9])|8[02-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27-9]"]]],"0"],LC:["1","011","(?:[58]\\d\\d|758|900)\\d{7}",[10],0,"1",0,"([2-8]\\d{6})$|1","758$1",0,"758"],LI:["423","00","[68]\\d{8}|(?:[2378]\\d|90)\\d{5}",[7,9],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2379]|8(?:0[09]|7)","[2379]|8(?:0(?:02|9)|7)"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],"0",0,"(1001)|0"],LK:["94","00","[1-9]\\d{8}",[9],[["(\\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"]],"0"],LR:["231","00","(?:[2457]\\d|33|88)\\d{7}|(?:2\\d|[4-6])\\d{6}",[7,8,9],[["(\\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"]],"0"],LS:["266","00","(?:[256]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2568]"]]]],LT:["370","00","(?:[3469]\\d|52|[78]0)\\d{6}",[8],[["(\\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]],"0",0,"[08]"],LU:["352","00","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],[["(\\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])"]],["(\\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])"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["20"]],["(\\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]"]],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["20"]]],0,0,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"],LV:["371","00","(?:[268]\\d|78|90)\\d{6}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2679]|8[01]"]]]],LY:["218","00","[2-9]\\d{8}",[9],[["(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],"0"],MA:["212","00","[5-8]\\d{8}",[9],[["(\\d{4})(\\d{5})","$1-$2",["892"],"0$1"],["(\\d{2})(\\d{7})","$1-$2",["8(?:0[0-7]|9)"],"0$1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[5-8]"],"0$1"]],"0",0,0,0,0,"[5-8]"],MC:["377","00","(?:[3489]|[67]\\d)\\d{7}",[8,9],[["(\\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",["[67]"],"0$1"]],"0"],MD:["373","00","(?:[235-7]\\d|[89]0)\\d{6}",[8],[["(\\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"]],"0"],ME:["382","00","(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"0$1"]],"0"],MF:["590","00","7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["(?:59(?:0(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)|87\\d)|80[6-9]\\d\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],["8[129]\\d{7}"],0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],MG:["261","00","[23]\\d{8}",[9],[["(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],"0",0,"([24-9]\\d{6})$|0","20$1"],MH:["692","011","329\\d{4}|(?:[256]\\d|45)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],"1"],MK:["389","00","[2-578]\\d{7}",[8],[["(\\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"]],"0"],ML:["223","00","[24-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]]],MM:["95","00","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],[["(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["4(?:[2-46]|5[3-5])|5|6(?:[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-5]|(?:60|86)[23]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|452|678|86","[12]|452|6788|86"],"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"]],"0"],MN:["976","001","[12]\\d{7,9}|[5-9]\\d{7}",[8,9,10],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["11|2[16]"],"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"]],"0"],MO:["853","00","0800\\d{3}|(?:28|[68]\\d)\\d{6}",[7,8],[["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{4})(\\d{4})","$1 $2",["[268]"]]]],MP:["1","011","[58]\\d{9}|(?:67|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","670$1",0,"670"],MQ:["596","00","7091\\d{5}|(?:[56]9|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]|8(?:0[6-9]|[36])"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],MR:["222","00","(?:[2-4]\\d\\d|800)\\d{5}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]]],MS:["1","011","(?:[58]\\d\\d|664|900)\\d{7}",[10],0,"1",0,"([34]\\d{6})$|1","664$1",0,"664"],MT:["356","00","3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]]],MU:["230","0(?:0|[24-7]0|3[03])","(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],["(\\d{4})(\\d{4})","$1 $2",["[57]"]],["(\\d{5})(\\d{5})","$1 $2",["8"]]],0,0,0,0,0,0,0,"020"],MV:["960","0(?:0|19)","(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",[7,10],[["(\\d{3})(\\d{4})","$1-$2",["[34679]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],0,0,0,0,0,0,0,"00"],MW:["265","00","(?:[1289]\\d|31|77)\\d{7}|1\\d{6}",[7,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-37-9]"],"0$1"]],"0"],MX:["52","0[09]","[2-9]\\d{9}",[10],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"]]],0,0,0,0,0,0,0,"00"],MY:["60","00","1\\d{8,9}|(?:3\\d|[4-9])\\d{7}",[8,9,10],[["(\\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"]],"0"],MZ:["258","00","(?:2|8\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-79]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],NA:["264","00","[68]\\d{7,8}",[8,9],[["(\\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"]],"0"],NC:["687","00","(?:050|[2-57-9]\\d\\d)\\d{3}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]]],NE:["227","00","[027-9]\\d{7}",[8],[["(\\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]"]]]],NF:["672","00","[13]\\d{5}",[6],[["(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],["(\\d)(\\d{5})","$1 $2",["[13]"]]],0,0,"([0-258]\\d{4})$","3$1"],NG:["234","009","(?:20|9\\d)\\d{8}|[78]\\d{9,13}",[10,11,12,13,14],[["(\\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"]],"0"],NI:["505","00","(?:1800|[25-8]\\d{3})\\d{4}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]]],NL:["31","00","(?:[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],[["(\\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"]],"0"],NO:["47","00","(?:0|[2-9]\\d{3})\\d{4}",[5,8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]"]]],0,0,0,0,0,"[02-689]|7[0-8]"],NP:["977","00","(?:1\\d|9)\\d{9}|[1-9]\\d{7}",[8,10,11],[["(\\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"]]],"0"],NR:["674","00","(?:222|444|(?:55|8\\d)\\d|666|777|999)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[24-9]"]]]],NU:["683","00","(?:[4-7]|888\\d)\\d{3}",[4,7],[["(\\d{3})(\\d{4})","$1 $2",["8"]]]],NZ:["64","0(?:0|161)","[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],[["(\\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"]],"0",0,0,0,0,0,0,"00"],OM:["968","00","(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}",[7,8,9],[["(\\d{3})(\\d{4,6})","$1 $2",["[58]"]],["(\\d{2})(\\d{6})","$1 $2",["2"]],["(\\d{4})(\\d{4})","$1 $2",["[179]"]]]],PA:["507","00","(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}",[7,8,10,11],[["(\\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"]]]],PE:["51","00|19(?:1[124]|77|90)00","(?:[14-8]|9\\d)\\d{7}",[8,9],[["(\\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"]]],"0",0,0,0,0,0,0,"00"," Anexo "],PF:["689","00","4\\d{5}(?:\\d{2})?|8\\d{7,8}",[6,8,9],[["(\\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"]]]],PG:["675","00|140[1-3]","(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85"]],["(\\d{4})(\\d{4})","$1 $2",["[78]"]]],0,0,0,0,0,0,0,"00"],PH:["63","00","(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}",[6,8,9,10,11,12,13],[["(\\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"]]],"0"],PK:["92","00","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],[["(\\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)"]],"0"],PL:["48","00","(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}",[6,7,8,9,10],[["(\\d{5})","$1",["19"]],["(\\d{3})(\\d{3})","$1 $2",["11|20|64"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["30|(?: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","30|(?: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"]]]],PM:["508","00","[78]\\d{8}|[2-9]\\d{5}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[2-9]"],"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"]],"0"],PR:["1","011","(?:[589]\\d\\d|787)\\d{7}",[10],0,"1",0,0,0,0,"787|939"],PS:["970","00","[2489]2\\d{6}|(?:1\\d|5)\\d{8}",[8,9,10],[["(\\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"]]],"0"],PT:["351","00","1693\\d{5}|(?:[26-9]\\d|30)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["16|[236-9]"]]]],PW:["680","01[12]","(?:[24-8]\\d\\d|345|900)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],PY:["595","00","[36-8]\\d{5,8}|4\\d{6,8}|59\\d{6}|9\\d{5,10}|(?:2\\d|5[0-8])\\d{6,7}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["3[289]|4[246-8]|61|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"]]],"0"],QA:["974","00","800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}",[7,8,9,11],[["(\\d{3})(\\d{4})","$1 $2",["2[136]|8"]],["(\\d{4})(\\d{4})","$1 $2",["[3-7]"]]]],RE:["262","00","709\\d{6}|(?:26|[689]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-9]"],"0$1"]],"0",0,0,0,0,0,[["2631[0-6]\\d{4}|26(?:2\\d|30|88)\\d{5}"],["(?:69(?:2\\d\\d|3(?:[06][0-6]|1[0-3]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))|7092[0-3])\\d{4}"],["80\\d{7}"],["89[1-37-9]\\d{6}"],0,0,0,0,["9(?:399[0-3]|479[0-6]|76(?:2[278]|3[0-37]))\\d{4}"],["8(?:1[019]|2[0156]|84|90)\\d{6}"]]],RO:["40","00","(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}",[6,9],[["(\\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"]],"0",0,0,0,0,0,0,0," int "],RS:["381","00","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],[["(\\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"]],"0"],RU:["7","810","8\\d{13}|[347-9]\\d{9}",[10,14],[["(\\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)"]],"8",0,0,0,0,"[3489]",0,"8~10"],RW:["250","00","(?:06|[27]\\d\\d|[89]00)\\d{6}",[8,9],[["(\\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"]],"0"],SA:["966","00","(?:[15]\\d|800|92)\\d{7}",[9,10],[["(\\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{4})","$1 $2 $3",["8"]]],"0"],SB:["677","0[01]","[6-9]\\d{6}|[1-6]\\d{4}",[5,7],[["(\\d{2})(\\d{5})","$1 $2",["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]]],SC:["248","010|0[0-2]","(?:[2489]\\d|64)\\d{5}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],0,0,0,0,0,0,0,"00"],SD:["249","00","[19]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],"0"],SE:["46","00","(?:[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],[["(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44|9)"],"0$1",0,"$1 $2"],["(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3"],["(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\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",0,"$1 $2 $3"],["(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1",0,"$1 $2 $3"],["(\\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",0,"$1 $2 $3 $4"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1",0,"$1 $2 $3 $4"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\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",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1",0,"$1 $2 $3 $4 $5"]],"0"],SG:["65","0[0-3]\\d","(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",[8,10,11],[["(\\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"]]]],SH:["290","00","(?:[256]\\d|8)\\d{3}",[4,5],0,0,0,0,0,0,"[256]"],SI:["386","00|10(?:22|66|88|99)","[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",[5,6,7,8],[["(\\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[013]|51|6"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],"0",0,0,0,0,0,0,"00"],SJ:["47","00","0\\d{4}|(?:[489]\\d|79)\\d{6}",[5,8],0,0,0,0,0,0,"79"],SK:["421","00","[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",[6,7,9],[["(\\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"]],"0"],SL:["232","00","(?:[237-9]\\d|66)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],"0"],SM:["378","00","(?:0549|[5-7]\\d)\\d{6}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],["(\\d{4})(\\d{6})","$1 $2",["0"]]],0,0,"([89]\\d{5})$","0549$1"],SN:["221","00","(?:[378]\\d|93)\\d{7}",[9],[["(\\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]"]]]],SO:["252","00","[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",[6,7,8,9],[["(\\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{2})(\\d{5,7})","$1 $2",["1|28|9[2-9]"]],["(\\d)(\\d{7})","$1 $2",["[267]|904"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[346-9]"]]],"0"],SR:["597","00","(?:[2-5]|[6-9]\\d)\\d{5}",[6,7],[["(\\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-9]"]]]],SS:["211","00","[19]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[19]"],"0$1"]],"0"],ST:["239","00","(?:22|9\\d)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[29]"]]]],SV:["503","00","[25-7]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?",[7,8,11],[["(\\d{3})(\\d{4})","$1 $2",["[89]"]],["(\\d{4})(\\d{4})","$1 $2",["[25-7]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]]],SX:["1","011","7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"(5\\d{6})$|1","721$1",0,"721"],SY:["963","00","[1-359]\\d{8}|[1-5]\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-4]|5[1-3]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[59]"],"0$1",1]],"0"],SZ:["268","00","0800\\d{4}|(?:[237]\\d|900)\\d{6}",[8,9],[["(\\d{4})(\\d{4})","$1 $2",["[0237]"]],["(\\d{5})(\\d{4})","$1 $2",["9"]]]],TA:["290","00","8\\d{3}",[4],0,0,0,0,0,0,"8"],TC:["1","011","(?:[58]\\d\\d|649|900)\\d{7}",[10],0,"1",0,"([2-479]\\d{6})$|1","649$1",0,"649"],TD:["235","00|16","(?:22|[3689]\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[236-9]"]]],0,0,0,0,0,0,0,"00"],TG:["228","00","[279]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]]],TH:["66","00[1-9]","(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}",[8,9,10,13],[["(\\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"]]],"0"],TJ:["992","810","(?:[0-57-9]\\d|66)\\d{7}",[9],[["(\\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",["\\d"]]],0,0,0,0,0,0,0,"8~10"],TK:["690","00","[2-47]\\d{3,6}",[4,5,6,7]],TL:["670","00","7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],["(\\d{4})(\\d{4})","$1 $2",["7"]]]],TM:["993","810","(?:[1-6]\\d|71)\\d{6}",[8],[["(\\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"]],"8",0,0,0,0,0,0,"8~10"],TN:["216","00","[2-57-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]]],TO:["676","00","(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",[5,7],[["(\\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]"]]]],TR:["90","00","4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",[7,10,12,13],[["(\\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-79]"],"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]],"0"],TT:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-46-8]\\d{6})$|1","868$1",0,"868"],TV:["688","00","(?:2|7\\d\\d|90)\\d{4}",[5,6,7],[["(\\d{2})(\\d{3})","$1 $2",["2"]],["(\\d{2})(\\d{4})","$1 $2",["90"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],TW:["886","0(?:0[25-79]|19)","[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",[7,8,9,10,11],[["(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["826"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["83"],"0$1"],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["82"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[25]0|37|49|8[09]"],"0$1"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-478])|7[1-9]","[23568]|4(?:0[2-48]|[1-478])|(?: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"]],"0",0,0,0,0,0,0,0,"#"],TZ:["255","00[056]","(?:[25-8]\\d|41|90)\\d{7}",[9],[["(\\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"]],"0"],UA:["380","00","[89]\\d{9}|[3-9]\\d{8}",[9,10],[["(\\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"]],"0",0,0,0,0,0,0,"0~0"],UG:["256","00[057]","800\\d{6}|(?:[29]0|[347]\\d)\\d{7}",[9],[["(\\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"]],"0"],US:["1","011","[2-9]\\d{9}|3\\d{6}",[10],[["(\\d{3})(\\d{4})","$1-$2",["310"],0,1],["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],0,1,"$1-$2-$3"]],"1",0,0,0,0,0,[["(?:274[27]|(?:472|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-57-9]|1[02-9]|2[013-79]|3[0-24679]|4[167]|5[0-3]|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-57-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-269])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-2478]|4[0378]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[0168]|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-3589]|8[04-69]))[2-9]\\d{6}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["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]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],UY:["598","0(?:0|1[3-9]\\d)","0004\\d{2,9}|[1249]\\d{7}|2\\d{3,4}|(?:[49]\\d|80)\\d{5}",[4,5,6,7,8,9,10,11,12,13],[["(\\d{4,5})","$1",["21"]],["(\\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"]]],"0",0,0,0,0,0,0,"00"," int. "],UZ:["998","00","(?:20|33|[5-9]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-9]"]]]],VA:["39","00","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],0,0,0,0,0,0,"06698"],VC:["1","011","(?:[58]\\d\\d|784|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","784$1",0,"784"],VE:["58","00","[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}",[10],[["(\\d{3})(\\d{7})","$1-$2",["[24-689]"],"0$1"]],"0"],VG:["1","011","(?:284|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-578]\\d{6})$|1","284$1",0,"284"],VI:["1","011","[58]\\d{9}|(?:34|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","340$1",0,"340"],VN:["84","00","[12]\\d{9}|[135-9]\\d{8}|[16]\\d{6,7}|7\\d{6}",[7,8,9,10],[["(\\d{4})(\\d{4,6})","$1 $2",["1(?:2[02]|[89])"],0,1],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[26]|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]],"0"],VU:["678","00","[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}",[5,7],[["(\\d{3})(\\d{4})","$1 $2",["[57-9]"]]]],WF:["681","00","(?:40|72|8\\d{4})\\d{4}|[89]\\d{5}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[47-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],WS:["685","0","(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}",[5,6,7,10],[["(\\d{5})","$1",["[2-5]|6[1-9]"]],["(\\d{3})(\\d{3,7})","$1 $2",["[68]"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],XK:["383","00","2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}",[8,9,10,11,12],[["(\\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"]],"0"],YE:["967","00","(?:1|7\\d)\\d{7}|[1-7]\\d{6}",[7,8,9],[["(\\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"]],"0"],YT:["262","00","(?:639\\d|7093)\\d{5}|(?:26|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["26(?:89\\d|9(?:0[0-467]|15|5[0-4]|6\\d|[78]0))\\d{4}"],["(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|7093[5-7])\\d{4}"],["80\\d{7}"],0,0,0,0,0,["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]],ZA:["27","00","[1-79]\\d{8}|8\\d{4,9}",[5,6,7,8,9,10],[["(\\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"]],"0"],ZM:["260","00","800\\d{6}|(?:21|[579]\\d|63)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[579]"],"0$1"]],"0"],ZW:["263","00","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],[["(\\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"]],"0"]},nonGeographic:{800:["800",0,"(?:00|[1-9]\\d)\\d{6}",[8],[["(\\d{4})(\\d{4})","$1 $2",["\\d"]]],0,0,0,0,0,0,[0,0,["(?:00|[1-9]\\d)\\d{6}"]]],808:["808",0,"[1-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,0,["[1-9]\\d{7}"]]],870:["870",0,"7\\d{11}|[235-7]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-7]"]]],0,0,0,0,0,0,[0,["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"],0,0,0,0,0,0,["2\\d{8}",[9]]]],878:["878",0,"10\\d{10}",[12],[["(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["10\\d{10}"]]],881:["881",0,"6\\d{9}|[0-36-9]\\d{8}",[9,10],[["(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-37-9]"]],["(\\d)(\\d{3})(\\d{5,6})","$1 $2 $3",["6"]]],0,0,0,0,0,0,[0,["6\\d{9}|[0-36-9]\\d{8}"]]],882:["882",0,"[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?",[7,8,9,10,11,12],[["(\\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|5[12]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["34"]],["(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["[1-35]"]]],0,0,0,0,0,0,[0,["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|5(?:0\\d{3}|2[0-2]))\\d{7}",[7,8,9,10,12]],0,0,0,["348[57]\\d{7}",[11]],0,0,["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}"]]],883:["883",0,"(?:[1-4]\\d|51)\\d{6,10}",[8,9,10,11,12],[["(\\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]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["(?: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}"]]],888:["888",0,"\\d{11}",[11],[["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],0,0,0,0,0,0,[0,0,0,0,0,0,["\\d{11}"]]],979:["979",0,"[1359]\\d{8}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[1359]"]]],0,0,0,0,0,0,[0,0,0,["[1359]\\d{8}"]]]}};function UA(t,i){var e=Array.prototype.slice.call(i);return e.push(RQ),t.apply(this,e)}function HA(t,i){t=t.split("-"),i=i.split("-");for(var e=t[0].split("."),n=i[0].split("."),r=0;r<3;r++){var o=Number(e[r]),a=Number(n[r]);if(o>a)return 1;if(a>o)return -1;if(!isNaN(o)&&isNaN(a))return 1;if(isNaN(o)&&!isNaN(a))return -1}return t[1]&&i[1]?t[1]>i[1]?1:t[1]<i[1]?-1:0:!t[1]&&i[1]?1:t[1]&&!i[1]?-1:0}var w2e={}.constructor;function hc(t){return t!=null&&t.constructor===w2e}var T2e=/^\d+$/;function zA(t){return T2e.test(t)}function wh(t){"@babel/helpers - typeof";return wh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},wh(t)}function rT(t,i){if(!(t instanceof i))throw new TypeError("Cannot call a class as a function")}function AQ(t,i){for(var e=0;e<i.length;e++){var n=i[e];n.enumerable=n.enumerable||false,n.configurable=true,"value"in n&&(n.writable=true),Object.defineProperty(t,x2e(n.key),n);}}function oT(t,i,e){return i&&AQ(t.prototype,i),Object.defineProperty(t,"prototype",{writable:false}),t}function x2e(t){var i=D2e(t,"string");return wh(i)=="symbol"?i:i+""}function D2e(t,i){if(wh(t)!="object"||!t)return t;var e=t[Symbol.toPrimitive];if(e!==void 0){var n=e.call(t,i);if(wh(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return (String)(t)}var I2e="1.2.0",M2e="1.7.35",NQ=" ext. ",Mi=(function(){function t(i){rT(this,t),GA(i),this.metadata=i,BQ.call(this,i);}return oT(t,[{key:"getCountries",value:function(){return Object.keys(this.metadata.countries).filter(function(e){return e!=="001"})}},{key:"getCountryMetadata",value:function(e){return this.metadata.countries[e]}},{key:"nonGeographic",value:function(){if(!(this.v1||this.v2||this.v3))return this.metadata.nonGeographic||this.metadata.nonGeographical}},{key:"hasCountry",value:function(e){return this.getCountryMetadata(e)!==void 0}},{key:"hasCallingCode",value:function(e){if(this.getCountryCodesForCallingCode(e))return true;if(this.nonGeographic()){if(this.nonGeographic()[e])return true}else {var n=this.countryCallingCodes()[e];if(n&&n.length===1&&n[0]==="001")return true}}},{key:"isNonGeographicCallingCode",value:function(e){return this.nonGeographic()?!!this.nonGeographic()[e]:!this.getCountryCodesForCallingCode(e)}},{key:"country",value:function(e){return this.selectNumberingPlan(e)}},{key:"selectNumberingPlan",value:function(e,n){var r,o;if(e&&(zA(e)?o=e:r=e),n&&(o=n),r&&r!=="001"){var a=this.getCountryMetadata(r);if(!a)throw new Error("Unknown country: ".concat(r));this.numberingPlan=new PQ(a,this);}else if(o){if(!this.hasCallingCode(o))throw new Error("Unknown calling code: ".concat(o));this.numberingPlan=new PQ(this.getNumberingPlanMetadata(o),this);}else this.numberingPlan=void 0;return this}},{key:"getCountryCodesForCallingCode",value:function(e){var n=this.countryCallingCodes()[e];if(n)return n.length===1&&n[0].length===3?void 0:n}},{key:"getCountryCodeForCallingCode",value:function(e){var n=this.getCountryCodesForCallingCode(e);if(n)return n[0]}},{key:"getNumberingPlanMetadata",value:function(e){var n=this.getCountryCodeForCallingCode(e);if(n)return this.getCountryMetadata(n);if(this.nonGeographic()){var r=this.nonGeographic()[e];if(r)return r}else {var o=this.countryCallingCodes()[e];if(o&&o.length===1&&o[0]==="001")return this.metadata.countries["001"]}}},{key:"countryCallingCode",value:function(){return this.numberingPlan.callingCode()}},{key:"IDDPrefix",value:function(){return this.numberingPlan.IDDPrefix()}},{key:"defaultIDDPrefix",value:function(){return this.numberingPlan.defaultIDDPrefix()}},{key:"nationalNumberPattern",value:function(){return this.numberingPlan.nationalNumberPattern()}},{key:"possibleLengths",value:function(){return this.numberingPlan.possibleLengths()}},{key:"formats",value:function(){return this.numberingPlan.formats()}},{key:"nationalPrefixForParsing",value:function(){return this.numberingPlan.nationalPrefixForParsing()}},{key:"nationalPrefixTransformRule",value:function(){return this.numberingPlan.nationalPrefixTransformRule()}},{key:"leadingDigits",value:function(){return this.numberingPlan.leadingDigits()}},{key:"hasTypes",value:function(){return this.numberingPlan.hasTypes()}},{key:"type",value:function(e){return this.numberingPlan.type(e)}},{key:"ext",value:function(){return this.numberingPlan.ext()}},{key:"countryCallingCodes",value:function(){return this.v1?this.metadata.country_phone_code_to_countries:this.metadata.country_calling_codes}},{key:"chooseCountryByCountryCallingCode",value:function(e){return this.selectNumberingPlan(e)}},{key:"hasSelectedNumberingPlan",value:function(){return this.numberingPlan!==void 0}}])})();var PQ=(function(){function t(i,e){rT(this,t),this.globalMetadataObject=e,this.metadata=i,BQ.call(this,e.metadata);}return oT(t,[{key:"callingCode",value:function(){return this.metadata[0]}},{key:"_getDefaultCountryMetadataForThisCallingCode",value:function(){return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode())}},{key:"getDefaultCountryMetadataForRegion",value:function(){return this._getDefaultCountryMetadataForThisCallingCode()}},{key:"IDDPrefix",value:function(){if(!(this.v1||this.v2))return this.metadata[1]}},{key:"defaultIDDPrefix",value:function(){if(!(this.v1||this.v2))return this.metadata[12]}},{key:"nationalNumberPattern",value:function(){return this.v1||this.v2?this.metadata[1]:this.metadata[2]}},{key:"possibleLengths",value:function(){if(!this.v1)return this.metadata[this.v2?2:3]}},{key:"_getFormats",value:function(e){return e[this.v1?2:this.v2?3:4]}},{key:"formats",value:function(){var e=this,n=this._getFormats(this.metadata)||this._getFormats(this._getDefaultCountryMetadataForThisCallingCode())||[];return n.map(function(r){return new k2e(r,e)})}},{key:"nationalPrefix",value:function(){return this.metadata[this.v1?3:this.v2?4:5]}},{key:"_getNationalPrefixFormattingRule",value:function(e){return e[this.v1?4:this.v2?5:6]}},{key:"nationalPrefixFormattingRule",value:function(){return this._getNationalPrefixFormattingRule(this.metadata)||this._getNationalPrefixFormattingRule(this._getDefaultCountryMetadataForThisCallingCode())}},{key:"_nationalPrefixForParsing",value:function(){return this.metadata[this.v1?5:this.v2?6:7]}},{key:"nationalPrefixForParsing",value:function(){return this._nationalPrefixForParsing()||this.nationalPrefix()}},{key:"nationalPrefixTransformRule",value:function(){return this.metadata[this.v1?6:this.v2?7:8]}},{key:"_getNationalPrefixIsOptionalWhenFormatting",value:function(){return !!this.metadata[this.v1?7:this.v2?8:9]}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata)||this._getNationalPrefixIsOptionalWhenFormatting(this._getDefaultCountryMetadataForThisCallingCode())}},{key:"leadingDigits",value:function(){return this.metadata[this.v1?8:this.v2?9:10]}},{key:"types",value:function(){return this.metadata[this.v1?9:this.v2?10:11]}},{key:"hasTypes",value:function(){return this.types()&&this.types().length===0?false:!!this.types()}},{key:"type",value:function(e){if(this.hasTypes()&&LQ(this.types(),e))return new R2e(LQ(this.types(),e),this)}},{key:"ext",value:function(){return this.v1||this.v2?NQ:this.metadata[13]||NQ}}])})(),k2e=(function(){function t(i,e){rT(this,t),this._format=i,this.metadata=e;}return oT(t,[{key:"pattern",value:function(){return this._format[0]}},{key:"format",value:function(){return this._format[1]}},{key:"leadingDigitsPatterns",value:function(){return this._format[2]||[]}},{key:"nationalPrefixFormattingRule",value:function(){return this._format[3]||this.metadata.nationalPrefixFormattingRule()}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return !!this._format[4]||this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"nationalPrefixIsMandatoryWhenFormattingInNationalFormat",value:function(){return this.usesNationalPrefix()&&!this.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"usesNationalPrefix",value:function(){return !!(this.nationalPrefixFormattingRule()&&!O2e.test(this.nationalPrefixFormattingRule()))}},{key:"internationalFormat",value:function(){return this._format[5]||this.format()}}])})(),O2e=/^\(?\$1\)?$/,R2e=(function(){function t(i,e){rT(this,t),this.type=i,this.metadata=e;}return oT(t,[{key:"pattern",value:function(){return this.metadata.v1?this.type:this.type[0]}},{key:"possibleLengths",value:function(){if(!this.metadata.v1)return this.type[1]||this.metadata.possibleLengths()}}])})();function LQ(t,i){switch(i){case "FIXED_LINE":return t[0];case "MOBILE":return t[1];case "TOLL_FREE":return t[2];case "PREMIUM_RATE":return t[3];case "PERSONAL_NUMBER":return t[4];case "VOICEMAIL":return t[5];case "UAN":return t[6];case "PAGER":return t[7];case "VOIP":return t[8];case "SHARED_COST":return t[9]}}function GA(t){if(!t)throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!hc(t)||!hc(t.countries))throw new Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat(hc(t)?"an object of shape: { "+Object.keys(t).join(", ")+" }":"a "+A2e(t)+": "+t,"."))}var A2e=function(i){return wh(i)};function Hv(t,i){var e=new Mi(i);if(e.hasCountry(t))return e.selectNumberingPlan(t).countryCallingCode();throw new Error("Unknown country: ".concat(t))}function FQ(t,i){return i.countries.hasOwnProperty(t)}function BQ(t){var i=t.version;typeof i=="number"?(this.v1=i===1,this.v2=i===2,this.v3=i===3,this.v4=i===4):i?HA(i,I2e)===-1?this.v2=true:HA(i,M2e)===-1?this.v3=true:this.v4=true:this.v1=true;}function mp(t,i,e){return VQ(t,void 0,i,e)}function VQ(t,i,e,n){e&&(n=new Mi(n.metadata),n.selectNumberingPlan(e));var r=n.type(i),o=r&&r.possibleLengths()||n.possibleLengths();if(!o)return "IS_POSSIBLE";var s=t.length,l=o[0];return l===s?"IS_POSSIBLE":l>s?"TOO_SHORT":o[o.length-1]<s?"TOO_LONG":o.indexOf(s,1)>=0?"IS_POSSIBLE":"INVALID_LENGTH"}function jA(t,i,e){i===void 0&&(i={});var n=new Mi(e);if(i.v2){if(!t.countryCallingCode)throw new Error("Invalid phone number object passed");n.selectNumberingPlan(t.country||t.countryCallingCode);}else {if(!t.phone)return false;if(t.country){if(!n.hasCountry(t.country))throw new Error("Unknown country: ".concat(t.country));n.selectNumberingPlan(t.country);}else {if(!t.countryCallingCode)throw new Error("Invalid phone number object passed");n.selectNumberingPlan(t.countryCallingCode);}}if(n.possibleLengths())return YA(t.phone||t.nationalNumber,n);if(t.countryCallingCode&&n.isNonGeographicCallingCode(t.countryCallingCode))return true;throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.')}function YA(t,i){return mp(t,void 0,i)==="IS_POSSIBLE"}function zo(t,i){return t=t||"",new RegExp("^(?:"+i+")$").test(t)}function L2e(t,i){var e=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(e)return (e=e.call(t)).next.bind(e);if(Array.isArray(t)||(e=F2e(t))||i){e&&(t=e);var n=0;return function(){return n>=t.length?{done:true}:{done:false,value:t[n++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
323
323
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function F2e(t,i){if(t){if(typeof t=="string")return UQ(t,i);var e={}.toString.call(t).slice(8,-1);return e==="Object"&&t.constructor&&(e=t.constructor.name),e==="Map"||e==="Set"?Array.from(t):e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?UQ(t,i):void 0}}function UQ(t,i){(i==null||i>t.length)&&(i=t.length);for(var e=0,n=Array(i);e<i;e++)n[e]=t[e];return n}var B2e=["MOBILE","PREMIUM_RATE","TOLL_FREE","SHARED_COST","VOIP","PERSONAL_NUMBER","PAGER","UAN","VOICEMAIL"];function pp(t,i,e){if(i=i||{},!(!t.country&&!t.countryCallingCode)){var n=new Mi(e);n.selectNumberingPlan(t.country||t.countryCallingCode);var r=i.v2?t.nationalNumber:t.phone;if(zo(r,n.nationalNumberPattern())){if(WA(r,"FIXED_LINE",n))return n.type("MOBILE")&&n.type("MOBILE").pattern()===""||!n.type("MOBILE")||WA(r,"MOBILE",n)?"FIXED_LINE_OR_MOBILE":"FIXED_LINE";for(var o=L2e(B2e),a;!(a=o()).done;){var s=a.value;if(WA(r,s,n))return s}}}}function WA(t,i,e){var n=e.type(i);return !n||!n.pattern()||n.possibleLengths()&&n.possibleLengths().indexOf(t.length)<0?false:zo(t,n.pattern())}function KA(t,i,e){i=i||{};var n=new Mi(e);if(n.selectNumberingPlan(t.country||t.countryCallingCode),n.hasTypes())return pp(t,i,n.metadata)!==void 0;var r=i.v2?t.nationalNumber:t.phone;return zo(r,n.nationalNumberPattern())}var $2e=/^[A-Z]{2}$/;function QA(t){return $2e.test(t)}var V2e=false;function ZA(t,i){var e,n,r=new Mi(i);return QA(t)?(e=t,r.selectNumberingPlan(e),n=r.countryCallingCode()):(n=t,V2e),{country:e,callingCode:n}}function XA(t,i,e){var n=new Mi(e),r=n.getCountryCodesForCallingCode(t);return r?r.filter(function(o){return U2e(i,o,e)}):[]}function U2e(t,i,e){var n=new Mi(e);return n.selectNumberingPlan(i),n.numberingPlan.possibleLengths().indexOf(t.length)>=0}var zv=2,HQ=17,zQ=3,Go="0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9",H2e="-\u2010-\u2015\u2212\u30FC\uFF0D",z2e="\uFF0F/",G2e="\uFF0E.",q2e=" \xA0\xAD\u200B\u2060\u3000",j2e="()\uFF08\uFF09\uFF3B\uFF3D\\[\\]",Y2e="~\u2053\u223C\uFF5E",Th="".concat(H2e).concat(z2e).concat(G2e).concat(q2e).concat(j2e).concat(Y2e),Gv="+\uFF0B";var W2e=new RegExp("(["+Go+"])");function JA(t,i,e,n){if(i){var r=new Mi(n);r.selectNumberingPlan(i||e);var o=new RegExp(r.IDDPrefix());if(t.search(o)===0){t=t.slice(t.match(o)[0].length);var a=t.match(W2e);if(!(a&&a[1]!=null&&a[1].length>0&&a[1]==="0"))return t}}}function eN(t,i){if(t&&i.numberingPlan.nationalPrefixForParsing()){var e=new RegExp("^(?:"+i.numberingPlan.nationalPrefixForParsing()+")"),n=e.exec(t);if(n){var r,o,a=n.length-1,s=a>0&&n[a];if(i.nationalPrefixTransformRule()&&s)r=t.replace(e,i.nationalPrefixTransformRule()),a>1&&(o=n[1]);else {var l=n[0];r=t.slice(l.length),s&&(o=n[1]);}var c;if(s){var _=t.indexOf(n[1]),f=t.slice(0,_);f===i.numberingPlan.nationalPrefix()&&(c=i.numberingPlan.nationalPrefix());}else c=n[0];return {nationalNumber:r,nationalPrefix:c,carrierCode:o}}}return {nationalNumber:t}}function K2e(t,i){var e=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(e)return (e=e.call(t)).next.bind(e);if(Array.isArray(t)||(e=Q2e(t))||i){e&&(t=e);var n=0;return function(){return n>=t.length?{done:true}:{done:false,value:t[n++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
324
324
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Q2e(t,i){if(t){if(typeof t=="string")return GQ(t,i);var e={}.toString.call(t).slice(8,-1);return e==="Object"&&t.constructor&&(e=t.constructor.name),e==="Map"||e==="Set"?Array.from(t):e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?GQ(t,i):void 0}}function GQ(t,i){(i==null||i>t.length)&&(i=t.length);for(var e=0,n=Array(i);e<i;e++)n[e]=t[e];return n}function tN(t,i,e){for(var n=new Mi(e),r=K2e(i),o;!(o=r()).done;){var a=o.value;if(n.selectNumberingPlan(a),n.leadingDigits()){if(t&&t.search(n.leadingDigits())===0)return a}else if(pp({phone:t,country:a},void 0,n.metadata))return a}}function qv(t,i){var e=i.nationalNumber,n=i.metadata;var r=n.getCountryCodesForCallingCode(t);if(r)return r.length===1?r[0]:tN(e,r,n.metadata)}function xh(t,i,e){var n=eN(t,e),r=n.carrierCode,o=n.nationalNumber;if(o!==t){if(!X2e(t,o,e))return {nationalNumber:t};if(e.numberingPlan.possibleLengths()&&(i||(i=qv(e.numberingPlan.callingCode(),{nationalNumber:o,metadata:e})),!J2e(o,i,e)))return {nationalNumber:t}}return {nationalNumber:o,carrierCode:r}}function X2e(t,i,e){return !(zo(t,e.nationalNumberPattern())&&!zo(i,e.nationalNumberPattern()))}function J2e(t,i,e){switch(mp(t,i,e)){case "TOO_SHORT":case "INVALID_LENGTH":return false;default:return true}}function nN(t,i,e,n,r){if(!(e||n))return {number:t};var o=e?Hv(e,r):n;if(t.indexOf(o)===0){var a=new Mi(r);a.selectNumberingPlan(e||n);var s=t.slice(o.length),l=xh(s,void 0,a),c=l.nationalNumber,_=xh(t,void 0,a),f=_.nationalNumber;if(!zo(f,a.nationalNumberPattern())&&zo(c,a.nationalNumberPattern())||mp(f,void 0,a)==="TOO_LONG")return {countryCallingCode:o,number:s}}return {number:t}}function jv(t,i,e,n,r){if(!t)return {};var o;if(t[0]!=="+"){var a=JA(t,e,n,r);if(a&&a!==t)o=true,t="+"+a;else {if(e||n){var s=nN(t,i,e,n,r),l=s.countryCallingCode,c=s.number;if(l)return {countryCallingCodeSource:"FROM_NUMBER_WITHOUT_PLUS_SIGN",countryCallingCode:l,number:c}}return {number:t}}}if(t[1]==="0")return {};for(var _=new Mi(r),f=2;f-1<=zQ&&f<=t.length;){var g=t.slice(1,f);if(_.hasCallingCode(g))return _.selectNumberingPlan(g),{countryCallingCodeSource:o?"FROM_NUMBER_WITH_IDD":"FROM_NUMBER_WITH_PLUS_SIGN",countryCallingCode:g,number:t.slice(f)};f++;}return {}}function iN(t){return t.replace(new RegExp("[".concat(Th,"]+"),"g")," ").trim()}var ePe=/(\$\d)/;function rN(t,i,e){var n=e.useInternationalFormat,r=e.withNationalPrefix,s=t.replace(new RegExp(i.pattern()),n?i.internationalFormat():r&&i.nationalPrefixFormattingRule()?i.format().replace(ePe,i.nationalPrefixFormattingRule()):i.format());return n?iN(s):s}var tPe=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;function oN(t,i,e){var n=new Mi(e);if(n.selectNumberingPlan(t||i),n.defaultIDDPrefix())return n.defaultIDDPrefix();if(tPe.test(n.IDDPrefix()))return n.IDDPrefix()}var nPe=";ext=",Dh=function(i){return "([".concat(Go,"]{1,").concat(i,"})")};function Yv(t){var i="20",e="15",n="9",r="6",o="[ \xA0\\t,]*",a="[:\\.\uFF0E]?[ \xA0\\t,-]*",s="#?",l="(?:e?xt(?:ensi(?:o\u0301?|\xF3))?n?|\uFF45?\uFF58\uFF54\uFF4E?|\u0434\u043E\u0431|anexo)",c="(?:[x\uFF58#\uFF03~\uFF5E]|int|\uFF49\uFF4E\uFF54)",_="[- ]+",f="[ \xA0\\t]*",g="(?:,{2}|;)",v=nPe+Dh(i),E=o+l+a+Dh(i)+s,T=o+c+a+Dh(n)+s,M=_+Dh(r)+"#",k=f+g+a+Dh(e)+s,Y=f+"(?:,)+"+a+Dh(n)+s;return v+"|"+E+"|"+T+"|"+M+"|"+k+"|"+Y}var iPe="["+Go+"]{"+zv+"}",rPe="["+Gv+"]{0,1}(?:["+Th+"]*["+Go+"]){3,}["+Th+Go+"]*",oPe=new RegExp("^["+Gv+"]{0,1}(?:["+Th+"]*["+Go+"]){1,2}$","i"),aPe=rPe+"(?:"+Yv()+")?",sPe=new RegExp("^"+iPe+"$|^"+aPe+"$","i");function aN(t){return t.length>=zv&&sPe.test(t)}function qQ(t){return oPe.test(t)}function jQ(t){var i=t.number,e=t.ext;if(!i)return "";if(i[0]!=="+")throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');return "tel:".concat(i).concat(e?";ext="+e:"")}var YQ={formatExtension:function(i,e,n){return "".concat(i).concat(n.ext()).concat(e)}};function lN(t,i,e,n){e?e=dPe({},YQ,e):e=YQ;var r=new Mi(n);if(t.country&&t.country!=="001"){if(!r.hasCountry(t.country))throw new Error("Unknown country: ".concat(t.country));r.selectNumberingPlan(t.country);}else if(t.countryCallingCode)r.selectNumberingPlan(t.countryCallingCode);else return t.phone||"";var o=r.countryCallingCode(),a=e.v2?t.nationalNumber:t.phone,s;switch(i){case "NATIONAL":return a?(s=aT(a,t.carrierCode,"NATIONAL",r,e),sN(s,t.ext,r,e.formatExtension)):"";case "INTERNATIONAL":return a?(s=aT(a,null,"INTERNATIONAL",r,e),s="+".concat(o," ").concat(s),sN(s,t.ext,r,e.formatExtension)):"+".concat(o);case "E.164":return "+".concat(o).concat(a);case "RFC3966":return jQ({number:"+".concat(o).concat(a),ext:t.ext});case "IDD":if(!e.fromCountry)return;var l=cPe(a,t.carrierCode,o,e.fromCountry,r);return l?sN(l,t.ext,r,e.formatExtension):void 0;default:throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(i,'"'))}}function aT(t,i,e,n,r){var o=lPe(n.formats(),t);return o?rN(t,o,{useInternationalFormat:e==="INTERNATIONAL",withNationalPrefix:!(o.nationalPrefixIsOptionalWhenFormattingInNationalFormat()&&r&&r.nationalPrefix===false)}):t}function lPe(t,i){return uPe(t,function(e){if(e.leadingDigitsPatterns().length>0){var n=e.leadingDigitsPatterns()[e.leadingDigitsPatterns().length-1];if(i.search(n)!==0)return false}return zo(i,e.pattern())})}function sN(t,i,e,n){return i?n(t,i,e):t}function cPe(t,i,e,n,r){var o=Hv(n,r.metadata);if(o===e){var a=aT(t,i,"NATIONAL",r);return e==="1"?e+" "+a:a}var s=oN(n,void 0,r.metadata);if(s)return "".concat(s," ").concat(e," ").concat(aT(t,null,"INTERNATIONAL",r))}function dPe(){for(var t=1,i=arguments.length,e=new Array(i),n=0;n<i;n++)e[n]=arguments[n];for(;t<e.length;){if(e[t])for(var r in e[t])e[0][r]=e[t][r];t++;}return e[0]}function uPe(t,i){for(var e=0;e<t.length;){if(i(t[e]))return t[e];e++;}}function Wv(t){"@babel/helpers - typeof";return Wv=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Wv(t)}function WQ(t,i){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);i&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),e.push.apply(e,n);}return e}function KQ(t){for(var i=1;i<arguments.length;i++){var e=arguments[i]!=null?arguments[i]:{};i%2?WQ(Object(e),true).forEach(function(n){mPe(t,n,e[n]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):WQ(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n));});}return t}function mPe(t,i,e){return (i=ZQ(i))in t?Object.defineProperty(t,i,{value:e,enumerable:true,configurable:true,writable:true}):t[i]=e,t}function pPe(t,i){if(!(t instanceof i))throw new TypeError("Cannot call a class as a function")}function QQ(t,i){for(var e=0;e<i.length;e++){var n=i[e];n.enumerable=n.enumerable||false,n.configurable=true,"value"in n&&(n.writable=true),Object.defineProperty(t,ZQ(n.key),n);}}function _Pe(t,i,e){return i&&QQ(t.prototype,i),Object.defineProperty(t,"prototype",{writable:false}),t}function ZQ(t){var i=hPe(t,"string");return Wv(i)=="symbol"?i:i+""}function hPe(t,i){if(Wv(t)!="object"||!t)return t;var e=t[Symbol.toPrimitive];if(e!==void 0){var n=e.call(t,i);if(Wv(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return (String)(t)}var XQ=(function(){function t(i,e,n){if(pPe(this,t),!i)throw new TypeError("First argument is required");if(typeof i!="string")throw new TypeError("First argument must be a string");if(i[0]==="+"&&!e)throw new TypeError("`metadata` argument not passed");if(hc(e)&&hc(e.countries)){n=e;var r=i;if(!fPe.test(r))throw new Error('Invalid `number` argument passed: must consist of a "+" followed by digits');var o=jv(r,void 0,void 0,void 0,n),a=o.countryCallingCode,s=o.number;if(e=s,i=a,!e)throw new Error("Invalid `number` argument passed: too short")}if(!e)throw new TypeError("`nationalNumber` argument is required");if(typeof e!="string")throw new TypeError("`nationalNumber` argument must be a string");GA(n);var l=ZA(i,n),c=l.country,_=l.callingCode;this.country=c,this.countryCallingCode=_,this.nationalNumber=e,this.number="+"+this.countryCallingCode+this.nationalNumber,this.getMetadata=function(){return n};}return _Pe(t,[{key:"setExt",value:function(e){this.ext=e;}},{key:"getPossibleCountries",value:function(){return this.country?[this.country]:XA(this.countryCallingCode,this.nationalNumber,this.getMetadata())}},{key:"isPossible",value:function(){return jA(this,{v2:true},this.getMetadata())}},{key:"isValid",value:function(){return KA(this,{v2:true},this.getMetadata())}},{key:"isNonGeographic",value:function(){var e=new Mi(this.getMetadata());return e.isNonGeographicCallingCode(this.countryCallingCode)}},{key:"isEqual",value:function(e){return this.number===e.number&&this.ext===e.ext}},{key:"getType",value:function(){return pp(this,{v2:true},this.getMetadata())}},{key:"format",value:function(e,n){return lN(this,e,n?KQ(KQ({},n),{},{v2:true}):{v2:true},this.getMetadata())}},{key:"formatNational",value:function(e){return this.format("NATIONAL",e)}},{key:"formatInternational",value:function(e){return this.format("INTERNATIONAL",e)}},{key:"getURI",value:function(e){return this.format("RFC3966",e)}}])})();var fPe=/^\+\d+$/;function Ih(t){"@babel/helpers - typeof";return Ih=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Ih(t)}function gPe(t,i,e){return Object.defineProperty(t,"prototype",{writable:false}),t}function yPe(t,i){if(!(t instanceof i))throw new TypeError("Cannot call a class as a function")}function EPe(t,i,e){return i=Qv(i),CPe(t,dN()?Reflect.construct(i,e||[],Qv(t).constructor):i.apply(t,e))}function CPe(t,i){if(i&&(Ih(i)=="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return SPe(t)}function SPe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wPe(t,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(i&&i.prototype,{constructor:{value:t,writable:true,configurable:true}}),Object.defineProperty(t,"prototype",{writable:false}),i&&Kv(t,i);}function cN(t){var i=typeof Map=="function"?new Map:void 0;return cN=function(n){if(n===null||!xPe(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(i!==void 0){if(i.has(n))return i.get(n);i.set(n,r);}function r(){return TPe(n,arguments,Qv(this).constructor)}return r.prototype=Object.create(n.prototype,{constructor:{value:r,enumerable:false,writable:true,configurable:true}}),Kv(r,n)},cN(t)}function TPe(t,i,e){if(dN())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,i);var r=new(t.bind.apply(t,n));return e&&Kv(r,e.prototype),r}function dN(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch{}return (dN=function(){return !!t})()}function xPe(t){try{return Function.toString.call(t).indexOf("[native code]")!==-1}catch{return typeof t=="function"}}function Kv(t,i){return Kv=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},Kv(t,i)}function Qv(t){return Qv=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Qv(t)}var Ps=(function(t){function i(e){var n;return yPe(this,i),n=EPe(this,i,[e]),Object.setPrototypeOf(n,i.prototype),n.name=n.constructor.name,n}return wPe(i,t),gPe(i)})(cN(Error));var eZ=new RegExp("(?:"+Yv()+")$","i");function uN(t){var i=t.search(eZ);if(i<0)return {};for(var e=t.slice(0,i),n=t.match(eZ),r=1;r<n.length;){if(n[r])return {number:e,ext:n[r]};r++;}}var DPe={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"};function tZ(t){return DPe[t]}function IPe(t,i){var e=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(e)return (e=e.call(t)).next.bind(e);if(Array.isArray(t)||(e=MPe(t))||i){e&&(t=e);var n=0;return function(){return n>=t.length?{done:true}:{done:false,value:t[n++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
325
325
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function MPe(t,i){if(t){if(typeof t=="string")return nZ(t,i);var e={}.toString.call(t).slice(8,-1);return e==="Object"&&t.constructor&&(e=t.constructor.name),e==="Map"||e==="Set"?Array.from(t):e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?nZ(t,i):void 0}}function nZ(t,i){(i==null||i>t.length)&&(i=t.length);for(var e=0,n=Array(i);e<i;e++)n[e]=t[e];return n}function sT(t){for(var i="",e=IPe(t.split("")),n;!(n=e()).done;){var r=n.value;i+=kPe(r,i)||"";}return i}function kPe(t,i,e){if(t==="+"){if(i){return}return "+"}return tZ(t)}var pN="+",OPe="[\\-\\.\\(\\)]?",iZ="(["+Go+"]|"+OPe+")",RPe="^\\"+pN+iZ+"*["+Go+"]"+iZ+"*$",APe=new RegExp(RPe,"g"),mN=Go,NPe="["+mN+"]+((\\-)*["+mN+"])*",PPe="a-zA-Z",LPe="["+PPe+"]+((\\-)*["+mN+"])*",FPe="^("+NPe+"\\.)*"+LPe+"\\.?$",BPe=new RegExp(FPe,"g"),_N="tel:",lT=";phone-context=",rZ=";isub=";function hN(t){var i=t.indexOf(lT);if(i<0)return null;var e=i+lT.length;if(e>=t.length)return "";var n=t.indexOf(";",e);return n>=0?t.substring(e,n):t.substring(e)}function oZ(t){return t===null?true:t.length===0?false:APe.test(t)||BPe.test(t)}function fN(t,i){var e=i.extractFormattedPhoneNumber,n=hN(t);if(!oZ(n))throw new Ps("NOT_A_NUMBER");var r;if(n===null)r=e(t)||"";else {r="",n.charAt(0)===pN&&(r+=n);var o=t.indexOf(_N),a;o>=0?a=o+_N.length:a=0;var s=t.indexOf(lT);r+=t.substring(a,s);}var l=r.indexOf(rZ);if(l>0&&(r=r.substring(0,l)),r!=="")return r}var $Pe=250,VPe=new RegExp("["+Gv+Go+"]"),UPe=new RegExp("[^"+Go+"#]+$"),HPe=false;function gN(t,i,e){i=i||{};var n=new Mi(e);if(i.defaultCountry&&!n.hasCountry(i.defaultCountry))throw i.v2?new Ps("INVALID_COUNTRY"):new Error("Unknown country: ".concat(i.defaultCountry));var r=GPe(t,i.v2,i.extract),o=r.number,a=r.ext,s=r.error;if(!o){if(i.v2)throw s==="TOO_SHORT"?new Ps("TOO_SHORT"):new Ps("NOT_A_NUMBER");return {}}var l=jPe(o,i.defaultCountry,i.defaultCallingCode,n),c=l.country,_=l.nationalNumber,f=l.countryCallingCode,g=l.countryCallingCodeSource,v=l.carrierCode;if(!n.hasSelectedNumberingPlan()){if(i.v2)throw new Ps("INVALID_COUNTRY");return {}}if(!_||_.length<zv){if(i.v2)throw new Ps("TOO_SHORT");return {}}if(_.length>HQ){if(i.v2)throw new Ps("TOO_LONG");return {}}if(i.v2){var E=new XQ(f,_,n.metadata);return c&&(E.country=c),v&&(E.carrierCode=v),a&&(E.ext=a),E.__countryCallingCodeSource=g,E}var T=(i.extended?n.hasSelectedNumberingPlan():c)?zo(_,n.nationalNumberPattern()):false;return i.extended?{country:c,countryCallingCode:f,carrierCode:v,valid:T,possible:T?true:!!(i.extended===true&&n.possibleLengths()&&YA(_,n)),phone:_,ext:a}:T?qPe(c,_,a):{}}function zPe(t,i,e){if(t){if(t.length>$Pe){if(e)throw new Ps("TOO_LONG");return}if(i===false)return t;var n=t.search(VPe);if(!(n<0))return t.slice(n).replace(UPe,"")}}function GPe(t,i,e){var n=fN(t,{extractFormattedPhoneNumber:function(a){return zPe(a,e,i)}});if(!n)return {};if(!aN(n))return qQ(n)?{error:"TOO_SHORT"}:{};var r=uN(n);return r.ext?r:{number:n}}function qPe(t,i,e){var n={country:t,phone:i};return e&&(n.ext=e),n}function jPe(t,i,e,n){var r=jv(sT(t),void 0,i,e,n.metadata),o=r.countryCallingCodeSource,a=r.countryCallingCode,s=r.number,l;if(a)n.selectNumberingPlan(a);else if(s&&(i||e))i?(l=i,n.selectNumberingPlan(i),a=n.numberingPlan.callingCode()):(n.selectNumberingPlan(e),a=e,HPe);else return {};if(!s)return {countryCallingCodeSource:o,countryCallingCode:a};var c=xh(sT(s),void 0,n),_=c.nationalNumber,f=c.carrierCode,g=qv(a,{nationalNumber:_,metadata:n});return g&&(l=g,g==="001"||n.selectNumberingPlan(l)),{country:l,countryCallingCode:a,countryCallingCodeSource:o,nationalNumber:_,carrierCode:f}}function Zv(t){"@babel/helpers - typeof";return Zv=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Zv(t)}function aZ(t,i){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);i&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),e.push.apply(e,n);}return e}function sZ(t){for(var i=1;i<arguments.length;i++){var e=arguments[i]!=null?arguments[i]:{};i%2?aZ(Object(e),true).forEach(function(n){YPe(t,n,e[n]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):aZ(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n));});}return t}function YPe(t,i,e){return (i=WPe(i))in t?Object.defineProperty(t,i,{value:e,enumerable:true,configurable:true,writable:true}):t[i]=e,t}function WPe(t){var i=KPe(t,"string");return Zv(i)=="symbol"?i:i+""}function KPe(t,i){if(Zv(t)!="object"||!t)return t;var e=t[Symbol.toPrimitive];if(e!==void 0){var n=e.call(t,i);if(Zv(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return (i==="string"?String:Number)(t)}function bN(t,i,e){return gN(t,sZ(sZ({},i),{},{v2:true}),e)}function Xv(t){"@babel/helpers - typeof";return Xv=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Xv(t)}function lZ(t,i){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);i&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),e.push.apply(e,n);}return e}function QPe(t){for(var i=1;i<arguments.length;i++){var e=arguments[i]!=null?arguments[i]:{};i%2?lZ(Object(e),true).forEach(function(n){ZPe(t,n,e[n]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):lZ(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n));});}return t}function ZPe(t,i,e){return (i=XPe(i))in t?Object.defineProperty(t,i,{value:e,enumerable:true,configurable:true,writable:true}):t[i]=e,t}function XPe(t){var i=JPe(t,"string");return Xv(i)=="symbol"?i:i+""}function JPe(t,i){if(Xv(t)!="object"||!t)return t;var e=t[Symbol.toPrimitive];if(e!==void 0){var n=e.call(t,i);if(Xv(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return (i==="string"?String:Number)(t)}function eLe(t,i){return rLe(t)||iLe(t,i)||nLe(t,i)||tLe()}function tLe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
@@ -8380,7 +8380,7 @@ input.mat-mdc-chip-input {
|
|
|
8380
8380
|
}
|
|
8381
8381
|
`],encapsulation:2})}return t})(),jx=(()=>{class t extends Sd{static \u0275fac=(()=>{let e;return function(r){return (e||(e=V(t)))(r||t)}})();static \u0275cmp=w({type:t,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],features:[he([{provide:Dl,useExisting:t},{provide:Sd,useExisting:t}]),A],ngContentSelectors:Yx,decls:1,vars:0,template:function(n,r){n&1&&(ue(),q(0));},encapsulation:2})}return t})(),sL=(()=>{class t extends Ll{get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(e){this._fixedInViewport=vi(e);}_fixedInViewport=false;get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(e){this._fixedTopGap=Ar(e);}_fixedTopGap=0;get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(e){this._fixedBottomGap=Ar(e);}_fixedBottomGap=0;static \u0275fac=(()=>{let e;return function(r){return (e||(e=V(t)))(r||t)}})();static \u0275cmp=w({type:t,selectors:[["mat-sidenav"]],hostAttrs:[1,"mat-drawer","mat-sidenav"],hostVars:16,hostBindings:function(n,r){n&2&&($("tabIndex",r.mode!=="side"?"-1":null)("align",null),Rt("top",r.fixedInViewport?r.fixedTopGap:null,"px")("bottom",r.fixedInViewport?r.fixedBottomGap:null,"px"),z("mat-drawer-end",r.position==="end")("mat-drawer-over",r.mode==="over")("mat-drawer-push",r.mode==="push")("mat-drawer-side",r.mode==="side")("mat-sidenav-fixed",r.fixedInViewport));},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[he([{provide:Ll,useExisting:t}]),A],ngContentSelectors:Yx,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(n,r){n&1&&(ue(),d(0,"div",1,0),q(2),u());},dependencies:[Dl],encapsulation:2})}return t})(),aie=(()=>{class t extends Ap{_allDrawers=void 0;_content=void 0;static \u0275fac=(()=>{let e;return function(r){return (e||(e=V(t)))(r||t)}})();static \u0275cmp=w({type:t,selectors:[["mat-sidenav-container"]],contentQueries:function(n,r,o){if(n&1&&dn(o,jx,5)(o,sL,5),n&2){let a;le(a=ce())&&(r._content=a.first),le(a=ce())&&(r._allDrawers=a);}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(n,r){n&2&&z("mat-drawer-container-explicit-backdrop",r._backdropOverride);},exportAs:["matSidenavContainer"],features:[he([{provide:aL,useExisting:t},{provide:Ap,useExisting:t}]),A],ngContentSelectors:oie,decls:4,vars:2,consts:[[1,"mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(n,r){n&1&&(ue(rie),D(0,V9e,1,2,"div",0),q(1),q(2,1),D(3,U9e,2,0,"mat-sidenav-content")),n&2&&(I(r.hasBackdrop?0:-1),m(3),I(r._content?-1:3));},dependencies:[jx],styles:[H9e],encapsulation:2})}return t})(),Bu=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=_e({type:t});static \u0275inj=pe({imports:[Br,It,Br]})}return t})();var G9e=["*"],q9e=()=>({exact:true}),j9e=t=>({"mobile-menu-item":true,highlighted:t}),Y9e=t=>({end:true,opened:t});function W9e(t,i){t&1&&O(0,"span",2);}function K9e(t,i){if(t&1&&(d(0,"mat-icon"),h(1),u()),t&2){let e=C(2);m(),L(e.icon());}}function Q9e(t,i){if(t&1&&(O(0,"span",3),B(1,"translate")),t&2){let e=C(2);b("innerHTML",U(1,1,e.label()),bl);}}function Z9e(t,i){if(t&1&&O(0,"span",3),t&2){let e=C(2);b("innerHTML",e.label(),bl);}}function X9e(t,i){if(t&1&&(d(0,"button",1),fe(1,W9e,1,0,"span",2,gi),D(3,K9e,2,1,"mat-icon"),D(4,Q9e,2,3,"span",3)(5,Z9e,1,1,"span",3),u()),t&2){let e=C();b("routerLink",e.routerLink())("routerLinkActiveOptions",Gn(5,q9e)),$("data-cy",e.dataCy()),m(),ge(e.indentArray),m(2),I(e.icon()?3:-1),m(),I(e.translate()&&e.label().trim()!==""?4:5);}}function J9e(t,i){t&1&&O(0,"span",2);}function e7e(t,i){if(t&1&&(d(0,"mat-icon"),h(1),u()),t&2){let e=C(2);m(),L(e.icon());}}function t7e(t,i){if(t&1&&(O(0,"span",3),B(1,"translate")),t&2){let e=C(2);b("innerHTML",U(1,1,e.label()),bl);}}function n7e(t,i){if(t&1&&O(0,"span",3),t&2){let e=C(2);b("innerHTML",e.label(),bl);}}function i7e(t,i){if(t&1){let e=Te();d(0,"button",4),x("click",function(){Z(e);let r=Ve(9);return X(r.toggle())}),fe(1,J9e,1,0,"span",2,gi),D(3,e7e,2,1,"mat-icon"),D(4,t7e,2,3,"span",3)(5,n7e,1,1,"span",3),d(6,"mat-icon"),h(7,"arrow_drop_down"),u()(),d(8,"mat-expansion-panel",5,0),q(10),u();}if(t&2){let e=Ve(9),n=C();gt(Jt(8,j9e,n.highlighted()===true)),$("data-cy",n.dataCy()),m(),ge(n.indentArray),m(2),I(n.icon()?3:-1),m(),I(n.translate()&&n.label().trim()!==""?4:5),m(2),gt(Jt(10,Y9e,e.expanded)),m(2),b("expanded",n.opened());}}var lie=(()=>{class t{constructor(){this.routerLink=y(),this.routerLinkActiveOptions=y(),this.dataCy=y(),this.baseRouteForActiveMenu=y(),this.label=y(""),this.icon=y(),this.level=y(0),this.highlighted=y(),this.opened=y(),this.children=y(),this.customNgClass=y(),this.translate=y(true),this._highlighted=this.highlighted(),this.matExpansionPanel=Qe(Dp),this._isExpanded=W(false),this._isHighlighted=de(()=>this.highlighted()),this._isHighlighted2=de(()=>!this.highlighted()&&this._isExpanded()),this.cd=p(ve);}get indentArray(){return Array(this.level()).fill(0)}ngAfterViewInit(){this.matExpansionPanel()?.afterCollapse.subscribe(()=>{this._highlighted=false,this._isExpanded.set(false),this.cd.markForCheck();}),this.matExpansionPanel()?.afterExpand.subscribe(()=>{this._isExpanded.set(true),this.cd.markForCheck();});}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275cmp=w({type:t,selectors:[["onemrva-mat-navigation-item"]],viewQuery:function(n,r){n&1&&dt(r.matExpansionPanel,Dp,5),n&2&&Ge();},hostVars:4,hostBindings:function(n,r){n&2&&z("highlighted",r._isHighlighted())("highlighted2",r._isHighlighted2());},inputs:{routerLink:[1,"routerLink"],routerLinkActiveOptions:[1,"routerLinkActiveOptions"],dataCy:[1,"dataCy"],baseRouteForActiveMenu:[1,"baseRouteForActiveMenu"],label:[1,"label"],icon:[1,"icon"],level:[1,"level"],highlighted:[1,"highlighted"],opened:[1,"opened"],children:[1,"children"],customNgClass:[1,"customNgClass"],translate:[1,"translate"]},ngContentSelectors:G9e,decls:2,vars:1,consts:[["subMenu",""],["routerLinkActive","active",1,"mobile-menu-item",3,"routerLink","routerLinkActiveOptions"],[1,"indent-spacer"],[3,"innerHTML"],[3,"click"],[3,"expanded"]],template:function(n,r){n&1&&(ue(),D(0,X9e,6,6,"button",1)(1,i7e,11,12)),n&2&&I(r.routerLink()?0:1);},dependencies:[We,Zm,$o,Dp,ot],styles:['[_nghost-%COMP%]{display:flex;flex-direction:column;width:var(--sideNavWidthFull)}.highlighted2[_nghost-%COMP%] .mobile-menu-item[_ngcontent-%COMP%]{transition:border-left .4s ease;border-left:.5rem solid var(--mat-sys-tertiary-container)}.highlighted[_nghost-%COMP%] .mobile-menu-item[_ngcontent-%COMP%]{transition:border-left .4s ease;border-left:.5rem solid var(--mat-sys-tertiary)}[_nghost-%COMP%] .mobile-menu-item[_ngcontent-%COMP%]{overflow:hidden;display:flex;width:100%;background:var(--mat-sys-background);padding:var(--double-spacer) var(--quad-spacer);border:none;box-shadow:none;align-items:center;text-align:left;cursor:pointer;font:var(--mat-sys-body-medium);text-decoration:none;color:var(--mat-sys-on-surface);border-left:.5rem solid transparent}[_nghost-%COMP%] .mobile-menu-item.active[_ngcontent-%COMP%]{border-left:.5rem solid var(--mat-sys-tertiary);font-weight:600}[_nghost-%COMP%] .mobile-menu-item.active[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-variation-settings:"FILL" 1,"wght" 600,"GRAD" 0,"opsz" 24}[_nghost-%COMP%] .mobile-menu-item.active[_ngcontent-%COMP%]{background:var(--mat-sys-surface-container-low)}[_nghost-%COMP%] .mobile-menu-item[_ngcontent-%COMP%]:hover, [_nghost-%COMP%] .mobile-menu-item[_ngcontent-%COMP%]:focus{background:var(--mat-sys-surface-container-low)}[_nghost-%COMP%] .mobile-menu-item[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-left:-4px;margin-right:var(--spacer);transition:transform .3s ease}[_nghost-%COMP%] .mobile-menu-item[_ngcontent-%COMP%] mat-icon.opened[_ngcontent-%COMP%]{transform:rotate(180deg)}[_nghost-%COMP%] .mobile-menu-item[_ngcontent-%COMP%] mat-icon.end[_ngcontent-%COMP%]{margin-left:auto}[_nghost-%COMP%] .mobile-menu-item[_ngcontent-%COMP%] .indent-spacer[_ngcontent-%COMP%]{width:var(--double-spacer);flex-shrink:0}']});}}return t})();var r7e=()=>[];function o7e(t,i){if(t&1&&O(0,"onemrva-mat-navigation-tree",1),t&2){let e=C().$implicit,n=C();b("items",e.children||Gn(2,r7e))("level",n.level()+1);}}function a7e(t,i){if(t&1&&(d(0,"onemrva-mat-navigation-item",0),D(1,o7e,1,3,"onemrva-mat-navigation-tree",1),u()),t&2){let e=i.$implicit,n=C();b("label",e.label)("icon",e.icon)("routerLink",e.routerLink)("level",n.level())("dataCy",e.dataCy)("highlighted",e.highlighted)("children",e.children)("opened",e.opened)("translate",n.translate()),m(),I(e.children?.length?1:-1);}}var cie=(()=>{class t{constructor(){this.items=y([]),this.level=y(0),this.translate=y(true);}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275cmp=w({type:t,selectors:[["onemrva-mat-navigation-tree"]],inputs:{items:[1,"items"],level:[1,"level"],translate:[1,"translate"]},decls:2,vars:0,consts:[[3,"label","icon","routerLink","level","dataCy","highlighted","children","opened","translate"],[3,"items","level"]],template:function(n,r){n&1&&fe(0,a7e,2,10,"onemrva-mat-navigation-item",0,qt),n&2&&ge(r.items());},dependencies:[t,lie],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;width:100%;overflow-x:hidden}"]});}}return t})();var Wx=(()=>{class t{constructor(){this.items=y([]),this.level=y(0),this.translate=y(true),this.router=p(fr),this.router.events.pipe(lt(e=>e instanceof yo)).subscribe(e=>{this.updateNavigationState(this.items(),e.urlAfterRedirects);});}updateNavigationState(e,n){this.resetNavigationStates(e);let r=this.findActiveItemPath(e,n,[]);if(r.length>0){r.length>0&&(r[0].highlighted=true);for(let o=0;o<r.length-1;o++)r[o].opened=true;}}resetNavigationStates(e){for(let n of e)n.highlighted=false,n.opened=false,n.children&&this.resetNavigationStates(n.children);}findActiveItemPath(e,n,r){for(let o of e){let a=[...r,o];if(o.routerLink&&o.routerLink===n)return a;if(o.children){let s=this.findActiveItemPath(o.children,n,a);if(s.length>0)return s}}return []}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275cmp=w({type:t,selectors:[["onemrva-mat-navigation"]],inputs:{items:[1,"items"],level:[1,"level"],translate:[1,"translate"]},decls:1,vars:2,consts:[[3,"items","level"]],template:function(n,r){n&1&&O(0,"onemrva-mat-navigation-tree",0),n&2&&b("items",r.items())("level",r.level()+1);},dependencies:[cie],styles:[`onemrva-mat-navigation{display:flex;width:100%;max-height:calc(100vh - var(--layout-header-height));overflow-y:auto;padding:var(--double-spacer) 0}onemrva-mat-navigation .mat-expansion-panel-body{padding:0}onemrva-mat-navigation .mobile-menu-item{display:flex;width:100%;background:var(--mat-sys-background);padding:var(--double-spacer);border:none;box-shadow:none;align-items:center;text-align:left;font:var(--mat-sys-body-large)}onemrva-mat-navigation .mobile-menu-item:active button,onemrva-mat-navigation .mobile-menu-item.active button{border-left:4px solid var(--mat-sys-tertiary)}onemrva-mat-navigation .mobile-menu-item:hover,onemrva-mat-navigation .mobile-menu-item:focus{background:var(--mat-sys-surface-container-low)}onemrva-mat-navigation .mobile-menu-item mat-icon{margin-left:var(--half-spacer)}onemrva-mat-navigation .mobile-menu-item mat-icon:first-child{margin-right:var(--spacer)}onemrva-mat-navigation .mobile-menu-item mat-icon.end{margin-left:auto}
|
|
8382
8382
|
`],encapsulation:2});}}return t})();var Of=(()=>{class t{constructor(){this.originalItems=[],this.items=W([]),this.isCollapsed=W(false);}setOriginal(e){this.originalItems=e??[],this.items.set(this.originalItems);}updateItems(e){this.items.set(e??[]),this.items();}reset(){this.items.set(this.originalItems);}toggleIsCollapsed(){this.isCollapsed.set(!this.isCollapsed());}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275prov=Re({token:t,factory:t.\u0275fac,providedIn:"root"});}}return t})();var s7e=["*"];function l7e(t,i){if(t&1&&O(0,"onemrva-mat-navigation",2),t&2){let e=C();b("items",e.leftSidenavService.items());}}var zy=(()=>{class t{constructor(){this.items=oo([]),this.leftSidenavService=p(Of),this.isHidden=de(()=>this.leftSidenavService.items().length===0),this.isCollapsed=oo(false),bt(()=>{this.leftSidenavService.setOriginal(this.items());}),bt(()=>{this.leftSidenavService.isCollapsed.set(this.isCollapsed());});}toggleCollapse(){this.isCollapsed.set(!this.isCollapsed());}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275cmp=w({type:t,selectors:[["onemrva-layout-left-sidenav"]],hostVars:4,hostBindings:function(n,r){n&2&&z("hidden",r.isHidden())("collapsed",r.isCollapsed());},inputs:{items:[1,"items"],isCollapsed:[1,"isCollapsed"]},outputs:{items:"itemsChange",isCollapsed:"isCollapsedChange"},ngContentSelectors:s7e,decls:6,vars:3,consts:[[1,"toggle-container"],["mat-icon-button","",1,"onemrva-icon-button",3,"click"],[3,"items"]],template:function(n,r){n&1&&(ue(),d(0,"div",0)(1,"button",1),x("click",function(){return r.toggleCollapse()}),d(2,"mat-icon"),h(3),u()()(),D(4,l7e,1,1,"onemrva-mat-navigation",2),q(5)),n&2&&(m(),$("aria-label",r.isCollapsed()?"Expand navigation":"Collapse navigation"),m(2),L(r.isCollapsed()?"menu":"chevron_left"),m(),I(!r.isCollapsed()&&r.leftSidenavService.items().length>0?4:-1));},dependencies:[Wx,Mn,We],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;overflow-y:hidden;min-height:calc(100vh - var(--layout-header-height));max-height:calc(100vh - var(--layout-header-height));width:var(--sideNavWidth);transition:width .3s ease}[_nghost-%COMP%] .toggle-container[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;padding:8px}.collapsed[_nghost-%COMP%]{width:var(--sideNavWidthCollapsed)}.collapsed[_nghost-%COMP%] .toggle-container[_ngcontent-%COMP%]{justify-content:center}.collapsed[_nghost-%COMP%] onemrva-mat-navigation-item .mobile-menu-item{padding:16px;justify-content:center}.collapsed[_nghost-%COMP%] onemrva-mat-navigation-item .mobile-menu-item span, .collapsed[_nghost-%COMP%] onemrva-mat-navigation-item .mobile-menu-item .indent-spacer, .collapsed[_nghost-%COMP%] onemrva-mat-navigation-item .mobile-menu-item mat-icon.end{display:none}.collapsed[_nghost-%COMP%] onemrva-mat-navigation-item .mobile-menu-item mat-icon:first-of-type{margin:0}.collapsed[_nghost-%COMP%] onemrva-mat-navigation-item mat-expansion-panel{display:none}"]});}}return t})();function d7e(t,i){if(t&1&&h(0),t&2){let e=C();j(" ",e.label(),`
|
|
8383
|
-
`);}}var Kx=(()=>{class t{constructor(){this.cd=p(ve),this.router=p(fr),this.customNgClass=y(),this.template=Qe(Pe),this.routerLink=y(),this.routerLinkActiveOptions=y(),this.dataCy=y(),this.label=y(),this.icon=y(),this.subroutes=Po();}ngAfterViewInit(){this.label()===void 0&&console.error("ONEM/RVA DESIGN SYSTEM ERROR : Since 20.1.0 , you must add a label attribute to the onemrva-layout-route",this.routerLink()),this.cd.detectChanges();}hasSubroutes(){let e=this.subroutes();return e!==void 0&&e.length>0}hasActiveSubroute(){return this.subroutes()?.some(e=>this.isActiveRoute(e))??false}isActiveRoute(e){let n=e.routerLink();if(n){let r=Array.isArray(n)?this.router.createUrlTree(n):this.router.createUrlTree([n]);return this.router.isActive(r,{paths:"exact",queryParams:"exact",fragment:"ignored",matrixParams:"ignored"})}else return false}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275cmp=w({type:t,selectors:[["onemrva-layout-subroute"]],contentQueries:function(n,r,o){n&1&&Di(o,r.subroutes,t,4),n&2&&Ge();},viewQuery:function(n,r){n&1&&dt(r.template,Pe,5),n&2&&Ge();},inputs:{customNgClass:[1,"customNgClass"],routerLink:[1,"routerLink"],routerLinkActiveOptions:[1,"routerLinkActiveOptions"],dataCy:[1,"dataCy"],label:[1,"label"],icon:[1,"icon"]},decls:1,vars:0,template:function(n,r){n&1&&si(0,d7e,1,1,"ng-template");},encapsulation:2});}}return t})();var u7e=["navTpl"],die=(t,i)=>i.routerLink();function m7e(t,i){if(t&1&&h(0),t&2){let e=C(2);j(" ",e.label()," ");}}function p7e(t,i){t&1&&yt(0);}function _7e(t,i){t&1&&me(0,p7e,1,0,"ng-container",6),t&2&&b("ngTemplateOutlet",i);}function h7e(t,i){if(t&1&&(d(0,"button",5),D(1,_7e,1,1,"ng-container"),u()),t&2){let e,n=C().$implicit;b("routerLink",n.routerLink()),$("data-cy",n.dataCy()),m(),I((e=n.template())?1:-1,e);}}function f7e(t,i){t&1&&yt(0);}function g7e(t,i){t&1&&me(0,f7e,1,0,"ng-container",6),t&2&&b("ngTemplateOutlet",i);}function b7e(t,i){t&1&&yt(0);}function v7e(t,i){t&1&&me(0,b7e,1,0,"ng-container",6),t&2&&b("ngTemplateOutlet",i);}function y7e(t,i){if(t&1&&(d(0,"button",5),D(1,v7e,1,1,"ng-container"),u()),t&2){let e,n=i.$implicit;b("routerLink",n.routerLink()),m(),I((e=n.template())?1:-1,e);}}function E7e(t,i){if(t&1&&(d(0,"button",7),D(1,g7e,1,1,"ng-container"),u(),d(2,"mat-menu",null,2),fe(4,y7e,2,2,"button",5,die),u()),t&2){let e,n=Ve(3),r=C().$implicit;z("active",r.hasActiveSubroute()),b("matMenuTriggerFor",n),$("data-cy",r.dataCy()),m(),I((e=r.template())?1:-1,e),m(3),ge(r.subroutes());}}function C7e(t,i){if(t&1&&(D(0,h7e,2,3,"button",5),D(1,E7e,6,5)),t&2){let e=i.$implicit;I(e.hasSubroutes()?-1:0),m(),I(e.hasSubroutes()?1:-1);}}function S7e(t,i){if(t&1&&(d(0,"span",3)(1,"span"),h(2),u(),d(3,"mat-icon"),h(4,"expand_more"),u()(),d(5,"mat-menu",4,1),fe(7,C7e,2,2,null,null,die),u()),t&2){let e=Ve(6),n=C(2);b("matMenuTriggerFor",e),m(2),j(" ",n.label()," "),m(5),ge(n.subroutes());}}function w7e(t,i){if(t&1&&D(0,m7e,1,1)(1,S7e,9,2),t&2){let e=C();I(e.hasSubroutes()?e.hasSubroutes()?1:-1:0);}}var $u=(()=>{class t{constructor(){this.customNgClass=y(),this.template=Qe("navTpl"),this.routerLink=y(),this.routerLinkActiveOptions=y(),this.dataCy=y(),this.baseRouteForActiveMenu=y(),this.label=y(),this.icon=y(),this.subroutes=Po(),this.cd=p(ve),this.router=p(fr);}hasSubroutes(){let e=this.subroutes();return e!==void 0&&e.length>0}ngAfterViewInit(){this.cd.detectChanges(),this.label()===void 0&&console.error("ONEM/RVA DESIGN SYSTEM ERROR : Since 20.1.0 , you must add a label attribute to the onemrva-layout-route",this.routerLink());}isRouteActive(){let e=this.routerLink();if(e==null){let n=this.baseRouteForActiveMenu();if(n){let r=this.router.url,o=new RegExp(n+"/").test(r),a=new RegExp(n+"$").test(r);return o||a}}return false}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275cmp=w({type:t,selectors:[["onemrva-layout-route"]],contentQueries:function(n,r,o){n&1&&Di(o,r.subroutes,Kx,4),n&2&&Ge();},viewQuery:function(n,r){n&1&&dt(r.template,u7e,5),n&2&&Ge();},inputs:{customNgClass:[1,"customNgClass"],routerLink:[1,"routerLink"],routerLinkActiveOptions:[1,"routerLinkActiveOptions"],dataCy:[1,"dataCy"],baseRouteForActiveMenu:[1,"baseRouteForActiveMenu"],label:[1,"label"],icon:[1,"icon"]},decls:2,vars:0,consts:[["navTpl",""],["menu",""],["submenu",""],["role","button",1,"subroutes-menu-trigger",3,"matMenuTriggerFor"],[1,"layout-menu-offset"],["mat-menu-item","","routerLinkActive","active",3,"routerLink"],[4,"ngTemplateOutlet"],["mat-menu-item","","aria-haspopup","true",3,"matMenuTriggerFor"]],template:function(n,r){n&1&&me(0,w7e,2,1,"ng-template",null,0,ki);},dependencies:[We,mo,ka,$o,Zr,Zm,pi],styles:[".subroutes-menu-trigger[_ngcontent-%COMP%]{display:flex;align-items:center}"]});}}return t})();var T7e=["*"];function x7e(t,i){t&1&&q(0);}var Rf=(()=>{class t{constructor(){this.customNgClass=y(),this.template=Qe(Pe),this.cd=p(ve);}ngAfterViewInit(){this.cd.detectChanges();}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275cmp=w({type:t,selectors:[["onemrva-layout-content"]],viewQuery:function(n,r){n&1&&dt(r.template,Pe,5),n&2&&Ge();},inputs:{customNgClass:[1,"customNgClass"]},ngContentSelectors:T7e,decls:1,vars:0,template:function(n,r){n&1&&(ue(),si(0,x7e,1,0,"ng-template"));},encapsulation:2});}}return t})();var I7e=["*"];function M7e(t,i){t&1&&q(0);}var Af=(()=>{class t{constructor(){this.cd=p(ve),this.customNgClass=y(),this.template=Qe(Pe);}ngAfterViewInit(){this.cd.detectChanges();}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275cmp=w({type:t,selectors:[["onemrva-layout-title"]],viewQuery:function(n,r){n&1&&dt(r.template,Pe,5),n&2&&Ge();},inputs:{customNgClass:[1,"customNgClass"]},ngContentSelectors:I7e,decls:1,vars:0,template:function(n,r){n&1&&(ue(),si(0,M7e,1,0,"ng-template"));},encapsulation:2});}}return t})();var Vu=(function(t){return t.LOCAL="LOCAL",t.TEST="TEST",t.VAL="VAL",t.PROD="PROD",t})(Vu||{});var O7e=["*"];function R7e(t,i){t&1&&(ye(0,"footer"),q(1),be());}var Nf=(()=>{class t{constructor(){this.template=Qe(Pe);}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275cmp=w({type:t,selectors:[["onemrva-layout-footer"]],viewQuery:function(n,r){n&1&&dt(r.template,Pe,5),n&2&&Ge();},ngContentSelectors:O7e,decls:1,vars:0,template:function(n,r){n&1&&(ue(),si(0,R7e,2,0,"ng-template"));},encapsulation:2});}}return t})();var N7e=["*"];function P7e(t,i){t&1&&q(0);}var Pf=(()=>{class t{constructor(){this.cd=p(ve),this.customNgClass=y(),this.template=Qe(Pe);}ngAfterViewInit(){this.cd.detectChanges();}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275cmp=w({type:t,selectors:[["onemrva-layout-login-menu"]],viewQuery:function(n,r){n&1&&dt(r.template,Pe,5),n&2&&Ge();},inputs:{customNgClass:[1,"customNgClass"]},ngContentSelectors:N7e,decls:1,vars:0,template:function(n,r){n&1&&(ue(),si(0,P7e,1,0,"ng-template"));},encapsulation:2});}}return t})();var Uu=(()=>{class t{constructor(){this.destroyRef=p(oi),this.drawer=p(Ll),this.viewContainerRef=p(nn),this.document=p(He);}createComponent(e){return this.viewContainerRef.clear(),this.viewContainerRef.createComponent(e)}bodyClass(){this.drawer?.opened?this.document.body.style.overflow="hidden":this.document.body.style.overflow="inherit";}ngAfterViewInit(){this.drawer?.openedChange.pipe(_i(this.destroyRef)).subscribe(()=>{this.bodyClass();});}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275dir=G({type:t,selectors:[["","drawerhost",""]]});}}return t})();var Wo=(()=>{class t{constructor(){this.hasBackdrop=W(true),this.size=W(""),this.isSide=false;}toggle(e=false){this.drawer&&(this.isSide=e,this.drawer?.toggle());}open(e=false){this.drawer&&(this.isSide=e,this.drawer?.open());}close(){this.drawer&&this.drawer?.close();}classes(){return this.isSide?[this.size(),"side-menu"]:[this.size()]}setDrawer(e){this.drawer=e;}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275prov=Re({token:t,factory:t.\u0275fac,providedIn:"root"});}}return t})();var F7e=(t,i)=>i.code;function B7e(t,i){if(t&1&&(d(0,"mat-option",7),h(1),u()),t&2){let e=i.$implicit;b("value",e),$("data-cy","language_"+e.code),m(),j(" ",e.label," ");}}function $7e(t,i){if(t&1){let e=Te();d(0,"div",5)(1,"mat-form-field")(2,"mat-select",6),x("selectionChange",function(r){Z(e);let o=C(3);return X(o.changeLanguage(r))}),fe(3,B7e,2,3,"mat-option",7,F7e),u(),Se(),u()();}if(t&2){let e=C(3);m(2),b("ngModel",e.currentLanguage),we(),m(),ge(e.languages());}}function V7e(t,i){if(t&1){let e=Te();d(0,"div",1)(1,"div",2)(2,"button",3),B(3,"translate"),x("click",function(){Z(e);let r=C(2);return X(r.close())}),d(4,"mat-icon"),h(5,"close"),u()()(),O(6,"onemrva-mat-navigation",4),u(),D(7,$7e,5,1,"div",5);}if(t&2){let e=C(2);m(2),$("aria-label",U(3,3,"layout.menu")),m(4),b("items",e.items),m(),I(e.languages()&&e.languages().length>1?7:-1);}}function U7e(t,i){if(t&1&&(d(0,"div",0),D(1,V7e,8,5),u()),t&2){let e=C();m(),I(e.isSmall()&&e.routes()?.toArray()?.length?1:-1);}}var Gy=(()=>{class t{constructor(){this.isSmall=y.required(),this.routes=y(),this.languages=y([]),this.items=[],this.translateService=p(Rn),this.document=p(He),this.drawerService=p(Wo);}ngOnInit(){this.currentLanguage=this.languages().filter(n=>n.code==this.translateService.getCurrentLang())[0];let e=this.routes();e&&(this.helpMenuOpen=e.map(n=>n.hasSubroutes()?["out",...n.subroutes().map(()=>"out")]:["in"])),this.items=this.populateItemsRecursively(e);}changeLanguage(e){this.translateService.use(e.value.code),this.document.documentElement.lang=e.value.code;}close(){this.drawerService.close();}populateItemsRecursively(e){let n=[];e===void 0&&(e=[]);let r=Array.isArray(e)?e:e.toArray();for(let o of r){let a={routerLink:typeof o.routerLink()=="string"?o.routerLink():void 0,label:this.getRouteLabel(o),icon:o.icon,dataCy:o.dataCy()};o.hasSubroutes()&&o.subroutes()&&(a.children=this.populateItemsRecursively(o.subroutes())),n.push(a);}return n}getRouteLabel(e){return "label"in e&&e.label()&&e.label()||"Unnamed Route"}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275cmp=w({type:t,selectors:[["onemrva-layout-sidenav"]],inputs:{isSmall:[1,"isSmall"],routes:[1,"routes"],languages:[1,"languages"]},decls:1,vars:1,consts:[[1,"sidebar"],[1,"navigation"],[1,"close-button"],["type","button","mat-icon-button","","data-cy","smallDeviceMenu",3,"click"],[3,"items"],[1,"language-selector"],[3,"selectionChange","ngModel"],[3,"value"]],template:function(n,r){n&1&&D(0,U7e,2,1,"div",0),n&2&&I(r.isSmall()&&(r.routes()?.toArray()?.length||r.languages()&&r.languages().length>1)?0:-1);},dependencies:[Mn,We,Wx,qe,rt,ci,Ai,rn,pn,Ye,bd,ot],styles:["[_nghost-%COMP%] .close-button[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;padding:var(--spacer)}[_nghost-%COMP%] .mobile-menu-item[_ngcontent-%COMP%]{display:flex;width:100%;background:var(--mat-sys-background);padding:var(--spacer);border:none;box-shadow:none;font-size:1.2rem;align-items:center;text-align:left}[_nghost-%COMP%] .mobile-menu-item[_ngcontent-%COMP%]:active, [_nghost-%COMP%] .mobile-menu-item.active[_ngcontent-%COMP%]{border-right:4px solid var(--mat-sys-secondary);font-weight:700!important}[_nghost-%COMP%] .mobile-menu-item[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-left:4px}[_nghost-%COMP%] .sidebar[_ngcontent-%COMP%]{overflow:scroll;display:flex;flex-direction:column;justify-content:space-between;height:100vh}[_nghost-%COMP%] .sidebar[_ngcontent-%COMP%] .language-selector[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] .sidebar[_ngcontent-%COMP%] .language-selector[_ngcontent-%COMP%]{margin:var(--double-spacer);bottom:0}"]});}}return t})();var z7e=["*"];function G7e(t,i){t&1&&q(0);}var Lf=(()=>{class t{constructor(){this.cd=p(ve),this.customNgClass=y(),this.template=Qe(Pe);}ngAfterViewInit(){this.cd.detectChanges();}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275cmp=w({type:t,selectors:[["onemrva-layout-after-nav"]],viewQuery:function(n,r){n&1&&dt(r.template,Pe,5),n&2&&Ge();},inputs:{customNgClass:[1,"customNgClass"]},ngContentSelectors:z7e,decls:1,vars:0,template:function(n,r){n&1&&(ue(),si(0,G7e,1,0,"ng-template"));},encapsulation:2});}}return t})();var j7e=[[["onemrva-mat-notification"]]],Y7e=["onemrva-mat-notification"],W7e=()=>({fragment:"exact",matrixParams:"exact",paths:"exact",queryParams:"ignored"}),K7e=(t,i)=>i.code;function Q7e(t,i){}function Z7e(t,i){t&1&&yt(0);}function X7e(t,i){t&1&&me(0,Z7e,1,0,"ng-container",19),t&2&&b("ngTemplateOutlet",i);}function J7e(t,i){if(t&1&&(d(0,"onemrva-mat-sticker",12),h(1),u()),t&2){let e=C();b("color",e.color()),m(),j(" ",e.environment()?.toLocaleLowerCase()," ");}}function eHe(t,i){t&1&&yt(0);}function tHe(t,i){t&1&&me(0,eHe,1,0,"ng-container",19),t&2&&b("ngTemplateOutlet",i);}function nHe(t,i){if(t&1&&(d(0,"a",22,3),D(2,tHe,1,1,"ng-container"),u()),t&2){let e,n=i.$implicit,r=Ve(1);b("routerLink",n.routerLink())("routerLinkActiveOptions",Gn(6,W7e))("active",r.isActive||n.isRouteActive()),$("data-ci",n.dataCy())("data-cy",n.dataCy()),m(2),I((e=n.template())?2:-1,e);}}function iHe(t,i){if(t&1&&(d(0,"div",14),fe(1,nHe,3,7,"a",22,gi),u()),t&2){let e=C(),n=Ve(15);b("tabPanel",n),m(),ge(e.routes());}}function rHe(t,i){t&1&&yt(0);}function oHe(t,i){t&1&&me(0,rHe,1,0,"ng-container",19),t&2&&b("ngTemplateOutlet",i);}function aHe(t,i){t&1&&O(0,"mat-divider",23);}function sHe(t,i){if(t&1&&O(0,"onemrva-mat-avatar",24),t&2){C();let e=Ve(4),n=C();b("initials",Nt(n.profile()?.initials()))("matMenuTriggerFor",e);}}function lHe(t,i){if(t&1&&O(0,"onemrva-mat-avatar",25),t&2){C();let e=Ve(4),n=C();b("matMenuTriggerFor",e)("color",n.OnemrvaMatColor.ACCENT);}}function cHe(t,i){t&1&&yt(0);}function dHe(t,i){t&1&&me(0,cHe,1,0,"ng-container",19),t&2&&b("ngTemplateOutlet",i);}function uHe(t,i){if(t&1){let e=Te();d(0,"div",27),h(1),u(),O(2,"mat-divider",28),D(3,dHe,1,1,"ng-container"),d(4,"button",29),B(5,"translate"),x("click",function(){Z(e);let r=C(2);return X(r.doLogout())}),d(6,"mat-icon"),h(7,"logout"),u(),h(8),B(9,"translate"),u();}if(t&2){let e,n=C(2);m(),ro(" ",n.profile()?.firstName," ",n.profile()?.lastName," "),m(2),I((e=n.loginMenu()?.template())?3:-1,e),m(),$("aria-label",U(5,5,"layout.logout")),m(4),j(" ",U(9,7,"layout.logout")," ");}}function mHe(t,i){if(t&1){let e=Te();d(0,"button",30),B(1,"translate"),x("click",function(){Z(e);let r=C(2);return X(r.doLogin())}),d(2,"mat-icon"),h(3,"login"),u(),h(4),B(5,"translate"),u();}t&2&&($("aria-label",U(1,2,"layout.login")),m(4),j(" ",U(5,4,"layout.login")," "));}function pHe(t,i){if(t&1&&(D(0,aHe,1,0,"mat-divider",23),D(1,sHe,1,3,"onemrva-mat-avatar",24),D(2,lHe,1,2,"onemrva-mat-avatar",25),d(3,"mat-menu",null,4),D(5,uHe,10,9)(6,mHe,6,6,"button",26),u()),t&2){let e=C();I(e.isSmall?-1:0),m(),I(e.profile()?.isLoggedIn?1:-1),m(),I(e.profile()?.isLoggedIn?-1:2),m(3),I(e.profile()?.isLoggedIn?5:6);}}function _He(t,i){if(t&1){let e=Te();d(0,"button",31),B(1,"translate"),x("click",function(){Z(e);let r=C();return X(r.toggleSideNav())}),d(2,"mat-icon"),h(3,"menu"),u()();}t&2&&$("aria-label",U(1,1,"layout.menu"));}function hHe(t,i){if(t&1&&(d(0,"div",16)(1,"a",32),B(2,"translate"),h(3),d(4,"mat-icon",33),h(5,"expand_more"),u()()()),t&2){let e=C(),n=Ve(15),r=Ve(21);b("tabPanel",n),m(),b("matMenuTriggerFor",r),$("aria-label",U(2,4,"language.selection")),m(2),j(" ",e.currentLanguage," ");}}function fHe(t,i){if(t&1){let e=Te();d(0,"button",34),x("click",function(){let r=Z(e).$implicit,o=C();return X(o.changeLanguage(r.code))}),h(1),u();}if(t&2){let e=i.$implicit;$("data-cy","language_"+e.code)("aria-label",e.label),m(),j(" ",e.label," ");}}function gHe(t,i){t&1&&yt(0);}function bHe(t,i){t&1&&yt(0);}function vHe(t,i){t&1&&(d(0,"footer",20)(1,"div",35),me(2,bHe,1,0,"ng-container",19),u()()),t&2&&(m(2),b("ngTemplateOutlet",i));}function yHe(t,i){t&1&&(d(0,"button",21)(1,"mat-icon"),h(2,"accessibility"),u()());}var qy=(()=>{class t{toggleTheme(e){this.activeTheme.set("light"),document.querySelectorAll("."+this.onemrvaClass).forEach(r=>{r.classList.remove("light-theme","dark-theme"),r.classList.add("light-theme");});}constructor(){this.routes=Po(),this.title=ji(Af),this.loginMenu=ji(Pf),this.content=ji(Rf),this.afterNav=ji(Lf),this.footer=ji(Nf),this.logo=y(""),this.logoFinal=de(()=>this.logo()===""?this.cdn.getImg("logo/logo_onem_rva.svg"):this.logo()),this.languages=y([]),this.environment=y(),this.logoRedictionUrl=y(""),this.selectedIndex=0,this.destroyNotifier$=new H,this.profile=y(null),this.login=en(),this.logout=en(),this.env=Vu,this.isSmall=true,this.drawer=Qe.required(Ll),this.drawerHost=Qe.required(Uu),this.id=y("main"),this.role=y("main"),this.showThemeSwitcher=y(false),this.onemrvaClass=p(eT),this.map={NL:{label:"Nederlands",imgCode:"nl"},FR:{label:"Fran\xE7ais",imgCode:"fr"},DE:{label:"Deutsch",imgCode:"de"},EN:{label:"English",imgCode:"gb-eng"}},this.activeTheme=W("light"),this.color=de(()=>{switch(this.environment()){case Vu.LOCAL:return Pt.ACCENT;case Vu.TEST:return Pt.INFO;case Vu.VAL:return Pt.SUCCESS;default:return Pt.PRIMARY}}),this.OnemrvaMatColor=Pt,this.translateService=p(Rn),this.cdn=p(Qr),this.cd=p(ve),this.breakpointObserver=p(la),this.document=p(He),this.drawerService=p(Wo),this.leftSidenavService=p(Of),this.languages().length===0&&this.translateService.getLangs().forEach(e=>{this.languages().push({code:e,label:this.map[e.toUpperCase()].label||"",imgCode:this.map[e.toUpperCase()].imgCode||""});});}ngOnInit(){this.selectedIndex=this.languages().findIndex(e=>e.code===this.currentLanguage),this.document.documentElement.lang=this.currentLanguage,this.breakpointObserver.observe([ua.XSmall,ua.Small]).pipe(Ee(this.destroyNotifier$)).subscribe(e=>{e.matches?this.isSmall=true:(this.drawerService.close(),this.isSmall=false);}),this.translateService.onLangChange.pipe(Ee(this.destroyNotifier$)).subscribe(e=>{this.selectedIndex=this.languages().findIndex(n=>n.code===e.lang);}),this.drawerService.host=this.drawerHost(),this.drawerService.setDrawer(this.drawer());}get currentLanguage(){return (this.translateService.getCurrentLang()||"").toLocaleLowerCase()}ngAfterViewInit(){}languageImg(e){let n=(e?.code||this.translateService.getCurrentLang()||"").toUpperCase(),r=this.map[n].imgCode||"";return this.cdn.getImg(`flags/4x3/${r}.svg`)}ngOnDestroy(){this.destroyNotifier$.next(),this.destroyNotifier$.complete();}doLogout(){this.logout.emit();}doLogin(){this.login.emit();}changeLanguage(e){this.translateService.use(e),this.document.documentElement.lang=e;}toggleSideNav(){let e=this.drawerHost().createComponent(Gy);this.drawerService.size.set(""),e.setInput("isSmall",this.isSmall),e.setInput("languages",this.languages()),e.setInput("routes",this.routes()),this.drawerService.toggle(true);}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275cmp=w({type:t,selectors:[["onemrva-layout"]],contentQueries:function(n,r,o){n&1&&Di(o,r.routes,$u,4)(o,r.title,Af,5)(o,r.loginMenu,Pf,5)(o,r.content,Rf,5)(o,r.afterNav,Lf,5)(o,r.footer,Nf,5),n&2&&Ge(6);},viewQuery:function(n,r){n&1&&dt(r.drawer,Ll,5)(r.drawerHost,Uu,5),n&2&&Ge(2);},inputs:{logo:[1,"logo"],languages:[1,"languages"],environment:[1,"environment"],logoRedictionUrl:[1,"logoRedictionUrl"],profile:[1,"profile"],id:[1,"id"],role:[1,"role"],showThemeSwitcher:[1,"showThemeSwitcher"]},outputs:{login:"login",logout:"logout"},ngContentSelectors:Y7e,decls:32,vars:27,consts:[["mainDrawer",""],["tabPanel",""],["languageMenu",""],["rla","routerLinkActive"],["menu","matMenu"],["id","onemrva-drawer-container","autosize","",3,"hasBackdrop"],["mode","over","position","end"],["drawerhost",""],[1,"environment",3,"color"],[1,"px-3xl-large"],["alt","Logo ONEM/RVA",1,"logo","align-center","clickable",3,"src","routerLink"],[1,"application-title","ml-m"],[1,"ml-m","text-capitalize",3,"color"],[2,"flex","1"],["mat-tab-nav-bar","",1,"flex-center","topMenu",3,"tabPanel"],["type","button","mat-icon-button","","data-cy","smallDeviceMenu",1,"menu-button"],["mat-tab-nav-bar","",1,"flex-center",3,"tabPanel"],["type","button","mat-menu-item","",1,"mat-mdc-menu-item","language-trigger__menu-item"],[1,"notification"],[4,"ngTemplateOutlet"],[1,"onemrva-footer","p","text-center"],["id","accessibility_fab","mat-fab","","color","accent","aria-label","Accessibility check","matTooltip","Accessibility check","onclick",`
|
|
8383
|
+
`);}}var Kx=(()=>{class t{constructor(){this.cd=p(ve),this.router=p(fr),this.customNgClass=y(),this.template=Qe(Pe),this.routerLink=y(),this.routerLinkActiveOptions=y(),this.dataCy=y(),this.label=y(),this.icon=y(),this.subroutes=Po();}ngAfterViewInit(){this.label()===void 0&&console.error("ONEM/RVA DESIGN SYSTEM ERROR : Since 20.1.0 , you must add a label attribute to the onemrva-layout-route",this.routerLink()),this.cd.detectChanges();}hasSubroutes(){let e=this.subroutes();return e!==void 0&&e.length>0}hasActiveSubroute(){return this.subroutes()?.some(e=>this.isActiveRoute(e))??false}isActiveRoute(e){let n=e.routerLink();if(n){let r=Array.isArray(n)?this.router.createUrlTree(n):this.router.createUrlTree([n]);return this.router.isActive(r,{paths:"exact",queryParams:"exact",fragment:"ignored",matrixParams:"ignored"})}else return false}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275cmp=w({type:t,selectors:[["onemrva-layout-subroute"]],contentQueries:function(n,r,o){n&1&&Di(o,r.subroutes,t,4),n&2&&Ge();},viewQuery:function(n,r){n&1&&dt(r.template,Pe,5),n&2&&Ge();},inputs:{customNgClass:[1,"customNgClass"],routerLink:[1,"routerLink"],routerLinkActiveOptions:[1,"routerLinkActiveOptions"],dataCy:[1,"dataCy"],label:[1,"label"],icon:[1,"icon"]},decls:1,vars:0,template:function(n,r){n&1&&si(0,d7e,1,1,"ng-template");},encapsulation:2});}}return t})();var u7e=["navTpl"],die=(t,i)=>i.routerLink();function m7e(t,i){if(t&1&&h(0),t&2){let e=C(2);j(" ",e.label()," ");}}function p7e(t,i){t&1&&yt(0);}function _7e(t,i){t&1&&me(0,p7e,1,0,"ng-container",6),t&2&&b("ngTemplateOutlet",i);}function h7e(t,i){if(t&1&&(d(0,"button",5),D(1,_7e,1,1,"ng-container"),u()),t&2){let e,n=C().$implicit;b("routerLink",n.routerLink()),$("data-cy",n.dataCy()),m(),I((e=n.template())?1:-1,e);}}function f7e(t,i){t&1&&yt(0);}function g7e(t,i){t&1&&me(0,f7e,1,0,"ng-container",6),t&2&&b("ngTemplateOutlet",i);}function b7e(t,i){t&1&&yt(0);}function v7e(t,i){t&1&&me(0,b7e,1,0,"ng-container",6),t&2&&b("ngTemplateOutlet",i);}function y7e(t,i){if(t&1&&(d(0,"button",5),D(1,v7e,1,1,"ng-container"),u()),t&2){let e,n=i.$implicit;b("routerLink",n.routerLink()),m(),I((e=n.template())?1:-1,e);}}function E7e(t,i){if(t&1&&(d(0,"button",7),D(1,g7e,1,1,"ng-container"),u(),d(2,"mat-menu",null,2),fe(4,y7e,2,2,"button",5,die),u()),t&2){let e,n=Ve(3),r=C().$implicit;z("active",r.hasActiveSubroute()),b("matMenuTriggerFor",n),$("data-cy",r.dataCy()),m(),I((e=r.template())?1:-1,e),m(3),ge(r.subroutes());}}function C7e(t,i){if(t&1&&(D(0,h7e,2,3,"button",5),D(1,E7e,6,5)),t&2){let e=i.$implicit;I(e.hasSubroutes()?-1:0),m(),I(e.hasSubroutes()?1:-1);}}function S7e(t,i){if(t&1&&(d(0,"span",3)(1,"span"),h(2),u(),d(3,"mat-icon"),h(4,"expand_more"),u()(),d(5,"mat-menu",4,1),fe(7,C7e,2,2,null,null,die),u()),t&2){let e=Ve(6),n=C(2);b("matMenuTriggerFor",e),m(2),j(" ",n.label()," "),m(5),ge(n.subroutes());}}function w7e(t,i){if(t&1&&D(0,m7e,1,1)(1,S7e,9,2),t&2){let e=C();I(e.hasSubroutes()?e.hasSubroutes()?1:-1:0);}}var $u=(()=>{class t{constructor(){this.customNgClass=y(),this.template=Qe("navTpl"),this.routerLink=y(),this.routerLinkActiveOptions=y(),this.dataCy=y(),this.baseRouteForActiveMenu=y(),this.label=y(),this.icon=y(),this.subroutes=Po(),this.cd=p(ve),this.router=p(fr);}hasSubroutes(){let e=this.subroutes();return e!==void 0&&e.length>0}ngAfterViewInit(){this.cd.detectChanges(),this.label()===void 0&&console.error("ONEM/RVA DESIGN SYSTEM ERROR : Since 20.1.0 , you must add a label attribute to the onemrva-layout-route",this.routerLink());}isRouteActive(){let e=this.routerLink();if(e==null){let n=this.baseRouteForActiveMenu();if(n){let r=this.router.url,o=new RegExp(n+"/").test(r),a=new RegExp(n+"$").test(r);return o||a}}return false}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275cmp=w({type:t,selectors:[["onemrva-layout-route"]],contentQueries:function(n,r,o){n&1&&Di(o,r.subroutes,Kx,4),n&2&&Ge();},viewQuery:function(n,r){n&1&&dt(r.template,u7e,5),n&2&&Ge();},inputs:{customNgClass:[1,"customNgClass"],routerLink:[1,"routerLink"],routerLinkActiveOptions:[1,"routerLinkActiveOptions"],dataCy:[1,"dataCy"],baseRouteForActiveMenu:[1,"baseRouteForActiveMenu"],label:[1,"label"],icon:[1,"icon"]},decls:2,vars:0,consts:[["navTpl",""],["menu",""],["submenu",""],["role","button",1,"subroutes-menu-trigger",3,"matMenuTriggerFor"],[1,"layout-menu-offset"],["mat-menu-item","","routerLinkActive","active",3,"routerLink"],[4,"ngTemplateOutlet"],["mat-menu-item","","aria-haspopup","true",3,"matMenuTriggerFor"]],template:function(n,r){n&1&&me(0,w7e,2,1,"ng-template",null,0,ki);},dependencies:[We,mo,ka,$o,Zr,Zm,pi],styles:[".subroutes-menu-trigger[_ngcontent-%COMP%]{display:flex;align-items:center}"]});}}return t})();var T7e=["*"];function x7e(t,i){t&1&&q(0);}var Rf=(()=>{class t{constructor(){this.customNgClass=y(),this.template=Qe(Pe),this.cd=p(ve);}ngAfterViewInit(){this.cd.detectChanges();}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275cmp=w({type:t,selectors:[["onemrva-layout-content"]],viewQuery:function(n,r){n&1&&dt(r.template,Pe,5),n&2&&Ge();},inputs:{customNgClass:[1,"customNgClass"]},ngContentSelectors:T7e,decls:1,vars:0,template:function(n,r){n&1&&(ue(),si(0,x7e,1,0,"ng-template"));},encapsulation:2});}}return t})();var I7e=["*"];function M7e(t,i){t&1&&q(0);}var Af=(()=>{class t{constructor(){this.cd=p(ve),this.customNgClass=y(),this.template=Qe(Pe);}ngAfterViewInit(){this.cd.detectChanges();}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275cmp=w({type:t,selectors:[["onemrva-layout-title"]],viewQuery:function(n,r){n&1&&dt(r.template,Pe,5),n&2&&Ge();},inputs:{customNgClass:[1,"customNgClass"]},ngContentSelectors:I7e,decls:1,vars:0,template:function(n,r){n&1&&(ue(),si(0,M7e,1,0,"ng-template"));},encapsulation:2});}}return t})();var Vu=(function(t){return t.LOCAL="LOCAL",t.TEST="TEST",t.VAL="VAL",t.PROD="PROD",t})(Vu||{});var O7e=["*"];function R7e(t,i){t&1&&(ye(0,"footer"),q(1),be());}var Nf=(()=>{class t{constructor(){this.template=Qe(Pe);}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275cmp=w({type:t,selectors:[["onemrva-layout-footer"]],viewQuery:function(n,r){n&1&&dt(r.template,Pe,5),n&2&&Ge();},ngContentSelectors:O7e,decls:1,vars:0,template:function(n,r){n&1&&(ue(),si(0,R7e,2,0,"ng-template"));},encapsulation:2});}}return t})();var N7e=["*"];function P7e(t,i){t&1&&q(0);}var Pf=(()=>{class t{constructor(){this.cd=p(ve),this.customNgClass=y(),this.template=Qe(Pe);}ngAfterViewInit(){this.cd.detectChanges();}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275cmp=w({type:t,selectors:[["onemrva-layout-login-menu"]],viewQuery:function(n,r){n&1&&dt(r.template,Pe,5),n&2&&Ge();},inputs:{customNgClass:[1,"customNgClass"]},ngContentSelectors:N7e,decls:1,vars:0,template:function(n,r){n&1&&(ue(),si(0,P7e,1,0,"ng-template"));},encapsulation:2});}}return t})();var Uu=(()=>{class t{constructor(){this.destroyRef=p(oi),this.drawer=p(Ll),this.viewContainerRef=p(nn),this.document=p(He);}createComponent(e){return this.viewContainerRef.clear(),this.viewContainerRef.createComponent(e)}bodyClass(){this.drawer?.opened?this.document.body.style.overflow="hidden":this.document.body.style.overflow="inherit";}ngAfterViewInit(){this.drawer?.openedChange.pipe(_i(this.destroyRef)).subscribe(()=>{this.bodyClass();});}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275dir=G({type:t,selectors:[["","drawerhost",""]]});}}return t})();var Wo=(()=>{class t{constructor(){this.hasBackdrop=W(true),this.size=W(""),this.isSide=false;}toggle(e=false){this.drawer&&(this.isSide=e,this.drawer?.toggle());}open(e=false){this.drawer&&(this.isSide=e,this.drawer?.open());}close(){this.drawer&&this.drawer?.close();}classes(){return this.isSide?[this.size(),"side-menu"]:[this.size()]}setDrawer(e){this.drawer=e;}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275prov=Re({token:t,factory:t.\u0275fac,providedIn:"root"});}}return t})();var F7e=(t,i)=>i.code;function B7e(t,i){if(t&1&&(d(0,"mat-option",7),h(1),u()),t&2){let e=i.$implicit;b("value",e),$("data-cy","language_"+e.code),m(),j(" ",e.label," ");}}function $7e(t,i){if(t&1){let e=Te();d(0,"div",5)(1,"mat-form-field")(2,"mat-select",6),x("selectionChange",function(r){Z(e);let o=C(3);return X(o.changeLanguage(r))}),fe(3,B7e,2,3,"mat-option",7,F7e),u(),Se(),u()();}if(t&2){let e=C(3);m(2),b("ngModel",e.currentLanguage),we(),m(),ge(e.languages());}}function V7e(t,i){if(t&1){let e=Te();d(0,"div",1)(1,"div",2)(2,"button",3),B(3,"translate"),x("click",function(){Z(e);let r=C(2);return X(r.close())}),d(4,"mat-icon"),h(5,"close"),u()()(),O(6,"onemrva-mat-navigation",4),u(),D(7,$7e,5,1,"div",5);}if(t&2){let e=C(2);m(2),$("aria-label",U(3,3,"layout.menu")),m(4),b("items",e.items),m(),I(e.languages()&&e.languages().length>1?7:-1);}}function U7e(t,i){if(t&1&&(d(0,"div",0),D(1,V7e,8,5),u()),t&2){let e=C();m(),I(e.isSmall()&&e.routes()?.toArray()?.length?1:-1);}}var Gy=(()=>{class t{constructor(){this.isSmall=y.required(),this.routes=y(),this.languages=y([]),this.items=[],this.translateService=p(Rn),this.document=p(He),this.drawerService=p(Wo);}ngOnInit(){this.currentLanguage=this.languages().filter(n=>n.code==this.translateService.getCurrentLang())[0];let e=this.routes();e&&(this.helpMenuOpen=e.map(n=>n.hasSubroutes()?["out",...n.subroutes().map(()=>"out")]:["in"])),this.items=this.populateItemsRecursively(e);}changeLanguage(e){this.translateService.use(e.value.code),this.document.documentElement.lang=e.value.code;}close(){this.drawerService.close();}populateItemsRecursively(e){let n=[];e===void 0&&(e=[]);let r=Array.isArray(e)?e:e.toArray();for(let o of r){let a={routerLink:typeof o.routerLink()=="string"?o.routerLink():void 0,label:this.getRouteLabel(o),icon:o.icon,dataCy:o.dataCy()};o.hasSubroutes()&&o.subroutes()&&(a.children=this.populateItemsRecursively(o.subroutes())),n.push(a);}return n}getRouteLabel(e){return "label"in e&&e.label()&&e.label()||"Unnamed Route"}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275cmp=w({type:t,selectors:[["onemrva-layout-sidenav"]],inputs:{isSmall:[1,"isSmall"],routes:[1,"routes"],languages:[1,"languages"]},decls:1,vars:1,consts:[[1,"sidebar"],[1,"navigation"],[1,"close-button"],["type","button","mat-icon-button","","data-cy","smallDeviceMenu",3,"click"],[3,"items"],[1,"language-selector"],[3,"selectionChange","ngModel"],[3,"value"]],template:function(n,r){n&1&&D(0,U7e,2,1,"div",0),n&2&&I(r.isSmall()&&(r.routes()?.toArray()?.length||r.languages()&&r.languages().length>1)?0:-1);},dependencies:[Mn,We,Wx,qe,rt,ci,Ai,rn,pn,Ye,bd,ot],styles:["[_nghost-%COMP%] .close-button[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;padding:var(--spacer)}[_nghost-%COMP%] .mobile-menu-item[_ngcontent-%COMP%]{display:flex;width:100%;background:var(--mat-sys-background);padding:var(--spacer);border:none;box-shadow:none;font-size:1.2rem;align-items:center;text-align:left}[_nghost-%COMP%] .mobile-menu-item[_ngcontent-%COMP%]:active, [_nghost-%COMP%] .mobile-menu-item.active[_ngcontent-%COMP%]{border-right:4px solid var(--mat-sys-secondary);font-weight:700!important}[_nghost-%COMP%] .mobile-menu-item[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-left:4px}[_nghost-%COMP%] .sidebar[_ngcontent-%COMP%]{overflow:scroll;display:flex;flex-direction:column;justify-content:space-between;height:100vh}[_nghost-%COMP%] .sidebar[_ngcontent-%COMP%] .language-selector[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] .sidebar[_ngcontent-%COMP%] .language-selector[_ngcontent-%COMP%]{margin:var(--double-spacer);bottom:0}"]});}}return t})();var z7e=["*"];function G7e(t,i){t&1&&q(0);}var Lf=(()=>{class t{constructor(){this.cd=p(ve),this.customNgClass=y(),this.template=Qe(Pe);}ngAfterViewInit(){this.cd.detectChanges();}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275cmp=w({type:t,selectors:[["onemrva-layout-after-nav"]],viewQuery:function(n,r){n&1&&dt(r.template,Pe,5),n&2&&Ge();},inputs:{customNgClass:[1,"customNgClass"]},ngContentSelectors:z7e,decls:1,vars:0,template:function(n,r){n&1&&(ue(),si(0,G7e,1,0,"ng-template"));},encapsulation:2});}}return t})();var j7e=[[["onemrva-mat-notification"]]],Y7e=["onemrva-mat-notification"],W7e=()=>({fragment:"exact",matrixParams:"exact",paths:"exact",queryParams:"ignored"}),K7e=(t,i)=>i.code;function Q7e(t,i){}function Z7e(t,i){t&1&&yt(0);}function X7e(t,i){t&1&&me(0,Z7e,1,0,"ng-container",19),t&2&&b("ngTemplateOutlet",i);}function J7e(t,i){if(t&1&&(d(0,"onemrva-mat-sticker",12),h(1),u()),t&2){let e=C();b("color",e.color()),m(),j(" ",e.environment()?.toLocaleLowerCase()," ");}}function eHe(t,i){t&1&&yt(0);}function tHe(t,i){t&1&&me(0,eHe,1,0,"ng-container",19),t&2&&b("ngTemplateOutlet",i);}function nHe(t,i){if(t&1&&(d(0,"a",22,3),D(2,tHe,1,1,"ng-container"),u()),t&2){let e,n=i.$implicit,r=Ve(1);b("routerLink",n.routerLink())("routerLinkActiveOptions",Gn(6,W7e))("active",r.isActive||n.isRouteActive()),$("data-ci",n.dataCy())("data-cy",n.dataCy()),m(2),I((e=n.template())?2:-1,e);}}function iHe(t,i){if(t&1&&(d(0,"div",14),fe(1,nHe,3,7,"a",22,gi),u()),t&2){let e=C(),n=Ve(15);b("tabPanel",n),m(),ge(e.routes());}}function rHe(t,i){t&1&&yt(0);}function oHe(t,i){t&1&&me(0,rHe,1,0,"ng-container",19),t&2&&b("ngTemplateOutlet",i);}function aHe(t,i){t&1&&O(0,"mat-divider",23);}function sHe(t,i){if(t&1&&O(0,"onemrva-mat-avatar",24),t&2){C();let e=Ve(4),n=C();b("initials",Nt(n.profile()?.initials()))("matMenuTriggerFor",e);}}function lHe(t,i){if(t&1&&O(0,"onemrva-mat-avatar",25),t&2){C();let e=Ve(4),n=C();b("matMenuTriggerFor",e)("color",n.OnemrvaMatColor.ACCENT);}}function cHe(t,i){t&1&&yt(0);}function dHe(t,i){t&1&&me(0,cHe,1,0,"ng-container",19),t&2&&b("ngTemplateOutlet",i);}function uHe(t,i){if(t&1){let e=Te();d(0,"div",27),h(1),u(),O(2,"mat-divider",28),D(3,dHe,1,1,"ng-container"),d(4,"button",29),B(5,"translate"),x("click",function(){Z(e);let r=C(2);return X(r.doLogout())}),d(6,"mat-icon"),h(7,"logout"),u(),h(8),B(9,"translate"),u();}if(t&2){let e,n=C(2);m(),ro(" ",n.profile()?.firstName," ",n.profile()?.lastName," "),m(2),I((e=n.loginMenu()?.template())?3:-1,e),m(),$("aria-label",U(5,5,"layout.logout")),m(4),j(" ",U(9,7,"layout.logout")," ");}}function mHe(t,i){if(t&1){let e=Te();d(0,"button",30),B(1,"translate"),x("click",function(){Z(e);let r=C(2);return X(r.doLogin())}),d(2,"mat-icon"),h(3,"login"),u(),h(4),B(5,"translate"),u();}t&2&&($("aria-label",U(1,2,"layout.login")),m(4),j(" ",U(5,4,"layout.login")," "));}function pHe(t,i){if(t&1&&(D(0,aHe,1,0,"mat-divider",23),D(1,sHe,1,3,"onemrva-mat-avatar",24),D(2,lHe,1,2,"onemrva-mat-avatar",25),d(3,"mat-menu",null,4),D(5,uHe,10,9)(6,mHe,6,6,"button",26),u()),t&2){let e=C();I(e.isSmall?-1:0),m(),I(e.profile()?.isLoggedIn?1:-1),m(),I(e.profile()?.isLoggedIn?-1:2),m(3),I(e.profile()?.isLoggedIn?5:6);}}function _He(t,i){if(t&1){let e=Te();d(0,"button",31),B(1,"translate"),x("click",function(){Z(e);let r=C();return X(r.toggleSideNav())}),d(2,"mat-icon"),h(3,"menu"),u()();}t&2&&$("aria-label",U(1,1,"layout.menu"));}function hHe(t,i){if(t&1&&(d(0,"div",16)(1,"a",32),B(2,"translate"),h(3),d(4,"mat-icon",33),h(5,"expand_more"),u()()()),t&2){let e=C(),n=Ve(15),r=Ve(21);b("tabPanel",n),m(),b("matMenuTriggerFor",r),$("aria-label",U(2,4,"language.selection")),m(2),j(" ",e.currentLanguage," ");}}function fHe(t,i){if(t&1){let e=Te();d(0,"button",34),x("click",function(){let r=Z(e).$implicit,o=C();return X(o.changeLanguage(r.code))}),h(1),u();}if(t&2){let e=i.$implicit;$("data-cy","language_"+e.code)("aria-label",e.label),m(),j(" ",e.label," ");}}function gHe(t,i){t&1&&yt(0);}function bHe(t,i){t&1&&yt(0);}function vHe(t,i){t&1&&(d(0,"footer",20)(1,"div",35),me(2,bHe,1,0,"ng-container",19),u()()),t&2&&(m(2),b("ngTemplateOutlet",i));}function yHe(t,i){t&1&&(d(0,"button",21)(1,"mat-icon"),h(2,"accessibility"),u()());}var qy=(()=>{class t{toggleTheme(e){this.activeTheme.set("light"),document.querySelectorAll("."+this.onemrvaClass).forEach(r=>{r.classList.remove("light-theme","dark-theme"),r.classList.add("light-theme");});}constructor(){this.routes=Po(),this.title=ji(Af),this.loginMenu=ji(Pf),this.content=ji(Rf),this.afterNav=ji(Lf),this.footer=ji(Nf),this.logo=y(""),this.logoFinal=de(()=>this.logo()===""?this.cdn.getImg("logo/logo_onem_rva.svg"):this.logo()),this.languages=y([]),this.environment=y(),this.logoRedictionUrl=y(""),this.selectedIndex=0,this.destroyNotifier$=new H,this.profile=y(null),this.login=en(),this.logout=en(),this.env=Vu,this.isSmall=true,this.drawer=Qe.required(Ll),this.drawerHost=Qe.required(Uu),this.id=y("main"),this.role=y("main"),this.showThemeSwitcher=y(false),this.onemrvaClass=p(eT),this.map={NL:{label:"Nederlands",imgCode:"nl"},FR:{label:"Fran\xE7ais",imgCode:"fr"},DE:{label:"Deutsch",imgCode:"de"},EN:{label:"English",imgCode:"gb-eng"}},this.activeTheme=W("light"),this.color=de(()=>{switch(this.environment()){case Vu.LOCAL:return Pt.ACCENT;case Vu.TEST:return Pt.INFO;case Vu.VAL:return Pt.SUCCESS;default:return Pt.PRIMARY}}),this.OnemrvaMatColor=Pt,this.translateService=p(Rn),this.cdn=p(Qr),this.cd=p(ve),this.breakpointObserver=p(la),this.document=p(He),this.drawerService=p(Wo),this.leftSidenavService=p(Of),this.languages().length===0&&this.translateService.getLangs().forEach(e=>{this.languages().push({code:e,label:this.map[e.toUpperCase()].label||"",imgCode:this.map[e.toUpperCase()].imgCode||""});});}ngOnInit(){this.selectedIndex=this.languages().findIndex(e=>e.code===this.currentLanguage),this.document.documentElement.lang=this.currentLanguage,this.breakpointObserver.observe([ua.XSmall,ua.Small]).pipe(Ee(this.destroyNotifier$)).subscribe(e=>{e.matches?this.isSmall=true:(this.drawerService.close(),this.isSmall=false);}),this.translateService.onLangChange.pipe(Ee(this.destroyNotifier$)).subscribe(e=>{this.selectedIndex=this.languages().findIndex(n=>n.code===e.lang);});}get currentLanguage(){return (this.translateService.getCurrentLang()||"").toLocaleLowerCase()}ngAfterViewInit(){this.drawerService.host=this.drawerHost(),this.drawerService.setDrawer(this.drawer());}languageImg(e){let n=(e?.code||this.translateService.getCurrentLang()||"").toUpperCase(),r=this.map[n].imgCode||"";return this.cdn.getImg(`flags/4x3/${r}.svg`)}ngOnDestroy(){this.destroyNotifier$.next(),this.destroyNotifier$.complete();}doLogout(){this.logout.emit();}doLogin(){this.login.emit();}changeLanguage(e){this.translateService.use(e),this.document.documentElement.lang=e;}toggleSideNav(){let e=this.drawerHost().createComponent(Gy);this.drawerService.size.set(""),e.setInput("isSmall",this.isSmall),e.setInput("languages",this.languages()),e.setInput("routes",this.routes()),this.drawerService.toggle(true);}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275cmp=w({type:t,selectors:[["onemrva-layout"]],contentQueries:function(n,r,o){n&1&&Di(o,r.routes,$u,4)(o,r.title,Af,5)(o,r.loginMenu,Pf,5)(o,r.content,Rf,5)(o,r.afterNav,Lf,5)(o,r.footer,Nf,5),n&2&&Ge(6);},viewQuery:function(n,r){n&1&&dt(r.drawer,Ll,5)(r.drawerHost,Uu,5),n&2&&Ge(2);},inputs:{logo:[1,"logo"],languages:[1,"languages"],environment:[1,"environment"],logoRedictionUrl:[1,"logoRedictionUrl"],profile:[1,"profile"],id:[1,"id"],role:[1,"role"],showThemeSwitcher:[1,"showThemeSwitcher"]},outputs:{login:"login",logout:"logout"},ngContentSelectors:Y7e,decls:32,vars:27,consts:[["mainDrawer",""],["tabPanel",""],["languageMenu",""],["rla","routerLinkActive"],["menu","matMenu"],["id","onemrva-drawer-container","autosize","",3,"hasBackdrop"],["mode","over","position","end"],["drawerhost",""],[1,"environment",3,"color"],[1,"px-3xl-large"],["alt","Logo ONEM/RVA",1,"logo","align-center","clickable",3,"src","routerLink"],[1,"application-title","ml-m"],[1,"ml-m","text-capitalize",3,"color"],[2,"flex","1"],["mat-tab-nav-bar","",1,"flex-center","topMenu",3,"tabPanel"],["type","button","mat-icon-button","","data-cy","smallDeviceMenu",1,"menu-button"],["mat-tab-nav-bar","",1,"flex-center",3,"tabPanel"],["type","button","mat-menu-item","",1,"mat-mdc-menu-item","language-trigger__menu-item"],[1,"notification"],[4,"ngTemplateOutlet"],[1,"onemrva-footer","p","text-center"],["id","accessibility_fab","mat-fab","","color","accent","aria-label","Accessibility check","matTooltip","Accessibility check","onclick",`
|
|
8384
8384
|
(function () {
|
|
8385
8385
|
var _p = '//openfed.github.io/AccessibilityCheck/build/';
|
|
8386
8386
|
var _i = function (s, cb) {
|
|
@@ -10791,7 +10791,7 @@ Error: `,U(55,14,r.nissOrBce.errors),`
|
|
|
10791
10791
|
`],encapsulation:2})}return t})(),vCt=Qn(2,YD);var G4=(()=>{class t extends Li{options;valuesToTranslatedOptions;filteredOptions;shouldFilter;focused=false;mapToProps(e){return $ve(e,this.getOwnProps())}getEventValue=e=>e.target.value;onChange(e){let n=this.getEventValue(e),r=Array.from(this.valuesToTranslatedOptions?.values()??[]).find(o=>o.label===n);if(!r){super.onChange(e);return}this.jsonFormsService.updateCore(Ur.update(this.propsPath,()=>r.value)),this.triggerValidation();}ngOnInit(){super.ngOnInit(),this.shouldFilter=false,this.filteredOptions=this.form.valueChanges.pipe(Ze(""),se(e=>this.filter(e)));}mapAdditionalProps(e){this.valuesToTranslatedOptions=new Map((e.options??[]).map(n=>[n.value,n]));}updateFilter(e){e.keyCode===13?this.shouldFilter=false:this.shouldFilter=true;}onSelect(e){let n=qD(this.uischema,this.path);this.shouldFilter=false;let r=e.option.value;this.jsonFormsService.updateCore(Ur.update(n,()=>r.value)),this.triggerValidation();}displayFn=e=>e?typeof e=="string"?this.valuesToTranslatedOptions?this.valuesToTranslatedOptions.get(e)?.label??e:e:e?.label??"":"";filter(e){let n=Array.from(this.valuesToTranslatedOptions?.values()||[]);if(!e||!this.shouldFilter)return n;let r=typeof e=="string"?e:e.label;return n.filter(o=>o.label.toLowerCase().startsWith(r.toLowerCase()))}getOwnProps(){return s(r({},super.getOwnProps()),{options:this.options})}static \u0275fac=(()=>{let e;return function(r){return (e||(e=V(t)))(r||t)}})();static \u0275cmp=w({type:t,selectors:[["OneOfEnumControlRenderer"]],inputs:{options:"options"},features:[A],decls:12,vars:12,consts:[["auto","matAutocomplete"],[3,"ngStyle"],["matInput","","type","text",3,"change","keydown","focus","focusout","id","formControl","matAutocomplete"],["autoActiveFirstOption","",3,"optionSelected","displayWith"],[3,"value"],[4,"ngIf"]],template:function(n,r){if(n&1&&(d(0,"mat-form-field",1)(1,"mat-label"),h(2),u(),d(3,"input",2),x("change",function(a){return r.onChange(a)})("keydown",function(a){return r.updateFilter(a)})("focus",function(){return r.focused=true})("focusout",function(){return r.focused=false}),u(),Se(),d(4,"mat-autocomplete",3,0),x("optionSelected",function(a){return r.onSelect(a)}),fe(6,AEt,2,2,"mat-option",4,cye),B(8,"async"),u(),me(9,NEt,2,1,"mat-hint",5),d(10,"mat-error"),h(11),u()()),n&2){let o=Ve(5);b("ngStyle",Jt(10,Ca,r.hidden?"none":"")),m(2),L(r.label),m(),b("id",r.id)("formControl",r.form)("matAutocomplete",o),we(),m(),b("displayWith",r.displayFn),m(2),ge(U(8,8,r.filteredOptions)),m(3),b("ngIf",r.shouldShowUnfocusedDescription()||r.focused),m(2),L(r.error);}},dependencies:[Yi,oa,er,ze,$t,Ye,ct,qe,rt,it,mn,Dn,_t,Kt,wp,vd,rn,Gs,Vn],styles:["[_nghost-%COMP%]{display:flex;flex-direction:row}mat-form-field[_ngcontent-%COMP%]{flex:1 1 auto}"]})}return t})(),yCt=Qn(5,yve),pye=(()=>{class t extends G4{set stringOptions(e){this.options=e.map(n=>({label:n,value:n}));}mapToProps(e){return Bve(e,this.getOwnProps())}static \u0275fac=(()=>{let e;return function(r){return (e||(e=V(t)))(r||t)}})();static \u0275cmp=w({type:t,selectors:[["EnumControlRenderer"],["AutocompleteControlRenderer"]],inputs:{stringOptions:[0,"options","stringOptions"]},features:[A],decls:12,vars:12,consts:[["auto","matAutocomplete"],[3,"ngStyle"],["matInput","","type","text",3,"change","keydown","focus","focusout","id","formControl","matAutocomplete"],["autoActiveFirstOption","",3,"optionSelected","displayWith"],[3,"value"],[4,"ngIf"]],template:function(n,r){if(n&1&&(d(0,"mat-form-field",1)(1,"mat-label"),h(2),u(),d(3,"input",2),x("change",function(a){return r.onChange(a)})("keydown",function(a){return r.updateFilter(a)})("focus",function(){return r.focused=true})("focusout",function(){return r.focused=false}),u(),Se(),d(4,"mat-autocomplete",3,0),x("optionSelected",function(a){return r.onSelect(a)}),fe(6,PEt,2,2,"mat-option",4,cye),B(8,"async"),u(),me(9,LEt,2,1,"mat-hint",5),d(10,"mat-error"),h(11),u()()),n&2){let o=Ve(5);b("ngStyle",Jt(10,Ca,r.hidden?"none":"")),m(2),L(r.label),m(),b("id",r.id)("formControl",r.form)("matAutocomplete",o),we(),m(),b("displayWith",r.displayFn),m(2),ge(U(8,8,r.filteredOptions)),m(3),b("ngIf",r.shouldShowUnfocusedDescription()||r.focused),m(2),L(r.error);}},dependencies:[Yi,oa,er,ze,$t,Ye,ct,qe,rt,it,mn,Dn,_t,Kt,wp,vd,rn,Gs,Vn],styles:[iI]})}return t})(),ECt=Qn(2,jD),_ye=(()=>{class t extends Li{MAXIMUM_FRACTIONAL_DIGITS=20;oldValue;min;max;multipleOf;locale;numberFormat;decimalSeparator;focused=false;onChange(e){let n=this.oldValue?e.target.value.replace(this.oldValue,""):e.target.value;if(n==="."||n===","||n===" "||n==="0"&&this.getValue()!==""&&(e.target.selectionStart===1&&e.target.selectionEnd===1||e.target.selectionStart===e.target.value.length&&e.target.selectionEnd===e.target.value.length&&e.target.value.indexOf(this.decimalSeparator)!==-1)){this.oldValue=e.target.value;return}super.onChange(e),this.oldValue=this.getValue();}getEventValue=e=>{let n=new RegExp(`[^-+0-9${this.decimalSeparator}]`,"g"),o=e.target.value.replace(n,"").replace(this.decimalSeparator,".");if(o==="")return;let a=+o;return Number.isNaN(a)?e.target.value:a};getValue=()=>this.data!==void 0&&this.data!==null?typeof this.data=="number"?this.numberFormat.format(this.data):this.data:"";mapAdditionalProps(e){if(this.scopedSchema){let n={rootSchema:this.rootSchema,config:e.config},r=I4(this.uischema,this.rootSchema,n)?.1:1;this.min=this.scopedSchema.minimum,this.max=this.scopedSchema.maximum,this.multipleOf=this.scopedSchema.multipleOf||r;let o=(0, rye.default)({},e.config,this.uischema.options),a=this.jsonFormsService.getLocale();(this.locale===void 0||this.locale!==a)&&(this.locale=a,this.numberFormat=new Intl.NumberFormat(this.locale,{useGrouping:o.useGrouping,maximumFractionDigits:this.MAXIMUM_FRACTIONAL_DIGITS}),this.determineDecimalSeparator(),this.oldValue=this.getValue()),this.form.setValue(this.getValue());}}determineDecimalSeparator(){let e=this.numberFormat.format(1.1);this.decimalSeparator=e.charAt(1);}static \u0275fac=(()=>{let e;return function(r){return (e||(e=V(t)))(r||t)}})();static \u0275cmp=w({type:t,selectors:[["NumberControlRenderer"]],features:[A],decls:7,vars:12,consts:[[3,"ngStyle"],["matInput","",3,"input","focus","focusout","value","id","formControl","min","max","step"],[4,"ngIf"]],template:function(n,r){n&1&&(d(0,"mat-form-field",0)(1,"mat-label"),h(2),u(),d(3,"input",1),x("input",function(a){return r.onChange(a)})("focus",function(){return r.focused=true})("focusout",function(){return r.focused=false}),u(),Se(),me(4,FEt,2,1,"mat-hint",2),d(5,"mat-error"),h(6),u()()),n&2&&(b("ngStyle",Jt(10,Ca,r.hidden?"none":"")),m(2),L(r.label),m(),b("value",r.getValue())("id",r.id)("formControl",r.form)("min",r.min)("max",r.max)("step",r.multipleOf),we(),m(),b("ngIf",r.shouldShowUnfocusedDescription()||r.focused),m(2),L(r.error));},dependencies:[Yi,oa,er,ze,$t,Ye,ct,qe,rt,it,mn,Dn,_t,Kt],styles:[iI]})}return t})(),CCt=Qn(2,i_(I4,Eve)),hye=(()=>{class t extends Li{min;max;multipleOf;focused=false;changeDetectorRef=p(ve);getEventValue=e=>Number(e);mapAdditionalProps(){this.scopedSchema&&(this.min=this.scopedSchema.minimum,this.max=this.scopedSchema.maximum,this.multipleOf=this.scopedSchema.multipleOf||1),this.changeDetectorRef.markForCheck();}static \u0275fac=(()=>{let e;return function(r){return (e||(e=V(t)))(r||t)}})();static \u0275cmp=w({type:t,selectors:[["RangeControlRenderer"]],features:[A],decls:9,vars:12,consts:[["ngSlider",""],[1,"range-control",3,"ngStyle"],[1,"mat-caption",2,"color","rgba(0,0,0,.54)"],["showTickMarks","",3,"disabled","max","min","step","discrete","id"],["matSliderThumb","",3,"valueChange"],["class","mat-caption",4,"ngIf"],[1,"mat-caption"]],template:function(n,r){n&1&&(d(0,"div",1)(1,"label",2),h(2),u(),d(3,"mat-slider",3,0)(5,"input",4),x("valueChange",function(a){return r.onChange(a)}),u()(),me(6,BEt,2,1,"mat-hint",5),d(7,"mat-error",6),h(8),u()()),n&2&&(b("ngStyle",Jt(10,Ca,r.hidden?"none":"")),m(2),L(r.label),m(),b("disabled",!r.isEnabled())("max",r.max)("min",r.min)("step",r.multipleOf)("discrete",true)("id",r.id),m(3),b("ngIf",r.shouldShowUnfocusedDescription()),m(2),L(r.error));},dependencies:[Yi,oa,er,nI,Kve,B4,qe,mn,Dn],styles:["[_nghost-%COMP%]{display:flex;flex-direction:row}.range-control[_ngcontent-%COMP%]{flex:1 1 auto;display:flex;flex-direction:column}"]})}return t})(),SCt=Qn(4,Dve),fye=(()=>{class t extends Li{focused=false;getEventValue=e=>e.target.value||void 0;static \u0275fac=(()=>{let e;return function(r){return (e||(e=V(t)))(r||t)}})();static \u0275cmp=w({type:t,selectors:[["TextAreaRenderer"]],features:[A],decls:7,vars:8,consts:[[3,"ngStyle"],["matInput","",3,"input","focus","focusout","id","formControl"],[4,"ngIf"]],template:function(n,r){n&1&&(d(0,"mat-form-field",0)(1,"mat-label"),h(2),u(),d(3,"textarea",1),x("input",function(a){return r.onChange(a)})("focus",function(){return r.focused=true})("focusout",function(){return r.focused=false}),u(),Se(),me(4,$Et,2,1,"mat-hint",2),d(5,"mat-error"),h(6),u()()),n&2&&(b("ngStyle",Jt(6,Ca,r.hidden?"none":"")),m(2),L(r.label),m(),b("id",r.id)("formControl",r.form),we(),m(),b("ngIf",r.shouldShowUnfocusedDescription()||r.focused),m(2),L(r.error));},dependencies:[Yi,oa,er,ze,$t,Ye,ct,qe,rt,it,mn,Dn,_t,Kt],styles:[iI]})}return t})(),wCt=Qn(2,Sve),gye=(()=>{class t extends Li{focused=false;getEventValue=e=>e.target.value||void 0;getType=()=>{if(this.uischema.options&&this.uischema.options.format)return this.uischema.options.format;if(this.scopedSchema&&this.scopedSchema.format)switch(this.scopedSchema.format){case "email":return "email";case "tel":return "tel";default:return "text"}return "text"};static \u0275fac=(()=>{let e;return function(r){return (e||(e=V(t)))(r||t)}})();static \u0275cmp=w({type:t,selectors:[["TextControlRenderer"]],features:[A],decls:7,vars:9,consts:[[3,"ngStyle"],["matInput","",3,"input","focus","focusout","type","id","formControl"],[4,"ngIf"]],template:function(n,r){n&1&&(d(0,"mat-form-field",0)(1,"mat-label"),h(2),u(),d(3,"input",1),x("input",function(a){return r.onChange(a)})("focus",function(){return r.focused=true})("focusout",function(){return r.focused=false}),u(),Se(),me(4,VEt,2,1,"mat-hint",2),d(5,"mat-error"),h(6),u()()),n&2&&(b("ngStyle",Jt(7,Ca,r.hidden?"none":"")),m(2),L(r.label),m(),b("type",r.getType())("id",r.id)("formControl",r.form),we(),m(),b("ngIf",r.shouldShowUnfocusedDescription()||r.focused),m(2),L(r.error));},dependencies:[Yi,oa,er,ze,$t,Ye,ct,qe,rt,it,mn,Dn,_t,Kt],styles:[iI]})}return t})(),TCt=Qn(1,Cve),bye=(()=>{class t extends Li{changeDetectorRef=p(ve);isChecked=()=>this.data||false;getEventValue=e=>e.checked;mapAdditionalProps(){this.changeDetectorRef.markForCheck();}static \u0275fac=(()=>{let e;return function(r){return (e||(e=V(t)))(r||t)}})();static \u0275cmp=w({type:t,selectors:[["ToggleControlRenderer"]],features:[A],decls:6,vars:9,consts:[[3,"ngStyle"],[3,"change","checked","disabled","id"],["class","mat-caption",4,"ngIf"],[1,"mat-caption"]],template:function(n,r){n&1&&(d(0,"div",0)(1,"mat-slide-toggle",1),x("change",function(a){return r.onChange(a)}),h(2),u(),me(3,UEt,2,1,"mat-hint",2),d(4,"mat-error",3),h(5),u()()),n&2&&(b("ngStyle",Jt(7,Ca,r.hidden?"none":"")),m(),b("checked",r.isChecked())("disabled",!r.isEnabled())("id",r.id),m(),j(" ",r.label," "),m(),b("ngIf",r.shouldShowUnfocusedDescription()),m(2),L(r.error));},dependencies:[Yi,oa,er,Hf,Ky,qe,mn,Dn],encapsulation:2})}return t})(),xCt=Qn(3,dr(oE,Pc("toggle",true))),DCt=(()=>{class t extends Pd{label;visible;jsonFormsService=p(Ua);ngOnInit(){this.addSubscription(this.jsonFormsService.$state.subscribe({next:e=>{let n=JD(e,this.getOwnProps());this.visible=n.visible,this.label=n.text;}}));}static \u0275fac=(()=>{let e;return function(r){return (e||(e=V(t)))(r||t)}})();static \u0275cmp=w({type:t,selectors:[["LabelRenderer"]],features:[A],decls:2,vars:1,consts:[[1,"mat-headline-6"]],template:function(n,r){n&1&&(ye(0,"label",0),h(1),be()),n&2&&(m(),j(" ",r.label," "));},styles:["[_nghost-%COMP%]{flex:1 1 auto}"],changeDetection:1})}return t})(),ICt=Qn(4,Pi("Label")),vye=(()=>{class t{_item;_schema;initialized=false;set item(e){e&&(this._item=e,this.initialized=true);}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=w({type:t,selectors:[["jsonforms-detail"]],inputs:{item:"item"},decls:1,vars:1,consts:[[4,"ngIf"],[3,"renderProps"]],template:function(n,r){n&1&&me(0,HEt,2,1,"div",0),n&2&&b("ngIf",r.initialized);},dependencies:[Yi,oa,Ea,Lc],encapsulation:2,changeDetection:1})}return t})(),MCt=["#","properties","items"],kCt=t=>t_(t.split("/").filter(i=>!(0, oye.default)(MCt,e=>e===i)).join(".")),yye=(()=>{class t extends lE{masterItems;selectedItem;selectedItemIdx;addItem;removeItems;highlightedIdx;translations;changeDetectorRef=p(ve);onListItemHover(e){this.highlightedIdx=e;}trackElement(e,n){return n?n.label:null}ngOnInit(){super.ngOnInit();let e=this.jsonFormsService.updateCore.bind(this.jsonFormsService),{addItem:n,removeItems:r}=XD(e);this.addItem=n,this.removeItems=r;}mapAdditionalProps(e){let{data:n,path:r,schema:o,uischema:a}=e,s=a;this.propsPath=e.path;let l=WD(e.uischemas,o,`${s.scope}/items`,e.path,"VerticalLayout",s,e.rootSchema);this.isEnabled()||tE(l),this.translations=e.translations;let c=(n||[]).map((g,v)=>{let E=s.options?.labelRef&&kCt(s.options.labelRef);return {label:g!==void 0&&typeof g!="object"?g.toString():(0, aye.default)(g,E??sve(o)),data:g,path:`${r}.${v}`,schema:o,uischema:l}});this.masterItems=c;let _=-1,f;this.masterItems.length===0?(this.selectedItem=void 0,this.selectedItemIdx=-1):this.selectedItemIdx>=this.masterItems.length?(_=this.masterItems.length-1,f=this.masterItems[_]):this.selectedItemIdx!==-1&&this.selectedItemIdx<this.masterItems.length&&(_=this.selectedItemIdx,f=this.masterItems[this.selectedItemIdx]),f!==void 0&&this.selectedItem!==void 0&&(f.label===this.selectedItem.label||f.path===this.selectedItem.path)?(this.selectedItem=f,this.selectedItemIdx=_):this.masterItems.length>0&&(this.selectedItem=this.masterItems[0],this.selectedItemIdx=0),this.changeDetectorRef.markForCheck();}onSelect(e,n){this.selectedItem=e,this.selectedItemIdx=n;}onAddClick(){this.addItem(this.propsPath,KD(this.scopedSchema,this.rootSchema))();}onDeleteClick(e){this.removeItems(this.propsPath,[e])();}mapToProps(e){let n=ZD(e,this.getOwnProps()),r$1=e.jsonforms.i18n?.translate??Ac.translate,o=rE(r$1,iE,n.i18nKeyPrefix,n.label);return s(r({},n),{translations:o})}static \u0275fac=(()=>{let e;return function(r){return (e||(e=V(t)))(r||t)}})();static \u0275cmp=w({type:t,selectors:[["jsonforms-list-with-detail-master"]],features:[A],decls:8,vars:8,consts:[["autosize","true",1,"container",3,"ngStyle"],["mode","side","opened",""],[4,"ngIf"],[3,"selected","click","mouseover","mouseout",4,"ngFor","ngForOf","ngForTrackBy"],["mat-fab","","color","primary","class","add-button",3,"click",4,"ngIf"],[1,"content"],[3,"item",4,"ngIf"],[3,"click","mouseover","mouseout"],["matLine",""],["mat-icon-button","","class","button item-button hide",3,"ngClass","click",4,"ngIf"],["mat-icon-button","",1,"button","item-button","hide",3,"click","ngClass"],["mat-list-icon",""],["mat-fab","","color","primary",1,"add-button",3,"click"],[3,"item"]],template:function(n,r){n&1&&(d(0,"mat-sidenav-container",0)(1,"mat-sidenav",1)(2,"mat-nav-list"),me(3,GEt,2,1,"mat-list-item",2)(4,jEt,4,4,"mat-list-item",3),u(),me(5,YEt,3,1,"button",4),u(),d(6,"mat-sidenav-content",5),me(7,WEt,1,1,"jsonforms-detail",6),u()()),n&2&&(b("ngStyle",Jt(6,Ca,r.hidden?"none":"")),m(3),b("ngIf",r.masterItems.length===0),m(),b("ngForOf",r.masterItems)("ngForTrackBy",r.trackElement),m(),b("ngIf",r.isEnabled()),m(2),b("ngIf",r.selectedItem));},dependencies:[Yi,xr,sc,oa,er,Bu,sL,aie,jx,Gf,xre,f1,Et,Mn,Qh,mt,We,vye],styles:["mat-list-item.selected[_ngcontent-%COMP%]{background:#0000000a}.container[_ngcontent-%COMP%]{height:100vh}.content[_ngcontent-%COMP%]{padding:15px;background-color:#fff}.add-button[_ngcontent-%COMP%]{float:right;margin-top:.5em;margin-right:.25em}.button[_ngcontent-%COMP%]{float:right;margin-right:.25em}.item-button[_ngcontent-%COMP%]{position:absolute;top:0;right:0}.hide[_ngcontent-%COMP%]{display:none}.show[_ngcontent-%COMP%]{display:inline-block}mat-sidenav[_ngcontent-%COMP%]{width:20%}"]})}return t})(),OCt=Qn(4,Pi("ListWithDetail")),Eye=(()=>{class t extends eI{detailUiSchema;mapAdditionalProps(e){this.detailUiSchema=WD(e.uischemas,e.schema,e.uischema.scope,e.path,()=>{let n=(0, lye.default)(e.schema);return delete n.oneOf,delete n.anyOf,delete n.allOf,zD.uiSchema(n,"Group",void 0,this.rootSchema)},e.uischema,e.rootSchema),(0, sye.default)(e.path)?this.detailUiSchema.type="VerticalLayout":this.detailUiSchema.label=(0, z4.default)(e.path),this.isEnabled()||tE(this.detailUiSchema);}static \u0275fac=(()=>{let e;return function(r){return (e||(e=V(t)))(r||t)}})();static \u0275cmp=w({type:t,selectors:[["ObjectRenderer"]],features:[A],decls:2,vars:3,consts:[["appearance","outlined",1,"object-layout"],[3,"uischema","schema","path"]],template:function(n,r){n&1&&(d(0,"mat-card",0),O(1,"jsonforms-outlet",1),u()),n&2&&(m(),b("uischema",r.detailUiSchema)("schema",r.scopedSchema)("path",r.propsPath));},dependencies:[Ea,Lc,Tc,Ru],styles:[".object-layout[_ngcontent-%COMP%]{padding:16px}"]})}return t})(),RCt=Qn(2,vve),nye=t=>({type:"Control",scope:t,label:false}),ACt=(()=>{class t{transform(e,n){let r=i4.compose(n.path,`${e}`);return {schema:n.schema,uischema:n.uischema,path:r}}static \u0275fac=function(n){return new(n||t)};static \u0275pipe=Ji({name:"getProps",type:t,pure:true})}return t})(),Cye=(()=>{class t extends lE{detailUiSchema;displayedColumns;items;columnsToIgnore=["array","object"];addItem;moveItemUp;moveItemDown;removeItems;translations={};trackElement(e,n){return e||null}mapAdditionalProps(e){this.items=this.generateCells(e.schema,e.path),this.displayedColumns=this.items.map(n=>n.property),this.isEnabled()&&this.displayedColumns.push("action"),this.translations=e.translations;}remove(e){this.removeItems(this.propsPath,[e])();}add(){this.addItem(this.propsPath,KD(this.scopedSchema,this.rootSchema))();}up(e){this.moveItemUp(this.propsPath,e)();}down(e){this.moveItemDown(this.propsPath,e)();}ngOnInit(){super.ngOnInit();let{addItem:e,removeItems:n,moveUp:r,moveDown:o}=XD(this.jsonFormsService.updateCore.bind(this.jsonFormsService));this.addItem=e,this.moveItemUp=r,this.moveItemDown=o,this.removeItems=n;}generateCells=(e,n)=>e.type==="object"?this.getValidColumnProps(e).map(r=>{let o=QB(r),a=nye(`#/properties/${o}`);return this.isEnabled()||tE(a),{property:r,header:(0, z4.default)(r),props:{schema:e,uischema:a,path:n}}}):[{property:"DUMMY",header:this.label,props:{schema:e,uischema:nye("#"),path:n}}];getValidColumnProps=e=>e.type==="object"?Object.keys(e.properties).filter(n=>{let r=Ad(e.properties[n]);return r.length>1?false:this.columnsToIgnore.indexOf(r[0])===-1}):[""];static \u0275fac=(()=>{let e;return function(r){return (e||(e=V(t)))(r||t)}})();static \u0275cmp=w({type:t,selectors:[["TableRenderer"]],features:[A],decls:11,vars:5,consts:[[1,"table-container"],["mat-table","",1,"mat-elevation-z8",3,"dataSource","trackBy"],["matColumnDef","action","stickyEnd",""],["mat-header-cell","",3,"ngClass",4,"matHeaderCellDef"],["mat-cell","",3,"ngClass",4,"matCellDef"],[3,"matColumnDef",4,"ngFor","ngForOf"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell","",3,"ngClass"],["mat-button","","color","primary",3,"click","disabled","matTooltip"],["mat-cell","",3,"ngClass"],["class","item-up","mat-icon-button","","matTooltipPosition","right",3,"disabled","matTooltip","click",4,"ngIf"],["class","item-down","mat-icon-button","","matTooltipPosition","right",3,"disabled","matTooltip","click",4,"ngIf"],["mat-icon-button","","color","warn","matTooltipPosition","right",3,"click","disabled","matTooltip"],["mat-icon-button","","matTooltipPosition","right",1,"item-up",3,"click","disabled","matTooltip"],["mat-icon-button","","matTooltipPosition","right",1,"item-down",3,"click","disabled","matTooltip"],[3,"matColumnDef"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-cell",""],["mat-cell",""],[3,"renderProps"],["mat-header-row",""],["mat-row",""]],template:function(n,r){n&1&&(d(0,"div",0)(1,"table",1),Zt(2,2),d(3,"tr"),me(4,KEt,4,5,"th",3),u(),d(5,"tr"),me(6,XEt,6,7,"td",4),u(),O(7,"tr"),Xt(),me(8,tCt,3,2,"ng-container",5)(9,nCt,1,0,"tr",6)(10,iCt,1,0,"tr",7),u()()),n&2&&(m(),b("dataSource",r.data)("trackBy",r.trackElement),m(7),b("ngForOf",r.items),m(),b("matHeaderRowDef",r.displayedColumns),m(),b("matRowDefColumns",r.displayedColumns));},dependencies:[Yi,xr,sc,oa,Ea,Lc,Mp,js,mf,ff,pf,uf,gf,_f,hf,bf,vf,Et,cn,Mn,mt,We,Mr,Ii,ACt],styles:["table[_ngcontent-%COMP%]{width:100%}",".cdk-column-action[_ngcontent-%COMP%]{width:15%}",".sort-column[_ngcontent-%COMP%]{min-width:12vw}",".table-container[_ngcontent-%COMP%]{max-width:100%;overflow:auto}"],changeDetection:1})}return t})(),NCt=Qn(3,i_(wve,xve)),Sye=(()=>{class t extends Pd{hidden;visibleCategories;categoryLabels;jsonFormsService=p(Ua);ngOnInit(){this.addSubscription(this.jsonFormsService.$state.subscribe({next:e=>{let n=N4(e,this.getOwnProps());this.hidden=!n.visible,this.visibleCategories=this.uischema.elements.filter(r=>nE(r,n.data,void 0,r_(e),zl(e))),this.categoryLabels=this.visibleCategories.map(r=>T4(r,e.jsonforms.i18n?.translate??Ac.translate));}}));}static \u0275fac=(()=>{let e;return function(r){return (e||(e=V(t)))(r||t)}})();static \u0275cmp=w({type:t,selectors:[["jsonforms-categorization-layout"]],features:[A],decls:2,vars:4,consts:[["dynamicHeight","true",3,"ngStyle"],[3,"label",4,"ngFor","ngForOf"],[3,"label"],[4,"ngFor","ngForOf"],[3,"uischema","path","schema"]],template:function(n,r){n&1&&(d(0,"mat-tab-group",0),me(1,oCt,2,2,"mat-tab",1),u()),n&2&&(b("ngStyle",Jt(2,Ca,r.hidden?"none":"")),m(),b("ngForOf",r.visibleCategories));},dependencies:[Yi,sc,er,Ea,Lc,yc,Cp,Kh],encapsulation:2,changeDetection:1})}return t})(),PCt=Qn(2,dr(Pi("Categorization"),Mve)),q4=(()=>{class t extends Pd{hidden;label;jsonFormsService=p(Ua);changeDetectionRef=p(ve);ngOnInit(){this.addSubscription(this.jsonFormsService.$state.subscribe({next:e=>{let n=N4(e,this.getOwnProps());this.label=n.label,this.hidden=!n.visible,this.changeDetectionRef.markForCheck();}}));}trackElement(e,n){return n?n.path+JSON.stringify(n.uischema):null}static \u0275fac=(()=>{let e;return function(r){return (e||(e=V(t)))(r||t)}})();static \u0275cmp=w({type:t,selectors:[["ng-component"]],features:[A],decls:0,vars:0,template:function(n,r){},encapsulation:2,changeDetection:1})}return t})(),j4=(()=>{class t{transform(e,n,r){return (e.elements||[]).map(a=>({uischema:a,schema:n,path:r}))}static \u0275fac=function(n){return new(n||t)};static \u0275pipe=Ji({name:"layoutChildrenRenderProps",type:t,pure:true})}return t})(),wye=(()=>{class t extends q4{static \u0275fac=(()=>{let e;return function(r){return (e||(e=V(t)))(r||t)}})();static \u0275cmp=w({type:t,selectors:[["GroupLayoutRenderer"]],features:[A],decls:5,vars:10,consts:[["appearance","outlined",1,"group-layout",3,"ngStyle"],[1,"mat-headline-6"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"renderProps"]],template:function(n,r){n&1&&(d(0,"mat-card",0)(1,"mat-card-title",1),h(2),u(),me(3,aCt,2,1,"div",2),B(4,"layoutChildrenRenderProps"),u()),n&2&&(b("ngStyle",Jt(8,Ca,r.hidden?"none":"")),m(2),L(r.label),m(),b("ngForOf",No(4,4,r.uischema,r.schema,r.path))("ngForTrackBy",r.trackElement));},dependencies:[Yi,sc,er,Ea,Lc,Tc,Ru,Cx,j4],styles:[".group-layout[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:16px;padding:16px}.group-layout[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{flex:1 1 auto}"]})}return t})(),LCt=Qn(1,Pi("Group")),Tye=(()=>{class t extends q4{static \u0275fac=(()=>{let e;return function(r){return (e||(e=V(t)))(r||t)}})();static \u0275cmp=w({type:t,selectors:[["HorizontalLayoutRenderer"]],features:[A],decls:3,vars:9,consts:[[1,"horizontal-layout",3,"ngStyle"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"renderProps"]],template:function(n,r){n&1&&(d(0,"div",0),me(1,sCt,2,1,"div",1),B(2,"layoutChildrenRenderProps"),u()),n&2&&(b("ngStyle",Jt(7,Ca,r.hidden?"none":"")),m(),b("ngForOf",No(2,3,r.uischema,r.schema,r.path))("ngForTrackBy",r.trackElement));},dependencies:[Yi,sc,er,Ea,Lc,j4],styles:[".horizontal-layout[_ngcontent-%COMP%]{display:flex;gap:16px;flex-flow:row wrap;align-items:flex-start;place-content:flex-start center}.horizontal-layout[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{flex:1 1 auto}"]})}return t})(),FCt=Qn(1,Pi("HorizontalLayout")),xye=(()=>{class t extends q4{static \u0275fac=(()=>{let e;return function(r){return (e||(e=V(t)))(r||t)}})();static \u0275cmp=w({type:t,selectors:[["VerticalLayoutRenderer"]],features:[A],decls:3,vars:9,consts:[[1,"vertical-layout",3,"ngStyle"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"renderProps"]],template:function(n,r){n&1&&(d(0,"div",0),me(1,lCt,2,1,"div",1),B(2,"layoutChildrenRenderProps"),u()),n&2&&(b("ngStyle",Jt(7,Ca,r.hidden?"none":"")),m(),b("ngForOf",No(2,3,r.uischema,r.schema,r.path))("ngForTrackBy",r.trackElement));},dependencies:[Yi,sc,er,Ea,Lc,j4],styles:[".vertical-layout[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:16px}.vertical-layout[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{flex:1 1 auto}"]})}return t})(),BCt=Qn(1,Pi("VerticalLayout")),Dye=(()=>{class t extends cE{noData;translations={};addItem;moveItemUp;moveItemDown;removeItems;uischemas;mapToProps(e){let n=Uve(e,this.getOwnProps()),r$1=e.jsonforms.i18n?.translate??Ac.translate,o=rE(r$1,iE,n.i18nKeyPrefix,n.label);return s(r({},n),{translations:o})}remove(e){this.removeItems(this.propsPath,[e])();}add(){this.addItem(this.propsPath,KD(this.scopedSchema,this.rootSchema))();}up(e){this.moveItemUp(this.propsPath,e)();}down(e){this.moveItemDown(this.propsPath,e)();}ngOnInit(){super.ngOnInit();let{addItem:e,removeItems:n,moveUp:r,moveDown:o}=XD(this.jsonFormsService.updateCore.bind(this.jsonFormsService));this.addItem=e,this.moveItemUp=r,this.moveItemDown=o,this.removeItems=n;}mapAdditionalProps(e){this.noData=!e.data||e.data===0,this.uischemas=e.uischemas,this.translations=e.translations;}getProps(e){let n=WD(this.uischemas,this.scopedSchema,this.uischema.scope,this.propsPath,void 0,this.uischema,this.rootSchema);return this.isEnabled()?rve(n):tE(n),{schema:this.scopedSchema,path:i4.compose(this.propsPath,`${e}`),uischema:n}}trackByFn(e){return e}static \u0275fac=(()=>{let e;return function(r){return (e||(e=V(t)))(r||t)}})();static \u0275cmp=w({type:t,selectors:[["app-array-layout-renderer"]],features:[A],decls:12,vars:13,consts:[[1,"array-layout",3,"ngStyle"],[1,"array-layout-toolbar"],[1,"mat-h2","array-layout-title"],["color","warn","matBadgeColor","warn","matTooltipClass","error-message-tooltip",3,"matBadge","matTooltip",4,"ngIf"],["mat-button","",3,"click","matTooltip","disabled"],[4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],["color","warn","matBadgeColor","warn","matTooltipClass","error-message-tooltip",3,"matBadge","matTooltip"],["appearance","outlined",1,"array-item"],[3,"renderProps"],["class","item-up","mat-button","","matTooltipPosition","right",3,"disabled","matTooltip","click",4,"ngIf"],["class","item-down","mat-button","","matTooltipPosition","right",3,"disabled","matTooltip","click",4,"ngIf"],["mat-button","","color","warn","matTooltipPosition","right",3,"click","matTooltip"],["mat-button","","matTooltipPosition","right",1,"item-up",3,"click","disabled","matTooltip"],["mat-button","","matTooltipPosition","right",1,"item-down",3,"click","disabled","matTooltip"]],template:function(n,r){n&1&&(d(0,"div",0)(1,"div",1)(2,"h2",2),h(3),u(),O(4,"span"),me(5,dCt,2,4,"mat-icon",3),O(6,"span"),d(7,"button",4),x("click",function(){return r.add()}),d(8,"mat-icon"),h(9,"add"),u()()(),me(10,uCt,2,1,"p",5)(11,hCt,5,2,"div",6),u()),n&2&&(b("ngStyle",Jt(10,Ca,r.hidden?"none":"")),m(3),L(r.label),m(2),b("ngIf",r.error==null?null:r.error.length),m(2),b("matTooltip",Nt(r.translations.addTooltip))("disabled",!r.isEnabled()),$("aria-label",r.translations.addAriaLabel),m(3),b("ngIf",r.noData),m(),b("ngForOf",Gn(12,cCt).constructor(r.data))("ngForTrackBy",r.trackByFn));},dependencies:[Yi,sc,oa,er,Ea,Lc,Tc,Ru,lte,yf,Et,cn,mt,We,L4,tI,Mr,Ii],styles:[".array-layout[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:16px}.array-layout[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:1 1 auto}.array-layout-toolbar[_ngcontent-%COMP%]{display:flex;align-items:center}.array-layout-title[_ngcontent-%COMP%]{margin:0}.array-layout-toolbar[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{flex:1 1 auto}.array-item[_ngcontent-%COMP%]{padding:16px} .error-message-tooltip{white-space:pre-line}"]})}return t})(),$Ct=Qn(4,Tve),il=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=_e({type:t});static \u0275inj=pe({imports:[Yi,Ea,qe,qs,_t,nI,Hf,ry,Qs,yc,Bu,Gf,ze,Tc,ci,Et,mt,wp,Mp,Us,Mr,L4,uye,fye,gye,_ye,hye,mye,bye,xye,Tye,Sye,wye,yye,vye,Eye,pye,G4,Cye,Dye,Yi,Ea,qe,qs,_t,nI,Hf,ry,Qs,yc,Bu,Gf,ze,Tc,ci,Et,mt,wp]})}return t})(),Iye=[{tester:fCt,renderer:uye},{tester:TCt,renderer:gye},{tester:wCt,renderer:fye},{tester:CCt,renderer:_ye},{tester:SCt,renderer:hye},{tester:vCt,renderer:mye},{tester:xCt,renderer:bye},{tester:ECt,renderer:pye},{tester:yCt,renderer:G4},{tester:RCt,renderer:Eye},{tester:BCt,renderer:xye},{tester:LCt,renderer:wye},{tester:FCt,renderer:Tye},{tester:PCt,renderer:Sye},{tester:ICt,renderer:DCt},{tester:$Ct,renderer:Dye},{tester:OCt,renderer:yye},{tester:NCt,renderer:Cye}];var Mye={type:"VerticalLayout",elements:[{type:"Control",scope:"#/properties/exampleRadioEnum",options:{format:"radio"}},{type:"Control",label:false,scope:"#/properties/done"},{type:"HorizontalLayout",elements:[{type:"Control",scope:"#/properties/name"},{type:"Control",scope:"#/properties/phone"}]},{type:"HorizontalLayout",elements:[{type:"Control",scope:"#/properties/due_date"},{type:"Control",scope:"#/properties/niss"},{type:"Control",scope:"#/properties/iban"},{type:"Control",scope:"#/properties/recurrence"}]}]};var kye={type:"object",properties:{exampleRadioEnum:{type:"string",enum:["One","Two","Three"]},name:{type:"string",minLength:1},done:{type:"boolean"},due_date:{type:"string",format:"date"},recurrence:{type:"string",enum:["Never","Daily","Weekly","Monthly"]},phone:{type:"string"},niss:{type:"string"},iban:{type:"string"}},required:["name","due_date","phone"]};function VCt(t,i){if(t&1&&(d(0,"mat-error"),h(1),u()),t&2){let e=C(2);m(),j(" ",e.error);}}function UCt(t,i){if(t&1){let e=Te();d(0,"mat-checkbox",0),x("change",function(r){Z(e);let o=C();return X(o.onCheckboxChange(r.checked))}),h(1),B(2,"translate"),u(),D(3,VCt,2,1,"mat-error");}if(t&2){let e=C();b("color",e.color())("checked",!!e.data)("indeterminate",e.indeterminate())("disabled",!e.enabled),m(),L(U(2,6,e.uischema.i18n+"")),m(2),I(e.error?3:-1);}}var Oye=(()=>{class t extends Li{constructor(){super(...arguments),this.color=y(""),this.indeterminate=y(false),this.getEventValue=e=>e;}onCheckboxChange(e){this.onChange(e);}static{this.\u0275fac=(()=>{let e;return function(r){return (e||(e=V(t)))(r||t)}})();}static{this.\u0275cmp=w({type:t,selectors:[["app-demo-checkbox"]],inputs:{color:[1,"color"],indeterminate:[1,"indeterminate"]},features:[A],decls:1,vars:1,consts:[[3,"change","color","checked","indeterminate","disabled"]],template:function(n,r){n&1&&D(0,UCt,4,8),n&2&&I(r.hidden?-1:0);},dependencies:[qs,wo,il,Dn,ot],encapsulation:2});}}return t})(),Rye=Qn(3,oE);var HCt=new F("MAT_LUXON_DATE_ADAPTER_OPTIONS",{providedIn:"root",factory:()=>({useUtc:false,defaultOutputCalendar:"gregory"})});function zCt(t,i){let e=Array(t);for(let n=0;n<t;n++)e[n]=i(n);return e}var GCt=(()=>{class t extends xn{_useUTC;_firstDayOfWeek;_defaultOutputCalendar;constructor(){super();let e=p(_p,{optional:true}),n=p(HCt,{optional:true});this._useUTC=!!n?.useUtc,this._firstDayOfWeek=n?.firstDayOfWeek,this._defaultOutputCalendar=n?.defaultOutputCalendar||"gregory",this.setLocale(e||Ct.local().locale);}getYear(e){return e.year}getMonth(e){return e.month-1}getDate(e){return e.day}getDayOfWeek(e){return e.weekday}getMonthNames(e){return as.months(e,{locale:this.locale,outputCalendar:this._defaultOutputCalendar})}getDateNames(){let e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return zCt(31,n=>e.format(Ct.utc(2017,1,n+1).toJSDate()))}getDayOfWeekNames(e){let n=as.weekdays(e,{locale:this.locale});return n.unshift(n.pop()),n}getYearName(e){return e.toFormat("yyyy",this._getOptions())}getFirstDayOfWeek(){return this._firstDayOfWeek??as.getStartOfWeek({locale:this.locale})}getNumDaysInMonth(e){return e.daysInMonth}clone(e){return Ct.fromObject(e.toObject(),this._getOptions())}createDate(e,n,r){let o=this._getOptions();if(n<0||n>11)throw Error(`Invalid month index "${n}". Month index has to be between 0 and 11.`);if(r<1)throw Error(`Invalid date "${r}". Date has to be greater than 0.`);let a=this._useUTC?Ct.utc(e,n+1,r,o):Ct.local(e,n+1,r,o);if(!this.isValid(a))throw Error(`Invalid date "${r}". Reason: "${a.invalidReason}".`);return a}today(){let e=this._getOptions();return this._useUTC?Ct.utc(e):Ct.local(e)}parse(e,n){let r=this._getOptions();if(typeof e=="string"&&e.length>0){let o=Ct.fromISO(e,r);if(this.isValid(o))return o;let a=Array.isArray(n)?n:[n];if(!n.length)throw Error("Formats array must not be empty.");for(let s of a){let l=Ct.fromFormat(e,s,r);if(this.isValid(l))return l}return this.invalid()}else {if(typeof e=="number")return Ct.fromMillis(e,r);if(e instanceof Date)return Ct.fromJSDate(e,r);if(e instanceof Ct)return Ct.fromMillis(e.toMillis(),r)}return null}format(e,n){if(!this.isValid(e))throw Error("LuxonDateAdapter: Cannot format invalid date.");return this._useUTC?e.setLocale(this.locale).setZone("utc").toFormat(n):e.setLocale(this.locale).toFormat(n)}addCalendarYears(e,n){return e.reconfigure(this._getOptions()).plus({years:n})}addCalendarMonths(e,n){return e.reconfigure(this._getOptions()).plus({months:n})}addCalendarDays(e,n){return e.reconfigure(this._getOptions()).plus({days:n})}toIso8601(e){return e.toISO()}deserialize(e){let n=this._getOptions(),r;if(e instanceof Date&&(r=Ct.fromJSDate(e,n)),typeof e=="string"){if(!e)return null;r=Ct.fromISO(e,n);}return r&&this.isValid(r)?r:super.deserialize(e)}isDateInstance(e){return e instanceof Ct}isValid(e){return e.isValid}invalid(){return Ct.invalid("Invalid Luxon DateTime object.")}setTime(e,n,r,o){return this.clone(e).set({hour:n,minute:r,second:o,millisecond:0})}getHours(e){return e.hour}getMinutes(e){return e.minute}getSeconds(e){return e.second}parseTime(e,n){let r=this.parse(e,n);return (!r||!this.isValid(r))&&typeof e=="string"&&this.parse(e.replace(/[^0-9:(AM|PM)]/gi,""),n)||r}addSeconds(e,n){return e.reconfigure(this._getOptions()).plus({seconds:n})}_getOptions(){return {zone:this._useUTC?"utc":void 0,locale:this.locale,outputCalendar:this._defaultOutputCalendar}}static \u0275fac=function(n){return new(n||t)};static \u0275prov=Ke({token:t,factory:t.\u0275fac,autoProvided:false})}return t})(),qCt={parse:{dateInput:"D",timeInput:"t"},display:{dateInput:"D",timeInput:"t",monthYearLabel:"LLL yyyy",dateA11yLabel:"DD",monthYearA11yLabel:"LLLL yyyy",timeOptionLabel:"t"}};function rI(t=qCt){return [{provide:xn,useClass:GCt},{provide:sr,useValue:t}]}var jCt=t=>({display:t});function YCt(t,i){if(t&1&&(d(0,"mat-hint"),h(1),u()),t&2){let e=C();m(),L(e.description);}}function WCt(t,i){if(t&1&&(d(0,"mat-error"),h(1),u()),t&2){let e=C();m(),L(e.error);}}var Aye="yyyy-MM-dd",Nye=(()=>{class t extends Li{constructor(){super(...arguments),this.focused=false,this.startView="month",this.panelClass="",this.views=["year","month","day"],this.OnemrvaMatDatepickerHeaderComponent=Pu,this.maxDate=null,this.minDate=null,this.dateAdapter=p(xn),this.getEventValue=e=>{let n=e.value?e.value:e;return this.dateAdapter.format(n,this.getSaveFormat())};}mapToProps(e){let n=super.mapToProps(e),r$1=this.uischema?.options?.dateSaveFormat?this.uischema.options.dateSaveFormat:Aye;this.views=this.uischema?.options?.views?this.uischema.options.views:["year","month","day"],this.setDateLimits(),this.setViewProperties(),this.uischema?.options?.dateFormat&&this.dateAdapter.setLocale(this.jsonFormsService.getLocale()||"en");let a=null;if(n.data)try{a=this.dateAdapter.parse(n.data,r$1);}catch(s){console.warn("Failed to parse date:",n.data,s);}return s(r({},n),{data:a})}setDateLimits(){let e=this.uischema?.options;e?.maxDate&&(this.maxDate=this.parseDate(e.maxDate)),e?.minDate&&(this.minDate=this.parseDate(e.minDate));}parseDate(e){if(e==="today")return new Date;if(e==="tomorrow"){let n=new Date;return n.setDate(n.getDate()+1),n}else if(e==="yesterday"){let n=new Date;return n.setDate(n.getDate()-1),n}else if(typeof e=="string")try{let n=this.dateAdapter.parse(e,this.getSaveFormat());return n?this.luxonToDate(n):null}catch(n){return console.warn("Failed to parse date:",e,n),null}else if(e instanceof Date)return e;return null}luxonToDate(e){return e.toJSDate()}yearSelected(e,n){!this.views.includes("day")&&!this.views.includes("month")&&(this.onChange(e),n.close());}monthSelected(e,n){this.views.includes("day")||(this.onChange(e),n.close());}setViewProperties(){this.views.includes("day")?this.startView="month":(this.startView="multi-year",this.panelClass="no-panel-navigation");}getSaveFormat(){return this.uischema?.options?.dateSaveFormat||Aye}static{this.\u0275fac=(()=>{let e;return function(r){return (e||(e=V(t)))(r||t)}})();}static{this.\u0275cmp=w({type:t,selectors:[["app-date-picker-renderer"]],features:[he([rI()]),A],decls:10,vars:15,consts:[["picker","","datepicker",""],[1,"date-control-renderer",3,"ngStyle"],["matInput","",3,"dateChange","focus","focusout","id","formControl","matDatepicker","max","min"],["matSuffix","",3,"for"],[3,"yearSelected","monthSelected","calendarHeaderComponent","startView","panelClass"]],template:function(n,r){if(n&1){let o=Te();d(0,"mat-form-field",1)(1,"mat-label"),h(2),u(),d(3,"input",2),x("dateChange",function(s){return r.onChange(s)})("focus",function(){return r.focused=true})("focusout",function(){return r.focused=false}),u(),Se(),O(4,"mat-datepicker-toggle",3),d(5,"mat-datepicker",4,0),x("yearSelected",function(s){Z(o);let l=Ve(6);return X(r.yearSelected(s,l))})("monthSelected",function(s){Z(o);let l=Ve(6);return X(r.monthSelected(s,l))}),u(),D(8,YCt,2,1,"mat-hint"),D(9,WCt,2,1,"mat-error"),u();}if(n&2){let o=Ve(7);b("ngStyle",Jt(13,jCt,r.hidden?"none":"")),m(2),L(r.label),m(),b("id",r.id)("formControl",r.form)("matDatepicker",o)("max",r.maxDate)("min",r.minDate),we(),m(),b("for",o),m(),b("calendarHeaderComponent",r.OnemrvaMatDatepickerHeaderComponent)("startView",r.startView)("panelClass",r.panelClass),m(3),I(r.shouldShowUnfocusedDescription()||r.focused?8:-1),m(),I(r.error?9:-1);}},dependencies:[rt,Na,il,er,it,mn,Dn,Wi,Kt,Ks,fa,$t,Ye,ct],styles:[`DateControlRenderer{display:flex;flex-direction:row}.date-control-renderer{flex:1 1 auto}.no-panel-navigation .mat-calendar-period-button{pointer-events:none}.no-panel-navigation .mat-calendar-arrow{display:none}.mat-headline-6{font-size:5px;line-height:.6;color:#000}
|
|
10792
10792
|
`],encapsulation:2});}}return t})(),Pye=Qn(3,YD);function KCt(t,i){t&1&&(d(0,"mat-error"),h(1),B(2,"translate"),u()),t&2&&(m(),j(" ",U(2,1,"error.required")," "));}function QCt(t,i){t&1&&(d(0,"mat-error"),h(1),B(2,"translate"),u()),t&2&&(m(),j(" ",U(2,1,"error.iban.length")," "));}function ZCt(t,i){t&1&&(d(0,"mat-error"),h(1," NoIBANCountry"),u());}function XCt(t,i){t&1&&(d(0,"mat-error"),h(1),B(2,"translate"),u()),t&2&&(m(),j(" ",U(2,1,"error.iban.invalid")," "));}function JCt(t,i){if(t&1&&(d(0,"mat-form-field")(1,"mat-label"),h(2,"IBAN"),u(),O(3,"onemrva-mat-input-iban",0),Se(),D(4,KCt,3,3,"mat-error"),D(5,QCt,3,3,"mat-error")(6,ZCt,2,0,"mat-error")(7,XCt,3,3,"mat-error"),u()),t&2){let e=C();m(3),b("formControl",e.accountNumber),we(),m(),I(e.accountNumber.hasError("required")?4:-1),m(),I(e.accountNumber.hasError("WrongBBANLength")?5:e.accountNumber.hasError("NoIBANCountry")?6:!e.accountNumber.hasError("WrongBBANLength")&&(e.accountNumber.hasError("WrongBBANFormat")||e.accountNumber.hasError("WrongAccountBankBranchChecksum")||e.accountNumber.hasError("WrongIBANChecksum"))?7:-1);}}var Lye=(()=>{class t extends Li{constructor(){super(...arguments),this.cdr=p(ve),this.accountNumber=new Le("",[Vt.required,iT()]);}ngOnInit(){super.ngOnInit(),this.sub=this.accountNumber.valueChanges.subscribe(e=>{this.jsonFormsService.updateCore(Ur.update(this.propsPath,()=>e)),this.triggerValidation(),this.cdr.markForCheck();});}ngOnDestroy(){this.sub?.unsubscribe(),super.ngOnDestroy();}mapAdditionalProps(){this.accountNumber.value!==this.data&&this.accountNumber.setValue(this.data??null,{emitEvent:false});}static{this.\u0275fac=(()=>{let e;return function(r){return (e||(e=V(t)))(r||t)}})();}static{this.\u0275cmp=w({type:t,selectors:[["app-iban-renderer"]],features:[A],decls:1,vars:1,consts:[[3,"formControl"]],template:function(n,r){n&1&&D(0,JCt,8,3,"mat-form-field"),n&2&&I(r.hidden?-1:0);},dependencies:[qe,rt,it,Dn,ze,Ye,ct,_t,lf,ot],encapsulation:2});}}return t})(),Fye=Qn(10,Ng("iban"));function eSt(t,i){if(t&1&&(d(0,"mat-label",0),h(1),u()),t&2){let e=C();b("ngStyle",e.labelStyle),m(),j(" ",e.label," ");}}var Bye=(()=>{class t extends Pd{constructor(){super(...arguments),this.jsonFormsService=p(Ua);}ngOnInit(){this.addSubscription(this.jsonFormsService.$state.subscribe({next:e=>{let n=JD(e,this.getOwnProps());this.label=n.text,this.visible=n.visible;}}));}get labelStyle(){return {fontSize:`${this.fontSize}px`,fontWeight:`${this.fontWeight}`}}get fontWeight(){return this.uischema.options?.fontWeight??"normal"}get fontSize(){return this.uischema.options?.textSize??20}static{this.\u0275fac=(()=>{let e;return function(r){return (e||(e=V(t)))(r||t)}})();}static{this.\u0275cmp=w({type:t,selectors:[["app-label-renderer"]],features:[A],decls:1,vars:1,consts:[[3,"ngStyle"]],template:function(n,r){n&1&&D(0,eSt,2,2,"mat-label",0),n&2&&I(r.visible?0:-1);},dependencies:[it,er],encapsulation:2});}}return t})(),$ye=Qn(5,Pi("Label"));var Vye=(()=>{class t{static{this.PROPERTY_PATH_REGEX=/\/properties\/([^/]+)(?:\/properties\/([^/]+))?/;}static extractStepKey(e){let r=new RegExp(t.PROPERTY_PATH_REGEX).exec(e??"");return r?r[2]?`/${r[1]}/${r[2]}`:`/${r[1]}`:""}}return t})();function tSt(t,i){t&1&&(d(0,"mat-error"),h(1),B(2,"translate"),u()),t&2&&(m(),L(U(2,1,"error.ssin")));}var Uye=(()=>{class t extends Li{constructor(){super(...arguments),this.nissMask=Zw,this.isUpdating=W(false),this.jsonFormsService=p(Ua),this.getEventValue=e=>e?.target?.value,this.validator=e=>{if(this.isUpdating())return null;let n=e.value;if(!n||typeof n!="string")return console.debug("Invalid NISS value: "+n),null;console.debug("Valid NISS value: "+n);let r=n.toString().trim();if(!r)return null;let o=new Le(r),s=fu.niss()(o);return s?(this.setErrorValue(s),s):null};}ngOnInit(){super.ngOnInit(),this.form.setValue(this.data),this.form.setValidators(this.validator);}onChange(e){let n=this.getEventValue(e),r$1=n.replace(/[^0-9]/g,"");this.form.setValue(n);let o=s(r({},e),{target:s(r({},e.target),{value:r$1})});super.onChange(o);}setErrorValue(e){this.isUpdating.set(true);try{let r=this.jsonFormsService.getState()?.jsonforms?.core?.errors??[],a={instancePath:Vye.extractStepKey(this.uischema?.scope),message:"Num\xE9ro XXXX invalide",keyword:"custom-renderer",schemaPath:this.uischema?.scope??"",params:{}},s=[...r,a],l=Ur.updateErrors(s);this.jsonFormsService.updateCore(l);}finally{this.isUpdating.set(false);}}isSsinError(){let e=this.form.errors;return e!==null&&Object.keys(e).length>0&&Object.keys(e)[0].startsWith("niss")}static{this.\u0275fac=(()=>{let e;return function(r){return (e||(e=V(t)))(r||t)}})();}static{this.\u0275cmp=w({type:t,selectors:[["app-niss-renderer"]],features:[he([Yf()]),A],decls:5,vars:6,consts:[["matInput","",3,"input","id","formControl","mask"]],template:function(n,r){n&1&&(d(0,"mat-form-field")(1,"mat-label"),h(2),u(),d(3,"input",0),x("input",function(a){return r.onChange(a)}),u(),Se(),u(),D(4,tSt,3,3,"mat-error")),n&2&&(m(2),L(r.label),m(),b("id",Nt(r.id))("formControl",r.form)("mask",r.nissMask),we(),m(),I(r.isSsinError()?4:-1));},dependencies:[rt,it,Dn,il,Kt,$t,Ye,ct,b1,ot],encapsulation:2});}}return t})(),Hye=Qn(10,Ng("ssin"));function nSt(t,i){t&1&&(d(0,"mat-error"),h(1),B(2,"translate"),u()),t&2&&(m(),j(" ",U(2,1,"error.phone.invalid")," "));}var zye=(()=>{class t extends Li{constructor(){super(...arguments),this.cdr=p(ve),this.phoneNumber=new Le("",[cT()]);}ngOnInit(){super.ngOnInit(),this.sub=this.phoneNumber.valueChanges.subscribe(e=>{this.jsonFormsService.updateCore(Ur.update(this.propsPath,()=>e)),this.triggerValidation(),this.cdr.markForCheck();});}ngOnDestroy(){this.sub?.unsubscribe(),super.ngOnDestroy();}mapAdditionalProps(){this.phoneNumber.value!==this.data&&this.phoneNumber.setValue(this.data??null,{emitEvent:false});}static{this.\u0275fac=(()=>{let e;return function(r){return (e||(e=V(t)))(r||t)}})();}static{this.\u0275cmp=w({type:t,selectors:[["app-phone-renderer"]],features:[A],decls:9,vars:8,consts:[["placeholder","+32 475 12 23 34",3,"formControl"]],template:function(n,r){n&1&&(d(0,"mat-form-field")(1,"mat-label"),h(2),B(3,"translate"),u(),O(4,"onemrva-mat-input-phone",0),Se(),d(5,"mat-hint"),h(6),B(7,"translate"),u(),D(8,nSt,3,3,"mat-error"),u()),n&2&&(m(2),L(U(3,4,"input.phone.label")),m(2),b("formControl",r.phoneNumber),we(),m(2),L(U(7,6,"input.phone.hint")),m(2),I(r.phoneNumber.hasError("phoneNumber")?8:-1));},dependencies:[qe,rt,it,mn,Dn,ze,Ye,ct,jf,pn,_t,ot],encapsulation:2});}}return t})(),Gye=Qn(8,Ng("phone"));function iSt(t,i){if(t&1&&(d(0,"mat-radio-button",2),h(1),B(2,"translate"),u()),t&2){let e=i.$implicit,n=C(2);b("value",e),m(),j(" ",U(2,2,n.uischema.i18n+"."+e)," ");}}function rSt(t,i){if(t&1&&(d(0,"mat-error"),h(1),u()),t&2){let e=C(2);m(),j(" ",e.error);}}function oSt(t,i){if(t&1){let e=Te();d(0,"mat-radio-group",1),Rr("ngModelChange",function(r){Z(e);let o=C();return Tr(o.data,r)||(o.data=r),X(r)}),x("change",function(r){Z(e);let o=C();return X(o.onChange(r))}),fe(1,iSt,3,4,"mat-radio-button",2,qt),D(3,rSt,2,1,"mat-error"),u(),Se();}if(t&2){let e=C();b("disabled",Nt(e.isControlDisable)),Or("ngModel",e.data),we(),m(),ge(e.options),m(2),I(e.error?3:-1);}}var qye=(()=>{class t extends Li{constructor(){super(...arguments),this.options=[];}mapAdditionalProps(){this.scopedSchema&&this.scopedSchema.enum&&(this.options=this.scopedSchema.enum);}get isControlDisable(){try{let e=this.jsonFormsService.getState(),n=e?.jsonforms?.core?.ajv;return n?!n4(this.uischema,e?.jsonforms?.core?.data??{},"",n,null):!0}catch{return true}}static{this.\u0275fac=(()=>{let e;return function(r){return (e||(e=V(t)))(r||t)}})();}static{this.\u0275cmp=w({type:t,selectors:[["app-radio-button-renderer"]],features:[A],decls:1,vars:1,consts:[[1,"vertical-radio-group",3,"ngModel","disabled"],[1,"vertical-radio-group",3,"ngModelChange","change","ngModel","disabled"],[3,"value"]],template:function(n,r){n&1&&D(0,oSt,4,4,"mat-radio-group",0),n&2&&I(r.hidden?-1:0);},dependencies:[Dn,il,Ye,wd,pn,bd,Hu,ot],styles:[".vertical-radio-group[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin-bottom:1px}"]});}}return t})(),jye=t=>t.type==="Control"&&t.options?.format==="radio"?11:-1;var Yye=(()=>{class t extends Li{constructor(){super(...arguments),this.translate=p(Rn),this.onemrvaNissPipe=p(tT);}mapAdditionalProps(){if(this.needsTranslation()){let e=this.uischema.i18n+"."+this.form.value,n=this.translate.instant(e);this.form.patchValue(n);}if(this.isNiss()){let e=this.onemrvaNissPipe.transform(this.form.value);this.form.patchValue(e);}if(this.isIban()){let e=this.formatIban(this.form.value);this.form.patchValue(e);}}formatIban(e){return e.replace(/\s+/g,"").replace(/(.{4})/g,"$1 ").trim()}hasValueAndSchema(){return !!this.form.value&&!!this.scopedSchema}isIban(){return this.hasValueAndSchema()&&!!this.uischema.scope&&this.uischema.scope.endsWith("/iban")}isDate(){return this.hasValueAndSchema()&&this.scopedSchema.format==="date"}isNiss(){return this.hasValueAndSchema()&&!!this.uischema.scope&&this.uischema.scope.endsWith("/ssin")}needsTranslation(){let e=this.hasValueAndSchema()&&!!this.scopedSchema.enum,n=this.scopedSchema!==void 0&&this.scopedSchema.type?.[0]==="boolean";return e||n}static{this.\u0275fac=(()=>{let e;return function(r){return (e||(e=V(t)))(r||t)}})();}static{this.\u0275cmp=w({type:t,selectors:[["app-readonly-control-renderer"]],features:[he([]),A],decls:4,vars:3,consts:[[1,"summary-grid"],[1,"column1"],[1,"column2","mat-typography",3,"id","formControl"]],template:function(n,r){n&1&&(d(0,"div",0)(1,"mat-label",1),h(2),u(),O(3,"input",2),Se(),u()),n&2&&(m(2),L(r.label),m(),b("id",r.id)("formControl",r.form),we());},dependencies:[pn,$t,Ye,it,il,ct],styles:[".column2[_ngcontent-%COMP%]{border:none;background:none}"]});}}return t})(),Wye=Qn(11,dr(n_,Pc("readonly",true)));function aSt(t,i){if(t&1&&(d(0,"mat-option",2),h(1),B(2,"translate"),u()),t&2){let e=i.$implicit,n=C();b("value",e),m(),j(" ",U(2,2,n.uischema.i18n+"."+e)," ");}}var Kye=(()=>{class t extends Li{constructor(){super(...arguments),this.options=W([]);}mapAdditionalProps(e){this.options.set(this.scopedSchema?.enum||[]),super.mapAdditionalProps(e);}static{this.\u0275fac=(()=>{let e;return function(r){return (e||(e=V(t)))(r||t)}})();}static{this.\u0275cmp=w({type:t,selectors:[["app-enum-renderer"]],features:[A],decls:6,vars:3,consts:[["appearance","outline"],[3,"valueChange","selectionChange","value","formControl"],[3,"value"]],template:function(n,r){n&1&&(d(0,"mat-form-field",0)(1,"mat-label"),h(2),u(),d(3,"mat-select",1),Rr("valueChange",function(a){return Tr(r.data,a)||(r.data=a),a}),x("selectionChange",function(a){return r.onChange(a)}),fe(4,aSt,3,4,"mat-option",2,qt),u(),Se(),u()),n&2&&(m(2),L(r.label),m(),Or("value",r.data),b("formControl",r.form),we(),m(),ge(r.options()));},dependencies:[rt,it,rn,Ai,il,Ye,ct,ot],encapsulation:2});}}return t})(),Qye=Qn(10,jD);var Zye=(()=>{class t extends ne{constructor(){super(...arguments),this.renderers=[...Iye,{tester:Wye,renderer:Yye},{tester:Qye,renderer:Kye},{tester:Hye,renderer:Uye},{tester:Fye,renderer:Lye},{tester:$ye,renderer:Bye},{tester:jye,renderer:qye},{tester:Rye,renderer:Oye},{tester:Gye,renderer:zye},{tester:Pye,renderer:Nye}],this.uischema=Mye,this.schema=kye,this.data={};}static{this.\u0275fac=(()=>{let e;return function(r){return (e||(e=V(t)))(r||t)}})();}static{this.\u0275cmp=w({type:t,selectors:[["app-demo-jsonform"]],features:[A],decls:1,vars:4,consts:[[3,"data","schema","uischema","renderers"]],template:function(n,r){n&1&&O(0,"jsonforms",0),n&2&&b("data",r.data)("schema",r.schema)("uischema",r.uischema)("renderers",r.renderers);},dependencies:[Ea,Gve],encapsulation:2});}}return t})();var Xye=(()=>{class t extends ne{constructor(){super(...arguments),this.form=new po({iban:new Le("",Vt.required),phone:new Le("",Vt.required),text:new Le("",Vt.required),date:new Le("",Vt.required)}),this.OnemrvaMatDatepickerHeaderComponent=Pu;}static{this.\u0275fac=(()=>{let e;return function(r){return (e||(e=V(t)))(r||t)}})();}static{this.\u0275cmp=w({type:t,selectors:[["app-demo-form"]],features:[he([rI()]),A],decls:36,vars:10,consts:[["picker",""],[3,"formGroup"],["matInput","","formControlName","text"],["formControlName","phone","placeholder","+32 475 12 23 34"],["formControlName","iban"],["matInput","","formControlName","date",3,"matDatepicker"],["matSuffix","",3,"for"],[3,"calendarHeaderComponent"]],template:function(n,r){if(n&1&&(d(0,"form",1)(1,"mat-form-field")(2,"mat-label"),h(3,"Error demo"),u(),O(4,"input",2),Se(),d(5,"mat-hint"),h(6,"Hint"),u(),d(7,"mat-error"),h(8,"Error"),u()(),d(9,"mat-form-field")(10,"mat-label"),h(11,"Phone number"),u(),O(12,"onemrva-mat-input-phone",3),Se(),d(13,"mat-hint"),h(14,"hint"),u(),d(15,"mat-error"),h(16),B(17,"translate"),u()(),d(18,"mat-form-field")(19,"mat-label"),h(20,"IBAN"),u(),O(21,"onemrva-mat-input-iban",4),Se(),d(22,"mat-hint"),h(23,"hint"),u(),d(24,"mat-error"),h(25),B(26,"translate"),u()(),d(27,"mat-form-field")(28,"mat-label"),h(29,"Choose a date"),u(),O(30,"input",5),Se(),d(31,"mat-hint"),h(32,"DD/MM/YYYY"),u(),O(33,"mat-datepicker-toggle",6)(34,"mat-datepicker",7,0),u()()),n&2){let o=Ve(35);b("formGroup",r.form),m(4),we(),m(8),we(),m(4),j(" ",U(17,6,"input.phone.required")," "),m(5),we(),m(4),j(" ",U(26,8,"input.bank.required")," "),m(5),b("matDatepicker",o),we(),m(3),b("for",o),m(),b("calendarHeaderComponent",r.OnemrvaMatDatepickerHeaderComponent);}},dependencies:[Ea,ze,Ec,$t,Ye,ho,yr,Al,Ks,Na,qe,rt,it,mn,Dn,Wi,fa,Kt,lf,jf,ot],encapsulation:2});}}return t})();var sSt=["*"];function lSt(t,i){if(t&1&&(d(0,"onemrva-mat-sticker",3),h(1),u()),t&2){let e=C();b("color",e.stickerColor()),m(),j(" ",e.stickerText()," ");}}var Jye=(()=>{class t{constructor(){this.OnemrvaMatColor=Pt,this.title=y.required(),this.stickerColor=y(Pt.PRIMARY),this.stickerText=y(),this.isCollapsed=oo(false);}toggle(){this.isCollapsed.update(e=>!e);}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275cmp=w({type:t,selectors:[["onemrva-collapsible-page-divider"]],inputs:{title:[1,"title"],stickerColor:[1,"stickerColor"],stickerText:[1,"stickerText"],isCollapsed:[1,"isCollapsed"]},outputs:{isCollapsed:"isCollapsedChange"},ngContentSelectors:sSt,decls:12,vars:4,consts:[["tabindex","0",3,"click"],[1,"title"],[1,"divider"],[3,"color"],[1,"arrow-container"],[1,"content"]],template:function(n,r){n&1&&(ue(),d(0,"section")(1,"header",0),x("click",function(){return r.toggle()}),d(2,"span",1),h(3),u(),O(4,"span",2),D(5,lSt,2,2,"onemrva-mat-sticker",3),d(6,"div",4)(7,"mat-icon"),h(8,"keyboard_arrow_down"),u()()(),d(9,"main")(10,"div",5),q(11),u()()()),n&2&&(z("collapsed",r.isCollapsed()),m(3),L(r.title()),m(2),I(r.stickerText()?5:-1));},dependencies:[We,Ra,An],styles:["[_nghost-%COMP%]{display:block;width:100%}[_nghost-%COMP%] section[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] section[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px;cursor:pointer;-webkit-user-select:none;user-select:none;padding:8px 0}[_nghost-%COMP%] section[_ngcontent-%COMP%] header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font:var(--mat-sys-headline-large)}[_nghost-%COMP%] section[_ngcontent-%COMP%] header[_ngcontent-%COMP%] .divider[_ngcontent-%COMP%]{flex-grow:1;height:1px;background-color:#e4e1ea}[_nghost-%COMP%] section[_ngcontent-%COMP%] header[_ngcontent-%COMP%] .badge[_ngcontent-%COMP%]{background-color:#eb142a;color:#fff;padding:4px 12px;border-radius:4px;font-size:.85rem;font-weight:500}[_nghost-%COMP%] section[_ngcontent-%COMP%] header[_ngcontent-%COMP%] .arrow-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;transition:transform .35s ease}[_nghost-%COMP%] section[_ngcontent-%COMP%] header[_ngcontent-%COMP%] .arrow-container[_ngcontent-%COMP%] .arrow[_ngcontent-%COMP%]{width:24px;height:24px}[_nghost-%COMP%] section.collapsed[_ngcontent-%COMP%] .arrow-container[_ngcontent-%COMP%]{transform:rotate(-180deg)}[_nghost-%COMP%] section.collapsed[_ngcontent-%COMP%] main[_ngcontent-%COMP%]{grid-template-rows:0fr;opacity:0}[_nghost-%COMP%] section[_ngcontent-%COMP%] main[_ngcontent-%COMP%]{display:grid;grid-template-rows:1fr;box-sizing:border-box;overflow:hidden;opacity:1;transition:grid-template-rows .3s ease-in-out,opacity .3s ease-in-out}[_nghost-%COMP%] section[_ngcontent-%COMP%] main[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{min-height:0}"]});}}return t})();var e0e=(()=>{class t extends ne{constructor(){super(...arguments),this.title=y("Demande n\xB01 - 01/01/2020"),this.stickerColor=y(Pt.PRIMARY),this.stickerText=y("Here is your sticker"),this.isCollapsed=y(false);}static{this.\u0275fac=(()=>{let e;return function(r){return (e||(e=V(t)))(r||t)}})();}static{this.\u0275cmp=w({type:t,selectors:[["app-demo-collapsible-page-divider"]],inputs:{title:[1,"title"],stickerColor:[1,"stickerColor"],stickerText:[1,"stickerText"],isCollapsed:[1,"isCollapsed"]},features:[A],decls:17,vars:3,consts:[["title","Demande n\xB01 - 01/01/2020",3,"stickerText","stickerColor","isCollapsed"]],template:function(n,r){n&1&&(d(0,"onemrva-collapsible-page-divider",0)(1,"p"),h(2,"This is the content of the first collapsible divider."),u(),d(3,"p"),h(4,"This is the content of the first collapsible divider."),u(),d(5,"p"),h(6,"This is the content of the first collapsible divider."),u(),d(7,"p"),h(8,"This is the content of the first collapsible divider."),u(),d(9,"p"),h(10,"This is the content of the first collapsible divider."),u(),d(11,"p"),h(12,"This is the content of the first collapsible divider."),u(),d(13,"p"),h(14,"This is the content of the first collapsible divider."),u(),d(15,"p"),h(16,"This is the content of the first collapsible divider."),u()()),n&2&&b("stickerText",r.stickerText())("stickerColor",r.stickerColor())("isCollapsed",r.isCollapsed());},dependencies:[Jye,Et,mt],styles:[`app-demo-collapsible-page-divider{width:100%}
|
|
10793
10793
|
`],encapsulation:2});}}return t})();var t0e=(()=>{class t extends ne{constructor(){super(...arguments),this.value=y(0),this._value=de(()=>this.value()===0?"":this.value()>99?"99+":this.value()),this._size=()=>this.value()>1?"large":"small";}static{this.\u0275fac=(()=>{let e;return function(r){return (e||(e=V(t)))(r||t)}})();}static{this.\u0275cmp=w({type:t,selectors:[["app-demo-badge"]],inputs:{value:[1,"value"]},features:[A],decls:2,vars:3,consts:[[3,"matBadge","matBadgeSize"]],template:function(n,r){n&1&&(d(0,"div",0),h(1),u()),n&2&&(b("matBadge",r._value())("matBadgeSize",r._size()),m(),j(" Here is your badge demo ",r.value(),`
|
|
10794
|
-
`));},dependencies:[qe,ze,_t,tI],encapsulation:2});}}return t})();var n0e=[{name:"Address",selector:"demo-address",showCode:true,showDemo:true,link:"",inputs:[{name:"disabled",values:[true,false],currentValue:false},{name:"readonly",values:[true,false],currentValue:false}],showOutput:true,test:true,centered:true},{name:"Address Input",selector:"demo-address-input",showCode:true,showDemo:true,link:"",inputs:[],test:true,centered:true,showOutput:true},{name:"Autocomplete",selector:"demo-autocomplete",showCode:true,showDemo:true,link:"https://material.angular.io/components/autocomplete/overview",inputs:[{name:"readonly",values:[true,false],currentValue:false}],test:true,centered:true},{name:"Avatar",selector:"demo-avatar",showCode:true,showDemo:true,link:"",inputs:[{name:"initials",values:["","OJ"],currentValue:""},{name:"src",values:["","https://cdn.services.rvaonem.fgov.be/img/flags/1x1/be.svg"],currentValue:""},{name:"size",values:["xsmall","small","medium","large"],currentValue:""},{name:"color",values:["accent"],currentValue:""},{name:"icon",values:["account_circle"],currentValue:""}],test:true,centered:true},{name:"Badge",selector:"demo-badge",showCode:true,showDemo:true,link:"",inputs:[{name:"value",values:[0,1,15,432],currentValue:0}],test:true,centered:true},{name:"Bank Input",selector:"demo-bank-input",showCode:true,showDemo:true,link:"",inputs:[{name:"readonly",values:[true,false],currentValue:false}],test:true,centered:true,translationKey:"input.bank"},{name:"BCE pipe",selector:"demo-bce-pipe",showCode:true,showDemo:true,link:"",inputs:[],test:false,centered:true},{name:"Breadcrumb",selector:"demo-breadcrumb",showCode:true,showDemo:true,link:"",inputs:[],test:true,centered:false},{name:"Button",selector:"demo-button",showCode:true,showDemo:true,link:"https://material.angular.io/components/button/overview",inputs:[{name:"size",values:["","small"],currentValue:""},{name:"icon",values:["","home","chevron_left","settings"],currentValue:""},{name:"iconEnd",values:["","chevron_right"],currentValue:""},{name:"disabled",values:[true,false],currentValue:false}],test:true,centered:true},{name:"Button Loading",selector:"demo-button-loading",showCode:true,showDemo:true,link:"",inputs:[{name:"type",values:["outlined","contained"],currentValue:"contained"},{name:"disabled",values:[true,false],currentValue:false}],test:true,centered:true},{name:"Icon Button",selector:"demo-icon-button",showCode:true,showDemo:true,link:"https://fonts.google.com/icons",inputs:[],test:true},{name:"Card",selector:"demo-card",showCode:true,showDemo:true,link:"",inputs:[{name:"type",values:["no-background","outline","background"],currentValue:"no-background"},{name:"imageSrc",values:["","https://cdn.services.rvaonem.fgov.be/img/banner/banner-new-component.png"],currentValue:"https://cdn.services.rvaonem.fgov.be/img/banner/banner-new-component.png"},{name:"helpText",values:["More information about this component",""],currentValue:"More information about this component"},{name:"title",values:["Here is your title",""],currentValue:"Here is your title"},{name:"subtitle",values:["With a subtitle",""],currentValue:"With a subtitle"},{name:"label",values:["Category label",""],currentValue:"Category label"},{name:"coloredTitle",values:["auto","true","false"],currentValue:"auto"},{name:"showActions",values:[true,false],currentValue:true},{name:"showDescription",values:[true,false],currentValue:true}],test:true,centered:true},{name:"Card Table",selector:"demo-card-table",showCode:true,showDemo:true,link:"",inputs:[],test:true},{name:"Carousel",selector:"demo-carousel",showCode:true,showDemo:true,link:"",inputs:[{name:"color",values:["","primary","accent","error","warn","success","info","neutral"],currentValue:""}],test:true},{name:"Checkbox",selector:"demo-checkbox",showCode:true,showDemo:true,link:"",inputs:[{name:"color",values:["","success"],currentValue:""},{name:"checked",values:[true,false],currentValue:true},{name:"indeterminate",values:[true,false],currentValue:false},{name:"disabled",values:[true,false],currentValue:false},{name:"readonly",values:[true,false],currentValue:false}],test:true},{name:"Chips",selector:"demo-chips",showCode:true,showDemo:true,link:"",inputs:[{name:"color",values:["","accent","error"],currentValue:""},{name:"disabled",values:[true,false],currentValue:false}],centered:true,test:true},{name:"Chips Input",selector:"demo-chips-input",showCode:true,showDemo:true,link:"",inputs:[{name:"color",values:["","accent","error"],currentValue:""},{name:"disabled",values:[true,false],currentValue:false},{name:"readonly",values:[true,false],currentValue:false}],centered:true,test:true},{name:"Choice chips",selector:"demo-choice-chips",showCode:true,showDemo:true,link:"",showOutput:true,inputs:[{name:"disabled",values:[true,false],currentValue:false},{name:"readonly",values:[true,false],currentValue:false}],centered:true,test:true},{name:"Collapsible Page Divider",selector:"demo-collapsible-page-divider",showCode:true,showDemo:true,link:"",inputs:[{name:"color",values:[Pt.WARN,Pt.SUCCESS,Pt.ERROR,Pt.ACCENT,Pt.PRIMARY],currentValue:Pt.PRIMARY},{name:"stickerText",values:["","Your Sticker value"],currentValue:""},{name:"isCollapsed",values:[true,false],currentValue:true}],test:true},{name:"Copy to clipboard",selector:"demo-copy-to-clipboard",showCode:true,showDemo:true,link:"",inputs:[],centered:true,test:true},{name:"Country Input",selector:"demo-country-input",showCode:true,showDemo:true,link:"",inputs:[{name:"disabled",values:[true,false],currentValue:false},{name:"readonly",values:[true,false],currentValue:false}],showOutput:true,centered:true,test:true},{name:"Birthplace input",selector:"demo-birthplace-input",showCode:true,showDemo:true,link:"",inputs:[{name:"disabled",values:[true,false],currentValue:false},{name:"readonly",values:[true,false],currentValue:false}],centered:true,test:true,showOutput:true},{name:"Date Picker",selector:"demo-datepicker",showCode:true,showDemo:true,link:"",inputs:[{name:"disabled",values:[true,false],currentValue:false},{name:"readonly",values:[true,false],currentValue:false}],centered:true,test:true,showOutput:true},{name:"Date Picker Month Year ",selector:"demo-datepicker-month-year",showCode:true,showDemo:true,link:"",inputs:[],centered:true,test:true,showOutput:true},{name:"Date Picker Luxon",selector:"demo-datepicker-luxon",showCode:true,showDemo:true,link:"",inputs:[],centered:true,test:true,showOutput:true},{name:"Date Range Picker",selector:"demo-daterangepicker",showCode:true,showDemo:true,link:"",inputs:[{name:"disabled",values:[true,false],currentValue:false},{name:"readonly",values:[true,false],currentValue:false}],centered:true,test:true,showOutput:true},{name:"Dialog",selector:"demo-dialog",showCode:true,showDemo:true,link:"",inputs:[{name:"size",values:["","small","medium","large","xlarge"],currentValue:""},{name:"type",values:["","error","warn","success"],currentValue:""}],centered:true,test:true},{name:"Dialog Content",selector:"demo-dialog-content",showCode:true,showDemo:false,link:"",inputs:[],test:false},{name:"Digit Only directive",selector:"demo-digit-only",showCode:true,showDemo:true,link:"",inputs:[],test:false},{name:"Drag and drop",selector:"demo-drag-and-drop",showCode:true,showDemo:true,link:"",inputs:[],test:true},{name:"Drawer",selector:"demo-drawer",showCode:true,showDemo:true,link:"",inputs:[{name:"size",values:["","xsmall","small","medium","large","xlarge","xxlarge"],currentValue:""}],test:false},{name:"Enterprise number (VIES)",selector:"demo-enterprise-number-input",showCode:true,showDemo:true,link:"",inputs:[{name:"disabled",values:[true,false],currentValue:false},{name:"readonly",values:[true,false],currentValue:false}],showOutput:true,centered:true,test:true},{name:"Error Handler",selector:"demo-error-handler",showCode:true,showDemo:true,link:"",inputs:[],test:false},{name:"File Panel",selector:"demo-file-panel",showCode:true,showDemo:true,link:"",inputs:[{name:"color",values:["","success","warn","error"],currentValue:""},{name:"disabled",values:[false,true],currentValue:false}],test:true},{name:"File Upload",selector:"demo-file-upload",showCode:true,showDemo:true,link:"",inputs:[],test:true,showOutput:true,translationKey:"file"},{name:"File Upload Manual",selector:"demo-file-upload-manual",showCode:true,showDemo:true,link:"",inputs:[],test:true,translationKey:"file"},{name:"FAB",selector:"demo-fab",showCode:true,showDemo:true,link:"",inputs:[{name:"color",values:["","primary","accent","error","warn","success","info","neutral"],currentValue:""},{name:"icon",values:["","account_circle","home","search","settings","person"],currentValue:"home"},{name:"disabled",values:[true,false],currentValue:false}],centered:true,test:true},{name:"Grid",selector:"demo-grid",showCode:true,showDemo:true,link:"",inputs:[],test:true},{name:"Form",selector:"demo-form",showCode:true,showDemo:true,link:"",inputs:[],test:true},{name:"Icon",selector:"demo-icon",showCode:true,showDemo:true,link:"",inputs:[{name:"color",values:["","primary","accent","error","warn","success","info","neutral"],currentValue:"primary"},{name:"size",values:["small","medium","large","xxlarge"],currentValue:"xxlarge"},{name:"icon",values:["","settings","person"],currentValue:"settings"},{name:"filled",values:[true,false],currentValue:false}],centered:true,test:true},{name:"If width is",selector:"demo-if-width-is",showCode:true,showDemo:true,link:"",inputs:[],test:false},{name:"JSON Forms",selector:"demo-jsonform",showCode:true,showDemo:true,link:"",inputs:[],test:false},{name:"Layout and drawer",selector:"demo-layout",showCode:true,showDemo:true,link:"",inputs:[],test:false,translationKey:"layout"},{name:"Language switcher",selector:"demo-language-switcher",showCode:true,showDemo:true,link:"",inputs:[],test:false},{name:"Link",selector:"demo-link",showCode:true,showDemo:true,link:"",inputs:[],test:true},{name:"Mask",selector:"demo-mask",showCode:true,showDemo:true,link:"",inputs:[],test:false},{name:"Message box",selector:"demo-message-box",showCode:true,showDemo:true,link:"",inputs:[{name:"color",values:["info","warn","success","error","neutral"],currentValue:"info"}],test:true},{name:"Menu",selector:"demo-menu",showCode:true,showDemo:true,centered:true,link:"",inputs:[{name:"disabled",values:[true,false],currentValue:false}],test:true},{name:"Multi Select",selector:"demo-multiselect",showCode:true,showDemo:true,link:"",inputs:[{name:"selectionToggle",values:[true,false],currentValue:true},{name:"showFilter",values:[true,false],currentValue:true},{name:"disabled",values:[true,false],currentValue:false},{name:"readonly",values:[true,false],currentValue:false}],centered:true,test:true,translationKey:"select"},{name:"Select",selector:"demo-select",showCode:true,showDemo:true,link:"",inputs:[{name:"disabled",values:[true,false],currentValue:false},{name:"readonly",values:[true,false],currentValue:false}],centered:true,test:true,translationKey:"select"},{name:"NISS pipe",selector:"demo-niss-pipe",showCode:true,showDemo:true,link:"",inputs:[],test:false},{name:"Notification",selector:"demo-notification",showCode:true,showDemo:true,link:"",inputs:[],test:true},{name:"Overlay",selector:"demo-overlay",showCode:true,showDemo:true,link:"",inputs:[],test:false,centered:true},{name:"Page Error",selector:"demo-error",showCode:true,showDemo:true,link:"",inputs:[{name:"code",values:[500,404,403,401,400,503,502,408,429],currentValue:500}],test:true,translationKey:"error"},{name:"Page not found",selector:"demo-not-found",showCode:true,showDemo:true,link:"",inputs:[],test:true,translationKey:"404"},{name:"Paginator",selector:"demo-paginator",showCode:true,showDemo:true,link:"",inputs:[],test:true,translationKey:"paginator"},{name:"Palette",selector:"demo-palette",showCode:false,showDemo:true,link:"",inputs:[{name:"color",values:["primary","warn","success","info","neutral","accent"],currentValue:""}],test:true},{name:"Panel",selector:"demo-panel",showCode:true,showDemo:true,link:"",inputs:[{name:"color",values:["default","primary"],currentValue:""},{name:"expandable",values:[true,false],currentValue:true}],test:true},{name:"PopOver",selector:"demo-pop-over",showCode:true,showDemo:true,link:"",inputs:[{name:"position",values:["","top-left","top-right","bottom-left","bottom-right"],currentValue:""}],test:true,centered:true},{name:"ProgressBar",selector:"demo-progress-bar",showCode:true,showDemo:true,link:"",inputs:[],test:true},{name:"Radio",selector:"demo-radio",showCode:true,showDemo:true,link:"",inputs:[{name:"disabled",values:[true,false],currentValue:false},{name:"readonly",values:[true,false],currentValue:false}],test:true},{name:"Rxjs Complex case",selector:"demo-rxjs-complex-case",showCode:true,showDemo:true,link:"",inputs:[],test:false},{name:"Rxjs Combine Operators",selector:"demo-rxjs-combine-operators",showCode:true,showDemo:true,link:"",inputs:[],test:false},{name:"Rxjs Flattening Operators",selector:"demo-rxjs-flattening-operators",showCode:true,showDemo:true,link:"",inputs:[],test:false},{name:"Rxjs Observable",selector:"demo-rxjs-observable",showCode:true,showDemo:true,link:"",inputs:[],test:false},{name:"Rxjs Subject",selector:"demo-rxjs-subject",showCode:true,showDemo:true,link:"",inputs:[],test:false},{name:"Side menu",selector:"demo-side-menu",showCode:true,showDemo:true,link:"",inputs:[],test:true},{name:"Selectable box",selector:"demo-selectable-box",showCode:true,showDemo:true,link:"",inputs:[{name:"icon",values:[false,true],currentValue:true},{name:"content",values:[false,true],currentValue:true},{name:"title",values:[false,true],currentValue:true},{name:"disabled",values:[true,false],currentValue:false},{name:"readonly",values:[true,false],currentValue:false}],test:true},{name:"Selectable box LArge",selector:"demo-selectable-box-large",showCode:true,showDemo:true,link:"",inputs:[],test:true},{name:"Skeleton",selector:"demo-skeleton",showCode:true,showDemo:true,link:"",inputs:[],test:true},{name:"Slide toggle",selector:"demo-slide-toggle",showCode:true,showDemo:true,link:"",inputs:[],test:true},{name:"Spacing",selector:"demo-spacing",showCode:false,showDemo:true,link:"",inputs:[],test:true},{name:"Spinner",selector:"demo-spinner",showCode:true,showDemo:true,link:"",inputs:[],test:true},{name:"Stepper (horizontal)",selector:"demo-horizontal-stepper",showCode:true,showDemo:true,link:"",inputs:[],test:true},{name:"Stepper (with Summary)",selector:"demo-summary-stepper",showCode:true,showDemo:true,link:"",inputs:[],test:true},{name:"Sticker",selector:"demo-sticker",showCode:true,showDemo:true,link:"",inputs:[{name:"color",values:["primary","success","error","info","warn","neutral"],currentValue:"primary"}],test:true},{name:"Tab",selector:"demo-tab",showCode:true,showDemo:true,link:"",inputs:[],test:true},{name:"Table",selector:"demo-table",showCode:true,showDemo:true,link:"",inputs:[],test:true},{name:"Table of content",selector:"demo-toc",showCode:true,showDemo:true,link:"",inputs:[],test:false},{name:"Task list",selector:"demo-task-list",showCode:true,showDemo:true,link:"",inputs:[{name:"type",values:["bubble","checkbox","icon"],currentValue:"checkbox"},{name:"color",values:["","error","success"],currentValue:""},{name:"disabled",values:[true,false],currentValue:false},{name:"readonly",values:[true,false],currentValue:false}],test:true},{name:"Toast",selector:"demo-toast",showCode:true,showDemo:true,link:"",inputs:[],test:true},{name:"Text Input",selector:"demo-text-input",showCode:true,showDemo:true,link:"",inputs:[{name:"color",values:["","warn"]},{name:"disabled",values:[true,false],currentValue:false},{name:"readonly",values:[true,false],currentValue:false},{name:"hintColor",values:["","warn"],currentValue:""}],centered:true,test:true},{name:"Phone Input",selector:"demo-phone-input",showCode:true,showDemo:true,link:"",inputs:[{name:"disabled",values:[true,false],currentValue:false},{name:"readonly",values:[true,false],currentValue:false}],centered:true,test:true,translationKey:"input.phone"},{name:"Textarea",selector:"demo-textarea",showCode:true,showDemo:true,link:"",inputs:[{name:"disabled",values:[true,false],currentValue:false},{name:"readonly",values:[true,false],currentValue:false},{name:"autoresize",values:[true,false],currentValue:false}],centered:true,test:true},{name:"Timepicker",selector:"demo-timepicker",showCode:true,showDemo:true,link:"",inputs:[{name:"disabled",values:[true,false],currentValue:false},{name:"readonly",values:[true,false],currentValue:false}],centered:true,test:true,showOutput:true},{name:"Timeline",selector:"demo-timeline",description:"Plot dated periods on a horizontal, year-based timeline. Overlapping periods stack into rows and take their color from the legend, with month/day zoom, selection, tooltips, filters, and an optional full-size mode.",showCode:true,showDemo:true,link:"",inputs:[],test:true},{name:"Button Toggle",selector:"demo-button-toggle",showCode:true,showDemo:true,link:"",inputs:[{name:"type",values:["text","icon"],currentValue:"text"}],centered:true,test:true},{name:"Toolbar",selector:"demo-toolbar",showCode:true,showDemo:true,link:"",inputs:[],test:true},{name:"Tooltip",selector:"demo-tooltip",showCode:true,showDemo:true,link:"",inputs:[{name:"position",values:["above","below","right","left","before","after"],currentValue:"above"},{name:"filled",values:[true,false],currentValue:false},{name:"html",values:[true,false],currentValue:false}],centered:true,test:true},{name:"Typography",selector:"demo-typography",showCode:false,showDemo:true,link:"",inputs:[],test:true},{name:"Validators",selector:"demo-validators",showCode:true,showDemo:true,link:"",inputs:[],test:false}];var i0e=n0e.map(t=>s(r({},t),{component:{"demo-address":voe,"demo-address-input":Bee,"demo-autocomplete":Vee,"demo-avatar":Uee,"demo-badge":t0e,"demo-bank-input":jee,"demo-bce-pipe":Yee,"demo-breadcrumb":Kee,"demo-button":Qee,"demo-button-loading":Zee,"demo-icon-button":Xee,"demo-card":Coe,"demo-card-table":bte,"demo-carousel":Oee,"demo-checkbox":vte,"demo-chips":jte,"demo-chips-input":Yte,"demo-choice-chips":Wte,"demo-collapsible-page-divider":e0e,"demo-copy-to-clipboard":Kte,"demo-country-input":Qte,"demo-birthplace-input":Xte,"demo-datepicker":bne,"demo-datepicker-month-year":vne,"demo-datepicker-luxon":yne,"demo-daterangepicker":Ene,"demo-dialog":One,"demo-dialog-content":zx,"demo-digit-only":Rne,"demo-drag-and-drop":Ane,"demo-drawer":fie,"demo-enterprise-number-input":Pne,"demo-error-handler":Fne,"demo-file-panel":Kne,"demo-file-upload":Zne,"demo-file-upload-manual":Jne,"demo-fab":eie,"demo-grid":tie,"demo-form":Xye,"demo-icon":iie,"demo-if-width-is":nie,"demo-jsonform":Zye,"demo-layout":bie,"demo-language-switcher":vie,"demo-link":yie,"demo-mask":Eie,"demo-message-box":Sie,"demo-menu":wie,"demo-multiselect":Tie,"demo-select":Soe,"demo-niss-pipe":xie,"demo-notification":Die,"demo-overlay":yoe,"demo-error":Mie,"demo-not-found":Aie,"demo-paginator":Nie,"demo-palette":Pie,"demo-panel":Ree,"demo-pop-over":Fie,"demo-progress-bar":$ie,"demo-radio":Uie,"demo-rxjs-complex-case":Hie,"demo-rxjs-combine-operators":Gie,"demo-rxjs-flattening-operators":jie,"demo-rxjs-observable":Yie,"demo-rxjs-subject":Wie,"demo-side-menu":Zie,"demo-selectable-box":Jie,"demo-selectable-box-large":Eoe,"demo-skeleton":nre,"demo-slide-toggle":rre,"demo-spacing":ore,"demo-spinner":are,"demo-horizontal-stepper":_re,"demo-summary-stepper":fre,"demo-sticker":gre,"demo-tab":bre,"demo-table":Ere,"demo-table-dialog-content":h1,"demo-toc":kre,"demo-task-list":Are,"demo-toast":Pre,"demo-text-input":Lre,"demo-phone-input":Fre,"demo-textarea":Bre,"demo-timepicker":Yre,"demo-timeline":coe,"demo-button-toggle":doe,"demo-toolbar":uoe,"demo-tooltip":hoe,"demo-typography":foe,"demo-validators":goe}[t.selector]}));var r0e=(()=>{class t{constructor(){this.jsonSubPath="assets/json",this.translationSubPath="assets/i18n",this.http=p(ao),this.basePathSig=p(gd,{optional:true}),this.codeCache=new Map,this.translationCache=new Map;}basePath(){return (this.basePathSig?.()??"/").trim()}joinUrl(...e){return e.filter(Boolean).join("/").replace(/(^|[^:])\/\/+/g,"$1/")}jsonRoot(){return this.joinUrl(this.basePath(),this.jsonSubPath)}i18nRoot(){return this.joinUrl(this.basePath(),this.translationSubPath)}getCode(e){let n=this.jsonRoot(),r=`${n}|${e}`;if(!this.codeCache.has(r)){let o=this.joinUrl(n,`${e}.json`),a=this.http.get(o).pipe(Mo(1));this.codeCache.set(r,a);}return this.codeCache.get(r)}getTranslation(e,n){let r=this.i18nRoot(),o=`${r}|${e}`;if(!this.translationCache.has(o)){let a=this.joinUrl(r,`${e}.json`),s=this.http.get(a).pipe(Mo(1));this.translationCache.set(o,s);}return this.translationCache.get(o).pipe(se(a=>a[n]))}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275prov=Re({token:t,factory:t.\u0275fac,providedIn:"root"});}}return t})();var o0e=(()=>{class t extends ne{static{this.\u0275fac=(()=>{let e;return function(r){return (e||(e=V(t)))(r||t)}})();}static{this.\u0275cmp=w({type:t,selectors:[["app-demo-empty"]],features:[A],decls:0,vars:0,template:function(n,r){},encapsulation:2});}}return t})();var a0e="/wp-content/app-demo/";var dSt=["componentRef"],uSt=()=>["hljs","borderRadius"],mSt=(t,i)=>i.name;function pSt(t,i){t&1&&yt(0);}function _St(t,i){if(t&1&&(d(0,"div",5),me(1,pSt,1,0,"ng-container",6),u()),t&2){let e=C(2);m(),b("ngComponentOutlet",e.current().component)("ngComponentOutletInputs",e.inputs());}}function hSt(t,i){if(t&1&&(d(0,"span",20),h(1),B(2,"titlecase"),u()),t&2){let e=C(4);m(),L(U(2,1,e.visionMode));}}function fSt(t,i){if(t&1&&(d(0,"span",20),h(1),u()),t&2){let e=C(4);m(),L(e.currentScreenSize);}}function gSt(t,i){if(t&1&&(d(0,"a",24)(1,"mat-icon"),h(2,"code"),u()()),t&2){let e=C(4);b("href",e.current().link,rc);}}function bSt(t,i){if(t&1){let e=Te();d(0,"button",19),x("click",function(){let r=Z(e).$implicit,o=C(4);return X(o.translateService.use(r))}),d(1,"span"),h(2),B(3,"uppercase"),u()();}if(t&2){let e=i.$implicit;m(2),L(U(3,1,e));}}function vSt(t,i){if(t&1&&(d(0,"mat-option",36),h(1),u()),t&2){let e=i.$implicit;b("value",e),m(),L(e);}}function ySt(t,i){if(t&1){let e=Te();d(0,"mat-form-field",34)(1,"mat-label"),h(2),u(),d(3,"mat-select",35),x("selectionChange",function(r){let o=Z(e).$implicit,a=C(6);return X(a.update(r,o.name))}),fe(4,vSt,2,2,"mat-option",36,qt),u()();}if(t&2){let e=i.$implicit,n=C(6);m(2),L(e.name),m(),b("value",n.liveInputs()[e.name]??e.currentValue),m(),ge(e.values);}}function ESt(t,i){if(t&1&&fe(0,ySt,6,2,"mat-form-field",34,mSt),t&2){let e=C(5);ge(e.current().inputs);}}function CSt(t,i){if(t&1&&(d(0,"div",32)(1,"onemrva-mat-panel",33)(2,"onemrva-mat-panel-title"),h(3,"Controls"),u(),d(4,"onemrva-mat-panel-content"),D(5,ESt,2,0),u()()()),t&2){let e=C(4);m(5),I(e.current().inputs.length>0?5:-1);}}function SSt(t,i){if(t&1){let e=Te();d(0,"mat-toolbar",12)(1,"div",13)(2,"button",14),x("click",function(){Z(e);let r=C(3);return X(r.toggleGrid())}),d(3,"mat-icon"),h(4),u()(),d(5,"button",15),x("click",function(){Z(e);let r=C(3);return X(r.zoomOut())}),d(6,"mat-icon"),h(7,"zoom_out"),u()(),d(8,"button",16),x("click",function(){Z(e);let r=C(3);return X(r.resetZoom())}),d(9,"mat-icon"),h(10,"restart_alt"),u()(),d(11,"button",17),x("click",function(){Z(e);let r=C(3);return X(r.zoomIn())}),d(12,"mat-icon"),h(13,"zoom_in"),u()(),d(14,"button",18)(15,"mat-icon"),h(16,"visibility"),u()(),d(17,"mat-menu",null,0)(19,"button",19),x("click",function(){Z(e);let r=C(3);return X(r.updateVision("normal"))}),d(20,"mat-icon"),h(21,"visibility"),u(),d(22,"span"),h(23,"Normal Vision"),u()(),d(24,"button",19),x("click",function(){Z(e);let r=C(3);return X(r.updateVision("blurred"))}),d(25,"mat-icon"),h(26,"blur_on"),u(),d(27,"span"),h(28,"Blurred Vision"),u()(),d(29,"button",19),x("click",function(){Z(e);let r=C(3);return X(r.updateVision("deuteranomaly"))}),d(30,"mat-icon"),h(31,"color_lens"),u(),d(32,"span"),h(33,"Deuteranomaly"),u()(),d(34,"button",19),x("click",function(){Z(e);let r=C(3);return X(r.updateVision("deuteranopia"))}),d(35,"mat-icon"),h(36,"color_lens"),u(),d(37,"span"),h(38,"Deuteranopia"),u()(),d(39,"button",19),x("click",function(){Z(e);let r=C(3);return X(r.updateVision("protanomaly"))}),d(40,"mat-icon"),h(41,"color_lens"),u(),d(42,"span"),h(43,"Protanomaly"),u()(),d(44,"button",19),x("click",function(){Z(e);let r=C(3);return X(r.updateVision("protanopia"))}),d(45,"mat-icon"),h(46,"color_lens"),u(),d(47,"span"),h(48,"Protanopia"),u()(),d(49,"button",19),x("click",function(){Z(e);let r=C(3);return X(r.updateVision("tritanomaly"))}),d(50,"mat-icon"),h(51,"color_lens"),u(),d(52,"span"),h(53,"Tritanomaly"),u()(),d(54,"button",19),x("click",function(){Z(e);let r=C(3);return X(r.updateVision("tritanopia"))}),d(55,"mat-icon"),h(56,"color_lens"),u(),d(57,"span"),h(58,"Tritanopia"),u()(),d(59,"button",19),x("click",function(){Z(e);let r=C(3);return X(r.updateVision("achromatopsia"))}),d(60,"mat-icon"),h(61,"invert_colors_off"),u(),d(62,"span"),h(63,"Achromatopsia"),u()(),d(64,"button",19),x("click",function(){Z(e);let r=C(3);return X(r.updateVision("grayscale"))}),d(65,"mat-icon"),h(66,"filter_b_and_w"),u(),d(67,"span"),h(68,"Grayscale"),u()()(),D(69,hSt,3,3,"span",20),d(70,"button",21)(71,"mat-icon"),h(72,"accessibility"),u()(),d(73,"button",22)(74,"mat-icon"),h(75,"devices"),u()(),d(76,"mat-menu",null,1)(78,"button",19),x("click",function(){Z(e);let r=C(3);return X(r.updateScreenSize(""))}),d(79,"mat-icon"),h(80,"fullscreen"),u(),d(81,"span"),h(82,"Reset Viewport"),u()(),O(83,"mat-divider"),d(84,"button",19),x("click",function(){Z(e);let r=C(3);return X(r.updateScreenSize("xsmall"))}),d(85,"mat-icon"),h(86,"phone_android"),u(),d(87,"span"),h(88,"XSmall (< 600px)"),u()(),d(89,"button",19),x("click",function(){Z(e);let r=C(3);return X(r.updateScreenSize("small"))}),d(90,"mat-icon"),h(91,"tablet_android"),u(),d(92,"span"),h(93,"Small (600px - 959px)"),u()(),d(94,"button",19),x("click",function(){Z(e);let r=C(3);return X(r.updateScreenSize("medium"))}),d(95,"mat-icon"),h(96,"laptop"),u(),d(97,"span"),h(98,"Medium (960px - 1279px)"),u()(),d(99,"button",19),x("click",function(){Z(e);let r=C(3);return X(r.updateScreenSize("large"))}),d(100,"mat-icon"),h(101,"desktop_windows"),u(),d(102,"span"),h(103,"Large (1280px - 1535px)"),u()(),d(104,"button",19),x("click",function(){Z(e);let r=C(3);return X(r.updateScreenSize("xlarge"))}),d(105,"mat-icon"),h(106,"tv"),u(),d(107,"span"),h(108,"XLarge (1536px - 1919px)"),u()(),d(109,"button",19),x("click",function(){Z(e);let r=C(3);return X(r.updateScreenSize("xxlarge"))}),d(110,"mat-icon"),h(111,"desktop_mac"),u(),d(112,"span"),h(113,"XXLarge (\u2265 1920px)"),u()()(),D(114,fSt,2,1,"span",20),O(115,"span",23),D(116,gSt,3,1,"a",24),d(117,"button",25)(118,"mat-icon"),h(119,"language"),u()(),d(120,"span",20),h(121),B(122,"uppercase"),u(),d(123,"mat-menu",null,2),fe(125,bSt,4,3,"button",26,qt),u()()(),d(127,"div",27)(128,"div",28)(129,"div",29)(130,"div",30)(131,"div",31),yt(132,null,3),u()()()(),D(134,CSt,6,1,"div",32),u();}if(t&2){let e=Ve(18),n=Ve(77),r=Ve(124),o=C(3);m(4),L(o.showGrid?"grid_off":"grid_on"),m(10),b("matMenuTriggerFor",e),m(55),I(o.visionMode!=="normal"?69:-1),m(4),b("matMenuTriggerFor",n),m(41),I(o.currentScreenSize!=="Full Width"?114:-1),m(2),I(o.current().link?116:-1),m(),b("matMenuTriggerFor",r),m(4),L(U(122,13,o.translateService.currentLang())),m(4),ge(o.languages()),m(6),z("show-grid",o.showGrid)("centered",o.current().centered),m(3),I(o.current().inputs.length>0?134:-1);}}function wSt(t,i){if(t&1&&(d(0,"mat-tab",37)(1,"pre",39),h(2," "),O(3,"code",40),B(4,"json"),h(5,`
|
|
10794
|
+
`));},dependencies:[qe,ze,_t,tI],encapsulation:2});}}return t})();var n0e=[{name:"Address",selector:"demo-address",showCode:true,showDemo:true,link:"",inputs:[{name:"disabled",values:[true,false],currentValue:false},{name:"readonly",values:[true,false],currentValue:false}],showOutput:true,test:true,centered:true},{name:"Address Input",selector:"demo-address-input",showCode:true,showDemo:true,link:"",inputs:[],test:true,centered:true,showOutput:true},{name:"Autocomplete",selector:"demo-autocomplete",showCode:true,showDemo:true,link:"https://material.angular.io/components/autocomplete/overview",inputs:[{name:"readonly",values:[true,false],currentValue:false}],test:true,centered:true},{name:"Avatar",selector:"demo-avatar",showCode:true,showDemo:true,link:"",inputs:[{name:"initials",values:["","OJ"],currentValue:""},{name:"src",values:["","https://cdn.services.rvaonem.fgov.be/img/flags/1x1/be.svg"],currentValue:""},{name:"size",values:["xsmall","small","medium","large"],currentValue:""},{name:"color",values:["accent"],currentValue:""},{name:"icon",values:["account_circle"],currentValue:""}],test:true,centered:true},{name:"Badge",selector:"demo-badge",showCode:true,showDemo:true,link:"",inputs:[{name:"value",values:[0,1,15,432],currentValue:0}],test:true,centered:true},{name:"Bank Input",selector:"demo-bank-input",showCode:true,showDemo:true,link:"",inputs:[{name:"readonly",values:[true,false],currentValue:false}],test:true,centered:true,translationKey:"input.bank"},{name:"BCE pipe",selector:"demo-bce-pipe",showCode:true,showDemo:true,link:"",inputs:[],test:false,centered:true},{name:"Breadcrumb",selector:"demo-breadcrumb",showCode:true,showDemo:true,link:"",inputs:[],test:true,centered:false},{name:"Button",selector:"demo-button",showCode:true,showDemo:true,link:"https://material.angular.io/components/button/overview",inputs:[{name:"size",values:["","small"],currentValue:""},{name:"icon",values:["","home","chevron_left","settings"],currentValue:""},{name:"iconEnd",values:["","chevron_right"],currentValue:""},{name:"disabled",values:[true,false],currentValue:false}],test:true,centered:true},{name:"Button Loading",selector:"demo-button-loading",showCode:true,showDemo:true,link:"",inputs:[{name:"type",values:["outlined","contained"],currentValue:"contained"},{name:"disabled",values:[true,false],currentValue:false}],test:true,centered:true},{name:"Icon Button",selector:"demo-icon-button",showCode:true,showDemo:true,link:"https://fonts.google.com/icons",inputs:[],test:true},{name:"Card",selector:"demo-card",showCode:true,showDemo:true,link:"",inputs:[{name:"type",values:["no-background","outline","background"],currentValue:"no-background"},{name:"imageSrc",values:["","https://cdn.services.rvaonem.fgov.be/img/banner/banner-new-component.png"],currentValue:"https://cdn.services.rvaonem.fgov.be/img/banner/banner-new-component.png"},{name:"helpText",values:["More information about this component",""],currentValue:"More information about this component"},{name:"title",values:["Here is your title",""],currentValue:"Here is your title"},{name:"subtitle",values:["With a subtitle",""],currentValue:"With a subtitle"},{name:"label",values:["Category label",""],currentValue:"Category label"},{name:"coloredTitle",values:["auto","true","false"],currentValue:"auto"},{name:"showActions",values:[true,false],currentValue:true},{name:"showDescription",values:[true,false],currentValue:true}],test:true,centered:true},{name:"Card Table",selector:"demo-card-table",showCode:true,showDemo:true,link:"",inputs:[],test:true},{name:"Carousel",selector:"demo-carousel",showCode:true,showDemo:true,link:"",inputs:[{name:"color",values:["","primary","accent","error","warn","success","info","neutral"],currentValue:""}],test:true},{name:"Checkbox",selector:"demo-checkbox",showCode:true,showDemo:true,link:"",inputs:[{name:"color",values:["","success"],currentValue:""},{name:"checked",values:[true,false],currentValue:true},{name:"indeterminate",values:[true,false],currentValue:false},{name:"disabled",values:[true,false],currentValue:false},{name:"readonly",values:[true,false],currentValue:false}],test:true},{name:"Chips",selector:"demo-chips",showCode:true,showDemo:true,link:"",inputs:[{name:"color",values:["","accent","error"],currentValue:""},{name:"disabled",values:[true,false],currentValue:false}],centered:true,test:true},{name:"Chips Input",selector:"demo-chips-input",showCode:true,showDemo:true,link:"",inputs:[{name:"color",values:["","accent","error"],currentValue:""},{name:"disabled",values:[true,false],currentValue:false},{name:"readonly",values:[true,false],currentValue:false}],centered:true,test:true},{name:"Choice chips",selector:"demo-choice-chips",showCode:true,showDemo:true,link:"",showOutput:true,inputs:[{name:"disabled",values:[true,false],currentValue:false},{name:"readonly",values:[true,false],currentValue:false}],centered:true,test:true},{name:"Collapsible Page Divider",selector:"demo-collapsible-page-divider",showCode:true,showDemo:true,link:"",inputs:[{name:"color",values:[Pt.WARN,Pt.SUCCESS,Pt.ERROR,Pt.ACCENT,Pt.PRIMARY],currentValue:Pt.PRIMARY},{name:"stickerText",values:["","Your Sticker value"],currentValue:""},{name:"isCollapsed",values:[true,false],currentValue:true}],test:true},{name:"Copy to clipboard",selector:"demo-copy-to-clipboard",showCode:true,showDemo:true,link:"",inputs:[],centered:true,test:true},{name:"Country Input",selector:"demo-country-input",showCode:true,showDemo:true,link:"",inputs:[{name:"disabled",values:[true,false],currentValue:false},{name:"readonly",values:[true,false],currentValue:false}],showOutput:true,centered:true,test:true},{name:"Birthplace input",selector:"demo-birthplace-input",showCode:true,showDemo:true,link:"",inputs:[{name:"disabled",values:[true,false],currentValue:false},{name:"readonly",values:[true,false],currentValue:false}],centered:true,test:true,showOutput:true},{name:"Date Picker",selector:"demo-datepicker",showCode:true,showDemo:true,link:"",inputs:[{name:"disabled",values:[true,false],currentValue:false},{name:"readonly",values:[true,false],currentValue:false}],centered:true,test:true,showOutput:true},{name:"Date Picker Month Year ",selector:"demo-datepicker-month-year",showCode:true,showDemo:true,link:"",inputs:[],centered:true,test:true,showOutput:true},{name:"Date Picker Luxon",selector:"demo-datepicker-luxon",showCode:true,showDemo:true,link:"",inputs:[],centered:true,test:true,showOutput:true},{name:"Date Range Picker",selector:"demo-daterangepicker",showCode:true,showDemo:true,link:"",inputs:[{name:"disabled",values:[true,false],currentValue:false},{name:"readonly",values:[true,false],currentValue:false}],centered:true,test:true,showOutput:true},{name:"Dialog",selector:"demo-dialog",showCode:true,showDemo:true,link:"",inputs:[{name:"size",values:["","small","medium","large","xlarge"],currentValue:""},{name:"type",values:["","error","warn","success"],currentValue:""}],centered:true,test:true},{name:"Dialog Content",selector:"demo-dialog-content",showCode:true,showDemo:false,link:"",inputs:[],test:false},{name:"Digit Only directive",selector:"demo-digit-only",showCode:true,showDemo:true,link:"",inputs:[],test:false},{name:"Drag and drop",selector:"demo-drag-and-drop",showCode:true,showDemo:true,link:"",inputs:[],test:true},{name:"Drawer",selector:"demo-drawer",showCode:true,showDemo:true,link:"",inputs:[{name:"size",values:["","xsmall","small","medium","large","xlarge","xxlarge"],currentValue:""}],test:false},{name:"Enterprise number (VIES)",selector:"demo-enterprise-number-input",showCode:true,showDemo:true,link:"",inputs:[{name:"disabled",values:[true,false],currentValue:false},{name:"readonly",values:[true,false],currentValue:false}],showOutput:true,centered:true,test:true},{name:"Error Handler",selector:"demo-error-handler",showCode:true,showDemo:true,link:"",inputs:[],test:false},{name:"File Panel",selector:"demo-file-panel",showCode:true,showDemo:true,link:"",inputs:[{name:"color",values:["","success","warn","error"],currentValue:""},{name:"disabled",values:[false,true],currentValue:false}],test:true},{name:"File Upload",selector:"demo-file-upload",showCode:true,showDemo:true,link:"",inputs:[],test:true,showOutput:true,translationKey:"file"},{name:"File Upload Manual",selector:"demo-file-upload-manual",showCode:true,showDemo:true,link:"",inputs:[],test:true,translationKey:"file"},{name:"FAB",selector:"demo-fab",showCode:true,showDemo:true,link:"",inputs:[{name:"color",values:["","primary","accent","error","warn","success","info","neutral"],currentValue:""},{name:"icon",values:["","account_circle","home","search","settings","person"],currentValue:"home"},{name:"disabled",values:[true,false],currentValue:false}],centered:true,test:true},{name:"Grid",selector:"demo-grid",showCode:true,showDemo:true,link:"",inputs:[],test:true},{name:"Form",selector:"demo-form",showCode:true,showDemo:true,link:"",inputs:[],test:true},{name:"Icon",selector:"demo-icon",showCode:true,showDemo:true,link:"",inputs:[{name:"color",values:["","primary","accent","error","warn","success","info","neutral"],currentValue:"primary"},{name:"size",values:["small","medium","large","xxlarge"],currentValue:"xxlarge"},{name:"icon",values:["","settings","person"],currentValue:"settings"},{name:"filled",values:[true,false],currentValue:false}],centered:true,test:true},{name:"If width is",selector:"demo-if-width-is",showCode:true,showDemo:true,link:"",inputs:[],test:false},{name:"JSON Forms",selector:"demo-jsonform",showCode:true,showDemo:true,link:"",inputs:[],test:false},{name:"Layout and drawer",selector:"demo-layout",showCode:true,showDemo:true,link:"",inputs:[],test:false,translationKey:"layout"},{name:"Language switcher",selector:"demo-language-switcher",showCode:true,showDemo:true,link:"",inputs:[],test:false},{name:"Link",selector:"demo-link",showCode:true,showDemo:true,link:"",inputs:[],test:true},{name:"Mask",selector:"demo-mask",showCode:true,showDemo:true,link:"",inputs:[],test:false},{name:"Message box",selector:"demo-message-box",showCode:true,showDemo:true,link:"",inputs:[{name:"color",values:["info","warn","success","error","neutral"],currentValue:"info"}],test:true},{name:"Menu",selector:"demo-menu",showCode:true,showDemo:true,centered:true,link:"",inputs:[{name:"disabled",values:[true,false],currentValue:false}],test:true},{name:"Multi Select",selector:"demo-multiselect",showCode:true,showDemo:true,link:"",inputs:[{name:"selectionToggle",values:[true,false],currentValue:true},{name:"showFilter",values:[true,false],currentValue:true},{name:"disabled",values:[true,false],currentValue:false},{name:"readonly",values:[true,false],currentValue:false}],centered:true,test:true,translationKey:"select"},{name:"Select",selector:"demo-select",showCode:true,showDemo:true,link:"",inputs:[{name:"disabled",values:[true,false],currentValue:false},{name:"readonly",values:[true,false],currentValue:false}],centered:true,test:true,translationKey:"select"},{name:"NISS pipe",selector:"demo-niss-pipe",showCode:true,showDemo:true,link:"",inputs:[],test:false},{name:"Notification",selector:"demo-notification",showCode:true,showDemo:true,link:"",inputs:[],test:true},{name:"Overlay",selector:"demo-overlay",showCode:true,showDemo:true,link:"",inputs:[],test:false,centered:true},{name:"Page Error",selector:"demo-error",showCode:true,showDemo:true,link:"",inputs:[{name:"code",values:[500,404,403,401,400,503,502,408,429],currentValue:500}],test:true,translationKey:"error"},{name:"Page not found",selector:"demo-not-found",showCode:true,showDemo:true,link:"",inputs:[],test:true,translationKey:"404"},{name:"Paginator",selector:"demo-paginator",showCode:true,showDemo:true,link:"",inputs:[],test:true,translationKey:"paginator"},{name:"Palette",selector:"demo-palette",showCode:false,showDemo:true,link:"",inputs:[{name:"color",values:["primary","warn","success","info","neutral","accent"],currentValue:""}],test:true},{name:"Panel",selector:"demo-panel",showCode:true,showDemo:true,link:"",inputs:[{name:"color",values:["default","primary"],currentValue:""},{name:"expandable",values:[true,false],currentValue:true}],test:true},{name:"PopOver",selector:"demo-pop-over",showCode:true,showDemo:true,link:"",inputs:[{name:"position",values:["","top-left","top-right","bottom-left","bottom-right"],currentValue:""}],test:true,centered:true},{name:"ProgressBar",selector:"demo-progress-bar",showCode:true,showDemo:true,link:"",inputs:[],test:true},{name:"Radio",selector:"demo-radio",showCode:true,showDemo:true,link:"",inputs:[{name:"disabled",values:[true,false],currentValue:false},{name:"readonly",values:[true,false],currentValue:false}],test:true},{name:"Rxjs Complex case",selector:"demo-rxjs-complex-case",showCode:true,showDemo:true,link:"",inputs:[],test:false},{name:"Rxjs Combine Operators",selector:"demo-rxjs-combine-operators",showCode:true,showDemo:true,link:"",inputs:[],test:false},{name:"Rxjs Flattening Operators",selector:"demo-rxjs-flattening-operators",showCode:true,showDemo:true,link:"",inputs:[],test:false},{name:"Rxjs Observable",selector:"demo-rxjs-observable",showCode:true,showDemo:true,link:"",inputs:[],test:false},{name:"Rxjs Subject",selector:"demo-rxjs-subject",showCode:true,showDemo:true,link:"",inputs:[],test:false},{name:"Side menu",selector:"demo-side-menu",showCode:true,showDemo:true,link:"",inputs:[],test:true},{name:"Selectable box",selector:"demo-selectable-box",showCode:true,showDemo:true,link:"",inputs:[{name:"icon",values:[false,true],currentValue:true},{name:"content",values:[false,true],currentValue:true},{name:"title",values:[false,true],currentValue:true},{name:"disabled",values:[true,false],currentValue:false},{name:"readonly",values:[true,false],currentValue:false}],test:true},{name:"Selectable box Large",selector:"demo-selectable-box-large",showCode:true,showDemo:true,link:"",inputs:[],test:true},{name:"Skeleton",selector:"demo-skeleton",showCode:true,showDemo:true,link:"",inputs:[],test:true},{name:"Slide toggle",selector:"demo-slide-toggle",showCode:true,showDemo:true,link:"",inputs:[],test:true},{name:"Spacing",selector:"demo-spacing",showCode:false,showDemo:true,link:"",inputs:[],test:true},{name:"Spinner",selector:"demo-spinner",showCode:true,showDemo:true,link:"",inputs:[],test:true},{name:"Stepper (horizontal)",selector:"demo-horizontal-stepper",showCode:true,showDemo:true,link:"",inputs:[],test:true},{name:"Stepper (with Summary)",selector:"demo-summary-stepper",showCode:true,showDemo:true,link:"",inputs:[],test:true},{name:"Sticker",selector:"demo-sticker",showCode:true,showDemo:true,link:"",inputs:[{name:"color",values:["primary","success","error","info","warn","neutral"],currentValue:"primary"}],test:true},{name:"Tab",selector:"demo-tab",showCode:true,showDemo:true,link:"",inputs:[],test:true},{name:"Table",selector:"demo-table",showCode:true,showDemo:true,link:"",inputs:[],test:true},{name:"Table of content",selector:"demo-toc",showCode:true,showDemo:true,link:"",inputs:[],test:false},{name:"Task list",selector:"demo-task-list",showCode:true,showDemo:true,link:"",inputs:[{name:"type",values:["bubble","checkbox","icon"],currentValue:"checkbox"},{name:"color",values:["","error","success"],currentValue:""},{name:"disabled",values:[true,false],currentValue:false},{name:"readonly",values:[true,false],currentValue:false}],test:true},{name:"Toast",selector:"demo-toast",showCode:true,showDemo:true,link:"",inputs:[],test:true},{name:"Text Input",selector:"demo-text-input",showCode:true,showDemo:true,link:"",inputs:[{name:"color",values:["","warn"]},{name:"disabled",values:[true,false],currentValue:false},{name:"readonly",values:[true,false],currentValue:false},{name:"hintColor",values:["","warn"],currentValue:""}],centered:true,test:true},{name:"Phone Input",selector:"demo-phone-input",showCode:true,showDemo:true,link:"",inputs:[{name:"disabled",values:[true,false],currentValue:false},{name:"readonly",values:[true,false],currentValue:false}],centered:true,test:true,translationKey:"input.phone"},{name:"Textarea",selector:"demo-textarea",showCode:true,showDemo:true,link:"",inputs:[{name:"disabled",values:[true,false],currentValue:false},{name:"readonly",values:[true,false],currentValue:false},{name:"autoresize",values:[true,false],currentValue:false}],centered:true,test:true},{name:"Timepicker",selector:"demo-timepicker",showCode:true,showDemo:true,link:"",inputs:[{name:"disabled",values:[true,false],currentValue:false},{name:"readonly",values:[true,false],currentValue:false}],centered:true,test:true,showOutput:true},{name:"Timeline",selector:"demo-timeline",description:"Plot dated periods on a horizontal, year-based timeline. Overlapping periods stack into rows and take their color from the legend, with month/day zoom, selection, tooltips, filters, and an optional full-size mode.",showCode:true,showDemo:true,link:"",inputs:[],test:true},{name:"Button Toggle",selector:"demo-button-toggle",showCode:true,showDemo:true,link:"",inputs:[{name:"type",values:["text","icon"],currentValue:"text"}],centered:true,test:true},{name:"Toolbar",selector:"demo-toolbar",showCode:true,showDemo:true,link:"",inputs:[],test:true},{name:"Tooltip",selector:"demo-tooltip",showCode:true,showDemo:true,link:"",inputs:[{name:"position",values:["above","below","right","left","before","after"],currentValue:"above"},{name:"filled",values:[true,false],currentValue:false},{name:"html",values:[true,false],currentValue:false}],centered:true,test:true},{name:"Typography",selector:"demo-typography",showCode:false,showDemo:true,link:"",inputs:[],test:true},{name:"Validators",selector:"demo-validators",showCode:true,showDemo:true,link:"",inputs:[],test:false}];var i0e=n0e.map(t=>s(r({},t),{component:{"demo-address":voe,"demo-address-input":Bee,"demo-autocomplete":Vee,"demo-avatar":Uee,"demo-badge":t0e,"demo-bank-input":jee,"demo-bce-pipe":Yee,"demo-breadcrumb":Kee,"demo-button":Qee,"demo-button-loading":Zee,"demo-icon-button":Xee,"demo-card":Coe,"demo-card-table":bte,"demo-carousel":Oee,"demo-checkbox":vte,"demo-chips":jte,"demo-chips-input":Yte,"demo-choice-chips":Wte,"demo-collapsible-page-divider":e0e,"demo-copy-to-clipboard":Kte,"demo-country-input":Qte,"demo-birthplace-input":Xte,"demo-datepicker":bne,"demo-datepicker-month-year":vne,"demo-datepicker-luxon":yne,"demo-daterangepicker":Ene,"demo-dialog":One,"demo-dialog-content":zx,"demo-digit-only":Rne,"demo-drag-and-drop":Ane,"demo-drawer":fie,"demo-enterprise-number-input":Pne,"demo-error-handler":Fne,"demo-file-panel":Kne,"demo-file-upload":Zne,"demo-file-upload-manual":Jne,"demo-fab":eie,"demo-grid":tie,"demo-form":Xye,"demo-icon":iie,"demo-if-width-is":nie,"demo-jsonform":Zye,"demo-layout":bie,"demo-language-switcher":vie,"demo-link":yie,"demo-mask":Eie,"demo-message-box":Sie,"demo-menu":wie,"demo-multiselect":Tie,"demo-select":Soe,"demo-niss-pipe":xie,"demo-notification":Die,"demo-overlay":yoe,"demo-error":Mie,"demo-not-found":Aie,"demo-paginator":Nie,"demo-palette":Pie,"demo-panel":Ree,"demo-pop-over":Fie,"demo-progress-bar":$ie,"demo-radio":Uie,"demo-rxjs-complex-case":Hie,"demo-rxjs-combine-operators":Gie,"demo-rxjs-flattening-operators":jie,"demo-rxjs-observable":Yie,"demo-rxjs-subject":Wie,"demo-side-menu":Zie,"demo-selectable-box":Jie,"demo-selectable-box-large":Eoe,"demo-skeleton":nre,"demo-slide-toggle":rre,"demo-spacing":ore,"demo-spinner":are,"demo-horizontal-stepper":_re,"demo-summary-stepper":fre,"demo-sticker":gre,"demo-tab":bre,"demo-table":Ere,"demo-table-dialog-content":h1,"demo-toc":kre,"demo-task-list":Are,"demo-toast":Pre,"demo-text-input":Lre,"demo-phone-input":Fre,"demo-textarea":Bre,"demo-timepicker":Yre,"demo-timeline":coe,"demo-button-toggle":doe,"demo-toolbar":uoe,"demo-tooltip":hoe,"demo-typography":foe,"demo-validators":goe}[t.selector]}));var r0e=(()=>{class t{constructor(){this.jsonSubPath="assets/json",this.translationSubPath="assets/i18n",this.http=p(ao),this.basePathSig=p(gd,{optional:true}),this.codeCache=new Map,this.translationCache=new Map;}basePath(){return (this.basePathSig?.()??"/").trim()}joinUrl(...e){return e.filter(Boolean).join("/").replace(/(^|[^:])\/\/+/g,"$1/")}jsonRoot(){return this.joinUrl(this.basePath(),this.jsonSubPath)}i18nRoot(){return this.joinUrl(this.basePath(),this.translationSubPath)}getCode(e){let n=this.jsonRoot(),r=`${n}|${e}`;if(!this.codeCache.has(r)){let o=this.joinUrl(n,`${e}.json`),a=this.http.get(o).pipe(Mo(1));this.codeCache.set(r,a);}return this.codeCache.get(r)}getTranslation(e,n){let r=this.i18nRoot(),o=`${r}|${e}`;if(!this.translationCache.has(o)){let a=this.joinUrl(r,`${e}.json`),s=this.http.get(a).pipe(Mo(1));this.translationCache.set(o,s);}return this.translationCache.get(o).pipe(se(a=>a[n]))}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275prov=Re({token:t,factory:t.\u0275fac,providedIn:"root"});}}return t})();var o0e=(()=>{class t extends ne{static{this.\u0275fac=(()=>{let e;return function(r){return (e||(e=V(t)))(r||t)}})();}static{this.\u0275cmp=w({type:t,selectors:[["app-demo-empty"]],features:[A],decls:0,vars:0,template:function(n,r){},encapsulation:2});}}return t})();var a0e="/wp-content/app-demo/";var dSt=["componentRef"],uSt=()=>["hljs","borderRadius"],mSt=(t,i)=>i.name;function pSt(t,i){t&1&&yt(0);}function _St(t,i){if(t&1&&(d(0,"div",5),me(1,pSt,1,0,"ng-container",6),u()),t&2){let e=C(2);m(),b("ngComponentOutlet",e.current().component)("ngComponentOutletInputs",e.inputs());}}function hSt(t,i){if(t&1&&(d(0,"span",20),h(1),B(2,"titlecase"),u()),t&2){let e=C(4);m(),L(U(2,1,e.visionMode));}}function fSt(t,i){if(t&1&&(d(0,"span",20),h(1),u()),t&2){let e=C(4);m(),L(e.currentScreenSize);}}function gSt(t,i){if(t&1&&(d(0,"a",24)(1,"mat-icon"),h(2,"code"),u()()),t&2){let e=C(4);b("href",e.current().link,rc);}}function bSt(t,i){if(t&1){let e=Te();d(0,"button",19),x("click",function(){let r=Z(e).$implicit,o=C(4);return X(o.translateService.use(r))}),d(1,"span"),h(2),B(3,"uppercase"),u()();}if(t&2){let e=i.$implicit;m(2),L(U(3,1,e));}}function vSt(t,i){if(t&1&&(d(0,"mat-option",36),h(1),u()),t&2){let e=i.$implicit;b("value",e),m(),L(e);}}function ySt(t,i){if(t&1){let e=Te();d(0,"mat-form-field",34)(1,"mat-label"),h(2),u(),d(3,"mat-select",35),x("selectionChange",function(r){let o=Z(e).$implicit,a=C(6);return X(a.update(r,o.name))}),fe(4,vSt,2,2,"mat-option",36,qt),u()();}if(t&2){let e=i.$implicit,n=C(6);m(2),L(e.name),m(),b("value",n.liveInputs()[e.name]??e.currentValue),m(),ge(e.values);}}function ESt(t,i){if(t&1&&fe(0,ySt,6,2,"mat-form-field",34,mSt),t&2){let e=C(5);ge(e.current().inputs);}}function CSt(t,i){if(t&1&&(d(0,"div",32)(1,"onemrva-mat-panel",33)(2,"onemrva-mat-panel-title"),h(3,"Controls"),u(),d(4,"onemrva-mat-panel-content"),D(5,ESt,2,0),u()()()),t&2){let e=C(4);m(5),I(e.current().inputs.length>0?5:-1);}}function SSt(t,i){if(t&1){let e=Te();d(0,"mat-toolbar",12)(1,"div",13)(2,"button",14),x("click",function(){Z(e);let r=C(3);return X(r.toggleGrid())}),d(3,"mat-icon"),h(4),u()(),d(5,"button",15),x("click",function(){Z(e);let r=C(3);return X(r.zoomOut())}),d(6,"mat-icon"),h(7,"zoom_out"),u()(),d(8,"button",16),x("click",function(){Z(e);let r=C(3);return X(r.resetZoom())}),d(9,"mat-icon"),h(10,"restart_alt"),u()(),d(11,"button",17),x("click",function(){Z(e);let r=C(3);return X(r.zoomIn())}),d(12,"mat-icon"),h(13,"zoom_in"),u()(),d(14,"button",18)(15,"mat-icon"),h(16,"visibility"),u()(),d(17,"mat-menu",null,0)(19,"button",19),x("click",function(){Z(e);let r=C(3);return X(r.updateVision("normal"))}),d(20,"mat-icon"),h(21,"visibility"),u(),d(22,"span"),h(23,"Normal Vision"),u()(),d(24,"button",19),x("click",function(){Z(e);let r=C(3);return X(r.updateVision("blurred"))}),d(25,"mat-icon"),h(26,"blur_on"),u(),d(27,"span"),h(28,"Blurred Vision"),u()(),d(29,"button",19),x("click",function(){Z(e);let r=C(3);return X(r.updateVision("deuteranomaly"))}),d(30,"mat-icon"),h(31,"color_lens"),u(),d(32,"span"),h(33,"Deuteranomaly"),u()(),d(34,"button",19),x("click",function(){Z(e);let r=C(3);return X(r.updateVision("deuteranopia"))}),d(35,"mat-icon"),h(36,"color_lens"),u(),d(37,"span"),h(38,"Deuteranopia"),u()(),d(39,"button",19),x("click",function(){Z(e);let r=C(3);return X(r.updateVision("protanomaly"))}),d(40,"mat-icon"),h(41,"color_lens"),u(),d(42,"span"),h(43,"Protanomaly"),u()(),d(44,"button",19),x("click",function(){Z(e);let r=C(3);return X(r.updateVision("protanopia"))}),d(45,"mat-icon"),h(46,"color_lens"),u(),d(47,"span"),h(48,"Protanopia"),u()(),d(49,"button",19),x("click",function(){Z(e);let r=C(3);return X(r.updateVision("tritanomaly"))}),d(50,"mat-icon"),h(51,"color_lens"),u(),d(52,"span"),h(53,"Tritanomaly"),u()(),d(54,"button",19),x("click",function(){Z(e);let r=C(3);return X(r.updateVision("tritanopia"))}),d(55,"mat-icon"),h(56,"color_lens"),u(),d(57,"span"),h(58,"Tritanopia"),u()(),d(59,"button",19),x("click",function(){Z(e);let r=C(3);return X(r.updateVision("achromatopsia"))}),d(60,"mat-icon"),h(61,"invert_colors_off"),u(),d(62,"span"),h(63,"Achromatopsia"),u()(),d(64,"button",19),x("click",function(){Z(e);let r=C(3);return X(r.updateVision("grayscale"))}),d(65,"mat-icon"),h(66,"filter_b_and_w"),u(),d(67,"span"),h(68,"Grayscale"),u()()(),D(69,hSt,3,3,"span",20),d(70,"button",21)(71,"mat-icon"),h(72,"accessibility"),u()(),d(73,"button",22)(74,"mat-icon"),h(75,"devices"),u()(),d(76,"mat-menu",null,1)(78,"button",19),x("click",function(){Z(e);let r=C(3);return X(r.updateScreenSize(""))}),d(79,"mat-icon"),h(80,"fullscreen"),u(),d(81,"span"),h(82,"Reset Viewport"),u()(),O(83,"mat-divider"),d(84,"button",19),x("click",function(){Z(e);let r=C(3);return X(r.updateScreenSize("xsmall"))}),d(85,"mat-icon"),h(86,"phone_android"),u(),d(87,"span"),h(88,"XSmall (< 600px)"),u()(),d(89,"button",19),x("click",function(){Z(e);let r=C(3);return X(r.updateScreenSize("small"))}),d(90,"mat-icon"),h(91,"tablet_android"),u(),d(92,"span"),h(93,"Small (600px - 959px)"),u()(),d(94,"button",19),x("click",function(){Z(e);let r=C(3);return X(r.updateScreenSize("medium"))}),d(95,"mat-icon"),h(96,"laptop"),u(),d(97,"span"),h(98,"Medium (960px - 1279px)"),u()(),d(99,"button",19),x("click",function(){Z(e);let r=C(3);return X(r.updateScreenSize("large"))}),d(100,"mat-icon"),h(101,"desktop_windows"),u(),d(102,"span"),h(103,"Large (1280px - 1535px)"),u()(),d(104,"button",19),x("click",function(){Z(e);let r=C(3);return X(r.updateScreenSize("xlarge"))}),d(105,"mat-icon"),h(106,"tv"),u(),d(107,"span"),h(108,"XLarge (1536px - 1919px)"),u()(),d(109,"button",19),x("click",function(){Z(e);let r=C(3);return X(r.updateScreenSize("xxlarge"))}),d(110,"mat-icon"),h(111,"desktop_mac"),u(),d(112,"span"),h(113,"XXLarge (\u2265 1920px)"),u()()(),D(114,fSt,2,1,"span",20),O(115,"span",23),D(116,gSt,3,1,"a",24),d(117,"button",25)(118,"mat-icon"),h(119,"language"),u()(),d(120,"span",20),h(121),B(122,"uppercase"),u(),d(123,"mat-menu",null,2),fe(125,bSt,4,3,"button",26,qt),u()()(),d(127,"div",27)(128,"div",28)(129,"div",29)(130,"div",30)(131,"div",31),yt(132,null,3),u()()()(),D(134,CSt,6,1,"div",32),u();}if(t&2){let e=Ve(18),n=Ve(77),r=Ve(124),o=C(3);m(4),L(o.showGrid?"grid_off":"grid_on"),m(10),b("matMenuTriggerFor",e),m(55),I(o.visionMode!=="normal"?69:-1),m(4),b("matMenuTriggerFor",n),m(41),I(o.currentScreenSize!=="Full Width"?114:-1),m(2),I(o.current().link?116:-1),m(),b("matMenuTriggerFor",r),m(4),L(U(122,13,o.translateService.currentLang())),m(4),ge(o.languages()),m(6),z("show-grid",o.showGrid)("centered",o.current().centered),m(3),I(o.current().inputs.length>0?134:-1);}}function wSt(t,i){if(t&1&&(d(0,"mat-tab",37)(1,"pre",39),h(2," "),O(3,"code",40),B(4,"json"),h(5,`
|
|
10795
10795
|
`),u()()),t&2){let e=C(4);b("label","Output"),m(3),b("highlight",U(4,3,e.demoComponent?.output()))("language","json");}}function TSt(t,i){if(t&1&&(d(0,"div",41),O(1,"markdown",45),u()),t&2){let e=C().$index,n=C(4);m(),b("data",n.tabContents()[e]);}}function xSt(t,i){if(t&1&&(d(0,"pre",42),h(1," "),O(2,"code",40),h(3,`
|
|
10796
10796
|
`),u()),t&2){let e=C().$index,n=C(4);m(2),b("highlight",n.tabContents()[e])("language",n.getLanguage(n.tabs()[e]));}}function DSt(t,i){t&1&&(d(0,"mat-icon",44),h(1,"check"),u());}function ISt(t,i){t&1&&(d(0,"mat-icon",44),h(1,"content_copy"),u());}function MSt(t,i){if(t&1){let e=Te();d(0,"mat-tab",38),D(1,TSt,2,1,"div",41)(2,xSt,4,2,"pre",42),d(3,"button",43),x("click",function(){let r=Z(e).$index,o=C(4);return X(o.copyToClipboard(o.tabContents()[r]))}),D(4,DSt,2,0,"mat-icon",44)(5,ISt,2,0,"mat-icon",44),u()();}if(t&2){let e=i.$implicit,n=C(4);b("label",e.replace("demo-",""))("bodyClass",Gn(5,uSt)),m(),I(e.split(".")[1]==="md"?1:2),m(2),b("color",n.checked()?"success":"accent"),m(),I(n.checked()?4:5);}}function kSt(t,i){if(t&1&&(d(0,"mat-tab",37)(1,"pre",42),h(2," "),O(3,"code",40),h(4,`
|
|
10797
10797
|
`),u()()),t&2){let e=i.$implicit;b("label",e.lang+".json"),m(3),b("highlight",e.code)("language","json");}}function OSt(t,i){if(t&1&&fe(0,kSt,5,3,"mat-tab",37,gi),t&2){let e=C(4);ge(e.translations);}}function RSt(t,i){if(t&1&&(d(0,"mat-tab-group",11),D(1,wSt,6,5,"mat-tab",37),fe(2,MSt,6,6,"mat-tab",38,gi),D(4,OSt,2,0),u()),t&2){let e=C(3);b("selectedIndex",0)("mat-stretch-tabs",false),m(),I(e.current().showOutput?1:-1),m(),ge(e.tabs()),m(2),I(e.translations.length>0?4:-1);}}function ASt(t,i){if(t&1&&(d(0,"div",4)(1,"div",7)(2,"onemrva-mat-panel",8),O(3,"onemrva-mat-panel-title",9),d(4,"onemrva-mat-panel-content",10),D(5,SSt,135,15),D(6,RSt,5,4,"mat-tab-group",11),u()()()()),t&2){let e=C(2);m(2),b("ngClass","m-0 p-0"),m(3),I(e.effectiveShowDemo()==="yes"?5:-1),m(),I(e.effectiveShowCode()==="yes"?6:-1);}}function NSt(t,i){if(t&1&&D(0,_St,2,2,"div",5)(1,ASt,7,3,"div",4),t&2){let e=C();I(e.onlyDemo()?0:e.current()!==void 0&&e.current().component?1:-1);}}function PSt(t,i){if(t&1&&(d(0,"div",4)(1,"div",7)(2,"onemrva-mat-panel",8),O(3,"onemrva-mat-panel-title"),d(4,"onemrva-mat-panel-content")(5,"div",46)(6,"mat-icon",47),h(7,"error_outline"),u(),d(8,"h2"),h(9,"Demo Not Found"),u(),d(10,"p"),h(11),u()()()()()()),t&2){let e=C();m(2),b("ngClass","m-0 p-0"),m(9),j(' The requested demo component "',e.component(),'" does not exist. ');}}var s0e=new Set,l0e=(()=>{class t{constructor(){this.componentRef=Qe("componentRef",{read:nn}),this.onlyDemo=y(false),this.component=y("empty"),this.showCode=y(null),this.showDemo=y(null),this.inputs=y({}),this.activeTab=y("preview"),this.version=y(""),this.wp=y(1),this.demoBasePathSig=p(gd),this.clipboard=p(Eh),this.json=p(r0e),this.cdn=p(Qr),this.translateService=p(Rn),this.current=W({name:"",selector:"empty",component:o0e,showCode:true,showDemo:true,inputs:[],test:true,link:""}),this.showGrid=false,this.checked=W(false),this.currentZoom=1,this.ZOOM_STEP=.1,this.MIN_ZOOM=.5,this.MAX_ZOOM=2,this.visionMode="normal",this.currentScreenSize="Full Width",this.tabs=W([]),this.tabContents=W({}),this.Object=Object,this.demoExists=W(false),this.basePath=de(()=>{let e=this.wp(),n=this.version(),r=e===1?a0e:"/";return n&&(r+=`${n}/`),r}),this.effectiveShowCode=de(()=>{let e=this.showCode();return e!==null?e:this.current().showCode?"yes":"no"}),this.effectiveShowDemo=de(()=>{let e=this.showDemo();return e!==null?e:this.current().showDemo?"yes":"no"}),this.liveInputs=W({}),this.translations=[],this.lastLoadedComponent=null,bt(()=>{let e=this.basePath();this.demoBasePathSig.set(e);let n=this.translateService.currentLang();if(!n)return;let r=`${e}|${n}`;s0e.has(r)||(s0e.add(r),this.translateService.reloadLang(n));}),bt(()=>{this.liveInputs.set(this.inputs()??{});}),bt(()=>{let e=this.component(),n=i0e.find(o=>o.selector==="demo-"+e);if(!n){this.demoExists.set(false);return}this.current.set(n),this.demoExists.set(true);let r$1=r({},this.inputs());for(let o of n.inputs)o.currentValue!==void 0&&(r$1[o.name]=o.currentValue);this.liveInputs.set(r$1),!this.onlyDemo()&&this.effectiveShowCode()==="yes"&&this.loadCodeIfNeeded(e);}),bt(()=>{let e=this.componentRef(),n=this.current()?.component;!e||!n||this.createComponent();}),bt(()=>{let e=this.componentInstance,n=this.liveInputs();if(e)for(let r of Object.keys(n))e.setInput(r,n[r]);});}createComponent(){let e=this.componentRef(),n=this.current()?.component;if(!e||!n)return;e.clear(),this.componentInstance=e.createComponent(n),this.demoComponent=this.componentInstance.instance;let r=this.liveInputs();for(let o of Object.keys(r))this.componentInstance.setInput(o,r[o]);}loadCodeIfNeeded(e){if(!e||this.lastLoadedComponent===e)return;this.json.getCode(e).pipe(ut(1)).subscribe(r=>{this.tabs.set(Object.keys(r)),this.tabContents.set(Object.values(r)),this.lastLoadedComponent=e;},r=>console.error(r));let n=this.current().translationKey;this.translations=[],n!==void 0&&this.translateService.getLangs().forEach(r=>{this.json.getTranslation(r,n).pipe(ut(1)).subscribe(o=>{this.translations.push({key:n,lang:r,code:'{ "'+n+'" : '+JSON.stringify(o,null,2)+" } "});});});}copyToClipboard(e){this.checked.set(true),this.clipboard.copy(e),setTimeout(()=>this.checked.set(false),1200);}openLink(e){window.open(e);}update(e,n){let r$1=e.value;this.liveInputs.set(s(r({},this.liveInputs()),{[n]:r$1}));let o=this.current().inputs.find(a=>a.name===n);o&&(o.currentValue=r$1);}getLanguage(e){return e.endsWith(".ts")?"typescript":e.endsWith(".scss")||e.endsWith(".css")?"css":e.endsWith(".html")?"xml":"text"}toggleGrid(){this.showGrid=!this.showGrid;}zoomIn(){this.currentZoom<this.MAX_ZOOM&&(this.currentZoom=Math.min(this.currentZoom+this.ZOOM_STEP,this.MAX_ZOOM),this.updateZoom());}zoomOut(){this.currentZoom>this.MIN_ZOOM&&(this.currentZoom=Math.max(this.currentZoom-this.ZOOM_STEP,this.MIN_ZOOM),this.updateZoom());}resetZoom(){this.currentZoom=1,this.updateZoom();}updateZoom(){let e=document.querySelector(".demoDiv");if(!e)return;let n=e.classList.contains("centered");e.style.transformOrigin=n?"center center":"top left",e.style.transform=`scale(${this.currentZoom})`;}updateVision(e){this.visionMode=e;let n=document.querySelector(".demoDiv");n&&(n.classList.remove("vision-blurred","vision-deuteranomaly","vision-deuteranopia","vision-protanomaly","vision-protanopia","vision-tritanomaly","vision-tritanopia","vision-achromatopsia","vision-grayscale"),e!=="normal"&&n.classList.add(`vision-${e}`));}updateScreenSize(e){let n={xsmall:599,small:959,medium:1279,large:1535,xlarge:1919,xxlarge:1920},r=document.querySelector(".viewport-simulator");if(!r)return;if(e===""){r.style.width="",this.currentScreenSize="Full Width";return}let o=n[e];o&&(r.style.width=`${o}px`,this.currentScreenSize=e.charAt(0).toUpperCase()+e.slice(1));}languages(){return this.translateService.getLangs()}getTranslation(e,n){return n?this.json.getTranslation(e,n):Ce("")}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275cmp=w({type:t,selectors:[["app-demo-component"]],viewQuery:function(n,r){n&1&&dt(r.componentRef,dSt,5,nn),n&2&&Ge();},inputs:{onlyDemo:[1,"onlyDemo"],component:[1,"component"],showCode:[1,"showCode"],showDemo:[1,"showDemo"],inputs:[1,"inputs"],activeTab:[1,"activeTab"],version:[1,"version"],wp:[1,"wp"]},decls:2,vars:1,consts:[["visionMenu","matMenu"],["screenMenu","matMenu"],["langMenu","matMenu"],["componentRef",""],[1,"onemrva-theme"],[1,"demoNoCode"],[4,"ngComponentOutlet","ngComponentOutletInputs"],[1,"mat-typography"],[3,"ngClass"],[1,"hidden"],["customNgClass","m-0"],[3,"selectedIndex","mat-stretch-tabs"],[1,"demo-toolbar"],[1,"toolbar-group"],["mat-icon-button","","matTooltip","Toggle Grid","aria-label","Toggle Grid",3,"click"],["mat-icon-button","","matTooltip","Zoom Out","aria-label","Zoom Out",3,"click"],["mat-icon-button","","matTooltip","Reset Zoom","aria-label","Reset Zoom",3,"click"],["mat-icon-button","","matTooltip","Zoom In","aria-label","Zoom In",3,"click"],["mat-icon-button","","matTooltip","Vision Simulator","aria-label","Vision Simulator",3,"matMenuTriggerFor"],["mat-menu-item","",3,"click"],[1,"selected-option"],["mat-icon-button","","color","accent","aria-label","Accessibility check","matTooltip","Accessibility check","onclick",`
|