create-twenty-app 2.13.0 → 2.14.0

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/dist/cli.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),s=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},c=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},l=(n,r,a)=>(a=n==null?{}:e(i(n)),c(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));let u=require("chalk");u=l(u);let d=require("commander"),f=require("fs-extra");f=l(f);let p=require("path");p=l(p);let m=require("uuid"),h=require("util"),g=require("child_process"),_=require("lodash.kebabcase");_=l(_);let v=require("node:child_process"),y=require("twenty-sdk/cli"),b=require("lodash.camelcase");b=l(b,1);var x={name:`create-twenty-app`,version:`2.13.0`,description:`Command-line interface to create Twenty application`,main:`dist/cli.cjs`,bin:`dist/cli.cjs`,files:[`dist`,`README.md`,`package.json`],scripts:{build:`npx rimraf dist && npx vite build`},keywords:[`twenty`,`cli`,`crm`,`application`,`development`],exports:{".":{types:`./dist/cli.d.ts`,import:`./dist/cli.mjs`,require:`./dist/cli.cjs`}},license:`AGPL-3.0`,dependencies:{chalk:`^5.3.0`,commander:`^12.0.0`,"fs-extra":`^11.2.0`,"lodash.camelcase":`^4.3.0`,"lodash.kebabcase":`^4.1.1`,"lodash.startcase":`^4.4.0`,"twenty-sdk":`workspace:*`,uuid:`^13.0.2`},devDependencies:{"@swc/core":`^1.15.11`,"@swc/jest":`^0.2.39`,"@types/fs-extra":`^11.0.0`,"@types/jest":`^30.0.0`,"@types/lodash.camelcase":`^4.3.7`,"@types/lodash.kebabcase":`^4.1.7`,"@types/lodash.startcase":`^4`,"@types/node":`^20.0.0`,jest:`29.7.0`,"jest-environment-node":`^29.4.1`,"twenty-shared":`workspace:*`,typescript:`^5.9.3`,vite:`^8.0.0`,"vite-plugin-dts":`^4.5.4`,"vite-tsconfig-paths":`^4.2.1`},engines:{node:`^24.5.0`,yarn:`^4.0.2`}},S=`src`,C=async({appName:e,appDisplayName:t,appDescription:n,appDirectory:r,onProgress:i})=>{i?.(`Copying base template`),await f.copy((0,p.join)(__dirname,`./constants/template`),r),i?.(`Configuring dotfiles (.gitignore, .github, .yarnrc.yml)`),await ee({appDirectory:r}),i?.(`Mirroring AGENTS.md to CLAUDE.md`),await w({appDirectory:r}),await T({appDirectory:r}),i?.(`Generating unique application identifiers`),await te({appDisplayName:t,appDescription:n,appDirectory:r}),i?.(`Updating package.json`),await ne({appName:e,appDirectory:r})},ee=async({appDirectory:e})=>{for(let{from:t,to:n}of[{from:`gitignore`,to:`.gitignore`},{from:`github`,to:`.github`},{from:`yarnrc.yml`,to:`.yarnrc.yml`}]){let r=(0,p.join)(e,t);await f.pathExists(r)&&await f.rename(r,(0,p.join)(e,n))}},w=async({appDirectory:e})=>{await f.copy((0,p.join)(e,`AGENTS.md`),(0,p.join)(e,`CLAUDE.md`))},T=async({appDirectory:e})=>{await f.ensureDir((0,p.join)(e,`public`))},te=async({appDisplayName:e,appDescription:t,appDirectory:n})=>{let r=(0,p.join)(n,S,`constants`,`universal-identifiers.ts`),i=await f.readFile(r,`utf-8`);await f.writeFile(r,i.replace(`DISPLAY-NAME-TO-BE-GENERATED`,e).replace(`DESCRIPTION-TO-BE-GENERATED`,t).replace(/UUID-TO-BE-GENERATED/g,()=>(0,m.v4)()))},ne=async({appName:e,appDirectory:t})=>{let n=await f.readJson((0,p.join)(t,`package.json`));n.name=e,n.devDependencies[`twenty-sdk`]=x.version,n.dependencies[`twenty-client-sdk`]=x.version,await f.writeFile((0,p.join)(t,`package.json`),JSON.stringify(n,null,2),`utf8`)},re=o(((e,t)=>{(function(){var n,r=`4.18.1`,i=200,a=`Unsupported core-js use. Try https://npms.io/search?q=ponyfill.`,o=`Expected a function`,s="Invalid `variable` option passed into `_.template`",c="Invalid `imports` option passed into `_.template`",l=`__lodash_hash_undefined__`,u=500,d=`__lodash_placeholder__`,f=1,p=2,m=4,h=1,g=2,_=1,v=2,y=4,b=8,x=16,S=32,C=64,ee=128,w=256,T=512,te=30,ne=`...`,re=800,ie=16,ae=1,oe=2,se=3,ce=1/0,le=9007199254740991,ue=17976931348623157e292,de=NaN,fe=4294967295,pe=fe-1,me=fe>>>1,E=[[`ary`,ee],[`bind`,_],[`bindKey`,v],[`curry`,b],[`curryRight`,x],[`flip`,T],[`partial`,S],[`partialRight`,C],[`rearg`,w]],D=`[object Arguments]`,he=`[object Array]`,O=`[object AsyncFunction]`,ge=`[object Boolean]`,_e=`[object Date]`,ve=`[object DOMException]`,ye=`[object Error]`,be=`[object Function]`,xe=`[object GeneratorFunction]`,Se=`[object Map]`,Ce=`[object Number]`,we=`[object Null]`,Te=`[object Object]`,Ee=`[object Promise]`,De=`[object Proxy]`,k=`[object RegExp]`,Oe=`[object Set]`,ke=`[object String]`,Ae=`[object Symbol]`,je=`[object Undefined]`,Me=`[object WeakMap]`,Ne=`[object WeakSet]`,A=`[object ArrayBuffer]`,Pe=`[object DataView]`,Fe=`[object Float32Array]`,Ie=`[object Float64Array]`,Le=`[object Int8Array]`,Re=`[object Int16Array]`,ze=`[object Int32Array]`,Be=`[object Uint8Array]`,Ve=`[object Uint8ClampedArray]`,He=`[object Uint16Array]`,Ue=`[object Uint32Array]`,We=/\b__p \+= '';/g,Ge=/\b(__p \+=) '' \+/g,Ke=/(__e\(.*?\)|\b__t\)) \+\n'';/g,qe=/&(?:amp|lt|gt|quot|#39);/g,Je=/[&<>"']/g,Ye=RegExp(qe.source),Xe=RegExp(Je.source),Ze=/<%-([\s\S]+?)%>/g,Qe=/<%([\s\S]+?)%>/g,j=/<%=([\s\S]+?)%>/g,$e=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,M=/^\w*$/,et=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,tt=/[\\^$.*+?()[\]{}|]/g,nt=RegExp(tt.source),rt=/^\s+/,it=/\s/,at=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ot=/\{\n\/\* \[wrapped with (.+)\] \*/,st=/,? & /,ct=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,lt=/[()=,{}\[\]\/\s]/,ut=/\\(\\)?/g,dt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ft=/\w*$/,pt=/^[-+]0x[0-9a-f]+$/i,mt=/^0b[01]+$/i,ht=/^\[object .+?Constructor\]$/,gt=/^0o[0-7]+$/i,_t=/^(?:0|[1-9]\d*)$/,vt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,yt=/($^)/,bt=/['\n\r\u2028\u2029\\]/g,xt=`\\ud800-\\udfff`,St=`\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff`,Ct=`\\u2700-\\u27bf`,N=`a-z\\xdf-\\xf6\\xf8-\\xff`,wt=`\\xac\\xb1\\xd7\\xf7`,Tt=`\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf`,Et=`\\u2000-\\u206f`,Dt=` \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000`,Ot=`A-Z\\xc0-\\xd6\\xd8-\\xde`,kt=`\\ufe0e\\ufe0f`,At=wt+Tt+Et+Dt,jt=`['’]`,P=`[`+xt+`]`,Mt=`[`+At+`]`,Nt=`[`+St+`]`,Pt=`\\d+`,Ft=`[`+Ct+`]`,It=`[`+N+`]`,Lt=`[^`+xt+At+Pt+Ct+N+Ot+`]`,Rt=`\\ud83c[\\udffb-\\udfff]`,zt=`(?:`+Nt+`|`+Rt+`)`,Bt=`[^`+xt+`]`,Vt=`(?:\\ud83c[\\udde6-\\uddff]){2}`,Ht=`[\\ud800-\\udbff][\\udc00-\\udfff]`,Ut=`[`+Ot+`]`,Wt=`\\u200d`,Gt=`(?:`+It+`|`+Lt+`)`,Kt=`(?:`+Ut+`|`+Lt+`)`,qt=`(?:`+jt+`(?:d|ll|m|re|s|t|ve))?`,Jt=`(?:`+jt+`(?:D|LL|M|RE|S|T|VE))?`,Yt=zt+`?`,Xt=`[`+kt+`]?`,Zt=`(?:`+Wt+`(?:`+[Bt,Vt,Ht].join(`|`)+`)`+Xt+Yt+`)*`,Qt=`\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])`,$t=`\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])`,en=Xt+Yt+Zt,tn=`(?:`+[Ft,Vt,Ht].join(`|`)+`)`+en,nn=`(?:`+[Bt+Nt+`?`,Nt,Vt,Ht,P].join(`|`)+`)`,rn=RegExp(jt,`g`),an=RegExp(Nt,`g`),on=RegExp(Rt+`(?=`+Rt+`)|`+nn+en,`g`),sn=RegExp([Ut+`?`+It+`+`+qt+`(?=`+[Mt,Ut,`$`].join(`|`)+`)`,Kt+`+`+Jt+`(?=`+[Mt,Ut+Gt,`$`].join(`|`)+`)`,Ut+`?`+Gt+`+`+qt,Ut+`+`+Jt,$t,Qt,Pt,tn].join(`|`),`g`),cn=RegExp(`[`+Wt+xt+St+kt+`]`),ln=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,un=`Array.Buffer.DataView.Date.Error.Float32Array.Float64Array.Function.Int8Array.Int16Array.Int32Array.Map.Math.Object.Promise.RegExp.Set.String.Symbol.TypeError.Uint8Array.Uint8ClampedArray.Uint16Array.Uint32Array.WeakMap._.clearTimeout.isFinite.parseInt.setTimeout`.split(`.`),dn=-1,F={};F[Fe]=F[Ie]=F[Le]=F[Re]=F[ze]=F[Be]=F[Ve]=F[He]=F[Ue]=!0,F[D]=F[he]=F[A]=F[ge]=F[Pe]=F[_e]=F[ye]=F[be]=F[Se]=F[Ce]=F[Te]=F[k]=F[Oe]=F[ke]=F[Me]=!1;var I={};I[D]=I[he]=I[A]=I[Pe]=I[ge]=I[_e]=I[Fe]=I[Ie]=I[Le]=I[Re]=I[ze]=I[Se]=I[Ce]=I[Te]=I[k]=I[Oe]=I[ke]=I[Ae]=I[Be]=I[Ve]=I[He]=I[Ue]=!0,I[ye]=I[be]=I[Me]=!1;var fn={À:`A`,Á:`A`,Â:`A`,Ã:`A`,Ä:`A`,Å:`A`,à:`a`,á:`a`,â:`a`,ã:`a`,ä:`a`,å:`a`,Ç:`C`,ç:`c`,Ð:`D`,ð:`d`,È:`E`,É:`E`,Ê:`E`,Ë:`E`,è:`e`,é:`e`,ê:`e`,ë:`e`,Ì:`I`,Í:`I`,Î:`I`,Ï:`I`,ì:`i`,í:`i`,î:`i`,ï:`i`,Ñ:`N`,ñ:`n`,Ò:`O`,Ó:`O`,Ô:`O`,Õ:`O`,Ö:`O`,Ø:`O`,ò:`o`,ó:`o`,ô:`o`,õ:`o`,ö:`o`,ø:`o`,Ù:`U`,Ú:`U`,Û:`U`,Ü:`U`,ù:`u`,ú:`u`,û:`u`,ü:`u`,Ý:`Y`,ý:`y`,ÿ:`y`,Æ:`Ae`,æ:`ae`,Þ:`Th`,þ:`th`,ß:`ss`,Ā:`A`,Ă:`A`,Ą:`A`,ā:`a`,ă:`a`,ą:`a`,Ć:`C`,Ĉ:`C`,Ċ:`C`,Č:`C`,ć:`c`,ĉ:`c`,ċ:`c`,č:`c`,Ď:`D`,Đ:`D`,ď:`d`,đ:`d`,Ē:`E`,Ĕ:`E`,Ė:`E`,Ę:`E`,Ě:`E`,ē:`e`,ĕ:`e`,ė:`e`,ę:`e`,ě:`e`,Ĝ:`G`,Ğ:`G`,Ġ:`G`,Ģ:`G`,ĝ:`g`,ğ:`g`,ġ:`g`,ģ:`g`,Ĥ:`H`,Ħ:`H`,ĥ:`h`,ħ:`h`,Ĩ:`I`,Ī:`I`,Ĭ:`I`,Į:`I`,İ:`I`,ĩ:`i`,ī:`i`,ĭ:`i`,į:`i`,ı:`i`,Ĵ:`J`,ĵ:`j`,Ķ:`K`,ķ:`k`,ĸ:`k`,Ĺ:`L`,Ļ:`L`,Ľ:`L`,Ŀ:`L`,Ł:`L`,ĺ:`l`,ļ:`l`,ľ:`l`,ŀ:`l`,ł:`l`,Ń:`N`,Ņ:`N`,Ň:`N`,Ŋ:`N`,ń:`n`,ņ:`n`,ň:`n`,ŋ:`n`,Ō:`O`,Ŏ:`O`,Ő:`O`,ō:`o`,ŏ:`o`,ő:`o`,Ŕ:`R`,Ŗ:`R`,Ř:`R`,ŕ:`r`,ŗ:`r`,ř:`r`,Ś:`S`,Ŝ:`S`,Ş:`S`,Š:`S`,ś:`s`,ŝ:`s`,ş:`s`,š:`s`,Ţ:`T`,Ť:`T`,Ŧ:`T`,ţ:`t`,ť:`t`,ŧ:`t`,Ũ:`U`,Ū:`U`,Ŭ:`U`,Ů:`U`,Ű:`U`,Ų:`U`,ũ:`u`,ū:`u`,ŭ:`u`,ů:`u`,ű:`u`,ų:`u`,Ŵ:`W`,ŵ:`w`,Ŷ:`Y`,ŷ:`y`,Ÿ:`Y`,Ź:`Z`,Ż:`Z`,Ž:`Z`,ź:`z`,ż:`z`,ž:`z`,IJ:`IJ`,ij:`ij`,Œ:`Oe`,œ:`oe`,ʼn:`'n`,ſ:`s`},pn={"&":`&amp;`,"<":`&lt;`,">":`&gt;`,'"':`&quot;`,"'":`&#39;`},mn={"&amp;":`&`,"&lt;":`<`,"&gt;":`>`,"&quot;":`"`,"&#39;":`'`},hn={"\\":`\\`,"'":`'`,"\n":`n`,"\r":`r`,"\u2028":`u2028`,"\u2029":`u2029`},gn=parseFloat,_n=parseInt,vn=typeof global==`object`&&global&&global.Object===Object&&global,yn=typeof self==`object`&&self&&self.Object===Object&&self,bn=vn||yn||Function(`return this`)(),xn=typeof e==`object`&&e&&!e.nodeType&&e,Sn=xn&&typeof t==`object`&&t&&!t.nodeType&&t,Cn=Sn&&Sn.exports===xn,wn=Cn&&vn.process,Tn=function(){try{return Sn&&Sn.require&&Sn.require(`util`).types||wn&&wn.binding&&wn.binding(`util`)}catch{}}(),En=Tn&&Tn.isArrayBuffer,Dn=Tn&&Tn.isDate,On=Tn&&Tn.isMap,kn=Tn&&Tn.isRegExp,An=Tn&&Tn.isSet,jn=Tn&&Tn.isTypedArray;function Mn(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Nn(e,t,n,r){for(var i=-1,a=e==null?0:e.length;++i<a;){var o=e[i];t(r,o,n(o),e)}return r}function Pn(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}function Fn(e,t){for(var n=e==null?0:e.length;n--&&t(e[n],n,e)!==!1;);return e}function In(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function Ln(e,t){for(var n=-1,r=e==null?0:e.length,i=0,a=[];++n<r;){var o=e[n];t(o,n,e)&&(a[i++]=o)}return a}function Rn(e,t){return!!(e!=null&&e.length)&&Xn(e,t,0)>-1}function zn(e,t,n){for(var r=-1,i=e==null?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}function Bn(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}function Vn(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function Hn(e,t,n,r){var i=-1,a=e==null?0:e.length;for(r&&a&&(n=e[++i]);++i<a;)n=t(n,e[i],i,e);return n}function Un(e,t,n,r){var i=e==null?0:e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n}function Wn(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var Gn=er(`length`);function Kn(e){return e.split(``)}function qn(e){return e.match(ct)||[]}function Jn(e,t,n){var r;return n(e,function(e,n,i){if(t(e,n,i))return r=n,!1}),r}function Yn(e,t,n,r){for(var i=e.length,a=n+(r?1:-1);r?a--:++a<i;)if(t(e[a],a,e))return a;return-1}function Xn(e,t,n){return t===t?Er(e,t,n):Yn(e,Qn,n)}function Zn(e,t,n,r){for(var i=n-1,a=e.length;++i<a;)if(r(e[i],t))return i;return-1}function Qn(e){return e!==e}function $n(e,t){var n=e==null?0:e.length;return n?ir(e,t)/n:de}function er(e){return function(t){return t==null?n:t[e]}}function tr(e){return function(t){return e==null?n:e[t]}}function nr(e,t,n,r,i){return i(e,function(e,i,a){n=r?(r=!1,e):t(n,e,i,a)}),n}function rr(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}function ir(e,t){for(var r,i=-1,a=e.length;++i<a;){var o=t(e[i]);o!==n&&(r=r===n?o:r+o)}return r}function ar(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function or(e,t){return Bn(t,function(t){return[t,e[t]]})}function sr(e){return e&&e.slice(0,Ar(e)+1).replace(rt,``)}function cr(e){return function(t){return e(t)}}function lr(e,t){return Bn(t,function(t){return e[t]})}function ur(e,t){return e.has(t)}function dr(e,t){for(var n=-1,r=e.length;++n<r&&Xn(t,e[n],0)>-1;);return n}function fr(e,t){for(var n=e.length;n--&&Xn(t,e[n],0)>-1;);return n}function pr(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}var mr=tr(fn),hr=tr(pn);function gr(e){return`\\`+hn[e]}function _r(e,t){return e==null?n:e[t]}function vr(e){return cn.test(e)}function yr(e){return ln.test(e)}function br(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function xr(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function Sr(e,t){return function(n){return e(t(n))}}function Cr(e,t){for(var n=-1,r=e.length,i=0,a=[];++n<r;){var o=e[n];(o===t||o===d)&&(e[n]=d,a[i++]=n)}return a}function wr(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}function Tr(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=[e,e]}),n}function Er(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}function Dr(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}function Or(e){return vr(e)?Mr(e):Gn(e)}function kr(e){return vr(e)?Nr(e):Kn(e)}function Ar(e){for(var t=e.length;t--&&it.test(e.charAt(t)););return t}var jr=tr(mn);function Mr(e){for(var t=on.lastIndex=0;on.test(e);)++t;return t}function Nr(e){return e.match(on)||[]}function Pr(e){return e.match(sn)||[]}var L=(function e(t){t=t==null?bn:L.defaults(bn.Object(),t,L.pick(bn,un));var it=t.Array,ct=t.Date,xt=t.Error,St=t.Function,Ct=t.Math,N=t.Object,wt=t.RegExp,Tt=t.String,Et=t.TypeError,Dt=it.prototype,Ot=St.prototype,kt=N.prototype,At=t[`__core-js_shared__`],jt=Ot.toString,P=kt.hasOwnProperty,Mt=0,Nt=function(){var e=/[^.]+$/.exec(At&&At.keys&&At.keys.IE_PROTO||``);return e?`Symbol(src)_1.`+e:``}(),Pt=kt.toString,Ft=jt.call(N),It=bn._,Lt=wt(`^`+jt.call(P).replace(tt,`\\$&`).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,`$1.*?`)+`$`),Rt=Cn?t.Buffer:n,zt=t.Symbol,Bt=t.Uint8Array,Vt=Rt?Rt.allocUnsafe:n,Ht=Sr(N.getPrototypeOf,N),Ut=N.create,Wt=kt.propertyIsEnumerable,Gt=Dt.splice,Kt=zt?zt.isConcatSpreadable:n,qt=zt?zt.iterator:n,Jt=zt?zt.toStringTag:n,Yt=function(){try{var e=as(N,`defineProperty`);return e({},``,{}),e}catch{}}(),Xt=t.clearTimeout!==bn.clearTimeout&&t.clearTimeout,Zt=ct&&ct.now!==bn.Date.now&&ct.now,Qt=t.setTimeout!==bn.setTimeout&&t.setTimeout,$t=Ct.ceil,en=Ct.floor,tn=N.getOwnPropertySymbols,nn=Rt?Rt.isBuffer:n,on=t.isFinite,sn=Dt.join,cn=Sr(N.keys,N),ln=Ct.max,fn=Ct.min,pn=ct.now,mn=t.parseInt,hn=Ct.random,vn=Dt.reverse,yn=as(t,`DataView`),xn=as(t,`Map`),Sn=as(t,`Promise`),wn=as(t,`Set`),Tn=as(t,`WeakMap`),Gn=as(N,`create`),Kn=Tn&&new Tn,tr={},Er=Ws(yn),Mr=Ws(xn),Nr=Ws(Sn),Fr=Ws(wn),R=Ws(Tn),Ir=zt?zt.prototype:n,Lr=Ir?Ir.valueOf:n,Rr=Ir?Ir.toString:n;function z(e){if(Pu(e)&&!W(e)&&!(e instanceof B)){if(e instanceof Vr)return e;if(P.call(e,`__wrapped__`))return Ks(e)}return new Vr(e)}var zr=function(){function e(){}return function(t){if(!G(t))return{};if(Ut)return Ut(t);e.prototype=t;var r=new e;return e.prototype=n,r}}();function Br(){}function Vr(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=n}z.templateSettings={escape:Ze,evaluate:Qe,interpolate:j,variable:``,imports:{_:z}},z.prototype=Br.prototype,z.prototype.constructor=z,Vr.prototype=zr(Br.prototype),Vr.prototype.constructor=Vr;function B(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=fe,this.__views__=[]}function Hr(){var e=new B(this.__wrapped__);return e.__actions__=_o(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=_o(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=_o(this.__views__),e}function Ur(){if(this.__filtered__){var e=new B(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function Wr(){var e=this.__wrapped__.value(),t=this.__dir__,n=W(e),r=t<0,i=n?e.length:0,a=us(0,i,this.__views__),o=a.start,s=a.end,c=s-o,l=r?s:o-1,u=this.__iteratees__,d=u.length,f=0,p=fn(c,this.__takeCount__);if(!n||!r&&i==c&&p==c)return Za(e,this.__actions__);var m=[];outer:for(;c--&&f<p;){l+=t;for(var h=-1,g=e[l];++h<d;){var _=u[h],v=_.iteratee,y=_.type,b=v(g);if(y==oe)g=b;else if(!b){if(y==ae)continue outer;break outer}}m[f++]=g}return m}B.prototype=zr(Br.prototype),B.prototype.constructor=B;function Gr(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Kr(){this.__data__=Gn?Gn(null):{},this.size=0}function qr(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=+!!t,t}function Jr(e){var t=this.__data__;if(Gn){var r=t[e];return r===l?n:r}return P.call(t,e)?t[e]:n}function Yr(e){var t=this.__data__;return Gn?t[e]!==n:P.call(t,e)}function Xr(e,t){var r=this.__data__;return this.size+=+!this.has(e),r[e]=Gn&&t===n?l:t,this}Gr.prototype.clear=Kr,Gr.prototype.delete=qr,Gr.prototype.get=Jr,Gr.prototype.has=Yr,Gr.prototype.set=Xr;function Zr(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Qr(){this.__data__=[],this.size=0}function $r(e){var t=this.__data__,n=wi(t,e);return n<0?!1:(n==t.length-1?t.pop():Gt.call(t,n,1),--this.size,!0)}function ei(e){var t=this.__data__,r=wi(t,e);return r<0?n:t[r][1]}function ti(e){return wi(this.__data__,e)>-1}function ni(e,t){var n=this.__data__,r=wi(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}Zr.prototype.clear=Qr,Zr.prototype.delete=$r,Zr.prototype.get=ei,Zr.prototype.has=ti,Zr.prototype.set=ni;function ri(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ii(){this.size=0,this.__data__={hash:new Gr,map:new(xn||Zr),string:new Gr}}function ai(e){var t=rs(this,e).delete(e);return this.size-=+!!t,t}function oi(e){return rs(this,e).get(e)}function si(e){return rs(this,e).has(e)}function ci(e,t){var n=rs(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}ri.prototype.clear=ii,ri.prototype.delete=ai,ri.prototype.get=oi,ri.prototype.has=si,ri.prototype.set=ci;function li(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new ri;++t<n;)this.add(e[t])}function ui(e){return this.__data__.set(e,l),this}function di(e){return this.__data__.has(e)}li.prototype.add=li.prototype.push=ui,li.prototype.has=di;function fi(e){var t=this.__data__=new Zr(e);this.size=t.size}function pi(){this.__data__=new Zr,this.size=0}function mi(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function hi(e){return this.__data__.get(e)}function gi(e){return this.__data__.has(e)}function _i(e,t){var n=this.__data__;if(n instanceof Zr){var r=n.__data__;if(!xn||r.length<i-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new ri(r)}return n.set(e,t),this.size=n.size,this}fi.prototype.clear=pi,fi.prototype.delete=mi,fi.prototype.get=hi,fi.prototype.has=gi,fi.prototype.set=_i;function vi(e,t){var n=W(e),r=!n&&vu(e),i=!n&&!r&&Cu(e),a=!n&&!r&&!i&&Yu(e),o=n||r||i||a,s=o?ar(e.length,Tt):[],c=s.length;for(var l in e)(t||P.call(e,l))&&!(o&&(l==`length`||i&&(l==`offset`||l==`parent`)||a&&(l==`buffer`||l==`byteLength`||l==`byteOffset`)||vs(l,c)))&&s.push(l);return s}function yi(e){var t=e.length;return t?e[ja(0,t-1)]:n}function bi(e,t){return Vs(_o(e),Ai(t,0,e.length))}function xi(e){return Vs(_o(e))}function Si(e,t,r){(r!==n&&!hu(e[t],r)||r===n&&!(t in e))&&Oi(e,t,r)}function Ci(e,t,r){var i=e[t];(!(P.call(e,t)&&hu(i,r))||r===n&&!(t in e))&&Oi(e,t,r)}function wi(e,t){for(var n=e.length;n--;)if(hu(e[n][0],t))return n;return-1}function Ti(e,t,n,r){return Ii(e,function(e,i,a){t(r,e,n(e),a)}),r}function Ei(e,t){return e&&vo(t,kd(t),e)}function Di(e,t){return e&&vo(t,Ad(t),e)}function Oi(e,t,n){t==`__proto__`&&Yt?Yt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function ki(e,t){for(var r=-1,i=t.length,a=it(i),o=e==null;++r<i;)a[r]=o?n:Cd(e,t[r]);return a}function Ai(e,t,r){return e===e&&(r!==n&&(e=e<=r?e:r),t!==n&&(e=e>=t?e:t)),e}function ji(e,t,r,i,a,o){var s,c=t&f,l=t&p,u=t&m;if(r&&(s=a?r(e,i,a,o):r(e)),s!==n)return s;if(!G(e))return e;var d=W(e);if(d){if(s=ps(e),!c)return _o(e,s)}else{var h=ls(e),g=h==be||h==xe;if(Cu(e))return oo(e,c);if(h==Te||h==D||g&&!a){if(s=l||g?{}:ms(e),!c)return l?bo(e,Di(s,e)):yo(e,Ei(s,e))}else{if(!I[h])return a?e:{};s=hs(e,h,c)}}o||=new fi;var _=o.get(e);if(_)return _;o.set(e,s),Ku(e)?e.forEach(function(n){s.add(ji(n,t,r,n,e,o))}):Fu(e)&&e.forEach(function(n,i){s.set(i,ji(n,t,r,i,e,o))});var v=d?n:(u?l?$o:Qo:l?Ad:kd)(e);return Pn(v||e,function(n,i){v&&(i=n,n=e[i]),Ci(s,i,ji(n,t,r,i,e,o))}),s}function Mi(e){var t=kd(e);return function(n){return Ni(n,e,t)}}function Ni(e,t,r){var i=r.length;if(e==null)return!i;for(e=N(e);i--;){var a=r[i],o=t[a],s=e[a];if(s===n&&!(a in e)||!o(s))return!1}return!0}function Pi(e,t,r){if(typeof e!=`function`)throw new Et(o);return Ls(function(){e.apply(n,r)},t)}function Fi(e,t,n,r){var a=-1,o=Rn,s=!0,c=e.length,l=[],u=t.length;if(!c)return l;n&&(t=Bn(t,cr(n))),r?(o=zn,s=!1):t.length>=i&&(o=ur,s=!1,t=new li(t));outer:for(;++a<c;){var d=e[a],f=n==null?d:n(d);if(d=r||d!==0?d:0,s&&f===f){for(var p=u;p--;)if(t[p]===f)continue outer;l.push(d)}else o(t,f,r)||l.push(d)}return l}var Ii=Co(Gi),Li=Co(Ki,!0);function Ri(e,t){var n=!0;return Ii(e,function(e,r,i){return n=!!t(e,r,i),n}),n}function zi(e,t,r){for(var i=-1,a=e.length;++i<a;){var o=e[i],s=t(o);if(s!=null&&(c===n?s===s&&!Ju(s):r(s,c)))var c=s,l=o}return l}function Bi(e,t,r,i){var a=e.length;for(r=K(r),r<0&&(r=-r>a?0:a+r),i=i===n||i>a?a:K(i),i<0&&(i+=a),i=r>i?0:rd(i);r<i;)e[r++]=t;return e}function Vi(e,t){var n=[];return Ii(e,function(e,r,i){t(e,r,i)&&n.push(e)}),n}function Hi(e,t,n,r,i){var a=-1,o=e.length;for(n||=_s,i||=[];++a<o;){var s=e[a];t>0&&n(s)?t>1?Hi(s,t-1,n,r,i):Vn(i,s):r||(i[i.length]=s)}return i}var Ui=wo(),Wi=wo(!0);function Gi(e,t){return e&&Ui(e,t,kd)}function Ki(e,t){return e&&Wi(e,t,kd)}function qi(e,t){return Ln(t,function(t){return ju(e[t])})}function Ji(e,t){t=no(t,e);for(var r=0,i=t.length;e!=null&&r<i;)e=e[Us(t[r++])];return r&&r==i?e:n}function Yi(e,t,n){var r=t(e);return W(e)?r:Vn(r,n(e))}function Xi(e){return e==null?e===n?je:we:Jt&&Jt in N(e)?os(e):js(e)}function Zi(e,t){return e>t}function Qi(e,t){return e!=null&&P.call(e,t)}function $i(e,t){return e!=null&&t in N(e)}function ea(e,t,n){return e>=fn(t,n)&&e<ln(t,n)}function ta(e,t,r){for(var i=r?zn:Rn,a=e[0].length,o=e.length,s=o,c=it(o),l=1/0,u=[];s--;){var d=e[s];s&&t&&(d=Bn(d,cr(t))),l=fn(d.length,l),c[s]=!r&&(t||a>=120&&d.length>=120)?new li(s&&d):n}d=e[0];var f=-1,p=c[0];outer:for(;++f<a&&u.length<l;){var m=d[f],h=t?t(m):m;if(m=r||m!==0?m:0,!(p?ur(p,h):i(u,h,r))){for(s=o;--s;){var g=c[s];if(!(g?ur(g,h):i(e[s],h,r)))continue outer}p&&p.push(h),u.push(m)}}return u}function na(e,t,n,r){return Gi(e,function(e,i,a){t(r,n(e),i,a)}),r}function ra(e,t,r){t=no(t,e),e=Ns(e,t);var i=e==null?e:e[Us(_c(t))];return i==null?n:Mn(i,e,r)}function ia(e){return Pu(e)&&Xi(e)==D}function aa(e){return Pu(e)&&Xi(e)==A}function oa(e){return Pu(e)&&Xi(e)==_e}function sa(e,t,n,r,i){return e===t?!0:e==null||t==null||!Pu(e)&&!Pu(t)?e!==e&&t!==t:ca(e,t,n,r,sa,i)}function ca(e,t,n,r,i,a){var o=W(e),s=W(t),c=o?he:ls(e),l=s?he:ls(t);c=c==D?Te:c,l=l==D?Te:l;var u=c==Te,d=l==Te,f=c==l;if(f&&Cu(e)){if(!Cu(t))return!1;o=!0,u=!1}if(f&&!u)return a||=new fi,o||Yu(e)?Jo(e,t,n,r,i,a):Yo(e,t,c,n,r,i,a);if(!(n&h)){var p=u&&P.call(e,`__wrapped__`),m=d&&P.call(t,`__wrapped__`);if(p||m){var g=p?e.value():e,_=m?t.value():t;return a||=new fi,i(g,_,n,r,a)}}return f?(a||=new fi,Xo(e,t,n,r,i,a)):!1}function la(e){return Pu(e)&&ls(e)==Se}function ua(e,t,r,i){var a=r.length,o=a,s=!i;if(e==null)return!o;for(e=N(e);a--;){var c=r[a];if(s&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<o;){c=r[a];var l=c[0],u=e[l],d=c[1];if(s&&c[2]){if(u===n&&!(l in e))return!1}else{var f=new fi;if(i)var p=i(u,d,l,e,t,f);if(!(p===n?sa(d,u,h|g,i,f):p))return!1}}return!0}function da(e){return!G(e)||Cs(e)?!1:(ju(e)?Lt:ht).test(Ws(e))}function fa(e){return Pu(e)&&Xi(e)==k}function pa(e){return Pu(e)&&ls(e)==Oe}function ma(e){return Pu(e)&&Nu(e.length)&&!!F[Xi(e)]}function ha(e){return typeof e==`function`?e:e==null?Rf:typeof e==`object`?W(e)?xa(e[0],e[1]):ba(e):Zf(e)}function ga(e){if(!Ts(e))return cn(e);var t=[];for(var n in N(e))P.call(e,n)&&n!=`constructor`&&t.push(n);return t}function _a(e){if(!G(e))return As(e);var t=Ts(e),n=[];for(var r in e)r==`constructor`&&(t||!P.call(e,r))||n.push(r);return n}function va(e,t){return e<t}function ya(e,t){var n=-1,r=bu(e)?it(e.length):[];return Ii(e,function(e,i,a){r[++n]=t(e,i,a)}),r}function ba(e){var t=is(e);return t.length==1&&t[0][2]?Ds(t[0][0],t[0][1]):function(n){return n===e||ua(n,e,t)}}function xa(e,t){return bs(e)&&Es(t)?Ds(Us(e),t):function(r){var i=Cd(r,e);return i===n&&i===t?Td(r,e):sa(t,i,h|g)}}function Sa(e,t,r,i,a){e!==t&&Ui(t,function(o,s){if(a||=new fi,G(o))Ca(e,t,s,r,Sa,i,a);else{var c=i?i(Fs(e,s),o,s+``,e,t,a):n;c===n&&(c=o),Si(e,s,c)}},Ad)}function Ca(e,t,r,i,a,o,s){var c=Fs(e,r),l=Fs(t,r),u=s.get(l);if(u){Si(e,r,u);return}var d=o?o(c,l,r+``,e,t,s):n,f=d===n;if(f){var p=W(l),m=!p&&Cu(l),h=!p&&!m&&Yu(l);d=l,p||m||h?W(c)?d=c:xu(c)?d=_o(c):m?(f=!1,d=oo(l,!0)):h?(f=!1,d=fo(l,!0)):d=[]:Uu(l)||vu(l)?(d=c,vu(c)?d=ad(c):(!G(c)||ju(c))&&(d=ms(l))):f=!1}f&&(s.set(l,d),a(d,l,i,o,s),s.delete(l)),Si(e,r,d)}function wa(e,t){var r=e.length;if(r)return t+=t<0?r:0,vs(t,r)?e[t]:n}function Ta(e,t,n){t=t.length?Bn(t,function(e){return W(e)?function(t){return Ji(t,e.length===1?e[0]:e)}:e}):[Rf];var r=-1;return t=Bn(t,cr(H())),rr(ya(e,function(e,n,i){return{criteria:Bn(t,function(t){return t(e)}),index:++r,value:e}}),function(e,t){return mo(e,t,n)})}function Ea(e,t){return Da(e,t,function(t,n){return Td(e,n)})}function Da(e,t,n){for(var r=-1,i=t.length,a={};++r<i;){var o=t[r],s=Ji(e,o);n(s,o)&&Ia(a,no(o,e),s)}return a}function Oa(e){return function(t){return Ji(t,e)}}function ka(e,t,n,r){var i=r?Zn:Xn,a=-1,o=t.length,s=e;for(e===t&&(t=_o(t)),n&&(s=Bn(e,cr(n)));++a<o;)for(var c=0,l=t[a],u=n?n(l):l;(c=i(s,u,c,r))>-1;)s!==e&&Gt.call(s,c,1),Gt.call(e,c,1);return e}function Aa(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(n==r||i!==a){var a=i;vs(i)?Gt.call(e,i,1):Ja(e,i)}}return e}function ja(e,t){return e+en(hn()*(t-e+1))}function Ma(e,t,n,r){for(var i=-1,a=ln($t((t-e)/(n||1)),0),o=it(a);a--;)o[r?a:++i]=e,e+=n;return o}function Na(e,t){var n=``;if(!e||t<1||t>le)return n;do t%2&&(n+=e),t=en(t/2),t&&(e+=e);while(t);return n}function V(e,t){return Rs(Ms(e,t,Rf),e+``)}function Pa(e){return yi(Jd(e))}function Fa(e,t){var n=Jd(e);return Vs(n,Ai(t,0,n.length))}function Ia(e,t,r,i){if(!G(e))return e;t=no(t,e);for(var a=-1,o=t.length,s=o-1,c=e;c!=null&&++a<o;){var l=Us(t[a]),u=r;if(l===`__proto__`||l===`constructor`||l===`prototype`)return e;if(a!=s){var d=c[l];u=i?i(d,l,c):n,u===n&&(u=G(d)?d:vs(t[a+1])?[]:{})}Ci(c,l,u),c=c[l]}return e}var La=Kn?function(e,t){return Kn.set(e,t),e}:Rf,Ra=Yt?function(e,t){return Yt(e,`toString`,{configurable:!0,enumerable:!1,value:Pf(t),writable:!0})}:Rf;function za(e){return Vs(Jd(e))}function Ba(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),n=n>i?i:n,n<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=it(i);++r<i;)a[r]=e[r+t];return a}function Va(e,t){var n;return Ii(e,function(e,r,i){return n=t(e,r,i),!n}),!!n}function Ha(e,t,n){var r=0,i=e==null?r:e.length;if(typeof t==`number`&&t===t&&i<=me){for(;r<i;){var a=r+i>>>1,o=e[a];o!==null&&!Ju(o)&&(n?o<=t:o<t)?r=a+1:i=a}return i}return Ua(e,t,Rf,n)}function Ua(e,t,r,i){var a=0,o=e==null?0:e.length;if(o===0)return 0;t=r(t);for(var s=t!==t,c=t===null,l=Ju(t),u=t===n;a<o;){var d=en((a+o)/2),f=r(e[d]),p=f!==n,m=f===null,h=f===f,g=Ju(f);if(s)var _=i||h;else _=u?h&&(i||p):c?h&&p&&(i||!m):l?h&&p&&!m&&(i||!g):m||g?!1:i?f<=t:f<t;_?a=d+1:o=d}return fn(o,pe)}function Wa(e,t){for(var n=-1,r=e.length,i=0,a=[];++n<r;){var o=e[n],s=t?t(o):o;if(!n||!hu(s,c)){var c=s;a[i++]=o===0?0:o}}return a}function Ga(e){return typeof e==`number`?e:Ju(e)?de:+e}function Ka(e){if(typeof e==`string`)return e;if(W(e))return Bn(e,Ka)+``;if(Ju(e))return Rr?Rr.call(e):``;var t=e+``;return t==`0`&&1/e==-ce?`-0`:t}function qa(e,t,n){var r=-1,a=Rn,o=e.length,s=!0,c=[],l=c;if(n)s=!1,a=zn;else if(o>=i){var u=t?null:Ho(e);if(u)return wr(u);s=!1,a=ur,l=new li}else l=t?[]:c;outer:for(;++r<o;){var d=e[r],f=t?t(d):d;if(d=n||d!==0?d:0,s&&f===f){for(var p=l.length;p--;)if(l[p]===f)continue outer;t&&l.push(f),c.push(d)}else a(l,f,n)||(l!==c&&l.push(f),c.push(d))}return c}function Ja(e,t){t=no(t,e);var n=-1,r=t.length;if(!r)return!0;for(;++n<r;){var i=Us(t[n]);if(i===`__proto__`&&!P.call(e,`__proto__`)||(i===`constructor`||i===`prototype`)&&n<r-1)return!1}var a=Ns(e,t);return a==null||delete a[Us(_c(t))]}function Ya(e,t,n,r){return Ia(e,t,n(Ji(e,t)),r)}function Xa(e,t,n,r){for(var i=e.length,a=r?i:-1;(r?a--:++a<i)&&t(e[a],a,e););return n?Ba(e,r?0:a,r?a+1:i):Ba(e,r?a+1:0,r?i:a)}function Za(e,t){var n=e;return n instanceof B&&(n=n.value()),Hn(t,function(e,t){return t.func.apply(t.thisArg,Vn([e],t.args))},n)}function Qa(e,t,n){var r=e.length;if(r<2)return r?qa(e[0]):[];for(var i=-1,a=it(r);++i<r;)for(var o=e[i],s=-1;++s<r;)s!=i&&(a[i]=Fi(a[i]||o,e[s],t,n));return qa(Hi(a,1),t,n)}function $a(e,t,r){for(var i=-1,a=e.length,o=t.length,s={};++i<a;){var c=i<o?t[i]:n;r(s,e[i],c)}return s}function eo(e){return xu(e)?e:[]}function to(e){return typeof e==`function`?e:Rf}function no(e,t){return W(e)?e:bs(e,t)?[e]:Hs(q(e))}var ro=V;function io(e,t,r){var i=e.length;return r=r===n?i:r,!t&&r>=i?e:Ba(e,t,r)}var ao=Xt||function(e){return bn.clearTimeout(e)};function oo(e,t){if(t)return e.slice();var n=e.length,r=Vt?Vt(n):new e.constructor(n);return e.copy(r),r}function so(e){var t=new e.constructor(e.byteLength);return new Bt(t).set(new Bt(e)),t}function co(e,t){var n=t?so(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function lo(e){var t=new e.constructor(e.source,ft.exec(e));return t.lastIndex=e.lastIndex,t}function uo(e){return Lr?N(Lr.call(e)):{}}function fo(e,t){var n=t?so(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function po(e,t){if(e!==t){var r=e!==n,i=e===null,a=e===e,o=Ju(e),s=t!==n,c=t===null,l=t===t,u=Ju(t);if(!c&&!u&&!o&&e>t||o&&s&&l&&!c&&!u||i&&s&&l||!r&&l||!a)return 1;if(!i&&!o&&!u&&e<t||u&&r&&a&&!i&&!o||c&&r&&a||!s&&a||!l)return-1}return 0}function mo(e,t,n){for(var r=-1,i=e.criteria,a=t.criteria,o=i.length,s=n.length;++r<o;){var c=po(i[r],a[r]);if(c)return r>=s?c:c*(n[r]==`desc`?-1:1)}return e.index-t.index}function ho(e,t,n,r){for(var i=-1,a=e.length,o=n.length,s=-1,c=t.length,l=ln(a-o,0),u=it(c+l),d=!r;++s<c;)u[s]=t[s];for(;++i<o;)(d||i<a)&&(u[n[i]]=e[i]);for(;l--;)u[s++]=e[i++];return u}function go(e,t,n,r){for(var i=-1,a=e.length,o=-1,s=n.length,c=-1,l=t.length,u=ln(a-s,0),d=it(u+l),f=!r;++i<u;)d[i]=e[i];for(var p=i;++c<l;)d[p+c]=t[c];for(;++o<s;)(f||i<a)&&(d[p+n[o]]=e[i++]);return d}function _o(e,t){var n=-1,r=e.length;for(t||=it(r);++n<r;)t[n]=e[n];return t}function vo(e,t,r,i){var a=!r;r||={};for(var o=-1,s=t.length;++o<s;){var c=t[o],l=i?i(r[c],e[c],c,r,e):n;l===n&&(l=e[c]),a?Oi(r,c,l):Ci(r,c,l)}return r}function yo(e,t){return vo(e,ss(e),t)}function bo(e,t){return vo(e,cs(e),t)}function xo(e,t){return function(n,r){var i=W(n)?Nn:Ti,a=t?t():{};return i(n,e,H(r,2),a)}}function So(e){return V(function(t,r){var i=-1,a=r.length,o=a>1?r[a-1]:n,s=a>2?r[2]:n;for(o=e.length>3&&typeof o==`function`?(a--,o):n,s&&ys(r[0],r[1],s)&&(o=a<3?n:o,a=1),t=N(t);++i<a;){var c=r[i];c&&e(t,c,i,o)}return t})}function Co(e,t){return function(n,r){if(n==null)return n;if(!bu(n))return e(n,r);for(var i=n.length,a=t?i:-1,o=N(n);(t?a--:++a<i)&&r(o[a],a,o)!==!1;);return n}}function wo(e){return function(t,n,r){for(var i=-1,a=N(t),o=r(t),s=o.length;s--;){var c=o[e?s:++i];if(n(a[c],c,a)===!1)break}return t}}function To(e,t,n){var r=t&_,i=Oo(e);function a(){return(this&&this!==bn&&this instanceof a?i:e).apply(r?n:this,arguments)}return a}function Eo(e){return function(t){t=q(t);var r=vr(t)?kr(t):n,i=r?r[0]:t.charAt(0),a=r?io(r,1).join(``):t.slice(1);return i[e]()+a}}function Do(e){return function(t){return Hn(kf(tf(t).replace(rn,``)),e,``)}}function Oo(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=zr(e.prototype),r=e.apply(n,t);return G(r)?r:n}}function ko(e,t,r){var i=Oo(e);function a(){for(var o=arguments.length,s=it(o),c=o,l=ns(a);c--;)s[c]=arguments[c];var u=o<3&&s[0]!==l&&s[o-1]!==l?[]:Cr(s,l);return o-=u.length,o<r?Bo(e,t,Mo,a.placeholder,n,s,u,n,n,r-o):Mn(this&&this!==bn&&this instanceof a?i:e,this,s)}return a}function Ao(e){return function(t,r,i){var a=N(t);if(!bu(t)){var o=H(r,3);t=kd(t),r=function(e){return o(a[e],e,a)}}var s=e(t,r,i);return s>-1?a[o?t[s]:s]:n}}function jo(e){return Zo(function(t){var r=t.length,i=r,a=Vr.prototype.thru;for(e&&t.reverse();i--;){var s=t[i];if(typeof s!=`function`)throw new Et(o);if(a&&!c&&ts(s)==`wrapper`)var c=new Vr([],!0)}for(i=c?i:r;++i<r;){s=t[i];var l=ts(s),u=l==`wrapper`?es(s):n;c=u&&Ss(u[0])&&u[1]==(ee|b|S|w)&&!u[4].length&&u[9]==1?c[ts(u[0])].apply(c,u[3]):s.length==1&&Ss(s)?c[l]():c.thru(s)}return function(){var e=arguments,n=e[0];if(c&&e.length==1&&W(n))return c.plant(n).value();for(var i=0,a=r?t[i].apply(this,e):n;++i<r;)a=t[i].call(this,a);return a}})}function Mo(e,t,r,i,a,o,s,c,l,u){var d=t&ee,f=t&_,p=t&v,m=t&(b|x),h=t&T,g=p?n:Oo(e);function y(){for(var n=arguments.length,_=it(n),v=n;v--;)_[v]=arguments[v];if(m)var b=ns(y),x=pr(_,b);if(i&&(_=ho(_,i,a,m)),o&&(_=go(_,o,s,m)),n-=x,m&&n<u){var S=Cr(_,b);return Bo(e,t,Mo,y.placeholder,r,_,S,c,l,u-n)}var C=f?r:this,ee=p?C[e]:e;return n=_.length,c?_=Ps(_,c):h&&n>1&&_.reverse(),d&&l<n&&(_.length=l),this&&this!==bn&&this instanceof y&&(ee=g||Oo(ee)),ee.apply(C,_)}return y}function No(e,t){return function(n,r){return na(n,e,t(r),{})}}function Po(e,t){return function(r,i){var a;if(r===n&&i===n)return t;if(r!==n&&(a=r),i!==n){if(a===n)return i;typeof r==`string`||typeof i==`string`?(r=Ka(r),i=Ka(i)):(r=Ga(r),i=Ga(i)),a=e(r,i)}return a}}function Fo(e){return Zo(function(t){return t=Bn(t,cr(H())),V(function(n){var r=this;return e(t,function(e){return Mn(e,r,n)})})})}function Io(e,t){t=t===n?` `:Ka(t);var r=t.length;if(r<2)return r?Na(t,e):t;var i=Na(t,$t(e/Or(t)));return vr(t)?io(kr(i),0,e).join(``):i.slice(0,e)}function Lo(e,t,n,r){var i=t&_,a=Oo(e);function o(){for(var t=-1,s=arguments.length,c=-1,l=r.length,u=it(l+s),d=this&&this!==bn&&this instanceof o?a:e;++c<l;)u[c]=r[c];for(;s--;)u[c++]=arguments[++t];return Mn(d,i?n:this,u)}return o}function Ro(e){return function(t,r,i){return i&&typeof i!=`number`&&ys(t,r,i)&&(r=i=n),t=nd(t),r===n?(r=t,t=0):r=nd(r),i=i===n?t<r?1:-1:nd(i),Ma(t,r,i,e)}}function zo(e){return function(t,n){return typeof t==`string`&&typeof n==`string`||(t=id(t),n=id(n)),e(t,n)}}function Bo(e,t,r,i,a,o,s,c,l,u){var d=t&b,f=d?s:n,p=d?n:s,m=d?o:n,h=d?n:o;t|=d?S:C,t&=~(d?C:S),t&y||(t&=~(_|v));var g=[e,t,a,m,f,h,p,c,l,u],x=r.apply(n,g);return Ss(e)&&Is(x,g),x.placeholder=i,zs(x,e,t)}function Vo(e){var t=Ct[e];return function(e,n){if(e=id(e),n=n==null?0:fn(K(n),292),n&&on(e)){var r=(q(e)+`e`).split(`e`);return r=(q(t(r[0]+`e`+(+r[1]+n)))+`e`).split(`e`),+(r[0]+`e`+(+r[1]-n))}return t(e)}}var Ho=wn&&1/wr(new wn([,-0]))[1]==ce?function(e){return new wn(e)}:Kf;function Uo(e){return function(t){var n=ls(t);return n==Se?xr(t):n==Oe?Tr(t):or(t,e(t))}}function Wo(e,t,r,i,a,s,c,l){var u=t&v;if(!u&&typeof e!=`function`)throw new Et(o);var d=i?i.length:0;if(d||(t&=~(S|C),i=a=n),c=c===n?c:ln(K(c),0),l=l===n?l:K(l),d-=a?a.length:0,t&C){var f=i,p=a;i=a=n}var m=u?n:es(e),h=[e,t,r,i,a,f,p,s,c,l];if(m&&ks(h,m),e=h[0],t=h[1],r=h[2],i=h[3],a=h[4],l=h[9]=h[9]===n?u?0:e.length:ln(h[9]-d,0),!l&&t&(b|x)&&(t&=~(b|x)),!t||t==_)var g=To(e,t,r);else g=t==b||t==x?ko(e,t,l):(t==S||t==(_|S))&&!a.length?Lo(e,t,r,i):Mo.apply(n,h);return zs((m?La:Is)(g,h),e,t)}function Go(e,t,r,i){return e===n||hu(e,kt[r])&&!P.call(i,r)?t:e}function Ko(e,t,r,i,a,o){return G(e)&&G(t)&&(o.set(t,e),Sa(e,t,n,Ko,o),o.delete(t)),e}function qo(e){return Uu(e)?n:e}function Jo(e,t,r,i,a,o){var s=r&h,c=e.length,l=t.length;if(c!=l&&!(s&&l>c))return!1;var u=o.get(e),d=o.get(t);if(u&&d)return u==t&&d==e;var f=-1,p=!0,m=r&g?new li:n;for(o.set(e,t),o.set(t,e);++f<c;){var _=e[f],v=t[f];if(i)var y=s?i(v,_,f,t,e,o):i(_,v,f,e,t,o);if(y!==n){if(y)continue;p=!1;break}if(m){if(!Wn(t,function(e,t){if(!ur(m,t)&&(_===e||a(_,e,r,i,o)))return m.push(t)})){p=!1;break}}else if(!(_===v||a(_,v,r,i,o))){p=!1;break}}return o.delete(e),o.delete(t),p}function Yo(e,t,n,r,i,a,o){switch(n){case Pe:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case A:return!(e.byteLength!=t.byteLength||!a(new Bt(e),new Bt(t)));case ge:case _e:case Ce:return hu(+e,+t);case ye:return e.name==t.name&&e.message==t.message;case k:case ke:return e==t+``;case Se:var s=xr;case Oe:var c=r&h;if(s||=wr,e.size!=t.size&&!c)return!1;var l=o.get(e);if(l)return l==t;r|=g,o.set(e,t);var u=Jo(s(e),s(t),r,i,a,o);return o.delete(e),u;case Ae:if(Lr)return Lr.call(e)==Lr.call(t)}return!1}function Xo(e,t,r,i,a,o){var s=r&h,c=Qo(e),l=c.length;if(l!=Qo(t).length&&!s)return!1;for(var u=l;u--;){var d=c[u];if(!(s?d in t:P.call(t,d)))return!1}var f=o.get(e),p=o.get(t);if(f&&p)return f==t&&p==e;var m=!0;o.set(e,t),o.set(t,e);for(var g=s;++u<l;){d=c[u];var _=e[d],v=t[d];if(i)var y=s?i(v,_,d,t,e,o):i(_,v,d,e,t,o);if(!(y===n?_===v||a(_,v,r,i,o):y)){m=!1;break}g||=d==`constructor`}if(m&&!g){var b=e.constructor,x=t.constructor;b!=x&&`constructor`in e&&`constructor`in t&&!(typeof b==`function`&&b instanceof b&&typeof x==`function`&&x instanceof x)&&(m=!1)}return o.delete(e),o.delete(t),m}function Zo(e){return Rs(Ms(e,n,oc),e+``)}function Qo(e){return Yi(e,kd,ss)}function $o(e){return Yi(e,Ad,cs)}var es=Kn?function(e){return Kn.get(e)}:Kf;function ts(e){for(var t=e.name+``,n=tr[t],r=P.call(tr,t)?n.length:0;r--;){var i=n[r],a=i.func;if(a==null||a==e)return i.name}return t}function ns(e){return(P.call(z,`placeholder`)?z:e).placeholder}function H(){var e=z.iteratee||zf;return e=e===zf?ha:e,arguments.length?e(arguments[0],arguments[1]):e}function rs(e,t){var n=e.__data__;return xs(t)?n[typeof t==`string`?`string`:`hash`]:n.map}function is(e){for(var t=kd(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,Es(i)]}return t}function as(e,t){var r=_r(e,t);return da(r)?r:n}function os(e){var t=P.call(e,Jt),r=e[Jt];try{e[Jt]=n;var i=!0}catch{}var a=Pt.call(e);return i&&(t?e[Jt]=r:delete e[Jt]),a}var ss=tn?function(e){return e==null?[]:(e=N(e),Ln(tn(e),function(t){return Wt.call(e,t)}))}:ep,cs=tn?function(e){for(var t=[];e;)Vn(t,ss(e)),e=Ht(e);return t}:ep,ls=Xi;(yn&&ls(new yn(new ArrayBuffer(1)))!=Pe||xn&&ls(new xn)!=Se||Sn&&ls(Sn.resolve())!=Ee||wn&&ls(new wn)!=Oe||Tn&&ls(new Tn)!=Me)&&(ls=function(e){var t=Xi(e),r=t==Te?e.constructor:n,i=r?Ws(r):``;if(i)switch(i){case Er:return Pe;case Mr:return Se;case Nr:return Ee;case Fr:return Oe;case R:return Me}return t});function us(e,t,n){for(var r=-1,i=n.length;++r<i;){var a=n[r],o=a.size;switch(a.type){case`drop`:e+=o;break;case`dropRight`:t-=o;break;case`take`:t=fn(t,e+o);break;case`takeRight`:e=ln(e,t-o);break}}return{start:e,end:t}}function ds(e){var t=e.match(ot);return t?t[1].split(st):[]}function fs(e,t,n){t=no(t,e);for(var r=-1,i=t.length,a=!1;++r<i;){var o=Us(t[r]);if(!(a=e!=null&&n(e,o)))break;e=e[o]}return a||++r!=i?a:(i=e==null?0:e.length,!!i&&Nu(i)&&vs(o,i)&&(W(e)||vu(e)))}function ps(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]==`string`&&P.call(e,`index`)&&(n.index=e.index,n.input=e.input),n}function ms(e){return typeof e.constructor==`function`&&!Ts(e)?zr(Ht(e)):{}}function hs(e,t,n){var r=e.constructor;switch(t){case A:return so(e);case ge:case _e:return new r(+e);case Pe:return co(e,n);case Fe:case Ie:case Le:case Re:case ze:case Be:case Ve:case He:case Ue:return fo(e,n);case Se:return new r;case Ce:case ke:return new r(e);case k:return lo(e);case Oe:return new r;case Ae:return uo(e)}}function gs(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?`& `:``)+t[r],t=t.join(n>2?`, `:` `),e.replace(at,`{
2
+ Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),s=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},c=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},l=(n,r,a)=>(a=n==null?{}:e(i(n)),c(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));let u=require("chalk");u=l(u);let d=require("commander"),f=require("fs-extra");f=l(f);let p=require("path");p=l(p);let m=require("uuid"),h=require("util"),g=require("child_process"),_=require("lodash.kebabcase");_=l(_);let v=require("node:child_process"),y=require("twenty-sdk/cli"),b=require("lodash.camelcase");b=l(b,1);var x={name:`create-twenty-app`,version:`2.14.0`,description:`Command-line interface to create Twenty application`,main:`dist/cli.cjs`,bin:`dist/cli.cjs`,files:[`dist`,`README.md`,`package.json`],scripts:{build:`npx rimraf dist && npx vite build`},keywords:[`twenty`,`cli`,`crm`,`application`,`development`],exports:{".":{types:`./dist/cli.d.ts`,import:`./dist/cli.mjs`,require:`./dist/cli.cjs`}},license:`AGPL-3.0`,dependencies:{chalk:`^5.3.0`,commander:`^12.0.0`,"fs-extra":`^11.2.0`,"lodash.camelcase":`^4.3.0`,"lodash.kebabcase":`^4.1.1`,"lodash.startcase":`^4.4.0`,"twenty-sdk":`workspace:*`,uuid:`^13.0.2`},devDependencies:{"@swc/core":`^1.15.11`,"@swc/jest":`^0.2.39`,"@types/fs-extra":`^11.0.0`,"@types/jest":`^30.0.0`,"@types/lodash.camelcase":`^4.3.7`,"@types/lodash.kebabcase":`^4.1.7`,"@types/lodash.startcase":`^4`,"@types/node":`^20.0.0`,jest:`29.7.0`,"jest-environment-node":`^29.4.1`,"twenty-shared":`workspace:*`,typescript:`^5.9.3`,vite:`^8.0.0`,"vite-plugin-dts":`^4.5.4`,"vite-tsconfig-paths":`^4.2.1`},engines:{node:`^24.5.0`,yarn:`^4.0.2`}},S=`src`,C=async({appName:e,appDisplayName:t,appDescription:n,appDirectory:r,onProgress:i})=>{i?.(`Copying base template`),await f.copy((0,p.join)(__dirname,`./constants/template`),r),i?.(`Configuring dotfiles (.gitignore, .github, .yarnrc.yml)`),await ee({appDirectory:r}),i?.(`Mirroring AGENTS.md to CLAUDE.md`),await w({appDirectory:r}),await T({appDirectory:r}),i?.(`Generating unique application identifiers`),await te({appDisplayName:t,appDescription:n,appDirectory:r}),i?.(`Updating package.json`),await ne({appName:e,appDirectory:r})},ee=async({appDirectory:e})=>{for(let{from:t,to:n}of[{from:`gitignore`,to:`.gitignore`},{from:`github`,to:`.github`},{from:`yarnrc.yml`,to:`.yarnrc.yml`}]){let r=(0,p.join)(e,t);await f.pathExists(r)&&await f.rename(r,(0,p.join)(e,n))}},w=async({appDirectory:e})=>{await f.copy((0,p.join)(e,`AGENTS.md`),(0,p.join)(e,`CLAUDE.md`))},T=async({appDirectory:e})=>{await f.ensureDir((0,p.join)(e,`public`))},te=async({appDisplayName:e,appDescription:t,appDirectory:n})=>{let r=(0,p.join)(n,S,`constants`,`universal-identifiers.ts`),i=await f.readFile(r,`utf-8`);await f.writeFile(r,i.replace(`DISPLAY-NAME-TO-BE-GENERATED`,e).replace(`DESCRIPTION-TO-BE-GENERATED`,t).replace(/UUID-TO-BE-GENERATED/g,()=>(0,m.v4)()))},ne=async({appName:e,appDirectory:t})=>{let n=await f.readJson((0,p.join)(t,`package.json`));n.name=e,n.devDependencies[`twenty-sdk`]=x.version,n.devDependencies[`twenty-client-sdk`]=x.version,await f.writeFile((0,p.join)(t,`package.json`),JSON.stringify(n,null,2),`utf8`)},re=o(((e,t)=>{(function(){var n,r=`4.18.1`,i=200,a=`Unsupported core-js use. Try https://npms.io/search?q=ponyfill.`,o=`Expected a function`,s="Invalid `variable` option passed into `_.template`",c="Invalid `imports` option passed into `_.template`",l=`__lodash_hash_undefined__`,u=500,d=`__lodash_placeholder__`,f=1,p=2,m=4,h=1,g=2,_=1,v=2,y=4,b=8,x=16,S=32,C=64,ee=128,w=256,T=512,te=30,ne=`...`,re=800,ie=16,ae=1,oe=2,se=3,ce=1/0,le=9007199254740991,ue=17976931348623157e292,de=NaN,fe=4294967295,pe=fe-1,me=fe>>>1,E=[[`ary`,ee],[`bind`,_],[`bindKey`,v],[`curry`,b],[`curryRight`,x],[`flip`,T],[`partial`,S],[`partialRight`,C],[`rearg`,w]],D=`[object Arguments]`,he=`[object Array]`,O=`[object AsyncFunction]`,ge=`[object Boolean]`,_e=`[object Date]`,ve=`[object DOMException]`,ye=`[object Error]`,be=`[object Function]`,xe=`[object GeneratorFunction]`,Se=`[object Map]`,Ce=`[object Number]`,we=`[object Null]`,Te=`[object Object]`,Ee=`[object Promise]`,De=`[object Proxy]`,k=`[object RegExp]`,Oe=`[object Set]`,ke=`[object String]`,Ae=`[object Symbol]`,je=`[object Undefined]`,Me=`[object WeakMap]`,Ne=`[object WeakSet]`,A=`[object ArrayBuffer]`,Pe=`[object DataView]`,Fe=`[object Float32Array]`,Ie=`[object Float64Array]`,Le=`[object Int8Array]`,Re=`[object Int16Array]`,ze=`[object Int32Array]`,Be=`[object Uint8Array]`,Ve=`[object Uint8ClampedArray]`,He=`[object Uint16Array]`,Ue=`[object Uint32Array]`,We=/\b__p \+= '';/g,Ge=/\b(__p \+=) '' \+/g,Ke=/(__e\(.*?\)|\b__t\)) \+\n'';/g,qe=/&(?:amp|lt|gt|quot|#39);/g,Je=/[&<>"']/g,Ye=RegExp(qe.source),Xe=RegExp(Je.source),Ze=/<%-([\s\S]+?)%>/g,Qe=/<%([\s\S]+?)%>/g,j=/<%=([\s\S]+?)%>/g,$e=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,M=/^\w*$/,et=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,tt=/[\\^$.*+?()[\]{}|]/g,nt=RegExp(tt.source),rt=/^\s+/,it=/\s/,at=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ot=/\{\n\/\* \[wrapped with (.+)\] \*/,st=/,? & /,ct=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,lt=/[()=,{}\[\]\/\s]/,ut=/\\(\\)?/g,dt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ft=/\w*$/,pt=/^[-+]0x[0-9a-f]+$/i,mt=/^0b[01]+$/i,ht=/^\[object .+?Constructor\]$/,gt=/^0o[0-7]+$/i,_t=/^(?:0|[1-9]\d*)$/,vt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,yt=/($^)/,bt=/['\n\r\u2028\u2029\\]/g,xt=`\\ud800-\\udfff`,St=`\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff`,Ct=`\\u2700-\\u27bf`,N=`a-z\\xdf-\\xf6\\xf8-\\xff`,wt=`\\xac\\xb1\\xd7\\xf7`,Tt=`\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf`,Et=`\\u2000-\\u206f`,Dt=` \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000`,Ot=`A-Z\\xc0-\\xd6\\xd8-\\xde`,kt=`\\ufe0e\\ufe0f`,At=wt+Tt+Et+Dt,jt=`['’]`,P=`[`+xt+`]`,Mt=`[`+At+`]`,Nt=`[`+St+`]`,Pt=`\\d+`,Ft=`[`+Ct+`]`,It=`[`+N+`]`,Lt=`[^`+xt+At+Pt+Ct+N+Ot+`]`,Rt=`\\ud83c[\\udffb-\\udfff]`,zt=`(?:`+Nt+`|`+Rt+`)`,Bt=`[^`+xt+`]`,Vt=`(?:\\ud83c[\\udde6-\\uddff]){2}`,Ht=`[\\ud800-\\udbff][\\udc00-\\udfff]`,Ut=`[`+Ot+`]`,Wt=`\\u200d`,Gt=`(?:`+It+`|`+Lt+`)`,Kt=`(?:`+Ut+`|`+Lt+`)`,qt=`(?:`+jt+`(?:d|ll|m|re|s|t|ve))?`,Jt=`(?:`+jt+`(?:D|LL|M|RE|S|T|VE))?`,Yt=zt+`?`,Xt=`[`+kt+`]?`,Zt=`(?:`+Wt+`(?:`+[Bt,Vt,Ht].join(`|`)+`)`+Xt+Yt+`)*`,Qt=`\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])`,$t=`\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])`,en=Xt+Yt+Zt,tn=`(?:`+[Ft,Vt,Ht].join(`|`)+`)`+en,nn=`(?:`+[Bt+Nt+`?`,Nt,Vt,Ht,P].join(`|`)+`)`,rn=RegExp(jt,`g`),an=RegExp(Nt,`g`),on=RegExp(Rt+`(?=`+Rt+`)|`+nn+en,`g`),sn=RegExp([Ut+`?`+It+`+`+qt+`(?=`+[Mt,Ut,`$`].join(`|`)+`)`,Kt+`+`+Jt+`(?=`+[Mt,Ut+Gt,`$`].join(`|`)+`)`,Ut+`?`+Gt+`+`+qt,Ut+`+`+Jt,$t,Qt,Pt,tn].join(`|`),`g`),cn=RegExp(`[`+Wt+xt+St+kt+`]`),ln=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,un=`Array.Buffer.DataView.Date.Error.Float32Array.Float64Array.Function.Int8Array.Int16Array.Int32Array.Map.Math.Object.Promise.RegExp.Set.String.Symbol.TypeError.Uint8Array.Uint8ClampedArray.Uint16Array.Uint32Array.WeakMap._.clearTimeout.isFinite.parseInt.setTimeout`.split(`.`),dn=-1,F={};F[Fe]=F[Ie]=F[Le]=F[Re]=F[ze]=F[Be]=F[Ve]=F[He]=F[Ue]=!0,F[D]=F[he]=F[A]=F[ge]=F[Pe]=F[_e]=F[ye]=F[be]=F[Se]=F[Ce]=F[Te]=F[k]=F[Oe]=F[ke]=F[Me]=!1;var I={};I[D]=I[he]=I[A]=I[Pe]=I[ge]=I[_e]=I[Fe]=I[Ie]=I[Le]=I[Re]=I[ze]=I[Se]=I[Ce]=I[Te]=I[k]=I[Oe]=I[ke]=I[Ae]=I[Be]=I[Ve]=I[He]=I[Ue]=!0,I[ye]=I[be]=I[Me]=!1;var fn={À:`A`,Á:`A`,Â:`A`,Ã:`A`,Ä:`A`,Å:`A`,à:`a`,á:`a`,â:`a`,ã:`a`,ä:`a`,å:`a`,Ç:`C`,ç:`c`,Ð:`D`,ð:`d`,È:`E`,É:`E`,Ê:`E`,Ë:`E`,è:`e`,é:`e`,ê:`e`,ë:`e`,Ì:`I`,Í:`I`,Î:`I`,Ï:`I`,ì:`i`,í:`i`,î:`i`,ï:`i`,Ñ:`N`,ñ:`n`,Ò:`O`,Ó:`O`,Ô:`O`,Õ:`O`,Ö:`O`,Ø:`O`,ò:`o`,ó:`o`,ô:`o`,õ:`o`,ö:`o`,ø:`o`,Ù:`U`,Ú:`U`,Û:`U`,Ü:`U`,ù:`u`,ú:`u`,û:`u`,ü:`u`,Ý:`Y`,ý:`y`,ÿ:`y`,Æ:`Ae`,æ:`ae`,Þ:`Th`,þ:`th`,ß:`ss`,Ā:`A`,Ă:`A`,Ą:`A`,ā:`a`,ă:`a`,ą:`a`,Ć:`C`,Ĉ:`C`,Ċ:`C`,Č:`C`,ć:`c`,ĉ:`c`,ċ:`c`,č:`c`,Ď:`D`,Đ:`D`,ď:`d`,đ:`d`,Ē:`E`,Ĕ:`E`,Ė:`E`,Ę:`E`,Ě:`E`,ē:`e`,ĕ:`e`,ė:`e`,ę:`e`,ě:`e`,Ĝ:`G`,Ğ:`G`,Ġ:`G`,Ģ:`G`,ĝ:`g`,ğ:`g`,ġ:`g`,ģ:`g`,Ĥ:`H`,Ħ:`H`,ĥ:`h`,ħ:`h`,Ĩ:`I`,Ī:`I`,Ĭ:`I`,Į:`I`,İ:`I`,ĩ:`i`,ī:`i`,ĭ:`i`,į:`i`,ı:`i`,Ĵ:`J`,ĵ:`j`,Ķ:`K`,ķ:`k`,ĸ:`k`,Ĺ:`L`,Ļ:`L`,Ľ:`L`,Ŀ:`L`,Ł:`L`,ĺ:`l`,ļ:`l`,ľ:`l`,ŀ:`l`,ł:`l`,Ń:`N`,Ņ:`N`,Ň:`N`,Ŋ:`N`,ń:`n`,ņ:`n`,ň:`n`,ŋ:`n`,Ō:`O`,Ŏ:`O`,Ő:`O`,ō:`o`,ŏ:`o`,ő:`o`,Ŕ:`R`,Ŗ:`R`,Ř:`R`,ŕ:`r`,ŗ:`r`,ř:`r`,Ś:`S`,Ŝ:`S`,Ş:`S`,Š:`S`,ś:`s`,ŝ:`s`,ş:`s`,š:`s`,Ţ:`T`,Ť:`T`,Ŧ:`T`,ţ:`t`,ť:`t`,ŧ:`t`,Ũ:`U`,Ū:`U`,Ŭ:`U`,Ů:`U`,Ű:`U`,Ų:`U`,ũ:`u`,ū:`u`,ŭ:`u`,ů:`u`,ű:`u`,ų:`u`,Ŵ:`W`,ŵ:`w`,Ŷ:`Y`,ŷ:`y`,Ÿ:`Y`,Ź:`Z`,Ż:`Z`,Ž:`Z`,ź:`z`,ż:`z`,ž:`z`,IJ:`IJ`,ij:`ij`,Œ:`Oe`,œ:`oe`,ʼn:`'n`,ſ:`s`},pn={"&":`&amp;`,"<":`&lt;`,">":`&gt;`,'"':`&quot;`,"'":`&#39;`},mn={"&amp;":`&`,"&lt;":`<`,"&gt;":`>`,"&quot;":`"`,"&#39;":`'`},hn={"\\":`\\`,"'":`'`,"\n":`n`,"\r":`r`,"\u2028":`u2028`,"\u2029":`u2029`},gn=parseFloat,_n=parseInt,vn=typeof global==`object`&&global&&global.Object===Object&&global,yn=typeof self==`object`&&self&&self.Object===Object&&self,bn=vn||yn||Function(`return this`)(),xn=typeof e==`object`&&e&&!e.nodeType&&e,Sn=xn&&typeof t==`object`&&t&&!t.nodeType&&t,Cn=Sn&&Sn.exports===xn,wn=Cn&&vn.process,Tn=function(){try{return Sn&&Sn.require&&Sn.require(`util`).types||wn&&wn.binding&&wn.binding(`util`)}catch{}}(),En=Tn&&Tn.isArrayBuffer,Dn=Tn&&Tn.isDate,On=Tn&&Tn.isMap,kn=Tn&&Tn.isRegExp,An=Tn&&Tn.isSet,jn=Tn&&Tn.isTypedArray;function Mn(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Nn(e,t,n,r){for(var i=-1,a=e==null?0:e.length;++i<a;){var o=e[i];t(r,o,n(o),e)}return r}function Pn(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}function Fn(e,t){for(var n=e==null?0:e.length;n--&&t(e[n],n,e)!==!1;);return e}function In(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function Ln(e,t){for(var n=-1,r=e==null?0:e.length,i=0,a=[];++n<r;){var o=e[n];t(o,n,e)&&(a[i++]=o)}return a}function Rn(e,t){return!!(e!=null&&e.length)&&Xn(e,t,0)>-1}function zn(e,t,n){for(var r=-1,i=e==null?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}function Bn(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}function Vn(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function Hn(e,t,n,r){var i=-1,a=e==null?0:e.length;for(r&&a&&(n=e[++i]);++i<a;)n=t(n,e[i],i,e);return n}function Un(e,t,n,r){var i=e==null?0:e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n}function Wn(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var Gn=er(`length`);function Kn(e){return e.split(``)}function qn(e){return e.match(ct)||[]}function Jn(e,t,n){var r;return n(e,function(e,n,i){if(t(e,n,i))return r=n,!1}),r}function Yn(e,t,n,r){for(var i=e.length,a=n+(r?1:-1);r?a--:++a<i;)if(t(e[a],a,e))return a;return-1}function Xn(e,t,n){return t===t?Er(e,t,n):Yn(e,Qn,n)}function Zn(e,t,n,r){for(var i=n-1,a=e.length;++i<a;)if(r(e[i],t))return i;return-1}function Qn(e){return e!==e}function $n(e,t){var n=e==null?0:e.length;return n?ir(e,t)/n:de}function er(e){return function(t){return t==null?n:t[e]}}function tr(e){return function(t){return e==null?n:e[t]}}function nr(e,t,n,r,i){return i(e,function(e,i,a){n=r?(r=!1,e):t(n,e,i,a)}),n}function rr(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}function ir(e,t){for(var r,i=-1,a=e.length;++i<a;){var o=t(e[i]);o!==n&&(r=r===n?o:r+o)}return r}function ar(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function or(e,t){return Bn(t,function(t){return[t,e[t]]})}function sr(e){return e&&e.slice(0,Ar(e)+1).replace(rt,``)}function cr(e){return function(t){return e(t)}}function lr(e,t){return Bn(t,function(t){return e[t]})}function ur(e,t){return e.has(t)}function dr(e,t){for(var n=-1,r=e.length;++n<r&&Xn(t,e[n],0)>-1;);return n}function fr(e,t){for(var n=e.length;n--&&Xn(t,e[n],0)>-1;);return n}function pr(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}var mr=tr(fn),hr=tr(pn);function gr(e){return`\\`+hn[e]}function _r(e,t){return e==null?n:e[t]}function vr(e){return cn.test(e)}function yr(e){return ln.test(e)}function br(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function xr(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function Sr(e,t){return function(n){return e(t(n))}}function Cr(e,t){for(var n=-1,r=e.length,i=0,a=[];++n<r;){var o=e[n];(o===t||o===d)&&(e[n]=d,a[i++]=n)}return a}function wr(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}function Tr(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=[e,e]}),n}function Er(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}function Dr(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}function Or(e){return vr(e)?Mr(e):Gn(e)}function kr(e){return vr(e)?Nr(e):Kn(e)}function Ar(e){for(var t=e.length;t--&&it.test(e.charAt(t)););return t}var jr=tr(mn);function Mr(e){for(var t=on.lastIndex=0;on.test(e);)++t;return t}function Nr(e){return e.match(on)||[]}function Pr(e){return e.match(sn)||[]}var L=(function e(t){t=t==null?bn:L.defaults(bn.Object(),t,L.pick(bn,un));var it=t.Array,ct=t.Date,xt=t.Error,St=t.Function,Ct=t.Math,N=t.Object,wt=t.RegExp,Tt=t.String,Et=t.TypeError,Dt=it.prototype,Ot=St.prototype,kt=N.prototype,At=t[`__core-js_shared__`],jt=Ot.toString,P=kt.hasOwnProperty,Mt=0,Nt=function(){var e=/[^.]+$/.exec(At&&At.keys&&At.keys.IE_PROTO||``);return e?`Symbol(src)_1.`+e:``}(),Pt=kt.toString,Ft=jt.call(N),It=bn._,Lt=wt(`^`+jt.call(P).replace(tt,`\\$&`).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,`$1.*?`)+`$`),Rt=Cn?t.Buffer:n,zt=t.Symbol,Bt=t.Uint8Array,Vt=Rt?Rt.allocUnsafe:n,Ht=Sr(N.getPrototypeOf,N),Ut=N.create,Wt=kt.propertyIsEnumerable,Gt=Dt.splice,Kt=zt?zt.isConcatSpreadable:n,qt=zt?zt.iterator:n,Jt=zt?zt.toStringTag:n,Yt=function(){try{var e=as(N,`defineProperty`);return e({},``,{}),e}catch{}}(),Xt=t.clearTimeout!==bn.clearTimeout&&t.clearTimeout,Zt=ct&&ct.now!==bn.Date.now&&ct.now,Qt=t.setTimeout!==bn.setTimeout&&t.setTimeout,$t=Ct.ceil,en=Ct.floor,tn=N.getOwnPropertySymbols,nn=Rt?Rt.isBuffer:n,on=t.isFinite,sn=Dt.join,cn=Sr(N.keys,N),ln=Ct.max,fn=Ct.min,pn=ct.now,mn=t.parseInt,hn=Ct.random,vn=Dt.reverse,yn=as(t,`DataView`),xn=as(t,`Map`),Sn=as(t,`Promise`),wn=as(t,`Set`),Tn=as(t,`WeakMap`),Gn=as(N,`create`),Kn=Tn&&new Tn,tr={},Er=Ws(yn),Mr=Ws(xn),Nr=Ws(Sn),Fr=Ws(wn),R=Ws(Tn),Ir=zt?zt.prototype:n,Lr=Ir?Ir.valueOf:n,Rr=Ir?Ir.toString:n;function z(e){if(Pu(e)&&!W(e)&&!(e instanceof B)){if(e instanceof Vr)return e;if(P.call(e,`__wrapped__`))return Ks(e)}return new Vr(e)}var zr=function(){function e(){}return function(t){if(!G(t))return{};if(Ut)return Ut(t);e.prototype=t;var r=new e;return e.prototype=n,r}}();function Br(){}function Vr(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=n}z.templateSettings={escape:Ze,evaluate:Qe,interpolate:j,variable:``,imports:{_:z}},z.prototype=Br.prototype,z.prototype.constructor=z,Vr.prototype=zr(Br.prototype),Vr.prototype.constructor=Vr;function B(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=fe,this.__views__=[]}function Hr(){var e=new B(this.__wrapped__);return e.__actions__=_o(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=_o(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=_o(this.__views__),e}function Ur(){if(this.__filtered__){var e=new B(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function Wr(){var e=this.__wrapped__.value(),t=this.__dir__,n=W(e),r=t<0,i=n?e.length:0,a=us(0,i,this.__views__),o=a.start,s=a.end,c=s-o,l=r?s:o-1,u=this.__iteratees__,d=u.length,f=0,p=fn(c,this.__takeCount__);if(!n||!r&&i==c&&p==c)return Za(e,this.__actions__);var m=[];outer:for(;c--&&f<p;){l+=t;for(var h=-1,g=e[l];++h<d;){var _=u[h],v=_.iteratee,y=_.type,b=v(g);if(y==oe)g=b;else if(!b){if(y==ae)continue outer;break outer}}m[f++]=g}return m}B.prototype=zr(Br.prototype),B.prototype.constructor=B;function Gr(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Kr(){this.__data__=Gn?Gn(null):{},this.size=0}function qr(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=+!!t,t}function Jr(e){var t=this.__data__;if(Gn){var r=t[e];return r===l?n:r}return P.call(t,e)?t[e]:n}function Yr(e){var t=this.__data__;return Gn?t[e]!==n:P.call(t,e)}function Xr(e,t){var r=this.__data__;return this.size+=+!this.has(e),r[e]=Gn&&t===n?l:t,this}Gr.prototype.clear=Kr,Gr.prototype.delete=qr,Gr.prototype.get=Jr,Gr.prototype.has=Yr,Gr.prototype.set=Xr;function Zr(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Qr(){this.__data__=[],this.size=0}function $r(e){var t=this.__data__,n=wi(t,e);return n<0?!1:(n==t.length-1?t.pop():Gt.call(t,n,1),--this.size,!0)}function ei(e){var t=this.__data__,r=wi(t,e);return r<0?n:t[r][1]}function ti(e){return wi(this.__data__,e)>-1}function ni(e,t){var n=this.__data__,r=wi(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}Zr.prototype.clear=Qr,Zr.prototype.delete=$r,Zr.prototype.get=ei,Zr.prototype.has=ti,Zr.prototype.set=ni;function ri(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ii(){this.size=0,this.__data__={hash:new Gr,map:new(xn||Zr),string:new Gr}}function ai(e){var t=rs(this,e).delete(e);return this.size-=+!!t,t}function oi(e){return rs(this,e).get(e)}function si(e){return rs(this,e).has(e)}function ci(e,t){var n=rs(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}ri.prototype.clear=ii,ri.prototype.delete=ai,ri.prototype.get=oi,ri.prototype.has=si,ri.prototype.set=ci;function li(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new ri;++t<n;)this.add(e[t])}function ui(e){return this.__data__.set(e,l),this}function di(e){return this.__data__.has(e)}li.prototype.add=li.prototype.push=ui,li.prototype.has=di;function fi(e){var t=this.__data__=new Zr(e);this.size=t.size}function pi(){this.__data__=new Zr,this.size=0}function mi(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function hi(e){return this.__data__.get(e)}function gi(e){return this.__data__.has(e)}function _i(e,t){var n=this.__data__;if(n instanceof Zr){var r=n.__data__;if(!xn||r.length<i-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new ri(r)}return n.set(e,t),this.size=n.size,this}fi.prototype.clear=pi,fi.prototype.delete=mi,fi.prototype.get=hi,fi.prototype.has=gi,fi.prototype.set=_i;function vi(e,t){var n=W(e),r=!n&&vu(e),i=!n&&!r&&Cu(e),a=!n&&!r&&!i&&Yu(e),o=n||r||i||a,s=o?ar(e.length,Tt):[],c=s.length;for(var l in e)(t||P.call(e,l))&&!(o&&(l==`length`||i&&(l==`offset`||l==`parent`)||a&&(l==`buffer`||l==`byteLength`||l==`byteOffset`)||vs(l,c)))&&s.push(l);return s}function yi(e){var t=e.length;return t?e[ja(0,t-1)]:n}function bi(e,t){return Vs(_o(e),Ai(t,0,e.length))}function xi(e){return Vs(_o(e))}function Si(e,t,r){(r!==n&&!hu(e[t],r)||r===n&&!(t in e))&&Oi(e,t,r)}function Ci(e,t,r){var i=e[t];(!(P.call(e,t)&&hu(i,r))||r===n&&!(t in e))&&Oi(e,t,r)}function wi(e,t){for(var n=e.length;n--;)if(hu(e[n][0],t))return n;return-1}function Ti(e,t,n,r){return Ii(e,function(e,i,a){t(r,e,n(e),a)}),r}function Ei(e,t){return e&&vo(t,kd(t),e)}function Di(e,t){return e&&vo(t,Ad(t),e)}function Oi(e,t,n){t==`__proto__`&&Yt?Yt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function ki(e,t){for(var r=-1,i=t.length,a=it(i),o=e==null;++r<i;)a[r]=o?n:Cd(e,t[r]);return a}function Ai(e,t,r){return e===e&&(r!==n&&(e=e<=r?e:r),t!==n&&(e=e>=t?e:t)),e}function ji(e,t,r,i,a,o){var s,c=t&f,l=t&p,u=t&m;if(r&&(s=a?r(e,i,a,o):r(e)),s!==n)return s;if(!G(e))return e;var d=W(e);if(d){if(s=ps(e),!c)return _o(e,s)}else{var h=ls(e),g=h==be||h==xe;if(Cu(e))return oo(e,c);if(h==Te||h==D||g&&!a){if(s=l||g?{}:ms(e),!c)return l?bo(e,Di(s,e)):yo(e,Ei(s,e))}else{if(!I[h])return a?e:{};s=hs(e,h,c)}}o||=new fi;var _=o.get(e);if(_)return _;o.set(e,s),Ku(e)?e.forEach(function(n){s.add(ji(n,t,r,n,e,o))}):Fu(e)&&e.forEach(function(n,i){s.set(i,ji(n,t,r,i,e,o))});var v=d?n:(u?l?$o:Qo:l?Ad:kd)(e);return Pn(v||e,function(n,i){v&&(i=n,n=e[i]),Ci(s,i,ji(n,t,r,i,e,o))}),s}function Mi(e){var t=kd(e);return function(n){return Ni(n,e,t)}}function Ni(e,t,r){var i=r.length;if(e==null)return!i;for(e=N(e);i--;){var a=r[i],o=t[a],s=e[a];if(s===n&&!(a in e)||!o(s))return!1}return!0}function Pi(e,t,r){if(typeof e!=`function`)throw new Et(o);return Ls(function(){e.apply(n,r)},t)}function Fi(e,t,n,r){var a=-1,o=Rn,s=!0,c=e.length,l=[],u=t.length;if(!c)return l;n&&(t=Bn(t,cr(n))),r?(o=zn,s=!1):t.length>=i&&(o=ur,s=!1,t=new li(t));outer:for(;++a<c;){var d=e[a],f=n==null?d:n(d);if(d=r||d!==0?d:0,s&&f===f){for(var p=u;p--;)if(t[p]===f)continue outer;l.push(d)}else o(t,f,r)||l.push(d)}return l}var Ii=Co(Gi),Li=Co(Ki,!0);function Ri(e,t){var n=!0;return Ii(e,function(e,r,i){return n=!!t(e,r,i),n}),n}function zi(e,t,r){for(var i=-1,a=e.length;++i<a;){var o=e[i],s=t(o);if(s!=null&&(c===n?s===s&&!Ju(s):r(s,c)))var c=s,l=o}return l}function Bi(e,t,r,i){var a=e.length;for(r=K(r),r<0&&(r=-r>a?0:a+r),i=i===n||i>a?a:K(i),i<0&&(i+=a),i=r>i?0:rd(i);r<i;)e[r++]=t;return e}function Vi(e,t){var n=[];return Ii(e,function(e,r,i){t(e,r,i)&&n.push(e)}),n}function Hi(e,t,n,r,i){var a=-1,o=e.length;for(n||=_s,i||=[];++a<o;){var s=e[a];t>0&&n(s)?t>1?Hi(s,t-1,n,r,i):Vn(i,s):r||(i[i.length]=s)}return i}var Ui=wo(),Wi=wo(!0);function Gi(e,t){return e&&Ui(e,t,kd)}function Ki(e,t){return e&&Wi(e,t,kd)}function qi(e,t){return Ln(t,function(t){return ju(e[t])})}function Ji(e,t){t=no(t,e);for(var r=0,i=t.length;e!=null&&r<i;)e=e[Us(t[r++])];return r&&r==i?e:n}function Yi(e,t,n){var r=t(e);return W(e)?r:Vn(r,n(e))}function Xi(e){return e==null?e===n?je:we:Jt&&Jt in N(e)?os(e):js(e)}function Zi(e,t){return e>t}function Qi(e,t){return e!=null&&P.call(e,t)}function $i(e,t){return e!=null&&t in N(e)}function ea(e,t,n){return e>=fn(t,n)&&e<ln(t,n)}function ta(e,t,r){for(var i=r?zn:Rn,a=e[0].length,o=e.length,s=o,c=it(o),l=1/0,u=[];s--;){var d=e[s];s&&t&&(d=Bn(d,cr(t))),l=fn(d.length,l),c[s]=!r&&(t||a>=120&&d.length>=120)?new li(s&&d):n}d=e[0];var f=-1,p=c[0];outer:for(;++f<a&&u.length<l;){var m=d[f],h=t?t(m):m;if(m=r||m!==0?m:0,!(p?ur(p,h):i(u,h,r))){for(s=o;--s;){var g=c[s];if(!(g?ur(g,h):i(e[s],h,r)))continue outer}p&&p.push(h),u.push(m)}}return u}function na(e,t,n,r){return Gi(e,function(e,i,a){t(r,n(e),i,a)}),r}function ra(e,t,r){t=no(t,e),e=Ns(e,t);var i=e==null?e:e[Us(_c(t))];return i==null?n:Mn(i,e,r)}function ia(e){return Pu(e)&&Xi(e)==D}function aa(e){return Pu(e)&&Xi(e)==A}function oa(e){return Pu(e)&&Xi(e)==_e}function sa(e,t,n,r,i){return e===t?!0:e==null||t==null||!Pu(e)&&!Pu(t)?e!==e&&t!==t:ca(e,t,n,r,sa,i)}function ca(e,t,n,r,i,a){var o=W(e),s=W(t),c=o?he:ls(e),l=s?he:ls(t);c=c==D?Te:c,l=l==D?Te:l;var u=c==Te,d=l==Te,f=c==l;if(f&&Cu(e)){if(!Cu(t))return!1;o=!0,u=!1}if(f&&!u)return a||=new fi,o||Yu(e)?Jo(e,t,n,r,i,a):Yo(e,t,c,n,r,i,a);if(!(n&h)){var p=u&&P.call(e,`__wrapped__`),m=d&&P.call(t,`__wrapped__`);if(p||m){var g=p?e.value():e,_=m?t.value():t;return a||=new fi,i(g,_,n,r,a)}}return f?(a||=new fi,Xo(e,t,n,r,i,a)):!1}function la(e){return Pu(e)&&ls(e)==Se}function ua(e,t,r,i){var a=r.length,o=a,s=!i;if(e==null)return!o;for(e=N(e);a--;){var c=r[a];if(s&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<o;){c=r[a];var l=c[0],u=e[l],d=c[1];if(s&&c[2]){if(u===n&&!(l in e))return!1}else{var f=new fi;if(i)var p=i(u,d,l,e,t,f);if(!(p===n?sa(d,u,h|g,i,f):p))return!1}}return!0}function da(e){return!G(e)||Cs(e)?!1:(ju(e)?Lt:ht).test(Ws(e))}function fa(e){return Pu(e)&&Xi(e)==k}function pa(e){return Pu(e)&&ls(e)==Oe}function ma(e){return Pu(e)&&Nu(e.length)&&!!F[Xi(e)]}function ha(e){return typeof e==`function`?e:e==null?Rf:typeof e==`object`?W(e)?xa(e[0],e[1]):ba(e):Zf(e)}function ga(e){if(!Ts(e))return cn(e);var t=[];for(var n in N(e))P.call(e,n)&&n!=`constructor`&&t.push(n);return t}function _a(e){if(!G(e))return As(e);var t=Ts(e),n=[];for(var r in e)r==`constructor`&&(t||!P.call(e,r))||n.push(r);return n}function va(e,t){return e<t}function ya(e,t){var n=-1,r=bu(e)?it(e.length):[];return Ii(e,function(e,i,a){r[++n]=t(e,i,a)}),r}function ba(e){var t=is(e);return t.length==1&&t[0][2]?Ds(t[0][0],t[0][1]):function(n){return n===e||ua(n,e,t)}}function xa(e,t){return bs(e)&&Es(t)?Ds(Us(e),t):function(r){var i=Cd(r,e);return i===n&&i===t?Td(r,e):sa(t,i,h|g)}}function Sa(e,t,r,i,a){e!==t&&Ui(t,function(o,s){if(a||=new fi,G(o))Ca(e,t,s,r,Sa,i,a);else{var c=i?i(Fs(e,s),o,s+``,e,t,a):n;c===n&&(c=o),Si(e,s,c)}},Ad)}function Ca(e,t,r,i,a,o,s){var c=Fs(e,r),l=Fs(t,r),u=s.get(l);if(u){Si(e,r,u);return}var d=o?o(c,l,r+``,e,t,s):n,f=d===n;if(f){var p=W(l),m=!p&&Cu(l),h=!p&&!m&&Yu(l);d=l,p||m||h?W(c)?d=c:xu(c)?d=_o(c):m?(f=!1,d=oo(l,!0)):h?(f=!1,d=fo(l,!0)):d=[]:Uu(l)||vu(l)?(d=c,vu(c)?d=ad(c):(!G(c)||ju(c))&&(d=ms(l))):f=!1}f&&(s.set(l,d),a(d,l,i,o,s),s.delete(l)),Si(e,r,d)}function wa(e,t){var r=e.length;if(r)return t+=t<0?r:0,vs(t,r)?e[t]:n}function Ta(e,t,n){t=t.length?Bn(t,function(e){return W(e)?function(t){return Ji(t,e.length===1?e[0]:e)}:e}):[Rf];var r=-1;return t=Bn(t,cr(H())),rr(ya(e,function(e,n,i){return{criteria:Bn(t,function(t){return t(e)}),index:++r,value:e}}),function(e,t){return mo(e,t,n)})}function Ea(e,t){return Da(e,t,function(t,n){return Td(e,n)})}function Da(e,t,n){for(var r=-1,i=t.length,a={};++r<i;){var o=t[r],s=Ji(e,o);n(s,o)&&Ia(a,no(o,e),s)}return a}function Oa(e){return function(t){return Ji(t,e)}}function ka(e,t,n,r){var i=r?Zn:Xn,a=-1,o=t.length,s=e;for(e===t&&(t=_o(t)),n&&(s=Bn(e,cr(n)));++a<o;)for(var c=0,l=t[a],u=n?n(l):l;(c=i(s,u,c,r))>-1;)s!==e&&Gt.call(s,c,1),Gt.call(e,c,1);return e}function Aa(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(n==r||i!==a){var a=i;vs(i)?Gt.call(e,i,1):Ja(e,i)}}return e}function ja(e,t){return e+en(hn()*(t-e+1))}function Ma(e,t,n,r){for(var i=-1,a=ln($t((t-e)/(n||1)),0),o=it(a);a--;)o[r?a:++i]=e,e+=n;return o}function Na(e,t){var n=``;if(!e||t<1||t>le)return n;do t%2&&(n+=e),t=en(t/2),t&&(e+=e);while(t);return n}function V(e,t){return Rs(Ms(e,t,Rf),e+``)}function Pa(e){return yi(Jd(e))}function Fa(e,t){var n=Jd(e);return Vs(n,Ai(t,0,n.length))}function Ia(e,t,r,i){if(!G(e))return e;t=no(t,e);for(var a=-1,o=t.length,s=o-1,c=e;c!=null&&++a<o;){var l=Us(t[a]),u=r;if(l===`__proto__`||l===`constructor`||l===`prototype`)return e;if(a!=s){var d=c[l];u=i?i(d,l,c):n,u===n&&(u=G(d)?d:vs(t[a+1])?[]:{})}Ci(c,l,u),c=c[l]}return e}var La=Kn?function(e,t){return Kn.set(e,t),e}:Rf,Ra=Yt?function(e,t){return Yt(e,`toString`,{configurable:!0,enumerable:!1,value:Pf(t),writable:!0})}:Rf;function za(e){return Vs(Jd(e))}function Ba(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),n=n>i?i:n,n<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=it(i);++r<i;)a[r]=e[r+t];return a}function Va(e,t){var n;return Ii(e,function(e,r,i){return n=t(e,r,i),!n}),!!n}function Ha(e,t,n){var r=0,i=e==null?r:e.length;if(typeof t==`number`&&t===t&&i<=me){for(;r<i;){var a=r+i>>>1,o=e[a];o!==null&&!Ju(o)&&(n?o<=t:o<t)?r=a+1:i=a}return i}return Ua(e,t,Rf,n)}function Ua(e,t,r,i){var a=0,o=e==null?0:e.length;if(o===0)return 0;t=r(t);for(var s=t!==t,c=t===null,l=Ju(t),u=t===n;a<o;){var d=en((a+o)/2),f=r(e[d]),p=f!==n,m=f===null,h=f===f,g=Ju(f);if(s)var _=i||h;else _=u?h&&(i||p):c?h&&p&&(i||!m):l?h&&p&&!m&&(i||!g):m||g?!1:i?f<=t:f<t;_?a=d+1:o=d}return fn(o,pe)}function Wa(e,t){for(var n=-1,r=e.length,i=0,a=[];++n<r;){var o=e[n],s=t?t(o):o;if(!n||!hu(s,c)){var c=s;a[i++]=o===0?0:o}}return a}function Ga(e){return typeof e==`number`?e:Ju(e)?de:+e}function Ka(e){if(typeof e==`string`)return e;if(W(e))return Bn(e,Ka)+``;if(Ju(e))return Rr?Rr.call(e):``;var t=e+``;return t==`0`&&1/e==-ce?`-0`:t}function qa(e,t,n){var r=-1,a=Rn,o=e.length,s=!0,c=[],l=c;if(n)s=!1,a=zn;else if(o>=i){var u=t?null:Ho(e);if(u)return wr(u);s=!1,a=ur,l=new li}else l=t?[]:c;outer:for(;++r<o;){var d=e[r],f=t?t(d):d;if(d=n||d!==0?d:0,s&&f===f){for(var p=l.length;p--;)if(l[p]===f)continue outer;t&&l.push(f),c.push(d)}else a(l,f,n)||(l!==c&&l.push(f),c.push(d))}return c}function Ja(e,t){t=no(t,e);var n=-1,r=t.length;if(!r)return!0;for(;++n<r;){var i=Us(t[n]);if(i===`__proto__`&&!P.call(e,`__proto__`)||(i===`constructor`||i===`prototype`)&&n<r-1)return!1}var a=Ns(e,t);return a==null||delete a[Us(_c(t))]}function Ya(e,t,n,r){return Ia(e,t,n(Ji(e,t)),r)}function Xa(e,t,n,r){for(var i=e.length,a=r?i:-1;(r?a--:++a<i)&&t(e[a],a,e););return n?Ba(e,r?0:a,r?a+1:i):Ba(e,r?a+1:0,r?i:a)}function Za(e,t){var n=e;return n instanceof B&&(n=n.value()),Hn(t,function(e,t){return t.func.apply(t.thisArg,Vn([e],t.args))},n)}function Qa(e,t,n){var r=e.length;if(r<2)return r?qa(e[0]):[];for(var i=-1,a=it(r);++i<r;)for(var o=e[i],s=-1;++s<r;)s!=i&&(a[i]=Fi(a[i]||o,e[s],t,n));return qa(Hi(a,1),t,n)}function $a(e,t,r){for(var i=-1,a=e.length,o=t.length,s={};++i<a;){var c=i<o?t[i]:n;r(s,e[i],c)}return s}function eo(e){return xu(e)?e:[]}function to(e){return typeof e==`function`?e:Rf}function no(e,t){return W(e)?e:bs(e,t)?[e]:Hs(q(e))}var ro=V;function io(e,t,r){var i=e.length;return r=r===n?i:r,!t&&r>=i?e:Ba(e,t,r)}var ao=Xt||function(e){return bn.clearTimeout(e)};function oo(e,t){if(t)return e.slice();var n=e.length,r=Vt?Vt(n):new e.constructor(n);return e.copy(r),r}function so(e){var t=new e.constructor(e.byteLength);return new Bt(t).set(new Bt(e)),t}function co(e,t){var n=t?so(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function lo(e){var t=new e.constructor(e.source,ft.exec(e));return t.lastIndex=e.lastIndex,t}function uo(e){return Lr?N(Lr.call(e)):{}}function fo(e,t){var n=t?so(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function po(e,t){if(e!==t){var r=e!==n,i=e===null,a=e===e,o=Ju(e),s=t!==n,c=t===null,l=t===t,u=Ju(t);if(!c&&!u&&!o&&e>t||o&&s&&l&&!c&&!u||i&&s&&l||!r&&l||!a)return 1;if(!i&&!o&&!u&&e<t||u&&r&&a&&!i&&!o||c&&r&&a||!s&&a||!l)return-1}return 0}function mo(e,t,n){for(var r=-1,i=e.criteria,a=t.criteria,o=i.length,s=n.length;++r<o;){var c=po(i[r],a[r]);if(c)return r>=s?c:c*(n[r]==`desc`?-1:1)}return e.index-t.index}function ho(e,t,n,r){for(var i=-1,a=e.length,o=n.length,s=-1,c=t.length,l=ln(a-o,0),u=it(c+l),d=!r;++s<c;)u[s]=t[s];for(;++i<o;)(d||i<a)&&(u[n[i]]=e[i]);for(;l--;)u[s++]=e[i++];return u}function go(e,t,n,r){for(var i=-1,a=e.length,o=-1,s=n.length,c=-1,l=t.length,u=ln(a-s,0),d=it(u+l),f=!r;++i<u;)d[i]=e[i];for(var p=i;++c<l;)d[p+c]=t[c];for(;++o<s;)(f||i<a)&&(d[p+n[o]]=e[i++]);return d}function _o(e,t){var n=-1,r=e.length;for(t||=it(r);++n<r;)t[n]=e[n];return t}function vo(e,t,r,i){var a=!r;r||={};for(var o=-1,s=t.length;++o<s;){var c=t[o],l=i?i(r[c],e[c],c,r,e):n;l===n&&(l=e[c]),a?Oi(r,c,l):Ci(r,c,l)}return r}function yo(e,t){return vo(e,ss(e),t)}function bo(e,t){return vo(e,cs(e),t)}function xo(e,t){return function(n,r){var i=W(n)?Nn:Ti,a=t?t():{};return i(n,e,H(r,2),a)}}function So(e){return V(function(t,r){var i=-1,a=r.length,o=a>1?r[a-1]:n,s=a>2?r[2]:n;for(o=e.length>3&&typeof o==`function`?(a--,o):n,s&&ys(r[0],r[1],s)&&(o=a<3?n:o,a=1),t=N(t);++i<a;){var c=r[i];c&&e(t,c,i,o)}return t})}function Co(e,t){return function(n,r){if(n==null)return n;if(!bu(n))return e(n,r);for(var i=n.length,a=t?i:-1,o=N(n);(t?a--:++a<i)&&r(o[a],a,o)!==!1;);return n}}function wo(e){return function(t,n,r){for(var i=-1,a=N(t),o=r(t),s=o.length;s--;){var c=o[e?s:++i];if(n(a[c],c,a)===!1)break}return t}}function To(e,t,n){var r=t&_,i=Oo(e);function a(){return(this&&this!==bn&&this instanceof a?i:e).apply(r?n:this,arguments)}return a}function Eo(e){return function(t){t=q(t);var r=vr(t)?kr(t):n,i=r?r[0]:t.charAt(0),a=r?io(r,1).join(``):t.slice(1);return i[e]()+a}}function Do(e){return function(t){return Hn(kf(tf(t).replace(rn,``)),e,``)}}function Oo(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=zr(e.prototype),r=e.apply(n,t);return G(r)?r:n}}function ko(e,t,r){var i=Oo(e);function a(){for(var o=arguments.length,s=it(o),c=o,l=ns(a);c--;)s[c]=arguments[c];var u=o<3&&s[0]!==l&&s[o-1]!==l?[]:Cr(s,l);return o-=u.length,o<r?Bo(e,t,Mo,a.placeholder,n,s,u,n,n,r-o):Mn(this&&this!==bn&&this instanceof a?i:e,this,s)}return a}function Ao(e){return function(t,r,i){var a=N(t);if(!bu(t)){var o=H(r,3);t=kd(t),r=function(e){return o(a[e],e,a)}}var s=e(t,r,i);return s>-1?a[o?t[s]:s]:n}}function jo(e){return Zo(function(t){var r=t.length,i=r,a=Vr.prototype.thru;for(e&&t.reverse();i--;){var s=t[i];if(typeof s!=`function`)throw new Et(o);if(a&&!c&&ts(s)==`wrapper`)var c=new Vr([],!0)}for(i=c?i:r;++i<r;){s=t[i];var l=ts(s),u=l==`wrapper`?es(s):n;c=u&&Ss(u[0])&&u[1]==(ee|b|S|w)&&!u[4].length&&u[9]==1?c[ts(u[0])].apply(c,u[3]):s.length==1&&Ss(s)?c[l]():c.thru(s)}return function(){var e=arguments,n=e[0];if(c&&e.length==1&&W(n))return c.plant(n).value();for(var i=0,a=r?t[i].apply(this,e):n;++i<r;)a=t[i].call(this,a);return a}})}function Mo(e,t,r,i,a,o,s,c,l,u){var d=t&ee,f=t&_,p=t&v,m=t&(b|x),h=t&T,g=p?n:Oo(e);function y(){for(var n=arguments.length,_=it(n),v=n;v--;)_[v]=arguments[v];if(m)var b=ns(y),x=pr(_,b);if(i&&(_=ho(_,i,a,m)),o&&(_=go(_,o,s,m)),n-=x,m&&n<u){var S=Cr(_,b);return Bo(e,t,Mo,y.placeholder,r,_,S,c,l,u-n)}var C=f?r:this,ee=p?C[e]:e;return n=_.length,c?_=Ps(_,c):h&&n>1&&_.reverse(),d&&l<n&&(_.length=l),this&&this!==bn&&this instanceof y&&(ee=g||Oo(ee)),ee.apply(C,_)}return y}function No(e,t){return function(n,r){return na(n,e,t(r),{})}}function Po(e,t){return function(r,i){var a;if(r===n&&i===n)return t;if(r!==n&&(a=r),i!==n){if(a===n)return i;typeof r==`string`||typeof i==`string`?(r=Ka(r),i=Ka(i)):(r=Ga(r),i=Ga(i)),a=e(r,i)}return a}}function Fo(e){return Zo(function(t){return t=Bn(t,cr(H())),V(function(n){var r=this;return e(t,function(e){return Mn(e,r,n)})})})}function Io(e,t){t=t===n?` `:Ka(t);var r=t.length;if(r<2)return r?Na(t,e):t;var i=Na(t,$t(e/Or(t)));return vr(t)?io(kr(i),0,e).join(``):i.slice(0,e)}function Lo(e,t,n,r){var i=t&_,a=Oo(e);function o(){for(var t=-1,s=arguments.length,c=-1,l=r.length,u=it(l+s),d=this&&this!==bn&&this instanceof o?a:e;++c<l;)u[c]=r[c];for(;s--;)u[c++]=arguments[++t];return Mn(d,i?n:this,u)}return o}function Ro(e){return function(t,r,i){return i&&typeof i!=`number`&&ys(t,r,i)&&(r=i=n),t=nd(t),r===n?(r=t,t=0):r=nd(r),i=i===n?t<r?1:-1:nd(i),Ma(t,r,i,e)}}function zo(e){return function(t,n){return typeof t==`string`&&typeof n==`string`||(t=id(t),n=id(n)),e(t,n)}}function Bo(e,t,r,i,a,o,s,c,l,u){var d=t&b,f=d?s:n,p=d?n:s,m=d?o:n,h=d?n:o;t|=d?S:C,t&=~(d?C:S),t&y||(t&=~(_|v));var g=[e,t,a,m,f,h,p,c,l,u],x=r.apply(n,g);return Ss(e)&&Is(x,g),x.placeholder=i,zs(x,e,t)}function Vo(e){var t=Ct[e];return function(e,n){if(e=id(e),n=n==null?0:fn(K(n),292),n&&on(e)){var r=(q(e)+`e`).split(`e`);return r=(q(t(r[0]+`e`+(+r[1]+n)))+`e`).split(`e`),+(r[0]+`e`+(+r[1]-n))}return t(e)}}var Ho=wn&&1/wr(new wn([,-0]))[1]==ce?function(e){return new wn(e)}:Kf;function Uo(e){return function(t){var n=ls(t);return n==Se?xr(t):n==Oe?Tr(t):or(t,e(t))}}function Wo(e,t,r,i,a,s,c,l){var u=t&v;if(!u&&typeof e!=`function`)throw new Et(o);var d=i?i.length:0;if(d||(t&=~(S|C),i=a=n),c=c===n?c:ln(K(c),0),l=l===n?l:K(l),d-=a?a.length:0,t&C){var f=i,p=a;i=a=n}var m=u?n:es(e),h=[e,t,r,i,a,f,p,s,c,l];if(m&&ks(h,m),e=h[0],t=h[1],r=h[2],i=h[3],a=h[4],l=h[9]=h[9]===n?u?0:e.length:ln(h[9]-d,0),!l&&t&(b|x)&&(t&=~(b|x)),!t||t==_)var g=To(e,t,r);else g=t==b||t==x?ko(e,t,l):(t==S||t==(_|S))&&!a.length?Lo(e,t,r,i):Mo.apply(n,h);return zs((m?La:Is)(g,h),e,t)}function Go(e,t,r,i){return e===n||hu(e,kt[r])&&!P.call(i,r)?t:e}function Ko(e,t,r,i,a,o){return G(e)&&G(t)&&(o.set(t,e),Sa(e,t,n,Ko,o),o.delete(t)),e}function qo(e){return Uu(e)?n:e}function Jo(e,t,r,i,a,o){var s=r&h,c=e.length,l=t.length;if(c!=l&&!(s&&l>c))return!1;var u=o.get(e),d=o.get(t);if(u&&d)return u==t&&d==e;var f=-1,p=!0,m=r&g?new li:n;for(o.set(e,t),o.set(t,e);++f<c;){var _=e[f],v=t[f];if(i)var y=s?i(v,_,f,t,e,o):i(_,v,f,e,t,o);if(y!==n){if(y)continue;p=!1;break}if(m){if(!Wn(t,function(e,t){if(!ur(m,t)&&(_===e||a(_,e,r,i,o)))return m.push(t)})){p=!1;break}}else if(!(_===v||a(_,v,r,i,o))){p=!1;break}}return o.delete(e),o.delete(t),p}function Yo(e,t,n,r,i,a,o){switch(n){case Pe:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case A:return!(e.byteLength!=t.byteLength||!a(new Bt(e),new Bt(t)));case ge:case _e:case Ce:return hu(+e,+t);case ye:return e.name==t.name&&e.message==t.message;case k:case ke:return e==t+``;case Se:var s=xr;case Oe:var c=r&h;if(s||=wr,e.size!=t.size&&!c)return!1;var l=o.get(e);if(l)return l==t;r|=g,o.set(e,t);var u=Jo(s(e),s(t),r,i,a,o);return o.delete(e),u;case Ae:if(Lr)return Lr.call(e)==Lr.call(t)}return!1}function Xo(e,t,r,i,a,o){var s=r&h,c=Qo(e),l=c.length;if(l!=Qo(t).length&&!s)return!1;for(var u=l;u--;){var d=c[u];if(!(s?d in t:P.call(t,d)))return!1}var f=o.get(e),p=o.get(t);if(f&&p)return f==t&&p==e;var m=!0;o.set(e,t),o.set(t,e);for(var g=s;++u<l;){d=c[u];var _=e[d],v=t[d];if(i)var y=s?i(v,_,d,t,e,o):i(_,v,d,e,t,o);if(!(y===n?_===v||a(_,v,r,i,o):y)){m=!1;break}g||=d==`constructor`}if(m&&!g){var b=e.constructor,x=t.constructor;b!=x&&`constructor`in e&&`constructor`in t&&!(typeof b==`function`&&b instanceof b&&typeof x==`function`&&x instanceof x)&&(m=!1)}return o.delete(e),o.delete(t),m}function Zo(e){return Rs(Ms(e,n,oc),e+``)}function Qo(e){return Yi(e,kd,ss)}function $o(e){return Yi(e,Ad,cs)}var es=Kn?function(e){return Kn.get(e)}:Kf;function ts(e){for(var t=e.name+``,n=tr[t],r=P.call(tr,t)?n.length:0;r--;){var i=n[r],a=i.func;if(a==null||a==e)return i.name}return t}function ns(e){return(P.call(z,`placeholder`)?z:e).placeholder}function H(){var e=z.iteratee||zf;return e=e===zf?ha:e,arguments.length?e(arguments[0],arguments[1]):e}function rs(e,t){var n=e.__data__;return xs(t)?n[typeof t==`string`?`string`:`hash`]:n.map}function is(e){for(var t=kd(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,Es(i)]}return t}function as(e,t){var r=_r(e,t);return da(r)?r:n}function os(e){var t=P.call(e,Jt),r=e[Jt];try{e[Jt]=n;var i=!0}catch{}var a=Pt.call(e);return i&&(t?e[Jt]=r:delete e[Jt]),a}var ss=tn?function(e){return e==null?[]:(e=N(e),Ln(tn(e),function(t){return Wt.call(e,t)}))}:ep,cs=tn?function(e){for(var t=[];e;)Vn(t,ss(e)),e=Ht(e);return t}:ep,ls=Xi;(yn&&ls(new yn(new ArrayBuffer(1)))!=Pe||xn&&ls(new xn)!=Se||Sn&&ls(Sn.resolve())!=Ee||wn&&ls(new wn)!=Oe||Tn&&ls(new Tn)!=Me)&&(ls=function(e){var t=Xi(e),r=t==Te?e.constructor:n,i=r?Ws(r):``;if(i)switch(i){case Er:return Pe;case Mr:return Se;case Nr:return Ee;case Fr:return Oe;case R:return Me}return t});function us(e,t,n){for(var r=-1,i=n.length;++r<i;){var a=n[r],o=a.size;switch(a.type){case`drop`:e+=o;break;case`dropRight`:t-=o;break;case`take`:t=fn(t,e+o);break;case`takeRight`:e=ln(e,t-o);break}}return{start:e,end:t}}function ds(e){var t=e.match(ot);return t?t[1].split(st):[]}function fs(e,t,n){t=no(t,e);for(var r=-1,i=t.length,a=!1;++r<i;){var o=Us(t[r]);if(!(a=e!=null&&n(e,o)))break;e=e[o]}return a||++r!=i?a:(i=e==null?0:e.length,!!i&&Nu(i)&&vs(o,i)&&(W(e)||vu(e)))}function ps(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]==`string`&&P.call(e,`index`)&&(n.index=e.index,n.input=e.input),n}function ms(e){return typeof e.constructor==`function`&&!Ts(e)?zr(Ht(e)):{}}function hs(e,t,n){var r=e.constructor;switch(t){case A:return so(e);case ge:case _e:return new r(+e);case Pe:return co(e,n);case Fe:case Ie:case Le:case Re:case ze:case Be:case Ve:case He:case Ue:return fo(e,n);case Se:return new r;case Ce:case ke:return new r(e);case k:return lo(e);case Oe:return new r;case Ae:return uo(e)}}function gs(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?`& `:``)+t[r],t=t.join(n>2?`, `:` `),e.replace(at,`{
3
3
  /* [wrapped with `+t+`] */
4
4
  `)}function _s(e){return W(e)||vu(e)||!!(Kt&&e&&e[Kt])}function vs(e,t){var n=typeof e;return t??=le,!!t&&(n==`number`||n!=`symbol`&&_t.test(e))&&e>-1&&e%1==0&&e<t}function ys(e,t,n){if(!G(n))return!1;var r=typeof t;return(r==`number`?bu(n)&&vs(t,n.length):r==`string`&&t in n)?hu(n[t],e):!1}function bs(e,t){if(W(e))return!1;var n=typeof e;return n==`number`||n==`symbol`||n==`boolean`||e==null||Ju(e)?!0:M.test(e)||!$e.test(e)||t!=null&&e in N(t)}function xs(e){var t=typeof e;return t==`string`||t==`number`||t==`symbol`||t==`boolean`?e!==`__proto__`:e===null}function Ss(e){var t=ts(e),n=z[t];if(typeof n!=`function`||!(t in B.prototype))return!1;if(e===n)return!0;var r=es(n);return!!r&&e===r[0]}function Cs(e){return!!Nt&&Nt in e}var ws=At?ju:tp;function Ts(e){var t=e&&e.constructor;return e===(typeof t==`function`&&t.prototype||kt)}function Es(e){return e===e&&!G(e)}function Ds(e,t){return function(r){return r==null?!1:r[e]===t&&(t!==n||e in N(r))}}function Os(e){var t=Zl(e,function(e){return n.size===u&&n.clear(),e}),n=t.cache;return t}function ks(e,t){var n=e[1],r=t[1],i=n|r,a=i<(_|v|ee),o=r==ee&&n==b||r==ee&&n==w&&e[7].length<=t[8]||r==(ee|w)&&t[7].length<=t[8]&&n==b;if(!(a||o))return e;r&_&&(e[2]=t[2],i|=n&_?0:y);var s=t[3];if(s){var c=e[3];e[3]=c?ho(c,s,t[4]):s,e[4]=c?Cr(e[3],d):t[4]}return s=t[5],s&&(c=e[5],e[5]=c?go(c,s,t[6]):s,e[6]=c?Cr(e[5],d):t[6]),s=t[7],s&&(e[7]=s),r&ee&&(e[8]=e[8]==null?t[8]:fn(e[8],t[8])),e[9]??=t[9],e[0]=t[0],e[1]=i,e}function As(e){var t=[];if(e!=null)for(var n in N(e))t.push(n);return t}function js(e){return Pt.call(e)}function Ms(e,t,r){return t=ln(t===n?e.length-1:t,0),function(){for(var n=arguments,i=-1,a=ln(n.length-t,0),o=it(a);++i<a;)o[i]=n[t+i];i=-1;for(var s=it(t+1);++i<t;)s[i]=n[i];return s[t]=r(o),Mn(e,this,s)}}function Ns(e,t){return t.length<2?e:Ji(e,Ba(t,0,-1))}function Ps(e,t){for(var r=e.length,i=fn(t.length,r),a=_o(e);i--;){var o=t[i];e[i]=vs(o,r)?a[o]:n}return e}function Fs(e,t){if(!(t===`constructor`&&typeof e[t]==`function`)&&t!=`__proto__`)return e[t]}var Is=Bs(La),Ls=Qt||function(e,t){return bn.setTimeout(e,t)},Rs=Bs(Ra);function zs(e,t,n){var r=t+``;return Rs(e,gs(r,Gs(ds(r),n)))}function Bs(e){var t=0,r=0;return function(){var i=pn(),a=ie-(i-r);if(r=i,a>0){if(++t>=re)return arguments[0]}else t=0;return e.apply(n,arguments)}}function Vs(e,t){var r=-1,i=e.length,a=i-1;for(t=t===n?i:t;++r<t;){var o=ja(r,a),s=e[o];e[o]=e[r],e[r]=s}return e.length=t,e}var Hs=Os(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(``),e.replace(et,function(e,n,r,i){t.push(r?i.replace(ut,`$1`):n||e)}),t});function Us(e){if(typeof e==`string`||Ju(e))return e;var t=e+``;return t==`0`&&1/e==-ce?`-0`:t}function Ws(e){if(e!=null){try{return jt.call(e)}catch{}try{return e+``}catch{}}return``}function Gs(e,t){return Pn(E,function(n){var r=`_.`+n[0];t&n[1]&&!Rn(e,r)&&e.push(r)}),e.sort()}function Ks(e){if(e instanceof B)return e.clone();var t=new Vr(e.__wrapped__,e.__chain__);return t.__actions__=_o(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function qs(e,t,r){t=(r?ys(e,t,r):t===n)?1:ln(K(t),0);var i=e==null?0:e.length;if(!i||t<1)return[];for(var a=0,o=0,s=it($t(i/t));a<i;)s[o++]=Ba(e,a,a+=t);return s}function Js(e){for(var t=-1,n=e==null?0:e.length,r=0,i=[];++t<n;){var a=e[t];a&&(i[r++]=a)}return i}function Ys(){var e=arguments.length;if(!e)return[];for(var t=it(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return Vn(W(n)?_o(n):[n],Hi(t,1))}var Xs=V(function(e,t){return xu(e)?Fi(e,Hi(t,1,xu,!0)):[]}),Zs=V(function(e,t){var r=_c(t);return xu(r)&&(r=n),xu(e)?Fi(e,Hi(t,1,xu,!0),H(r,2)):[]}),Qs=V(function(e,t){var r=_c(t);return xu(r)&&(r=n),xu(e)?Fi(e,Hi(t,1,xu,!0),n,r):[]});function $s(e,t,r){var i=e==null?0:e.length;return i?(t=r||t===n?1:K(t),Ba(e,t<0?0:t,i)):[]}function ec(e,t,r){var i=e==null?0:e.length;return i?(t=r||t===n?1:K(t),t=i-t,Ba(e,0,t<0?0:t)):[]}function tc(e,t){return e&&e.length?Xa(e,H(t,3),!0,!0):[]}function nc(e,t){return e&&e.length?Xa(e,H(t,3),!0):[]}function rc(e,t,n,r){var i=e==null?0:e.length;return i?(n&&typeof n!=`number`&&ys(e,t,n)&&(n=0,r=i),Bi(e,t,n,r)):[]}function ic(e,t,n){var r=e==null?0:e.length;if(!r)return-1;var i=n==null?0:K(n);return i<0&&(i=ln(r+i,0)),Yn(e,H(t,3),i)}function ac(e,t,r){var i=e==null?0:e.length;if(!i)return-1;var a=i-1;return r!==n&&(a=K(r),a=r<0?ln(i+a,0):fn(a,i-1)),Yn(e,H(t,3),a,!0)}function oc(e){return e!=null&&e.length?Hi(e,1):[]}function sc(e){return e!=null&&e.length?Hi(e,ce):[]}function cc(e,t){return e!=null&&e.length?(t=t===n?1:K(t),Hi(e,t)):[]}function lc(e){for(var t=-1,n=e==null?0:e.length,r={};++t<n;){var i=e[t];Oi(r,i[0],i[1])}return r}function uc(e){return e&&e.length?e[0]:n}function dc(e,t,n){var r=e==null?0:e.length;if(!r)return-1;var i=n==null?0:K(n);return i<0&&(i=ln(r+i,0)),Xn(e,t,i)}function fc(e){return e!=null&&e.length?Ba(e,0,-1):[]}var pc=V(function(e){var t=Bn(e,eo);return t.length&&t[0]===e[0]?ta(t):[]}),mc=V(function(e){var t=_c(e),r=Bn(e,eo);return t===_c(r)?t=n:r.pop(),r.length&&r[0]===e[0]?ta(r,H(t,2)):[]}),hc=V(function(e){var t=_c(e),r=Bn(e,eo);return t=typeof t==`function`?t:n,t&&r.pop(),r.length&&r[0]===e[0]?ta(r,n,t):[]});function gc(e,t){return e==null?``:sn.call(e,t)}function _c(e){var t=e==null?0:e.length;return t?e[t-1]:n}function vc(e,t,r){var i=e==null?0:e.length;if(!i)return-1;var a=i;return r!==n&&(a=K(r),a=a<0?ln(i+a,0):fn(a,i-1)),t===t?Dr(e,t,a):Yn(e,Qn,a,!0)}function yc(e,t){return e&&e.length?wa(e,K(t)):n}var bc=V(xc);function xc(e,t){return e&&e.length&&t&&t.length?ka(e,t):e}function Sc(e,t,n){return e&&e.length&&t&&t.length?ka(e,t,H(n,2)):e}function Cc(e,t,r){return e&&e.length&&t&&t.length?ka(e,t,n,r):e}var wc=Zo(function(e,t){var n=e==null?0:e.length,r=ki(e,t);return Aa(e,Bn(t,function(e){return vs(e,n)?+e:e}).sort(po)),r});function Tc(e,t){var n=[];if(!(e&&e.length))return n;var r=-1,i=[],a=e.length;for(t=H(t,3);++r<a;){var o=e[r];t(o,r,e)&&(n.push(o),i.push(r))}return Aa(e,i),n}function Ec(e){return e==null?e:vn.call(e)}function Dc(e,t,r){var i=e==null?0:e.length;return i?(r&&typeof r!=`number`&&ys(e,t,r)?(t=0,r=i):(t=t==null?0:K(t),r=r===n?i:K(r)),Ba(e,t,r)):[]}function Oc(e,t){return Ha(e,t)}function kc(e,t,n){return Ua(e,t,H(n,2))}function Ac(e,t){var n=e==null?0:e.length;if(n){var r=Ha(e,t);if(r<n&&hu(e[r],t))return r}return-1}function jc(e,t){return Ha(e,t,!0)}function Mc(e,t,n){return Ua(e,t,H(n,2),!0)}function Nc(e,t){if(e!=null&&e.length){var n=Ha(e,t,!0)-1;if(hu(e[n],t))return n}return-1}function Pc(e){return e&&e.length?Wa(e):[]}function Fc(e,t){return e&&e.length?Wa(e,H(t,2)):[]}function Ic(e){var t=e==null?0:e.length;return t?Ba(e,1,t):[]}function Lc(e,t,r){return e&&e.length?(t=r||t===n?1:K(t),Ba(e,0,t<0?0:t)):[]}function Rc(e,t,r){var i=e==null?0:e.length;return i?(t=r||t===n?1:K(t),t=i-t,Ba(e,t<0?0:t,i)):[]}function zc(e,t){return e&&e.length?Xa(e,H(t,3),!1,!0):[]}function Bc(e,t){return e&&e.length?Xa(e,H(t,3)):[]}var Vc=V(function(e){return qa(Hi(e,1,xu,!0))}),Hc=V(function(e){var t=_c(e);return xu(t)&&(t=n),qa(Hi(e,1,xu,!0),H(t,2))}),Uc=V(function(e){var t=_c(e);return t=typeof t==`function`?t:n,qa(Hi(e,1,xu,!0),n,t)});function Wc(e){return e&&e.length?qa(e):[]}function Gc(e,t){return e&&e.length?qa(e,H(t,2)):[]}function Kc(e,t){return t=typeof t==`function`?t:n,e&&e.length?qa(e,n,t):[]}function qc(e){if(!(e&&e.length))return[];var t=0;return e=Ln(e,function(e){if(xu(e))return t=ln(e.length,t),!0}),ar(t,function(t){return Bn(e,er(t))})}function Jc(e,t){if(!(e&&e.length))return[];var r=qc(e);return t==null?r:Bn(r,function(e){return Mn(t,n,e)})}var Yc=V(function(e,t){return xu(e)?Fi(e,t):[]}),Xc=V(function(e){return Qa(Ln(e,xu))}),Zc=V(function(e){var t=_c(e);return xu(t)&&(t=n),Qa(Ln(e,xu),H(t,2))}),Qc=V(function(e){var t=_c(e);return t=typeof t==`function`?t:n,Qa(Ln(e,xu),n,t)}),$c=V(qc);function el(e,t){return $a(e||[],t||[],Ci)}function tl(e,t){return $a(e||[],t||[],Ia)}var nl=V(function(e){var t=e.length,r=t>1?e[t-1]:n;return r=typeof r==`function`?(e.pop(),r):n,Jc(e,r)});function rl(e){var t=z(e);return t.__chain__=!0,t}function il(e,t){return t(e),e}function al(e,t){return t(e)}var ol=Zo(function(e){var t=e.length,r=t?e[0]:0,i=this.__wrapped__,a=function(t){return ki(t,e)};return t>1||this.__actions__.length||!(i instanceof B)||!vs(r)?this.thru(a):(i=i.slice(r,+r+ +!!t),i.__actions__.push({func:al,args:[a],thisArg:n}),new Vr(i,this.__chain__).thru(function(e){return t&&!e.length&&e.push(n),e}))});function sl(){return rl(this)}function cl(){return new Vr(this.value(),this.__chain__)}function ll(){this.__values__===n&&(this.__values__=td(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?n:this.__values__[this.__index__++]}}function ul(){return this}function dl(e){for(var t,r=this;r instanceof Br;){var i=Ks(r);i.__index__=0,i.__values__=n,t?a.__wrapped__=i:t=i;var a=i;r=r.__wrapped__}return a.__wrapped__=e,t}function fl(){var e=this.__wrapped__;if(e instanceof B){var t=e;return this.__actions__.length&&(t=new B(this)),t=t.reverse(),t.__actions__.push({func:al,args:[Ec],thisArg:n}),new Vr(t,this.__chain__)}return this.thru(Ec)}function pl(){return Za(this.__wrapped__,this.__actions__)}var ml=xo(function(e,t,n){P.call(e,n)?++e[n]:Oi(e,n,1)});function hl(e,t,r){var i=W(e)?In:Ri;return r&&ys(e,t,r)&&(t=n),i(e,H(t,3))}function gl(e,t){return(W(e)?Ln:Vi)(e,H(t,3))}var _l=Ao(ic),vl=Ao(ac);function yl(e,t){return Hi(Ol(e,t),1)}function bl(e,t){return Hi(Ol(e,t),ce)}function xl(e,t,r){return r=r===n?1:K(r),Hi(Ol(e,t),r)}function Sl(e,t){return(W(e)?Pn:Ii)(e,H(t,3))}function Cl(e,t){return(W(e)?Fn:Li)(e,H(t,3))}var wl=xo(function(e,t,n){P.call(e,n)?e[n].push(t):Oi(e,n,[t])});function Tl(e,t,n,r){e=bu(e)?e:Jd(e),n=n&&!r?K(n):0;var i=e.length;return n<0&&(n=ln(i+n,0)),qu(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&Xn(e,t,n)>-1}var El=V(function(e,t,n){var r=-1,i=typeof t==`function`,a=bu(e)?it(e.length):[];return Ii(e,function(e){a[++r]=i?Mn(t,e,n):ra(e,t,n)}),a}),Dl=xo(function(e,t,n){Oi(e,n,t)});function Ol(e,t){return(W(e)?Bn:ya)(e,H(t,3))}function kl(e,t,r,i){return e==null?[]:(W(t)||(t=t==null?[]:[t]),r=i?n:r,W(r)||(r=r==null?[]:[r]),Ta(e,t,r))}var Al=xo(function(e,t,n){e[+!n].push(t)},function(){return[[],[]]});function jl(e,t,n){var r=W(e)?Hn:nr,i=arguments.length<3;return r(e,H(t,4),n,i,Ii)}function Ml(e,t,n){var r=W(e)?Un:nr,i=arguments.length<3;return r(e,H(t,4),n,i,Li)}function Nl(e,t){return(W(e)?Ln:Vi)(e,Ql(H(t,3)))}function Pl(e){return(W(e)?yi:Pa)(e)}function Fl(e,t,r){return t=(r?ys(e,t,r):t===n)?1:K(t),(W(e)?bi:Fa)(e,t)}function Il(e){return(W(e)?xi:za)(e)}function Ll(e){if(e==null)return 0;if(bu(e))return qu(e)?Or(e):e.length;var t=ls(e);return t==Se||t==Oe?e.size:ga(e).length}function Rl(e,t,r){var i=W(e)?Wn:Va;return r&&ys(e,t,r)&&(t=n),i(e,H(t,3))}var zl=V(function(e,t){if(e==null)return[];var n=t.length;return n>1&&ys(e,t[0],t[1])?t=[]:n>2&&ys(t[0],t[1],t[2])&&(t=[t[0]]),Ta(e,Hi(t,1),[])}),Bl=Zt||function(){return bn.Date.now()};function Vl(e,t){if(typeof t!=`function`)throw new Et(o);return e=K(e),function(){if(--e<1)return t.apply(this,arguments)}}function Hl(e,t,r){return t=r?n:t,t=e&&t==null?e.length:t,Wo(e,ee,n,n,n,n,t)}function U(e,t){var r;if(typeof t!=`function`)throw new Et(o);return e=K(e),function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=n),r}}var Ul=V(function(e,t,n){var r=_;if(n.length){var i=Cr(n,ns(Ul));r|=S}return Wo(e,r,t,n,i)}),Wl=V(function(e,t,n){var r=_|v;if(n.length){var i=Cr(n,ns(Wl));r|=S}return Wo(t,r,e,n,i)});function Gl(e,t,r){t=r?n:t;var i=Wo(e,b,n,n,n,n,n,t);return i.placeholder=Gl.placeholder,i}function Kl(e,t,r){t=r?n:t;var i=Wo(e,x,n,n,n,n,n,t);return i.placeholder=Kl.placeholder,i}function ql(e,t,r){var i,a,s,c,l,u,d=0,f=!1,p=!1,m=!0;if(typeof e!=`function`)throw new Et(o);t=id(t)||0,G(r)&&(f=!!r.leading,p=`maxWait`in r,s=p?ln(id(r.maxWait)||0,t):s,m=`trailing`in r?!!r.trailing:m);function h(t){var r=i,o=a;return i=a=n,d=t,c=e.apply(o,r),c}function g(e){return d=e,l=Ls(y,t),f?h(e):c}function _(e){var n=e-u,r=e-d,i=t-n;return p?fn(i,s-r):i}function v(e){var r=e-u,i=e-d;return u===n||r>=t||r<0||p&&i>=s}function y(){var e=Bl();if(v(e))return b(e);l=Ls(y,_(e))}function b(e){return l=n,m&&i?h(e):(i=a=n,c)}function x(){l!==n&&ao(l),d=0,i=u=a=l=n}function S(){return l===n?c:b(Bl())}function C(){var e=Bl(),r=v(e);if(i=arguments,a=this,u=e,r){if(l===n)return g(u);if(p)return ao(l),l=Ls(y,t),h(u)}return l===n&&(l=Ls(y,t)),c}return C.cancel=x,C.flush=S,C}var Jl=V(function(e,t){return Pi(e,1,t)}),Yl=V(function(e,t,n){return Pi(e,id(t)||0,n)});function Xl(e){return Wo(e,T)}function Zl(e,t){if(typeof e!=`function`||t!=null&&typeof t!=`function`)throw new Et(o);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=e.apply(this,r);return n.cache=a.set(i,o)||a,o};return n.cache=new(Zl.Cache||ri),n}Zl.Cache=ri;function Ql(e){if(typeof e!=`function`)throw new Et(o);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function $l(e){return U(2,e)}var eu=ro(function(e,t){t=t.length==1&&W(t[0])?Bn(t[0],cr(H())):Bn(Hi(t,1),cr(H()));var n=t.length;return V(function(r){for(var i=-1,a=fn(r.length,n);++i<a;)r[i]=t[i].call(this,r[i]);return Mn(e,this,r)})}),tu=V(function(e,t){return Wo(e,S,n,t,Cr(t,ns(tu)))}),nu=V(function(e,t){return Wo(e,C,n,t,Cr(t,ns(nu)))}),ru=Zo(function(e,t){return Wo(e,w,n,n,n,t)});function iu(e,t){if(typeof e!=`function`)throw new Et(o);return t=t===n?t:K(t),V(e,t)}function au(e,t){if(typeof e!=`function`)throw new Et(o);return t=t==null?0:ln(K(t),0),V(function(n){var r=n[t],i=io(n,0,t);return r&&Vn(i,r),Mn(e,this,i)})}function ou(e,t,n){var r=!0,i=!0;if(typeof e!=`function`)throw new Et(o);return G(n)&&(r=`leading`in n?!!n.leading:r,i=`trailing`in n?!!n.trailing:i),ql(e,t,{leading:r,maxWait:t,trailing:i})}function su(e){return Hl(e,1)}function cu(e,t){return tu(to(t),e)}function lu(){if(!arguments.length)return[];var e=arguments[0];return W(e)?e:[e]}function uu(e){return ji(e,m)}function du(e,t){return t=typeof t==`function`?t:n,ji(e,m,t)}function fu(e){return ji(e,f|m)}function pu(e,t){return t=typeof t==`function`?t:n,ji(e,f|m,t)}function mu(e,t){return t==null||Ni(e,t,kd(t))}function hu(e,t){return e===t||e!==e&&t!==t}var gu=zo(Zi),_u=zo(function(e,t){return e>=t}),vu=ia(function(){return arguments}())?ia:function(e){return Pu(e)&&P.call(e,`callee`)&&!Wt.call(e,`callee`)},W=it.isArray,yu=En?cr(En):aa;function bu(e){return e!=null&&Nu(e.length)&&!ju(e)}function xu(e){return Pu(e)&&bu(e)}function Su(e){return e===!0||e===!1||Pu(e)&&Xi(e)==ge}var Cu=nn||tp,wu=Dn?cr(Dn):oa;function Tu(e){return Pu(e)&&e.nodeType===1&&!Uu(e)}function Eu(e){if(e==null)return!0;if(bu(e)&&(W(e)||typeof e==`string`||typeof e.splice==`function`||Cu(e)||Yu(e)||vu(e)))return!e.length;var t=ls(e);if(t==Se||t==Oe)return!e.size;if(Ts(e))return!ga(e).length;for(var n in e)if(P.call(e,n))return!1;return!0}function Du(e,t){return sa(e,t)}function Ou(e,t,r){r=typeof r==`function`?r:n;var i=r?r(e,t):n;return i===n?sa(e,t,n,r):!!i}function ku(e){if(!Pu(e))return!1;var t=Xi(e);return t==ye||t==ve||typeof e.message==`string`&&typeof e.name==`string`&&!Uu(e)}function Au(e){return typeof e==`number`&&on(e)}function ju(e){if(!G(e))return!1;var t=Xi(e);return t==be||t==xe||t==O||t==De}function Mu(e){return typeof e==`number`&&e==K(e)}function Nu(e){return typeof e==`number`&&e>-1&&e%1==0&&e<=le}function G(e){var t=typeof e;return e!=null&&(t==`object`||t==`function`)}function Pu(e){return typeof e==`object`&&!!e}var Fu=On?cr(On):la;function Iu(e,t){return e===t||ua(e,t,is(t))}function Lu(e,t,r){return r=typeof r==`function`?r:n,ua(e,t,is(t),r)}function Ru(e){return Hu(e)&&e!=+e}function zu(e){if(ws(e))throw new xt(a);return da(e)}function Bu(e){return e===null}function Vu(e){return e==null}function Hu(e){return typeof e==`number`||Pu(e)&&Xi(e)==Ce}function Uu(e){if(!Pu(e)||Xi(e)!=Te)return!1;var t=Ht(e);if(t===null)return!0;var n=P.call(t,`constructor`)&&t.constructor;return typeof n==`function`&&n instanceof n&&jt.call(n)==Ft}var Wu=kn?cr(kn):fa;function Gu(e){return Mu(e)&&e>=-le&&e<=le}var Ku=An?cr(An):pa;function qu(e){return typeof e==`string`||!W(e)&&Pu(e)&&Xi(e)==ke}function Ju(e){return typeof e==`symbol`||Pu(e)&&Xi(e)==Ae}var Yu=jn?cr(jn):ma;function Xu(e){return e===n}function Zu(e){return Pu(e)&&ls(e)==Me}function Qu(e){return Pu(e)&&Xi(e)==Ne}var $u=zo(va),ed=zo(function(e,t){return e<=t});function td(e){if(!e)return[];if(bu(e))return qu(e)?kr(e):_o(e);if(qt&&e[qt])return br(e[qt]());var t=ls(e);return(t==Se?xr:t==Oe?wr:Jd)(e)}function nd(e){return e?(e=id(e),e===ce||e===-ce?(e<0?-1:1)*ue:e===e?e:0):e===0?e:0}function K(e){var t=nd(e),n=t%1;return t===t?n?t-n:t:0}function rd(e){return e?Ai(K(e),0,fe):0}function id(e){if(typeof e==`number`)return e;if(Ju(e))return de;if(G(e)){var t=typeof e.valueOf==`function`?e.valueOf():e;e=G(t)?t+``:t}if(typeof e!=`string`)return e===0?e:+e;e=sr(e);var n=mt.test(e);return n||gt.test(e)?_n(e.slice(2),n?2:8):pt.test(e)?de:+e}function ad(e){return vo(e,Ad(e))}function od(e){return e?Ai(K(e),-le,le):e===0?e:0}function q(e){return e==null?``:Ka(e)}var sd=So(function(e,t){if(Ts(t)||bu(t)){vo(t,kd(t),e);return}for(var n in t)P.call(t,n)&&Ci(e,n,t[n])}),cd=So(function(e,t){vo(t,Ad(t),e)}),ld=So(function(e,t,n,r){vo(t,Ad(t),e,r)}),ud=So(function(e,t,n,r){vo(t,kd(t),e,r)}),dd=Zo(ki);function fd(e,t){var n=zr(e);return t==null?n:Ei(n,t)}var pd=V(function(e,t){e=N(e);var r=-1,i=t.length,a=i>2?t[2]:n;for(a&&ys(t[0],t[1],a)&&(i=1);++r<i;)for(var o=t[r],s=Ad(o),c=-1,l=s.length;++c<l;){var u=s[c],d=e[u];(d===n||hu(d,kt[u])&&!P.call(e,u))&&(e[u]=o[u])}return e}),md=V(function(e){return e.push(n,Ko),Mn(Pd,n,e)});function hd(e,t){return Jn(e,H(t,3),Gi)}function gd(e,t){return Jn(e,H(t,3),Ki)}function _d(e,t){return e==null?e:Ui(e,H(t,3),Ad)}function vd(e,t){return e==null?e:Wi(e,H(t,3),Ad)}function yd(e,t){return e&&Gi(e,H(t,3))}function bd(e,t){return e&&Ki(e,H(t,3))}function xd(e){return e==null?[]:qi(e,kd(e))}function Sd(e){return e==null?[]:qi(e,Ad(e))}function Cd(e,t,r){var i=e==null?n:Ji(e,t);return i===n?r:i}function wd(e,t){return e!=null&&fs(e,t,Qi)}function Td(e,t){return e!=null&&fs(e,t,$i)}var Ed=No(function(e,t,n){t!=null&&typeof t.toString!=`function`&&(t=Pt.call(t)),e[t]=n},Pf(Rf)),Dd=No(function(e,t,n){t!=null&&typeof t.toString!=`function`&&(t=Pt.call(t)),P.call(e,t)?e[t].push(n):e[t]=[n]},H),Od=V(ra);function kd(e){return bu(e)?vi(e):ga(e)}function Ad(e){return bu(e)?vi(e,!0):_a(e)}function jd(e,t){var n={};return t=H(t,3),Gi(e,function(e,r,i){Oi(n,t(e,r,i),e)}),n}function Md(e,t){var n={};return t=H(t,3),Gi(e,function(e,r,i){Oi(n,r,t(e,r,i))}),n}var Nd=So(function(e,t,n){Sa(e,t,n)}),Pd=So(function(e,t,n,r){Sa(e,t,n,r)}),Fd=Zo(function(e,t){var n={};if(e==null)return n;var r=!1;t=Bn(t,function(t){return t=no(t,e),r||=t.length>1,t}),vo(e,$o(e),n),r&&(n=ji(n,f|p|m,qo));for(var i=t.length;i--;)Ja(n,t[i]);return n});function Id(e,t){return Rd(e,Ql(H(t)))}var Ld=Zo(function(e,t){return e==null?{}:Ea(e,t)});function Rd(e,t){if(e==null)return{};var n=Bn($o(e),function(e){return[e]});return t=H(t),Da(e,n,function(e,n){return t(e,n[0])})}function zd(e,t,r){t=no(t,e);var i=-1,a=t.length;for(a||(a=1,e=n);++i<a;){var o=e==null?n:e[Us(t[i])];o===n&&(i=a,o=r),e=ju(o)?o.call(e):o}return e}function Bd(e,t,n){return e==null?e:Ia(e,t,n)}function Vd(e,t,r,i){return i=typeof i==`function`?i:n,e==null?e:Ia(e,t,r,i)}var Hd=Uo(kd),Ud=Uo(Ad);function Wd(e,t,n){var r=W(e),i=r||Cu(e)||Yu(e);if(t=H(t,4),n==null){var a=e&&e.constructor;n=i?r?new a:[]:G(e)&&ju(a)?zr(Ht(e)):{}}return(i?Pn:Gi)(e,function(e,r,i){return t(n,e,r,i)}),n}function Gd(e,t){return e==null?!0:Ja(e,t)}function Kd(e,t,n){return e==null?e:Ya(e,t,to(n))}function qd(e,t,r,i){return i=typeof i==`function`?i:n,e==null?e:Ya(e,t,to(r),i)}function Jd(e){return e==null?[]:lr(e,kd(e))}function Yd(e){return e==null?[]:lr(e,Ad(e))}function Xd(e,t,r){return r===n&&(r=t,t=n),r!==n&&(r=id(r),r=r===r?r:0),t!==n&&(t=id(t),t=t===t?t:0),Ai(id(e),t,r)}function Zd(e,t,r){return t=nd(t),r===n?(r=t,t=0):r=nd(r),e=id(e),ea(e,t,r)}function Qd(e,t,r){if(r&&typeof r!=`boolean`&&ys(e,t,r)&&(t=r=n),r===n&&(typeof t==`boolean`?(r=t,t=n):typeof e==`boolean`&&(r=e,e=n)),e===n&&t===n?(e=0,t=1):(e=nd(e),t===n?(t=e,e=0):t=nd(t)),e>t){var i=e;e=t,t=i}if(r||e%1||t%1){var a=hn();return fn(e+a*(t-e+gn(`1e-`+((a+``).length-1))),t)}return ja(e,t)}var $d=Do(function(e,t,n){return t=t.toLowerCase(),e+(n?ef(t):t)});function ef(e){return Of(q(e).toLowerCase())}function tf(e){return e=q(e),e&&e.replace(vt,mr).replace(an,``)}function nf(e,t,r){e=q(e),t=Ka(t);var i=e.length;r=r===n?i:Ai(K(r),0,i);var a=r;return r-=t.length,r>=0&&e.slice(r,a)==t}function rf(e){return e=q(e),e&&Xe.test(e)?e.replace(Je,hr):e}function af(e){return e=q(e),e&&nt.test(e)?e.replace(tt,`\\$&`):e}var of=Do(function(e,t,n){return e+(n?`-`:``)+t.toLowerCase()}),sf=Do(function(e,t,n){return e+(n?` `:``)+t.toLowerCase()}),cf=Eo(`toLowerCase`);function lf(e,t,n){e=q(e),t=K(t);var r=t?Or(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return Io(en(i),n)+e+Io($t(i),n)}function uf(e,t,n){e=q(e),t=K(t);var r=t?Or(e):0;return t&&r<t?e+Io(t-r,n):e}function df(e,t,n){e=q(e),t=K(t);var r=t?Or(e):0;return t&&r<t?Io(t-r,n)+e:e}function ff(e,t,n){return n||t==null?t=0:t&&=+t,mn(q(e).replace(rt,``),t||0)}function pf(e,t,r){return t=(r?ys(e,t,r):t===n)?1:K(t),Na(q(e),t)}function mf(){var e=arguments,t=q(e[0]);return e.length<3?t:t.replace(e[1],e[2])}var hf=Do(function(e,t,n){return e+(n?`_`:``)+t.toLowerCase()});function gf(e,t,r){return r&&typeof r!=`number`&&ys(e,t,r)&&(t=r=n),r=r===n?fe:r>>>0,r?(e=q(e),e&&(typeof t==`string`||t!=null&&!Wu(t))&&(t=Ka(t),!t&&vr(e))?io(kr(e),0,r):e.split(t,r)):[]}var _f=Do(function(e,t,n){return e+(n?` `:``)+Of(t)});function vf(e,t,n){return e=q(e),n=n==null?0:Ai(K(n),0,e.length),t=Ka(t),e.slice(n,n+t.length)==t}function yf(e,t,r){var i=z.templateSettings;r&&ys(e,t,r)&&(t=n),e=q(e),t=ud({},t,i,Go);var a=ud({},t.imports,i.imports,Go),o=kd(a),l=lr(a,o);Pn(o,function(e){if(lt.test(e))throw new xt(c)});var u,d,f=0,p=t.interpolate||yt,m=`__p += '`,h=wt((t.escape||yt).source+`|`+p.source+`|`+(p===j?dt:yt).source+`|`+(t.evaluate||yt).source+`|$`,`g`),g=`//# sourceURL=`+(P.call(t,`sourceURL`)?(t.sourceURL+``).replace(/\s/g,` `):`lodash.templateSources[`+ ++dn+`]`)+`
5
5
  `;e.replace(h,function(t,n,r,i,a,o){return r||=i,m+=e.slice(f,o).replace(bt,gr),n&&(u=!0,m+=`' +
@@ -65,18 +65,18 @@ Expecting `+S.join(`, `)+`, got '`+(this.terminals_[p]||p)+`'`:`Parse error on l
65
65
  }`},blockValue:function(e){var t=this.aliasable(`container.hooks.blockHelperMissing`),n=[this.contextName(0)];this.setupHelperArgs(e,0,n);var r=this.popStack();n.splice(1,0,r),this.push(this.source.functionCall(t,`call`,n))},ambiguousBlockValue:function(){var e=this.aliasable(`container.hooks.blockHelperMissing`),t=[this.contextName(0)];this.setupHelperArgs(``,0,t,!0),this.flushInline();var n=this.topStack();t.splice(1,0,n),this.pushSource([`if (!`,this.lastHelper,`) { `,n,` = `,this.source.functionCall(e,`call`,t),`}`])},appendContent:function(e){this.pendingContent?e=this.pendingContent+e:this.pendingLocation=this.source.currentLocation,this.pendingContent=e},append:function(){if(this.isInline())this.replaceStack(function(e){return[` != null ? `,e,` : ""`]}),this.pushSource(this.appendToBuffer(this.popStack()));else{var e=this.popStack();this.pushSource([`if (`,e,` != null) { `,this.appendToBuffer(e,void 0,!0),` }`]),this.environment.isSimple&&this.pushSource([`else { `,this.appendToBuffer(`''`,void 0,!0),` }`])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable(`container.escapeExpression`),`(`,this.popStack(),`)`]))},getContext:function(e){this.lastContext=e},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(e,t,n,r){var i=0;!r&&this.options.compat&&!this.lastContext?this.push(this.depthedLookup(e[i++])):this.pushContext(),this.resolvePath(`context`,e,i,t,n)},lookupBlockParam:function(e,t){this.useBlockParams=!0,this.push([`blockParams[`,e[0],`][`,e[1],`]`]),this.resolvePath(`context`,t,1)},lookupData:function(e,t,n){e?this.pushStackLiteral(`container.data(data, `+e+`)`):this.pushStackLiteral(`data`),this.resolvePath(`data`,t,0,!0,n)},resolvePath:function(e,t,n,r,i){var a=this;if(this.options.strict||this.options.assumeObjects){this.push(l(this.options.strict&&i,this,t,n,e));return}for(var o=t.length,s=function(n){a.replaceStack(function(i){var o=a.nameLookup(i,t[n],e);return r?[` && `,o]:[` != null ? `,o,` : `,i]})},c=n;c<o;c++)s(c)},resolvePossibleLambda:function(){this.push([this.aliasable(`container.lambda`),`(`,this.popStack(),`, `,this.contextName(0),`)`])},pushStringParam:function(e,t){this.pushContext(),this.pushString(t),t!==`SubExpression`&&(typeof e==`string`?this.pushString(e):this.pushStackLiteral(e))},emptyHash:function(e){this.trackIds&&this.push(`{}`),this.stringParams&&(this.push(`{}`),this.push(`{}`)),this.pushStackLiteral(e?`undefined`:`{}`)},pushHash:function(){this.hash&&this.hashes.push(this.hash),this.hash={values:{},types:[],contexts:[],ids:[]}},popHash:function(){var e=this.hash;this.hash=this.hashes.pop(),this.trackIds&&this.push(this.objectLiteral(e.ids)),this.stringParams&&(this.push(this.objectLiteral(e.contexts)),this.push(this.objectLiteral(e.types))),this.push(this.objectLiteral(e.values))},pushString:function(e){this.pushStackLiteral(this.quotedString(e))},pushLiteral:function(e){this.pushStackLiteral(e)},pushProgram:function(e){e==null?this.pushStackLiteral(null):this.pushStackLiteral(this.programExpression(e))},registerDecorator:function(e,t){var n=this.nameLookup(`decorators`,t,`decorator`),r=this.setupHelperArgs(t,e);this.decorators.push([`var decorator = `,n,`;`]),this.decorators.push([`if (typeof decorator !== "function") { throw new Error(`,this.quotedString(`Missing decorator: "`+t+`"`),`); }`]),this.decorators.push([`fn = `,this.decorators.functionCall(`decorator`,``,[`fn`,`props`,`container`,r]),` || fn;`])},invokeHelper:function(e,t,n){var r=this.popStack(),i=this.setupHelper(e,t),a=[];n&&a.push(i.name),a.push(r),this.options.strict||a.push(this.aliasable(`container.hooks.helperMissing`));var o=[`(`,this.itemsSeparatedBy(a,`||`),`)`],s=this.source.functionCall(o,`call`,i.callParams);this.push(s)},itemsSeparatedBy:function(e,t){var n=[];n.push(e[0]);for(var r=1;r<e.length;r++)n.push(t,e[r]);return n},invokeKnownHelper:function(e,t){var n=this.setupHelper(e,t);this.push(this.source.functionCall(n.name,`call`,n.callParams))},invokeAmbiguous:function(e,t){this.useRegister(`helper`);var n=this.popStack();this.emptyHash();var r=this.setupHelper(0,e,t),i=[`(`,`(helper = `,this.lastHelper=this.nameLookup(`helpers`,e,`helper`),` || `,n,`)`];this.options.strict||(i[0]=`(helper = `,i.push(` != null ? helper : `,this.aliasable(`container.hooks.helperMissing`))),this.push([`(`,i,r.paramsInit?[`),(`,r.paramsInit]:[],`),`,`(typeof helper === `,this.aliasable(`"function"`),` ? `,this.source.functionCall(`helper`,`call`,r.callParams),` : helper))`])},invokePartial:function(e,t,n){var r=[],i=this.setupParams(t,1,r);e&&(t=this.popStack(),delete i.name),n&&(i.indent=JSON.stringify(n)),i.helpers=`helpers`,i.partials=`partials`,i.decorators=`container.decorators`,e?r.unshift(t):r.unshift(this.nameLookup(`partials`,t,`partial`)),this.options.compat&&(i.depths=`depths`),i=this.objectLiteral(i),r.push(i),this.push(this.source.functionCall(`container.invokePartial`,``,r))},assignToHash:function(e){var t=this.popStack(),n=void 0,r=void 0,i=void 0;this.trackIds&&(i=this.popStack()),this.stringParams&&(r=this.popStack(),n=this.popStack());var a=this.hash;n&&(a.contexts[e]=n),r&&(a.types[e]=r),i&&(a.ids[e]=i),a.values[e]=t},pushId:function(e,t,n){e===`BlockParam`?this.pushStackLiteral(`blockParams[`+t[0]+`].path[`+t[1]+`]`+(n?` + `+JSON.stringify(`.`+n):``)):e===`PathExpression`?this.pushString(t):e===`SubExpression`?this.pushStackLiteral(`true`):this.pushStackLiteral(`null`)},compiler:c,compileChildren:function(e,t){for(var n=e.children,r=void 0,i=void 0,a=0,o=n.length;a<o;a++){r=n[a],i=new this.compiler;var s=this.matchExistingProgram(r);if(s==null){var c=this.context.programs.push(``)-1;r.index=c,r.name=`program`+c,this.context.programs[c]=i.compile(r,t,this.context,!this.precompile),this.context.decorators[c]=i.decorators,this.context.environments[c]=r,this.useDepths=this.useDepths||i.useDepths,this.useBlockParams=this.useBlockParams||i.useBlockParams,r.useDepths=this.useDepths,r.useBlockParams=this.useBlockParams}else r.index=s.index,r.name=`program`+s.index,this.useDepths=this.useDepths||s.useDepths,this.useBlockParams=this.useBlockParams||s.useBlockParams}},matchExistingProgram:function(e){for(var t=0,n=this.context.environments.length;t<n;t++){var r=this.context.environments[t];if(r&&r.equals(e))return r}},programExpression:function(e){var t=this.environment.children[e],n=[t.index,`data`,t.blockParams];return(this.useBlockParams||this.useDepths)&&n.push(`blockParams`),this.useDepths&&n.push(`depths`),`container.program(`+n.join(`, `)+`)`},useRegister:function(e){this.registers[e]||(this.registers[e]=!0,this.registers.list.push(e))},push:function(e){return e instanceof s||(e=this.source.wrap(e)),this.inlineStack.push(e),e},pushStackLiteral:function(e){this.push(new s(e))},pushSource:function(e){this.pendingContent&&=(this.source.push(this.appendToBuffer(this.source.quotedString(this.pendingContent),this.pendingLocation)),void 0),e&&this.source.push(e)},replaceStack:function(e){var t=[`(`],n=void 0,r=void 0,a=void 0;if(!this.isInline())throw new i.default(`replaceStack on non-inline`);var o=this.popStack(!0);if(o instanceof s)n=[o.value],t=[`(`,n],a=!0;else{r=!0;var c=this.incrStack();t=[`((`,this.push(c),` = `,o,`)`],n=this.topStack()}var l=e.call(this,n);a||this.popStack(),r&&this.stackSlot--,this.push(t.concat(l,`)`))},incrStack:function(){return this.stackSlot++,this.stackSlot>this.stackVars.length&&this.stackVars.push(`stack`+this.stackSlot),this.topStackName()},topStackName:function(){return`stack`+this.stackSlot},flushInline:function(){var e=this.inlineStack;this.inlineStack=[];for(var t=0,n=e.length;t<n;t++){var r=e[t];if(r instanceof s)this.compileStack.push(r);else{var i=this.incrStack();this.pushSource([i,` = `,r,`;`]),this.compileStack.push(i)}}},isInline:function(){return this.inlineStack.length},popStack:function(e){var t=this.isInline(),n=(t?this.inlineStack:this.compileStack).pop();if(!e&&n instanceof s)return n.value;if(!t){if(!this.stackSlot)throw new i.default(`Invalid stack pop`);this.stackSlot--}return n},topStack:function(){var e=this.isInline()?this.inlineStack:this.compileStack,t=e[e.length-1];return t instanceof s?t.value:t},contextName:function(e){return this.useDepths&&e?`depths[`+e+`]`:`depth`+e},quotedString:function(e){return this.source.quotedString(e)},objectLiteral:function(e){return this.source.objectLiteral(e)},aliasable:function(e){var t=this.aliases[e];return t?(t.referenceCount++,t):(t=this.aliases[e]=this.source.wrap(e),t.aliasable=!0,t.referenceCount=1,t)},setupHelper:function(e,t,n){var r=[];return{params:r,paramsInit:this.setupHelperArgs(t,e,r,n),name:this.nameLookup(`helpers`,t,`helper`),callParams:[this.aliasable(this.contextName(0)+` != null ? `+this.contextName(0)+` : (container.nullContext || {})`)].concat(r)}},setupParams:function(e,t,n){var r={},i=[],a=[],o=[],s=!n,c=void 0;s&&(n=[]),r.name=this.quotedString(e),r.hash=this.popStack(),this.trackIds&&(r.hashIds=this.popStack()),this.stringParams&&(r.hashTypes=this.popStack(),r.hashContexts=this.popStack());var l=this.popStack(),u=this.popStack();(u||l)&&(r.fn=u||`container.noop`,r.inverse=l||`container.noop`);for(var d=t;d--;)c=this.popStack(),n[d]=c,this.trackIds&&(o[d]=this.popStack()),this.stringParams&&(a[d]=this.popStack(),i[d]=this.popStack());return s&&(r.args=this.source.generateArray(n)),this.trackIds&&(r.ids=this.source.generateArray(o)),this.stringParams&&(r.types=this.source.generateArray(a),r.contexts=this.source.generateArray(i)),this.options.data&&(r.data=`data`),this.useBlockParams&&(r.blockParams=`blockParams`),r},setupHelperArgs:function(e,t,n,r){var i=this.setupParams(e,t,n);return i.loc=JSON.stringify(this.source.currentLocation),i=this.objectLiteral(i),r?(this.useRegister(`options`),n.push(`options`),[`options=`,i]):n?(n.push(i),``):i}},(function(){for(var e=`break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield await null true false`.split(` `),t=c.RESERVED_WORDS={},n=0,r=e.length;n<r;n++)t[e[n]]=!0})(),c.isValidJavaScriptVariableName=function(e){return!c.RESERVED_WORDS[e]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(e)};function l(e,t,n,r,i){var a=t.popStack(),o=n.length;e&&o--;for(var s=r;s<o;s++)a=t.nameLookup(a,n[s],i);return e?[t.aliasable(`container.strict`),`(`,a,`, `,t.quotedString(n[o]),`, `,JSON.stringify(t.source.currentLocation),` )`]:a}e.default=c,t.exports=e.default})),YD=o(((e,t)=>{e.__esModule=!0;function n(e){return e&&e.__esModule?e:{default:e}}var r=n(OD()),i=n(kD()),a=PD(),o=FD(),s=n(JD()),c=n(jD()),l=n(DD()),u=r.default.create;function d(){var e=u();return e.compile=function(t,n){return o.compile(t,n,e)},e.precompile=function(t,n){return o.precompile(t,n,e)},e.AST=i.default,e.Compiler=o.Compiler,e.JavaScriptCompiler=s.default,e.Parser=a.parser,e.parse=a.parse,e.parseWithoutProcessing=a.parseWithoutProcessing,e}var f=d();f.create=d,l.default(f),f.Visitor=c.default,f.default=f,e.default=f,t.exports=e.default})),XD=o(((e,t)=>{var n=1/0,r=`[object Symbol]`,i=/[\\^$.*+?()[\]{}|]/g,a=RegExp(i.source),o=typeof global==`object`&&global&&global.Object===Object&&global,s=typeof self==`object`&&self&&self.Object===Object&&self,c=o||s||Function(`return this`)(),l=Object.prototype.toString,u=c.Symbol,d=u?u.prototype:void 0,f=d?d.toString:void 0;function p(e){if(typeof e==`string`)return e;if(h(e))return f?f.call(e):``;var t=e+``;return t==`0`&&1/e==-n?`-0`:t}function m(e){return!!e&&typeof e==`object`}function h(e){return typeof e==`symbol`||m(e)&&l.call(e)==r}function g(e){return e==null?``:p(e)}function _(e){return e=g(e),e&&a.test(e)?e.replace(i,`\\$&`):e}t.exports=_})),ZD=o(((e,t)=>{t.exports=TypeError})),QD=o(((e,t)=>{t.exports={}})),$D=o(((e,t)=>{var n=typeof Map==`function`&&Map.prototype,r=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,`size`):null,i=n&&r&&typeof r.get==`function`?r.get:null,a=n&&Map.prototype.forEach,o=typeof Set==`function`&&Set.prototype,s=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Set.prototype,`size`):null,c=o&&s&&typeof s.get==`function`?s.get:null,l=o&&Set.prototype.forEach,u=typeof WeakMap==`function`&&WeakMap.prototype?WeakMap.prototype.has:null,d=typeof WeakSet==`function`&&WeakSet.prototype?WeakSet.prototype.has:null,f=typeof WeakRef==`function`&&WeakRef.prototype?WeakRef.prototype.deref:null,p=Boolean.prototype.valueOf,m=Object.prototype.toString,h=Function.prototype.toString,g=String.prototype.match,_=String.prototype.slice,v=String.prototype.replace,y=String.prototype.toUpperCase,b=String.prototype.toLowerCase,x=RegExp.prototype.test,S=Array.prototype.concat,C=Array.prototype.join,ee=Array.prototype.slice,w=Math.floor,T=typeof BigInt==`function`?BigInt.prototype.valueOf:null,te=Object.getOwnPropertySymbols,ne=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?Symbol.prototype.toString:null,re=typeof Symbol==`function`&&typeof Symbol.iterator==`object`,ie=typeof Symbol==`function`&&Symbol.toStringTag?Symbol.toStringTag:null,ae=Object.prototype.propertyIsEnumerable,oe=(typeof Reflect==`function`?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function se(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||x.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e==`number`){var r=e<0?-w(-e):w(e);if(r!==e){var i=String(r),a=_.call(t,i.length+1);return v.call(i,n,`$&_`)+`.`+v.call(v.call(a,/([0-9]{3})/g,`$&_`),/_$/,``)}}return v.call(t,n,`$&_`)}var ce=QD(),le=ce.custom,ue=be(le)?le:null,de={__proto__:null,double:`"`,single:`'`},fe={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};t.exports=function e(t,n,r,o){var s=n||{};if(Ce(s,`quoteStyle`)&&!Ce(de,s.quoteStyle))throw TypeError(`option "quoteStyle" must be "single" or "double"`);if(Ce(s,`maxStringLength`)&&(typeof s.maxStringLength==`number`?s.maxStringLength<0&&s.maxStringLength!==1/0:s.maxStringLength!==null))throw TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=Ce(s,`customInspect`)?s.customInspect:!0;if(typeof u!=`boolean`&&u!==`symbol`)throw TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Ce(s,`indent`)&&s.indent!==null&&s.indent!==` `&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Ce(s,`numericSeparator`)&&typeof s.numericSeparator!=`boolean`)throw TypeError('option "numericSeparator", if provided, must be `true` or `false`');var d=s.numericSeparator;if(t===void 0)return`undefined`;if(t===null)return`null`;if(typeof t==`boolean`)return t?`true`:`false`;if(typeof t==`string`)return Me(t,s);if(typeof t==`number`){if(t===0)return 1/0/t>0?`0`:`-0`;var f=String(t);return d?se(t,f):f}if(typeof t==`bigint`){var m=String(t)+`n`;return d?se(t,m):m}var h=s.depth===void 0?5:s.depth;if(r===void 0&&(r=0),r>=h&&h>0&&typeof t==`object`)return D(t)?`[Array]`:`[Object]`;var g=Le(s,r);if(o===void 0)o=[];else if(Ee(o,t)>=0)return`[Circular]`;function y(t,n,i){if(n&&(o=ee.call(o),o.push(n)),i){var a={depth:s.depth};return Ce(s,`quoteStyle`)&&(a.quoteStyle=s.quoteStyle),e(t,a,r+1,o)}return e(t,s,r+1,o)}if(typeof t==`function`&&!O(t)){var x=Te(t),w=ze(t,y);return`[Function`+(x?`: `+x:` (anonymous)`)+`]`+(w.length>0?` { `+C.call(w,`, `)+` }`:``)}if(be(t)){var te=re?v.call(String(t),/^(Symbol\(.*\))_[^)]*$/,`$1`):ne.call(t);return typeof t==`object`&&!re?A(te):te}if(je(t)){for(var le=`<`+b.call(String(t.nodeName)),fe=t.attributes||[],E=0;E<fe.length;E++)le+=` `+fe[E].name+`=`+pe(me(fe[E].value),`double`,s);return le+=`>`,t.childNodes&&t.childNodes.length&&(le+=`...`),le+=`</`+b.call(String(t.nodeName))+`>`,le}if(D(t)){if(t.length===0)return`[]`;var Se=ze(t,y);return g&&!Ie(Se)?`[`+Re(Se,g)+`]`:`[ `+C.call(Se,`, `)+` ]`}if(ge(t)){var Ne=ze(t,y);return!(`cause`in Error.prototype)&&`cause`in t&&!ae.call(t,`cause`)?`{ [`+String(t)+`] `+C.call(S.call(`[cause]: `+y(t.cause),Ne),`, `)+` }`:Ne.length===0?`[`+String(t)+`]`:`{ [`+String(t)+`] `+C.call(Ne,`, `)+` }`}if(typeof t==`object`&&u){if(ue&&typeof t[ue]==`function`&&ce)return ce(t,{depth:h-r});if(u!==`symbol`&&typeof t.inspect==`function`)return t.inspect()}if(De(t)){var Be=[];return a&&a.call(t,function(e,n){Be.push(y(n,t,!0)+` => `+y(e,t))}),Fe(`Map`,i.call(t),Be,g)}if(ke(t)){var Ve=[];return l&&l.call(t,function(e){Ve.push(y(e,t))}),Fe(`Set`,c.call(t),Ve,g)}if(k(t))return Pe(`WeakMap`);if(Ae(t))return Pe(`WeakSet`);if(Oe(t))return Pe(`WeakRef`);if(ve(t))return A(y(Number(t)));if(xe(t))return A(y(T.call(t)));if(ye(t))return A(p.call(t));if(_e(t))return A(y(String(t)));if(typeof window<`u`&&t===window)return`{ [object Window] }`;if(typeof globalThis<`u`&&t===globalThis||typeof global<`u`&&t===global)return`{ [object globalThis] }`;if(!he(t)&&!O(t)){var He=ze(t,y),Ue=oe?oe(t)===Object.prototype:t instanceof Object||t.constructor===Object,We=t instanceof Object?``:`null prototype`,Ge=!Ue&&ie&&Object(t)===t&&ie in t?_.call(we(t),8,-1):We?`Object`:``,Ke=(Ue||typeof t.constructor!=`function`?``:t.constructor.name?t.constructor.name+` `:``)+(Ge||We?`[`+C.call(S.call([],Ge||[],We||[]),`: `)+`] `:``);return He.length===0?Ke+`{}`:g?Ke+`{`+Re(He,g)+`}`:Ke+`{ `+C.call(He,`, `)+` }`}return String(t)};function pe(e,t,n){var r=de[n.quoteStyle||t];return r+e+r}function me(e){return v.call(String(e),/"/g,`&quot;`)}function E(e){return!ie||!(typeof e==`object`&&(ie in e||e[ie]!==void 0))}function D(e){return we(e)===`[object Array]`&&E(e)}function he(e){return we(e)===`[object Date]`&&E(e)}function O(e){return we(e)===`[object RegExp]`&&E(e)}function ge(e){return we(e)===`[object Error]`&&E(e)}function _e(e){return we(e)===`[object String]`&&E(e)}function ve(e){return we(e)===`[object Number]`&&E(e)}function ye(e){return we(e)===`[object Boolean]`&&E(e)}function be(e){if(re)return e&&typeof e==`object`&&e instanceof Symbol;if(typeof e==`symbol`)return!0;if(!e||typeof e!=`object`||!ne)return!1;try{return ne.call(e),!0}catch{}return!1}function xe(e){if(!e||typeof e!=`object`||!T)return!1;try{return T.call(e),!0}catch{}return!1}var Se=Object.prototype.hasOwnProperty||function(e){return e in this};function Ce(e,t){return Se.call(e,t)}function we(e){return m.call(e)}function Te(e){if(e.name)return e.name;var t=g.call(h.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function Ee(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function De(e){if(!i||!e||typeof e!=`object`)return!1;try{i.call(e);try{c.call(e)}catch{return!0}return e instanceof Map}catch{}return!1}function k(e){if(!u||!e||typeof e!=`object`)return!1;try{u.call(e,u);try{d.call(e,d)}catch{return!0}return e instanceof WeakMap}catch{}return!1}function Oe(e){if(!f||!e||typeof e!=`object`)return!1;try{return f.call(e),!0}catch{}return!1}function ke(e){if(!c||!e||typeof e!=`object`)return!1;try{c.call(e);try{i.call(e)}catch{return!0}return e instanceof Set}catch{}return!1}function Ae(e){if(!d||!e||typeof e!=`object`)return!1;try{d.call(e,d);try{u.call(e,u)}catch{return!0}return e instanceof WeakSet}catch{}return!1}function je(e){return!e||typeof e!=`object`?!1:typeof HTMLElement<`u`&&e instanceof HTMLElement?!0:typeof e.nodeName==`string`&&typeof e.getAttribute==`function`}function Me(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r=`... `+n+` more character`+(n>1?`s`:``);return Me(_.call(e,0,t.maxStringLength),t)+r}var i=fe[t.quoteStyle||`single`];return i.lastIndex=0,pe(v.call(v.call(e,i,`\\$1`),/[\x00-\x1f]/g,Ne),`single`,t)}function Ne(e){var t=e.charCodeAt(0),n={8:`b`,9:`t`,10:`n`,12:`f`,13:`r`}[t];return n?`\\`+n:`\\x`+(t<16?`0`:``)+y.call(t.toString(16))}function A(e){return`Object(`+e+`)`}function Pe(e){return e+` { ? }`}function Fe(e,t,n,r){var i=r?Re(n,r):C.call(n,`, `);return e+` (`+t+`) {`+i+`}`}function Ie(e){for(var t=0;t<e.length;t++)if(Ee(e[t],`
66
66
  `)>=0)return!1;return!0}function Le(e,t){var n;if(e.indent===` `)n=` `;else if(typeof e.indent==`number`&&e.indent>0)n=C.call(Array(e.indent+1),` `);else return null;return{base:n,prev:C.call(Array(t+1),n)}}function Re(e,t){if(e.length===0)return``;var n=`
67
67
  `+t.prev+t.base;return n+C.call(e,`,`+n)+`
68
- `+t.prev}function ze(e,t){var n=D(e),r=[];if(n){r.length=e.length;for(var i=0;i<e.length;i++)r[i]=Ce(e,i)?t(e[i],e):``}var a=typeof te==`function`?te(e):[],o;if(re){o={};for(var s=0;s<a.length;s++)o[`$`+a[s]]=a[s]}for(var c in e)Ce(e,c)&&(n&&String(Number(c))===c&&c<e.length||re&&o[`$`+c]instanceof Symbol||(x.call(/[^\w$]/,c)?r.push(t(c,e)+`: `+t(e[c],e)):r.push(c+`: `+t(e[c],e))));if(typeof te==`function`)for(var l=0;l<a.length;l++)ae.call(e,a[l])&&r.push(`[`+t(a[l])+`]: `+t(e[a[l]],e));return r}})),eO=o(((e,t)=>{var n=$D(),r=ZD(),i=function(e,t,n){for(var r=e,i;(i=r.next)!=null;r=i)if(i.key===t)return r.next=i.next,n||(i.next=e.next,e.next=i),i},a=function(e,t){if(e){var n=i(e,t);return n&&n.value}},o=function(e,t,n){var r=i(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}},s=function(e,t){return e?!!i(e,t):!1},c=function(e,t){if(e)return i(e,t,!0)};t.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new r(`Side channel does not contain `+n(e))},delete:function(t){var n=e&&e.next,r=c(e,t);return r&&n&&n===r&&(e=void 0),!!r},get:function(t){return a(e,t)},has:function(t){return s(e,t)},set:function(t,n){e||={next:void 0},o(e,t,n)}};return t}})),tO=o(((e,t)=>{t.exports=Object})),nO=o(((e,t)=>{t.exports=Error})),rO=o(((e,t)=>{t.exports=EvalError})),iO=o(((e,t)=>{t.exports=RangeError})),aO=o(((e,t)=>{t.exports=ReferenceError})),oO=o(((e,t)=>{t.exports=SyntaxError})),sO=o(((e,t)=>{t.exports=URIError})),cO=o(((e,t)=>{t.exports=Math.abs})),lO=o(((e,t)=>{t.exports=Math.floor})),uO=o(((e,t)=>{t.exports=Math.max})),dO=o(((e,t)=>{t.exports=Math.min})),fO=o(((e,t)=>{t.exports=Math.pow})),pO=o(((e,t)=>{t.exports=Math.round})),mO=o(((e,t)=>{t.exports=Number.isNaN||function(e){return e!==e}})),hO=o(((e,t)=>{var n=mO();t.exports=function(e){return n(e)||e===0?e:e<0?-1:1}})),gO=o(((e,t)=>{t.exports=Object.getOwnPropertyDescriptor})),_O=o(((e,t)=>{var n=gO();if(n)try{n([],`length`)}catch{n=null}t.exports=n})),vO=o(((e,t)=>{var n=Object.defineProperty||!1;if(n)try{n({},`a`,{value:1})}catch{n=!1}t.exports=n})),yO=o(((e,t)=>{t.exports=function(){if(typeof Symbol!=`function`||typeof Object.getOwnPropertySymbols!=`function`)return!1;if(typeof Symbol.iterator==`symbol`)return!0;var e={},t=Symbol(`test`),n=Object(t);if(typeof t==`string`||Object.prototype.toString.call(t)!==`[object Symbol]`||Object.prototype.toString.call(n)!==`[object Symbol]`)return!1;var r=42;for(var i in e[t]=r,e)return!1;if(typeof Object.keys==`function`&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames==`function`&&Object.getOwnPropertyNames(e).length!==0)return!1;var a=Object.getOwnPropertySymbols(e);if(a.length!==1||a[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor==`function`){var o=Object.getOwnPropertyDescriptor(e,t);if(o.value!==r||o.enumerable!==!0)return!1}return!0}})),bO=o(((e,t)=>{var n=typeof Symbol<`u`&&Symbol,r=yO();t.exports=function(){return typeof n!=`function`||typeof Symbol!=`function`||typeof n(`foo`)!=`symbol`||typeof Symbol(`bar`)!=`symbol`?!1:r()}})),xO=o(((e,t)=>{t.exports=typeof Reflect<`u`&&Reflect.getPrototypeOf||null})),SO=o(((e,t)=>{t.exports=tO().getPrototypeOf||null})),CO=o(((e,t)=>{var n=`Function.prototype.bind called on incompatible `,r=Object.prototype.toString,i=Math.max,a=`[object Function]`,o=function(e,t){for(var n=[],r=0;r<e.length;r+=1)n[r]=e[r];for(var i=0;i<t.length;i+=1)n[i+e.length]=t[i];return n},s=function(e,t){for(var n=[],r=t||0,i=0;r<e.length;r+=1,i+=1)n[i]=e[r];return n},c=function(e,t){for(var n=``,r=0;r<e.length;r+=1)n+=e[r],r+1<e.length&&(n+=t);return n};t.exports=function(e){var t=this;if(typeof t!=`function`||r.apply(t)!==a)throw TypeError(n+t);for(var l=s(arguments,1),u,d=function(){if(this instanceof u){var n=t.apply(this,o(l,arguments));return Object(n)===n?n:this}return t.apply(e,o(l,arguments))},f=i(0,t.length-l.length),p=[],m=0;m<f;m++)p[m]=`$`+m;if(u=Function(`binder`,`return function (`+c(p,`,`)+`){ return binder.apply(this,arguments); }`)(d),t.prototype){var h=function(){};h.prototype=t.prototype,u.prototype=new h,h.prototype=null}return u}})),wO=o(((e,t)=>{var n=CO();t.exports=Function.prototype.bind||n})),TO=o(((e,t)=>{t.exports=Function.prototype.call})),EO=o(((e,t)=>{t.exports=Function.prototype.apply})),DO=o(((e,t)=>{t.exports=typeof Reflect<`u`&&Reflect&&Reflect.apply})),OO=o(((e,t)=>{var n=wO(),r=EO(),i=TO();t.exports=DO()||n.call(i,r)})),kO=o(((e,t)=>{var n=wO(),r=ZD(),i=TO(),a=OO();t.exports=function(e){if(e.length<1||typeof e[0]!=`function`)throw new r(`a function is required`);return a(n,i,e)}})),AO=o(((e,t)=>{var n=kO(),r=_O(),i;try{i=[].__proto__===Array.prototype}catch(e){if(!e||typeof e!=`object`||!(`code`in e)||e.code!==`ERR_PROTO_ACCESS`)throw e}var a=!!i&&r&&r(Object.prototype,`__proto__`),o=Object,s=o.getPrototypeOf;t.exports=a&&typeof a.get==`function`?n([a.get]):typeof s==`function`?function(e){return s(e==null?e:o(e))}:!1})),jO=o(((e,t)=>{var n=xO(),r=SO(),i=AO();t.exports=n?function(e){return n(e)}:r?function(e){if(!e||typeof e!=`object`&&typeof e!=`function`)throw TypeError(`getProto: not an object`);return r(e)}:i?function(e){return i(e)}:null})),MO=o(((e,t)=>{var n=Function.prototype.call,r=Object.prototype.hasOwnProperty;t.exports=wO().call(n,r)})),NO=o(((e,t)=>{var n,r=tO(),i=nO(),a=rO(),o=iO(),s=aO(),c=oO(),l=ZD(),u=sO(),d=cO(),f=lO(),p=uO(),m=dO(),h=fO(),g=pO(),_=hO(),v=Function,y=function(e){try{return v(`"use strict"; return (`+e+`).constructor;`)()}catch{}},b=_O(),x=vO(),S=function(){throw new l},C=b?function(){try{return arguments.callee,S}catch{try{return b(arguments,`callee`).get}catch{return S}}}():S,ee=bO()(),w=jO(),T=SO(),te=xO(),ne=EO(),re=TO(),ie={},ae=typeof Uint8Array>`u`||!w?n:w(Uint8Array),oe={__proto__:null,"%AggregateError%":typeof AggregateError>`u`?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>`u`?n:ArrayBuffer,"%ArrayIteratorPrototype%":ee&&w?w([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":ie,"%AsyncGenerator%":ie,"%AsyncGeneratorFunction%":ie,"%AsyncIteratorPrototype%":ie,"%Atomics%":typeof Atomics>`u`?n:Atomics,"%BigInt%":typeof BigInt>`u`?n:BigInt,"%BigInt64Array%":typeof BigInt64Array>`u`?n:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>`u`?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>`u`?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":i,"%eval%":eval,"%EvalError%":a,"%Float16Array%":typeof Float16Array>`u`?n:Float16Array,"%Float32Array%":typeof Float32Array>`u`?n:Float32Array,"%Float64Array%":typeof Float64Array>`u`?n:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>`u`?n:FinalizationRegistry,"%Function%":v,"%GeneratorFunction%":ie,"%Int8Array%":typeof Int8Array>`u`?n:Int8Array,"%Int16Array%":typeof Int16Array>`u`?n:Int16Array,"%Int32Array%":typeof Int32Array>`u`?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":ee&&w?w(w([][Symbol.iterator]())):n,"%JSON%":typeof JSON==`object`?JSON:n,"%Map%":typeof Map>`u`?n:Map,"%MapIteratorPrototype%":typeof Map>`u`||!ee||!w?n:w(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":r,"%Object.getOwnPropertyDescriptor%":b,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>`u`?n:Promise,"%Proxy%":typeof Proxy>`u`?n:Proxy,"%RangeError%":o,"%ReferenceError%":s,"%Reflect%":typeof Reflect>`u`?n:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>`u`?n:Set,"%SetIteratorPrototype%":typeof Set>`u`||!ee||!w?n:w(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>`u`?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":ee&&w?w(``[Symbol.iterator]()):n,"%Symbol%":ee?Symbol:n,"%SyntaxError%":c,"%ThrowTypeError%":C,"%TypedArray%":ae,"%TypeError%":l,"%Uint8Array%":typeof Uint8Array>`u`?n:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>`u`?n:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>`u`?n:Uint16Array,"%Uint32Array%":typeof Uint32Array>`u`?n:Uint32Array,"%URIError%":u,"%WeakMap%":typeof WeakMap>`u`?n:WeakMap,"%WeakRef%":typeof WeakRef>`u`?n:WeakRef,"%WeakSet%":typeof WeakSet>`u`?n:WeakSet,"%Function.prototype.call%":re,"%Function.prototype.apply%":ne,"%Object.defineProperty%":x,"%Object.getPrototypeOf%":T,"%Math.abs%":d,"%Math.floor%":f,"%Math.max%":p,"%Math.min%":m,"%Math.pow%":h,"%Math.round%":g,"%Math.sign%":_,"%Reflect.getPrototypeOf%":te};if(w)try{null.error}catch(e){oe[`%Error.prototype%`]=w(w(e))}var se=function e(t){var n;if(t===`%AsyncFunction%`)n=y(`async function () {}`);else if(t===`%GeneratorFunction%`)n=y(`function* () {}`);else if(t===`%AsyncGeneratorFunction%`)n=y(`async function* () {}`);else if(t===`%AsyncGenerator%`){var r=e(`%AsyncGeneratorFunction%`);r&&(n=r.prototype)}else if(t===`%AsyncIteratorPrototype%`){var i=e(`%AsyncGenerator%`);i&&w&&(n=w(i.prototype))}return oe[t]=n,n},ce={__proto__:null,"%ArrayBufferPrototype%":[`ArrayBuffer`,`prototype`],"%ArrayPrototype%":[`Array`,`prototype`],"%ArrayProto_entries%":[`Array`,`prototype`,`entries`],"%ArrayProto_forEach%":[`Array`,`prototype`,`forEach`],"%ArrayProto_keys%":[`Array`,`prototype`,`keys`],"%ArrayProto_values%":[`Array`,`prototype`,`values`],"%AsyncFunctionPrototype%":[`AsyncFunction`,`prototype`],"%AsyncGenerator%":[`AsyncGeneratorFunction`,`prototype`],"%AsyncGeneratorPrototype%":[`AsyncGeneratorFunction`,`prototype`,`prototype`],"%BooleanPrototype%":[`Boolean`,`prototype`],"%DataViewPrototype%":[`DataView`,`prototype`],"%DatePrototype%":[`Date`,`prototype`],"%ErrorPrototype%":[`Error`,`prototype`],"%EvalErrorPrototype%":[`EvalError`,`prototype`],"%Float32ArrayPrototype%":[`Float32Array`,`prototype`],"%Float64ArrayPrototype%":[`Float64Array`,`prototype`],"%FunctionPrototype%":[`Function`,`prototype`],"%Generator%":[`GeneratorFunction`,`prototype`],"%GeneratorPrototype%":[`GeneratorFunction`,`prototype`,`prototype`],"%Int8ArrayPrototype%":[`Int8Array`,`prototype`],"%Int16ArrayPrototype%":[`Int16Array`,`prototype`],"%Int32ArrayPrototype%":[`Int32Array`,`prototype`],"%JSONParse%":[`JSON`,`parse`],"%JSONStringify%":[`JSON`,`stringify`],"%MapPrototype%":[`Map`,`prototype`],"%NumberPrototype%":[`Number`,`prototype`],"%ObjectPrototype%":[`Object`,`prototype`],"%ObjProto_toString%":[`Object`,`prototype`,`toString`],"%ObjProto_valueOf%":[`Object`,`prototype`,`valueOf`],"%PromisePrototype%":[`Promise`,`prototype`],"%PromiseProto_then%":[`Promise`,`prototype`,`then`],"%Promise_all%":[`Promise`,`all`],"%Promise_reject%":[`Promise`,`reject`],"%Promise_resolve%":[`Promise`,`resolve`],"%RangeErrorPrototype%":[`RangeError`,`prototype`],"%ReferenceErrorPrototype%":[`ReferenceError`,`prototype`],"%RegExpPrototype%":[`RegExp`,`prototype`],"%SetPrototype%":[`Set`,`prototype`],"%SharedArrayBufferPrototype%":[`SharedArrayBuffer`,`prototype`],"%StringPrototype%":[`String`,`prototype`],"%SymbolPrototype%":[`Symbol`,`prototype`],"%SyntaxErrorPrototype%":[`SyntaxError`,`prototype`],"%TypedArrayPrototype%":[`TypedArray`,`prototype`],"%TypeErrorPrototype%":[`TypeError`,`prototype`],"%Uint8ArrayPrototype%":[`Uint8Array`,`prototype`],"%Uint8ClampedArrayPrototype%":[`Uint8ClampedArray`,`prototype`],"%Uint16ArrayPrototype%":[`Uint16Array`,`prototype`],"%Uint32ArrayPrototype%":[`Uint32Array`,`prototype`],"%URIErrorPrototype%":[`URIError`,`prototype`],"%WeakMapPrototype%":[`WeakMap`,`prototype`],"%WeakSetPrototype%":[`WeakSet`,`prototype`]},le=wO(),ue=MO(),de=le.call(re,Array.prototype.concat),fe=le.call(ne,Array.prototype.splice),pe=le.call(re,String.prototype.replace),me=le.call(re,String.prototype.slice),E=le.call(re,RegExp.prototype.exec),D=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,he=/\\(\\)?/g,O=function(e){var t=me(e,0,1),n=me(e,-1);if(t===`%`&&n!==`%`)throw new c("invalid intrinsic syntax, expected closing `%`");if(n===`%`&&t!==`%`)throw new c("invalid intrinsic syntax, expected opening `%`");var r=[];return pe(e,D,function(e,t,n,i){r[r.length]=n?pe(i,he,`$1`):t||e}),r},ge=function(e,t){var n=e,r;if(ue(ce,n)&&(r=ce[n],n=`%`+r[0]+`%`),ue(oe,n)){var i=oe[n];if(i===ie&&(i=se(n)),i===void 0&&!t)throw new l(`intrinsic `+e+` exists, but is not available. Please file an issue!`);return{alias:r,name:n,value:i}}throw new c(`intrinsic `+e+` does not exist!`)};t.exports=function(e,t){if(typeof e!=`string`||e.length===0)throw new l(`intrinsic name must be a non-empty string`);if(arguments.length>1&&typeof t!=`boolean`)throw new l(`"allowMissing" argument must be a boolean`);if(E(/^%?[^%]*%?$/,e)===null)throw new c("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=O(e),r=n.length>0?n[0]:``,i=ge(`%`+r+`%`,t),a=i.name,o=i.value,s=!1,u=i.alias;u&&(r=u[0],fe(n,de([0,1],u)));for(var d=1,f=!0;d<n.length;d+=1){var p=n[d],m=me(p,0,1),h=me(p,-1);if((m===`"`||m===`'`||m==="`"||h===`"`||h===`'`||h==="`")&&m!==h)throw new c(`property names with quotes must have matching quotes`);if((p===`constructor`||!f)&&(s=!0),r+=`.`+p,a=`%`+r+`%`,ue(oe,a))o=oe[a];else if(o!=null){if(!(p in o)){if(!t)throw new l(`base intrinsic for `+e+` exists, but the property is not available.`);return}if(b&&d+1>=n.length){var g=b(o,p);f=!!g,o=f&&`get`in g&&!(`originalValue`in g.get)?g.get:o[p]}else f=ue(o,p),o=o[p];f&&!s&&(oe[a]=o)}}return o}})),PO=o(((e,t)=>{var n=NO(),r=kO(),i=r([n(`%String.prototype.indexOf%`)]);t.exports=function(e,t){var a=n(e,!!t);return typeof a==`function`&&i(e,`.prototype.`)>-1?r([a]):a}})),FO=o(((e,t)=>{var n=NO(),r=PO(),i=$D(),a=ZD(),o=n(`%Map%`,!0),s=r(`Map.prototype.get`,!0),c=r(`Map.prototype.set`,!0),l=r(`Map.prototype.has`,!0),u=r(`Map.prototype.delete`,!0),d=r(`Map.prototype.size`,!0);t.exports=!!o&&function(){var e,t={assert:function(e){if(!t.has(e))throw new a(`Side channel does not contain `+i(e))},delete:function(t){if(e){var n=u(e,t);return d(e)===0&&(e=void 0),n}return!1},get:function(t){if(e)return s(e,t)},has:function(t){return e?l(e,t):!1},set:function(t,n){e||=new o,c(e,t,n)}};return t}})),IO=o(((e,t)=>{var n=NO(),r=PO(),i=$D(),a=FO(),o=ZD(),s=n(`%WeakMap%`,!0),c=r(`WeakMap.prototype.get`,!0),l=r(`WeakMap.prototype.set`,!0),u=r(`WeakMap.prototype.has`,!0),d=r(`WeakMap.prototype.delete`,!0);t.exports=s?function(){var e,t,n={assert:function(e){if(!n.has(e))throw new o(`Side channel does not contain `+i(e))},delete:function(n){if(s&&n&&(typeof n==`object`||typeof n==`function`)){if(e)return d(e,n)}else if(a&&t)return t.delete(n);return!1},get:function(n){return s&&n&&(typeof n==`object`||typeof n==`function`)&&e?c(e,n):t&&t.get(n)},has:function(n){return s&&n&&(typeof n==`object`||typeof n==`function`)&&e?u(e,n):!!t&&t.has(n)},set:function(n,r){s&&n&&(typeof n==`object`||typeof n==`function`)?(e||=new s,l(e,n,r)):a&&(t||=a(),t.set(n,r))}};return n}:a})),LO=o(((e,t)=>{var n=ZD(),r=$D(),i=eO(),a=FO(),o=IO()||a||i;t.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new n(`Side channel does not contain `+r(e))},delete:function(t){return!!e&&e.delete(t)},get:function(t){return e&&e.get(t)},has:function(t){return!!e&&e.has(t)},set:function(t,n){e||=o(),e.set(t,n)}};return t}})),RO=o(((e,t)=>{var n=String.prototype.replace,r=/%20/g,i={RFC1738:`RFC1738`,RFC3986:`RFC3986`};t.exports={default:i.RFC3986,formatters:{RFC1738:function(e){return n.call(e,r,`+`)},RFC3986:function(e){return String(e)}},RFC1738:i.RFC1738,RFC3986:i.RFC3986}})),zO=o(((e,t)=>{var n=RO(),r=LO(),i=Object.prototype.hasOwnProperty,a=Array.isArray,o=r(),s=function(e,t){return o.set(e,t),e},c=function(e){return o.has(e)},l=function(e){return o.get(e)},u=function(e,t){o.set(e,t)},d=function(){for(var e=[],t=0;t<256;++t)e[e.length]=`%`+((t<16?`0`:``)+t.toString(16)).toUpperCase();return e}(),f=function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(a(n)){for(var r=[],i=0;i<n.length;++i)n[i]!==void 0&&(r[r.length]=n[i]);t.obj[t.prop]=r}}},p=function(e,t){for(var n=t&&t.plainObjects?{__proto__:null}:{},r=0;r<e.length;++r)e[r]!==void 0&&(n[r]=e[r]);return n},m=function e(t,n,r){if(!n)return t;if(typeof n!=`object`&&typeof n!=`function`){if(a(t)){var o=t.length;if(r&&typeof r.arrayLimit==`number`&&o>r.arrayLimit)return s(p(t.concat(n),r),o);t[o]=n}else if(t&&typeof t==`object`)if(c(t)){var d=l(t)+1;t[d]=n,u(t,d)}else if(r&&r.strictMerge)return[t,n];else (r&&(r.plainObjects||r.allowPrototypes)||!i.call(Object.prototype,n))&&(t[n]=!0);else return[t,n];return t}if(!t||typeof t!=`object`){if(c(n)){for(var f=Object.keys(n),m=r&&r.plainObjects?{__proto__:null,0:t}:{0:t},h=0;h<f.length;h++){var g=parseInt(f[h],10);m[g+1]=n[f[h]]}return s(m,l(n)+1)}var _=[t].concat(n);return r&&typeof r.arrayLimit==`number`&&_.length>r.arrayLimit?s(p(_,r),_.length-1):_}var v=t;return a(t)&&!a(n)&&(v=p(t,r)),a(t)&&a(n)?(n.forEach(function(n,a){if(i.call(t,a)){var o=t[a];o&&typeof o==`object`&&n&&typeof n==`object`?t[a]=e(o,n,r):t[t.length]=n}else t[a]=n}),t):Object.keys(n).reduce(function(t,a){var o=n[a];if(i.call(t,a)?t[a]=e(t[a],o,r):t[a]=o,c(n)&&!c(t)&&s(t,l(n)),c(t)){var d=parseInt(a,10);String(d)===a&&d>=0&&d>l(t)&&u(t,d)}return t},v)},h=function(e,t){return Object.keys(t).reduce(function(e,n){return e[n]=t[n],e},e)},g=function(e,t,n){var r=e.replace(/\+/g,` `);if(n===`iso-8859-1`)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch{return r}},_=1024;t.exports={arrayToObject:p,assign:h,combine:function(e,t,n,r){if(c(e)){var i=l(e)+1;return e[i]=t,u(e,i),e}var a=[].concat(e,t);return a.length>n?s(p(a,{plainObjects:r}),a.length-1):a},compact:function(e){for(var t=[{obj:{o:e},prop:`o`}],n=[],r=0;r<t.length;++r)for(var i=t[r],a=i.obj[i.prop],o=Object.keys(a),s=0;s<o.length;++s){var c=o[s],l=a[c];typeof l==`object`&&l&&n.indexOf(l)===-1&&(t[t.length]={obj:a,prop:c},n[n.length]=l)}return f(t),e},decode:g,encode:function(e,t,r,i,a){if(e.length===0)return e;var o=e;if(typeof e==`symbol`?o=Symbol.prototype.toString.call(e):typeof e!=`string`&&(o=String(e)),r===`iso-8859-1`)return escape(o).replace(/%u[0-9a-f]{4}/gi,function(e){return`%26%23`+parseInt(e.slice(2),16)+`%3B`});for(var s=``,c=0;c<o.length;c+=_){for(var l=o.length>=_?o.slice(c,c+_):o,u=[],f=0;f<l.length;++f){var p=l.charCodeAt(f);if(p===45||p===46||p===95||p===126||p>=48&&p<=57||p>=65&&p<=90||p>=97&&p<=122||a===n.RFC1738&&(p===40||p===41)){u[u.length]=l.charAt(f);continue}if(p<128){u[u.length]=d[p];continue}if(p<2048){u[u.length]=d[192|p>>6]+d[128|p&63];continue}if(p<55296||p>=57344){u[u.length]=d[224|p>>12]+d[128|p>>6&63]+d[128|p&63];continue}f+=1,p=65536+((p&1023)<<10|l.charCodeAt(f)&1023),u[u.length]=d[240|p>>18]+d[128|p>>12&63]+d[128|p>>6&63]+d[128|p&63]}s+=u.join(``)}return s},isBuffer:function(e){return!e||typeof e!=`object`?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isOverflow:c,isRegExp:function(e){return Object.prototype.toString.call(e)===`[object RegExp]`},markOverflow:s,maybeMap:function(e,t){if(a(e)){for(var n=[],r=0;r<e.length;r+=1)n[n.length]=t(e[r]);return n}return t(e)},merge:m}})),BO=o(((e,t)=>{var n=LO(),r=zO(),i=RO(),a=Object.prototype.hasOwnProperty,o={brackets:function(e){return e+`[]`},comma:`comma`,indices:function(e,t){return e+`[`+t+`]`},repeat:function(e){return e}},s=Array.isArray,c=Array.prototype.push,l=function(e,t){c.apply(e,s(t)?t:[t])},u=Date.prototype.toISOString,d=i.default,f={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:`indices`,charset:`utf-8`,charsetSentinel:!1,commaRoundTrip:!1,delimiter:`&`,encode:!0,encodeDotInKeys:!1,encoder:r.encode,encodeValuesOnly:!1,filter:void 0,format:d,formatter:i.formatters[d],indices:!1,serializeDate:function(e){return u.call(e)},skipNulls:!1,strictNullHandling:!1},p=function(e){return typeof e==`string`||typeof e==`number`||typeof e==`boolean`||typeof e==`symbol`||typeof e==`bigint`},m={},h=function e(t,i,a,o,c,u,d,h,g,_,v,y,b,x,S,C,ee,w){for(var T=t,te=w,ne=0,re=!1;(te=te.get(m))!==void 0&&!re;){var ie=te.get(t);if(ne+=1,ie!==void 0){if(ie===ne)throw RangeError(`Cyclic object value`);re=!0}te.get(m)===void 0&&(ne=0)}if(typeof _==`function`?T=_(i,T):T instanceof Date?T=b(T):a===`comma`&&s(T)&&(T=r.maybeMap(T,function(e){return e instanceof Date?b(e):e})),T===null){if(u)return S(g&&!C?g(i,f.encoder,ee,`key`,x):i);T=``}if(p(T)||r.isBuffer(T))return g?[S(C?i:g(i,f.encoder,ee,`key`,x))+`=`+S(g(T,f.encoder,ee,`value`,x))]:[S(i)+`=`+S(String(T))];var ae=[];if(T===void 0)return ae;var oe;if(a===`comma`&&s(T))C&&g&&(T=r.maybeMap(T,function(e){return e==null?e:g(e)})),oe=[{value:T.length>0?T.join(`,`)||null:void 0}];else if(s(_))oe=_;else{var se=Object.keys(T);oe=v?se.sort(v):se}var ce=h?String(i).replace(/\./g,`%2E`):String(i),le=o&&s(T)&&T.length===1?ce+`[]`:ce;if(c&&s(T)&&T.length===0)return le+`[]`;for(var ue=0;ue<oe.length;++ue){var de=oe[ue],fe=typeof de==`object`&&de&&de.value!==void 0?de.value:T[de];if(!(d&&fe===null)){var pe=y&&h?String(de).replace(/\./g,`%2E`):String(de),me=s(T)?typeof a==`function`?a(le,pe):le:le+(y?`.`+pe:`[`+pe+`]`);w.set(t,ne);var E=n();E.set(m,w),l(ae,e(fe,me,a,o,c,u,d,h,a===`comma`&&C&&s(T)?null:g,_,v,y,b,x,S,C,ee,E))}}return ae},g=function(e){if(!e)return f;if(e.allowEmptyArrays!==void 0&&typeof e.allowEmptyArrays!=`boolean`)throw TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(e.encodeDotInKeys!==void 0&&typeof e.encodeDotInKeys!=`boolean`)throw TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(e.encoder!==null&&e.encoder!==void 0&&typeof e.encoder!=`function`)throw TypeError(`Encoder has to be a function.`);var t=e.charset||f.charset;if(e.charset!==void 0&&e.charset!==`utf-8`&&e.charset!==`iso-8859-1`)throw TypeError(`The charset option must be either utf-8, iso-8859-1, or undefined`);var n=i.default;if(e.format!==void 0){if(!a.call(i.formatters,e.format))throw TypeError(`Unknown format option provided.`);n=e.format}var r=i.formatters[n],c=f.filter;(typeof e.filter==`function`||s(e.filter))&&(c=e.filter);var l=e.arrayFormat in o?e.arrayFormat:`indices`in e?e.indices?`indices`:`repeat`:f.arrayFormat;if(`commaRoundTrip`in e&&typeof e.commaRoundTrip!=`boolean`)throw TypeError("`commaRoundTrip` must be a boolean, or absent");var u=e.allowDots===void 0?e.encodeDotInKeys===!0?!0:f.allowDots:!!e.allowDots;return{addQueryPrefix:typeof e.addQueryPrefix==`boolean`?e.addQueryPrefix:f.addQueryPrefix,allowDots:u,allowEmptyArrays:typeof e.allowEmptyArrays==`boolean`?!!e.allowEmptyArrays:f.allowEmptyArrays,arrayFormat:l,charset:t,charsetSentinel:typeof e.charsetSentinel==`boolean`?e.charsetSentinel:f.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:e.delimiter===void 0?f.delimiter:e.delimiter,encode:typeof e.encode==`boolean`?e.encode:f.encode,encodeDotInKeys:typeof e.encodeDotInKeys==`boolean`?e.encodeDotInKeys:f.encodeDotInKeys,encoder:typeof e.encoder==`function`?e.encoder:f.encoder,encodeValuesOnly:typeof e.encodeValuesOnly==`boolean`?e.encodeValuesOnly:f.encodeValuesOnly,filter:c,format:n,formatter:r,serializeDate:typeof e.serializeDate==`function`?e.serializeDate:f.serializeDate,skipNulls:typeof e.skipNulls==`boolean`?e.skipNulls:f.skipNulls,sort:typeof e.sort==`function`?e.sort:null,strictNullHandling:typeof e.strictNullHandling==`boolean`?e.strictNullHandling:f.strictNullHandling}};t.exports=function(e,t){var r=e,i=g(t),a,c;typeof i.filter==`function`?(c=i.filter,r=c(``,r)):s(i.filter)&&(c=i.filter,a=c);var u=[];if(typeof r!=`object`||!r)return``;var d=o[i.arrayFormat],f=d===`comma`&&i.commaRoundTrip;a||=Object.keys(r),i.sort&&a.sort(i.sort);for(var p=n(),m=0;m<a.length;++m){var _=a[m];if(_!=null){var v=r[_];i.skipNulls&&v===null||l(u,h(v,_,d,f,i.allowEmptyArrays,i.strictNullHandling,i.skipNulls,i.encodeDotInKeys,i.encode?i.encoder:null,i.filter,i.sort,i.allowDots,i.serializeDate,i.format,i.formatter,i.encodeValuesOnly,i.charset,p))}}var y=u.join(i.delimiter),b=i.addQueryPrefix===!0?`?`:``;return i.charsetSentinel&&(i.charset===`iso-8859-1`?b+=`utf8=%26%2310003%3B`+i.delimiter:b+=`utf8=%E2%9C%93`+i.delimiter),y.length>0?b+y:``}})),VO=o(((e,t)=>{var n=zO(),r=Object.prototype.hasOwnProperty,i=Array.isArray,a={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:`utf-8`,charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:n.decode,delimiter:`&`,depth:5,duplicates:`combine`,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictMerge:!0,strictNullHandling:!1,throwOnLimitExceeded:!1},o=function(e){return e.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})},s=function(e,t,n){if(e&&typeof e==`string`&&t.comma&&e.indexOf(`,`)>-1)return e.split(`,`);if(t.throwOnLimitExceeded&&n>=t.arrayLimit)throw RangeError(`Array limit exceeded. Only `+t.arrayLimit+` element`+(t.arrayLimit===1?``:`s`)+` allowed in an array.`);return e},c=`utf8=%26%2310003%3B`,l=`utf8=%E2%9C%93`,u=function(e,t){var u={__proto__:null},d=t.ignoreQueryPrefix?e.replace(/^\?/,``):e;d=d.replace(/%5B/gi,`[`).replace(/%5D/gi,`]`);var f=t.parameterLimit===1/0?void 0:t.parameterLimit,p=d.split(t.delimiter,t.throwOnLimitExceeded&&f!==void 0?f+1:f);if(t.throwOnLimitExceeded&&f!==void 0&&p.length>f)throw RangeError(`Parameter limit exceeded. Only `+f+` parameter`+(f===1?``:`s`)+` allowed.`);var m=-1,h,g=t.charset;if(t.charsetSentinel)for(h=0;h<p.length;++h)p[h].indexOf(`utf8=`)===0&&(p[h]===l?g=`utf-8`:p[h]===c&&(g=`iso-8859-1`),m=h,h=p.length);for(h=0;h<p.length;++h)if(h!==m){var _=p[h],v=_.indexOf(`]=`),y=v===-1?_.indexOf(`=`):v+1,b,x;if(y===-1?(b=t.decoder(_,a.decoder,g,`key`),x=t.strictNullHandling?null:``):(b=t.decoder(_.slice(0,y),a.decoder,g,`key`),b!==null&&(x=n.maybeMap(s(_.slice(y+1),t,i(u[b])?u[b].length:0),function(e){return t.decoder(e,a.decoder,g,`value`)}))),x&&t.interpretNumericEntities&&g===`iso-8859-1`&&(x=o(String(x))),_.indexOf(`[]=`)>-1&&(x=i(x)?[x]:x),t.comma&&i(x)&&x.length>t.arrayLimit){if(t.throwOnLimitExceeded)throw RangeError(`Array limit exceeded. Only `+t.arrayLimit+` element`+(t.arrayLimit===1?``:`s`)+` allowed in an array.`);x=n.combine([],x,t.arrayLimit,t.plainObjects)}if(b!==null){var S=r.call(u,b);S&&(t.duplicates===`combine`||_.indexOf(`[]=`)>-1)?u[b]=n.combine(u[b],x,t.arrayLimit,t.plainObjects):(!S||t.duplicates===`last`)&&(u[b]=x)}}return u},d=function(e,t,r,i){var a=0;if(e.length>0&&e[e.length-1]===`[]`){var o=e.slice(0,-1).join(``);a=Array.isArray(t)&&t[o]?t[o].length:0}for(var c=i?t:s(t,r,a),l=e.length-1;l>=0;--l){var u,d=e[l];if(d===`[]`&&r.parseArrays)u=n.isOverflow(c)?c:r.allowEmptyArrays&&(c===``||r.strictNullHandling&&c===null)?[]:n.combine([],c,r.arrayLimit,r.plainObjects);else{u=r.plainObjects?{__proto__:null}:{};var f=d.charAt(0)===`[`&&d.charAt(d.length-1)===`]`?d.slice(1,-1):d,p=r.decodeDotInKeys?f.replace(/%2E/g,`.`):f,m=parseInt(p,10),h=!isNaN(m)&&d!==p&&String(m)===p&&m>=0&&r.parseArrays;if(!r.parseArrays&&p===``)u={0:c};else if(h&&m<r.arrayLimit)u=[],u[m]=c;else if(h&&r.throwOnLimitExceeded)throw RangeError(`Array limit exceeded. Only `+r.arrayLimit+` element`+(r.arrayLimit===1?``:`s`)+` allowed in an array.`);else h?(u[m]=c,n.markOverflow(u,m)):p!==`__proto__`&&(u[p]=c)}c=u}return c},f=function(e,t){var n=t.allowDots?e.replace(/\.([^.[]+)/g,`[$1]`):e;if(t.depth<=0)return!t.plainObjects&&r.call(Object.prototype,n)&&!t.allowPrototypes?void 0:[n];var i=[],a=n.indexOf(`[`),o=a>=0?n.slice(0,a):n;if(o){if(!t.plainObjects&&r.call(Object.prototype,o)&&!t.allowPrototypes)return;i[i.length]=o}for(var s=n.length,c=a,l=0;c>=0&&l<t.depth;){for(var u=1,d=c+1,f=-1;d<s&&f<0;){var p=n.charCodeAt(d);p===91?u+=1:p===93&&(--u,u===0&&(f=d)),d+=1}if(f<0)return i[i.length]=`[`+n.slice(c)+`]`,i;var m=n.slice(c,f+1),h=m.slice(1,-1);if(!t.plainObjects&&r.call(Object.prototype,h)&&!t.allowPrototypes)return;i[i.length]=m,l+=1,c=n.indexOf(`[`,f+1)}if(c>=0){if(t.strictDepth===!0)throw RangeError(`Input depth exceeded depth option of `+t.depth+` and strictDepth is true`);i[i.length]=`[`+n.slice(c)+`]`}return i},p=function(e,t,n,r){if(e){var i=f(e,n);if(i)return d(i,t,n,r)}},m=function(e){if(!e)return a;if(e.allowEmptyArrays!==void 0&&typeof e.allowEmptyArrays!=`boolean`)throw TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(e.decodeDotInKeys!==void 0&&typeof e.decodeDotInKeys!=`boolean`)throw TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(e.decoder!==null&&e.decoder!==void 0&&typeof e.decoder!=`function`)throw TypeError(`Decoder has to be a function.`);if(e.charset!==void 0&&e.charset!==`utf-8`&&e.charset!==`iso-8859-1`)throw TypeError(`The charset option must be either utf-8, iso-8859-1, or undefined`);if(e.throwOnLimitExceeded!==void 0&&typeof e.throwOnLimitExceeded!=`boolean`)throw TypeError("`throwOnLimitExceeded` option must be a boolean");var t=e.charset===void 0?a.charset:e.charset,r=e.duplicates===void 0?a.duplicates:e.duplicates;if(r!==`combine`&&r!==`first`&&r!==`last`)throw TypeError(`The duplicates option must be either combine, first, or last`);return{allowDots:e.allowDots===void 0?e.decodeDotInKeys===!0?!0:a.allowDots:!!e.allowDots,allowEmptyArrays:typeof e.allowEmptyArrays==`boolean`?!!e.allowEmptyArrays:a.allowEmptyArrays,allowPrototypes:typeof e.allowPrototypes==`boolean`?e.allowPrototypes:a.allowPrototypes,allowSparse:typeof e.allowSparse==`boolean`?e.allowSparse:a.allowSparse,arrayLimit:typeof e.arrayLimit==`number`?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:typeof e.charsetSentinel==`boolean`?e.charsetSentinel:a.charsetSentinel,comma:typeof e.comma==`boolean`?e.comma:a.comma,decodeDotInKeys:typeof e.decodeDotInKeys==`boolean`?e.decodeDotInKeys:a.decodeDotInKeys,decoder:typeof e.decoder==`function`?e.decoder:a.decoder,delimiter:typeof e.delimiter==`string`||n.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:typeof e.depth==`number`||e.depth===!1?+e.depth:a.depth,duplicates:r,ignoreQueryPrefix:e.ignoreQueryPrefix===!0,interpretNumericEntities:typeof e.interpretNumericEntities==`boolean`?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:typeof e.parameterLimit==`number`?e.parameterLimit:a.parameterLimit,parseArrays:e.parseArrays!==!1,plainObjects:typeof e.plainObjects==`boolean`?e.plainObjects:a.plainObjects,strictDepth:typeof e.strictDepth==`boolean`?!!e.strictDepth:a.strictDepth,strictMerge:typeof e.strictMerge==`boolean`?!!e.strictMerge:a.strictMerge,strictNullHandling:typeof e.strictNullHandling==`boolean`?e.strictNullHandling:a.strictNullHandling,throwOnLimitExceeded:typeof e.throwOnLimitExceeded==`boolean`?e.throwOnLimitExceeded:!1}};t.exports=function(e,t){var r=m(t);if(e===``||e==null)return r.plainObjects?{__proto__:null}:{};for(var i=typeof e==`string`?u(e,r):e,a=r.plainObjects?{__proto__:null}:{},o=Object.keys(i),s=0;s<o.length;++s){var c=o[s],l=p(c,i[c],r,typeof e==`string`);a=n.merge(a,l,r)}return r.allowSparse===!0?a:n.compact(a)}})),HO=o(((e,t)=>{var n=BO(),r=VO();t.exports={formats:RO(),parse:r,stringify:n}})),UO;(function(e){e.Pop=`POP`,e.Push=`PUSH`,e.Replace=`REPLACE`})(UO||={});var WO;(function(e){e.data=`data`,e.deferred=`deferred`,e.redirect=`redirect`,e.error=`error`})(WO||={});var GO=[`post`,`put`,`patch`,`delete`];new Set(GO);var KO=[`get`,...GO];new Set(KO);var qO={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(?: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,[[`(?:(?:(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|7(?:[013-57-9]\\d|2[0-8]))\\d|3(?:(?:[0-3589]\\d|6[1-9]|7[0-35-9])\\d|4(?:[0-578]\\d|90)))\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|3\\d\\d)|(?:6[0-8]|[78]\\d)\\d{3}|9(?:[02-9]\\d{3}|1(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79])))))\\d{3}`,[9]],[`4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}`,[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]|22`],`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`,`[025-7]\\d{7}`,[8],[[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[025-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`,`[24-689]\\d{7}`,[8],[[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[24-689]`]]]],BL:[`590`,`00`,`590\\d{6}|(?:69|80|9\\d)\\d{7}`,[9],0,`0`,0,0,0,0,0,[[`590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}`],[`69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))\\d{4}`],[`80[0-5]\\d{6}`],0,0,0,0,0,[`9(?:(?:39[5-7]|76[018])\\d|475[0-5])\\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)?`,`8001\\d{5}|(?:[2-467]\\d|50)\\d{6}`,[8,9],[[`(\\d)(\\d{7})`,`$1 $2`,[`[235]|4[46]`]],[`(\\d{8})`,`$1`,[`[67]`]],[`(\\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-46-9]\\d\\d|5(?:[0-46-9]\\d|5[0-46-9]))\\d{8}|[1-9]\\d{9}|[3589]\\d{8}|[34]\\d{7}`,[8,9,10,11],[[`(\\d{4})(\\d{4})`,`$1-$2`,[`300|4(?:0[02]|37)`,`4(?:02|37)0|[34]00`]],[`(\\d{3})(\\d{2,3})(\\d{4})`,`$1 $2 $3`,[`(?:[358]|90)0`],`0$1`],[`(\\d{2})(\\d{4})(\\d{4})`,`$1 $2-$3`,[`(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]`],`($1)`],[`(\\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`,`[17]\\d{7}|[2-8]\\d{6}`,[7,8],[[`(\\d)(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[2-68]|7[246]`]],[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`1[67]|7`]]]],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-8]\\d|90)\\d{8}|3\\d{6}`,[7,10],0,`1`,0,0,0,0,0,[[`(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|90[25])[2-9]\\d{6}`,[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(?:00|2[125-9]|33|44|66|77|88)|622)[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-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}`,[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]\\d{8}|[1-68]\\d{6}`,[7,9],[[`(\\d{2})(\\d{2})(\\d{3})`,`$1 $2 $3`,[`88`],`0$1`],[`(\\d{2})(\\d{5})`,`$1 $2`,[`[1-6]`],`0$1`],[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`1`],`0$1`],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[89]`],`0$1`]],`0`],CF:[`236`,`00`,`(?:[27]\\d{3}|8776)\\d{4}`,[8],[[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[278]`]]]],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],[[`(\\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{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`44`]],[`(\\d)(\\d{4})(\\d{4})`,`$1 $2 $3`,[`2[1-36]`],`($1)`],[`(\\d)(\\d{4})(\\d{4})`,`$1 $2 $3`,[`9[2-9]`]],[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])`],`($1)`],[`(\\d{3})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`60|8`]],[`(\\d{4})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`1`]],[`(\\d{3})(\\d{3})(\\d{2})(\\d{3})`,`$1 $2 $3 $4`,[`60`]]]],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[127]\\d{8,9}|2\\d{9}(?:\\d{2})?|[12]\\d{6,7}|86\\d{6}|(?:1[03-689]\\d|6)\\d{7,9}|(?:[3-579]\\d|8[0-57-9])\\d{6,9}`,[7,8,9,10,11,12],[[`(\\d{2})(\\d{5,6})`,`$1 $2`,[`(?:10|2[0-57-9])[19]`,`(?:10|2[0-57-9])(?:10|9[56])`,`10(?:10|9[56])|2[0-57-9](?:100|9[56])`],`0$1`],[`(\\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])`,`(?:60\\d\\d|9101)\\d{6}|(?:1\\d|3)\\d{9}`,[10,11],[[`(\\d{3})(\\d{7})`,`$1 $2`,[`6`],`($1)`],[`(\\d{3})(\\d{7})`,`$1 $2`,[`3[0-357]|91`]],[`(\\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-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}`,[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],[[`(\\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]|31)`],`0$1`],[`(\\d{3})(\\d{8})`,`$1 $2`,[`18`],`0$1`],[`(\\d{3})(\\d{2})(\\d{7,8})`,`$1 $2 $3`,[`1(?:6[023]|7)`],`0$1`],[`(\\d{4})(\\d{2})(\\d{7})`,`$1 $2 $3`,[`15[279]`],`0$1`],[`(\\d{3})(\\d{2})(\\d{8})`,`$1 $2 $3`,[`15`],`0$1`]],`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,`528[89]`],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-579]\\d)\\d{7}`,[9],[[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[1-579]`],`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`,[`(?:1[49]|[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,0,0,0,[[`(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-35])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}`,[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`,`[56]94\\d{6}|(?:80|9\\d)\\d{7}`,[9],[[`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[56]|9[47]`],`0$1`],[`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[89]`],`0$1`]],`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`,`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{3}|800)\\d{5}`,[8,9],[[`(\\d{3})(\\d{5})`,`$1 $2`,[`8`],`0$1`],[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[235]`],`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`,`590\\d{6}|(?:69|80|9\\d)\\d{7}`,[9],[[`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[569]`],`0$1`],[`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`8`],`0$1`]],`0`,0,0,0,0,0,[[`590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}`],[`69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))\\d{4}`],[`80[0-5]\\d{6}`],0,0,0,0,0,[`9(?:(?:39[5-7]|76[018])\\d|475[0-5])\\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`,`(?:[24-69]\\d|3[0-79])\\d{7}|80\\d{5,7}|[1-79]\\d{7}|6\\d{5,6}`,[6,7,8,9],[[`(\\d{2})(\\d{2})(\\d{2,3})`,`$1 $2 $3`,[`6[01]`],`0$1`],[`(\\d{3})(\\d{2})(\\d{2,3})`,`$1 $2 $3`,[`8`],`0$1`],[`(\\d)(\\d{4})(\\d{3})`,`$1 $2 $3`,[`1`],`0$1`],[`(\\d{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`6|7[245]`],`0$1`],[`(\\d{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`9`],`0$1`],[`(\\d{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`[2-57]`],`0$1`],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`8`],`0$1`]],`0`],HT:[`509`,`00`,`(?:[2-489]\\d|55)\\d{6}`,[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]|8\\d)\\d{4}|[1-36])\\d{6}|00\\d{10}|[1-9]\\d{8,10}|[2-9]\\d{7}`,[7,8,9,10,11,12,13],[[`(\\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`,`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]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]`,`1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]`,`1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]`],`0$1`,1],[`(\\d{4})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807`,`1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]`,`1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]`],`0$1`,1],[`(\\d{5})(\\d{5})`,`$1 $2`,[`[6-9]`],`0$1`,1],[`(\\d{4})(\\d{2,4})(\\d{4})`,`$1 $2 $3`,[`1(?:6|8[06])`,`1(?:6|8[06]0)`],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,10}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?`,[6,7,8,9,10,11],[[`(\\d{2})(\\d{4,6})`,`$1 $2`,[`0[26]`]],[`(\\d{3})(\\d{3,6})`,`$1 $2`,[`0[13-57-9][0159]|8(?:03|4[17]|9[2-5])`,`0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))`]],[`(\\d{4})(\\d{2,6})`,`$1 $2`,[`0(?:[13-579][2-46-8]|8[236-8])`]],[`(\\d{4})(\\d{4})`,`$1 $2`,[`894`]],[`(\\d{2})(\\d{3,4})(\\d{4})`,`$1 $2 $3`,[`0[26]|5`]],[`(\\d{3})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`1(?:44|[679])|[378]|43`]],[`(\\d{3})(\\d{3,4})(\\d{4})`,`$1 $2 $3`,[`0[13-57-9][0159]|14`]],[`(\\d{2})(\\d{4})(\\d{5})`,`$1 $2 $3`,[`0[26]`]],[`(\\d{4})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`0`]],[`(\\d{3})(\\d{4})(\\d{4,5})`,`$1 $2 $3`,[`3`]]],0,0,0,0,0,0,[[`0669[0-79]\\d{1,6}|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}`],[`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]],0,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`,`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|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`,[`7`],`0$1`]],`0`],JP:[`81`,`010`,`00[1-9]\\d{6,14}|[257-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}`,[8,9,10,11,12,13,14,15,16,17],[[`(\\d{3})(\\d{3})(\\d{3})`,`$1-$2-$3`,[`(?:12|57|99)0`],`0$1`],[`(\\d{4})(\\d)(\\d{4})`,`$1-$2-$3`,[`1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])`,`1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]`,`1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]`],`0$1`],[`(\\d{2})(\\d{3})(\\d{4})`,`$1-$2-$3`,[`60`],`0$1`],[`(\\d)(\\d{4})(\\d{4})`,`$1-$2-$3`,[`[36]|4(?:2[09]|7[01])`,`[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))`],`0$1`],[`(\\d{2})(\\d{3})(\\d{4})`,`$1-$2-$3`,[`1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])`,`1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]`,`1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]`],`0$1`],[`(\\d{3})(\\d{2})(\\d{4})`,`$1-$2-$3`,[`[14]|[289][2-9]|5[3-9]|7[2-4679]`],`0$1`],[`(\\d{3})(\\d{3})(\\d{4})`,`$1-$2-$3`,[`800`],`0$1`],[`(\\d{2})(\\d{4})(\\d{4})`,`$1-$2-$3`,[`[257-9]`],`0$1`]],`0`,0,`(000[259]\\d{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`,`(?:33622|8\\d{8})\\d{5}|[78]\\d{9}`,[10,14],0,`8`,0,0,0,0,`33|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`,[`30[0135-9]`],`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-7]|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`,`(?:[245]\\d|33|77|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`,[`2(?:[0367]|4[3-8])`]],[`(\\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`,[`2(?:[0367]|4[3-8])`]],[`(\\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]`]]],0,0,`(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)`],LV:[`371`,`00`,`(?:[268]\\d|90)\\d{6}`,[8],[[`(\\d{2})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[269]|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{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`5[45]`],`0$1`],[`(\\d{4})(\\d{5})`,`$1-$2`,[`5(?:2[2-46-9]|3[3-9]|9)|8(?:0[89]|92)`],`0$1`],[`(\\d{2})(\\d{7})`,`$1-$2`,[`8`],`0$1`],[`(\\d{3})(\\d{6})`,`$1-$2`,[`[5-7]`],`0$1`]],`0`,0,0,0,0,0,[[`5(?:2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-7])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}`],[`(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-4]|5[01]|8[0-3]))\\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}`]]],MC:[`377`,`00`,`(?:[3489]|6\\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`,[`6`],`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`,`590\\d{6}|(?:69|80|9\\d)\\d{7}`,[9],0,`0`,0,0,0,0,0,[[`590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}`],[`69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))\\d{4}`],[`80[0-5]\\d{6}`],0,0,0,0,0,[`9(?:(?:39[5-7]|76[018])\\d|475[0-5])\\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`,[`[45]|6(?:0[23]|[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-6]`],`0$1`],[`(\\d)(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`[12]`],`0$1`],[`(\\d{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`[4-7]|8[1-35]`],`0$1`],[`(\\d)(\\d{3})(\\d{4,6})`,`$1 $2 $3`,[`9(?:2[0-4]|[35-9]|4[137-9])`],`0$1`],[`(\\d)(\\d{4})(\\d{4})`,`$1 $2 $3`,[`2`],`0$1`],[`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`8`],`0$1`],[`(\\d)(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3 $4`,[`92`],`0$1`],[`(\\d)(\\d{5})(\\d{4})`,`$1 $2 $3`,[`9`],`0$1`]],`0`],MN:[`976`,`001`,`[12]\\d{7,9}|[5-9]\\d{7}`,[8,9,10],[[`(\\d{2})(\\d{2})(\\d{4})`,`$1 $2 $3`,[`[12]1`],`0$1`],[`(\\d{4})(\\d{4})`,`$1 $2`,[`[5-9]`]],[`(\\d{3})(\\d{5,6})`,`$1 $2`,[`[12]2[1-3]`],`0$1`],[`(\\d{4})(\\d{5,6})`,`$1 $2`,[`[12](?:27|3[2-8]|4[2-68]|5[1-4689])`,`[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]`],`0$1`],[`(\\d{5})(\\d{4,5})`,`$1 $2`,[`[12]`],`0$1`]],`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`,`596\\d{6}|(?:69|80|9\\d)\\d{7}`,[9],[[`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[569]`],`0$1`],[`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`8`],`0$1`]],`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{3})(\\d{3})`,`$1 $2 $3`,[`2`],`0$1`],[`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[137-9]`],`0$1`]],`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`,`2[0-24-9]\\d{8}|[78]\\d{10,13}|[7-9]\\d{9}|[1-9]\\d{7}|[124-7]\\d{6}`,[7,8,10,11,12,13,14],[[`(\\d{2})(\\d{2})(\\d{3})`,`$1 $2 $3`,[`78`],`0$1`],[`(\\d)(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`[12]|9(?:0[3-9]|[1-9])`],`0$1`],[`(\\d{2})(\\d{3})(\\d{2,3})`,`$1 $2 $3`,[`[3-6]|7(?:0[0-689]|[1-79])|8[2-9]`],`0$1`],[`(\\d{3})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`[7-9]`],`0$1`],[`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`20[129]`],`0$1`],[`(\\d{4})(\\d{2})(\\d{4})`,`$1 $2 $3`,[`2`],`0$1`],[`(\\d{3})(\\d{4})(\\d{4,5})`,`$1 $2 $3`,[`[78]`],`0$1`],[`(\\d{3})(\\d{5})(\\d{5,6})`,`$1 $2 $3`,[`[78]`],`0$1`]],`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`,`(?:444|(?:55|8\\d)\\d|666)\\d{4}`,[7],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`[4-68]`]]]],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`,[`(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1`,`(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19`]],[`(\\d{3})(\\d{2})(\\d{2,3})`,`$1 $2 $3`,[`64`]],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)`]],[`(\\d{2})(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`1[2-8]|[2-7]|8[1-79]|9[145]`]],[`(\\d{3})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`8`]]]],PM:[`508`,`00`,`[45]\\d{5}|(?:708|80\\d)\\d{6}`,[6,9],[[`(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3`,[`[45]`],`0$1`],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`7`]],[`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`8`],`0$1`]],`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`,`59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,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`,[`[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]`],`(0$1)`],[`(\\d{3})(\\d{4,5})`,`$1 $2`,[`2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85`],`(0$1)`],[`(\\d{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]`],`(0$1)`],[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`87`]],[`(\\d{3})(\\d{6})`,`$1 $2`,[`9(?:[5-79]|8[1-7])`],`0$1`],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[2-8]`],`0$1`],[`(\\d{4})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`9`]]],`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[16]|8`]],[`(\\d{4})(\\d{4})`,`$1 $2`,[`[3-7]`]]]],RE:[`262`,`00`,`(?:26|[689]\\d)\\d{7}`,[9],[[`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[2689]`],`0$1`]],`0`,0,0,0,0,0,[[`26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}`],[`69(?:2\\d\\d|3(?:[06][0-6]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))\\d{4}`],[`80\\d{7}`],[`89[1-37-9]\\d{6}`],0,0,0,0,[`9(?:399[0-3]|479[0-5]|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,`3[04-689]|[489]`,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`,`92\\d{7}|(?:[15]|8\\d)\\d{8}`,[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{3,4})`,`$1 $2 $3`,[`81`],`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],[[`(\\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[0139]|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)(\\d{7})`,`$1 $2`,[`(?:2|90)4|[67]`]],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[348]|64|79|90`]],[`(\\d{2})(\\d{5,7})`,`$1 $2`,[`1|28|6[0-35-9]|77|9[2-9]`]]],`0`],SR:[`597`,`00`,`(?:[2-5]|68|[78]\\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-8]`]]]],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`,`[267]\\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`,[`[267]`]],[`(\\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-39]\\d{8}|[1-5]\\d{7}`,[8,9],[[`(\\d{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`[1-5]`],`0$1`,1],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`9`],`0$1`,1]],`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|[689]\\d|77)\\d{6}`,[8],[[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[26-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{8}`,[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`,[`[0-57-9]`]]],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-59]|61)`,`5(?:[0-59]|61[06])`,`5(?:[0-59]|61[06]1)`],`0$1`,1],[`(\\d{3})(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[24][1-8]|3[1-9]`],`(0$1)`,1],[`(\\d{3})(\\d{3})(\\d{6,7})`,`$1 $2 $3`,[`80`],`0$1`,1]],`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{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`[258]0`],`0$1`],[`(\\d)(\\d{3,4})(\\d{4})`,`$1 $2 $3`,[`[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]`,`[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]`],`0$1`],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[49]`],`0$1`],[`(\\d{2})(\\d{4})(\\d{4,5})`,`$1 $2 $3`,[`7`],`0$1`]],`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,[[`(?:3052(?:0[0-8]|[1-9]\\d)|5056(?:[0-35-9]\\d|4[468])|7302[0-4]\\d)\\d{4}|(?:305[3-9]|472[24]|505[2-57-9]|7306|983[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[013569]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}`],[``],[`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]|33|44|66|77|88)[2-9]\\d{6}`],0,0,0,[`305209\\d{4}`]]],UY:[`598`,`0(?:0|1[3-9]\\d)`,`0004\\d{2,9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}`,[6,7,8,9,10,11,12,13],[[`(\\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-79]\\d|88)\\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],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{7}|[16-8]\\d{6}`,[7,8,9,10],[[`(\\d{2})(\\d{5})`,`$1 $2`,[`80`],`0$1`,1],[`(\\d{4})(\\d{4,6})`,`$1 $2`,[`1`],0,1],[`(\\d{2})(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`6`],`0$1`,1],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[357-9]`],`0$1`,1],[`(\\d{2})(\\d{4})(\\d{4})`,`$1 $2 $3`,[`2[48]`],`0$1`,1],[`(\\d{3})(\\d{4})(\\d{3})`,`$1 $2 $3`,[`2`],`0$1`,1]],`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)\\d{4}|8\\d{5}(?:\\d{3})?`,[6,9],[[`(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3`,[`[478]`]],[`(\\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`,`(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}`,[9],0,`0`,0,0,0,0,0,[[`269(?: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])\\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|63|[79]\\d)\\d{7}`,[9],[[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[28]`],`0$1`],[`(\\d{2})(\\d{7})`,`$1 $2`,[`[79]`],`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}|[35-7]\\d{8}`,[9,12],[[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[35-7]`]]],0,0,0,0,0,0,[0,[`(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}`]]],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|51`]],[`(\\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})|50\\d{3})\\d{7}`,[7,8,9,10,12]],0,0,0,0,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 JO(e,t){var n=Array.prototype.slice.call(t);return n.push(qO),e.apply(this,n)}function YO(e,t){e=e.split(`-`),t=t.split(`-`);for(var n=e[0].split(`.`),r=t[0].split(`.`),i=0;i<3;i++){var a=Number(n[i]),o=Number(r[i]);if(a>o)return 1;if(o>a)return-1;if(!isNaN(a)&&isNaN(o))return 1;if(isNaN(a)&&!isNaN(o))return-1}return e[1]&&t[1]?e[1]>t[1]?1:e[1]<t[1]?-1:0:!e[1]&&t[1]?1:e[1]&&!t[1]?-1:0}var XO={}.constructor;function ZO(e){return e!=null&&e.constructor===XO}function QO(e){"@babel/helpers - typeof";return QO=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},QO(e)}function $O(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function ek(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function tk(e,t,n){return t&&ek(e.prototype,t),n&&ek(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var nk=`1.2.0`,rk=`1.7.35`,ik=` ext. `,ak=/^\d+$/,ok=function(){function e(t){$O(this,e),fk(t),this.metadata=t,hk.call(this,t)}return tk(e,[{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!0;if(this.nonGeographic()){if(this.nonGeographic()[e])return!0}else{var t=this.countryCallingCodes()[e];if(t&&t.length===1&&t[0]===`001`)return!0}}},{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,t){if(e&&ak.test(e)&&(t=e,e=null),e&&e!==`001`){if(!this.hasCountry(e))throw Error(`Unknown country: ${e}`);this.numberingPlan=new sk(this.getCountryMetadata(e),this)}else if(t){if(!this.hasCallingCode(t))throw Error(`Unknown calling code: ${t}`);this.numberingPlan=new sk(this.getNumberingPlanMetadata(t),this)}else this.numberingPlan=void 0;return this}},{key:`getCountryCodesForCallingCode`,value:function(e){var t=this.countryCallingCodes()[e];if(t)return t.length===1&&t[0].length===3?void 0:t}},{key:`getCountryCodeForCallingCode`,value:function(e){var t=this.getCountryCodesForCallingCode(e);if(t)return t[0]}},{key:`getNumberingPlanMetadata`,value:function(e){var t=this.getCountryCodeForCallingCode(e);if(t)return this.getCountryMetadata(t);if(this.nonGeographic()){var n=this.nonGeographic()[e];if(n)return n}else{var r=this.countryCallingCodes()[e];if(r&&r.length===1&&r[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}}]),e}(),sk=function(){function e(t,n){$O(this,e),this.globalMetadataObject=n,this.metadata=t,hk.call(this,n.metadata)}return tk(e,[{key:`callingCode`,value:function(){return this.metadata[0]}},{key:`getDefaultCountryMetadataForRegion`,value:function(){return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode())}},{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;return(this._getFormats(this.metadata)||this._getFormats(this.getDefaultCountryMetadataForRegion())||[]).map(function(t){return new ck(t,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.getDefaultCountryMetadataForRegion())}},{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.getDefaultCountryMetadataForRegion())}},{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?!1:!!this.types()}},{key:`type`,value:function(e){if(this.hasTypes()&&dk(this.types(),e))return new uk(dk(this.types(),e),this)}},{key:`ext`,value:function(){return this.v1||this.v2?ik:this.metadata[13]||ik}}]),e}(),ck=function(){function e(t,n){$O(this,e),this._format=t,this.metadata=n}return tk(e,[{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()&&!lk.test(this.nationalPrefixFormattingRule()))}},{key:`internationalFormat`,value:function(){return this._format[5]||this.format()}}]),e}(),lk=/^\(?\$1\)?$/,uk=function(){function e(t,n){$O(this,e),this.type=t,this.metadata=n}return tk(e,[{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()}}]),e}();function dk(e,t){switch(t){case`FIXED_LINE`:return e[0];case`MOBILE`:return e[1];case`TOLL_FREE`:return e[2];case`PREMIUM_RATE`:return e[3];case`PERSONAL_NUMBER`:return e[4];case`VOICEMAIL`:return e[5];case`UAN`:return e[6];case`PAGER`:return e[7];case`VOIP`:return e[8];case`SHARED_COST`:return e[9]}}function fk(e){if(!e)throw Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!ZO(e)||!ZO(e.countries))throw Error(`[libphonenumber-js] \`metadata\` argument was passed but it's not a valid metadata. Must be an object having \`.countries\` child object property. Got ${ZO(e)?`an object of shape: { `+Object.keys(e).join(`, `)+` }`:`a `+pk(e)+`: `+e}.`)}var pk=function(e){return QO(e)};function mk(e,t){if(t=new ok(t),t.hasCountry(e))return t.country(e).countryCallingCode();throw Error(`Unknown country: ${e}`)}function hk(e){var t=e.version;typeof t==`number`?(this.v1=t===1,this.v2=t===2,this.v3=t===3,this.v4=t===4):t?YO(t,nk)===-1?this.v2=!0:YO(t,rk)===-1?this.v3=!0:this.v4=!0:this.v1=!0}function gk(e){return new ok(e).getCountries()}function _k(){return JO(gk,arguments)}function vk(){return JO(mk,arguments)}var yk=l(YD(),1);XD(),HO(),J.TEXT,J.FULL_NAME,J.EMAILS,J.ADDRESS,J.LINKS,J.PHONES,J.RICH_TEXT,J.UUID;var bk=e=>/^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(e);Object.keys(gp).reduce((e,t)=>{let n=t.split(`-`)[0].toLowerCase();return(!e[n]||t===`en`)&&(e[n]=t),e},{});var xk=(e,t)=>{throw Error(t??`Didn't expect to get here.`)},Sk=new Set([`__proto__`,`constructor`,`prototype`]),Ck=(e,t)=>{if(!(0,E.isString)(t))return;let n=t.split(`.`),r=e;for(let e of n){if(!D(r)||!(0,E.isObject)(r)||Sk.has(e)||!Object.prototype.hasOwnProperty.call(r,e))return;r=r[e]}return r},wk=(e,t)=>(n,r)=>(0,E.isNonEmptyArray)(n)?n[e](e=>t(Ck(e,r))):!1,Tk=(e,t)=>(n,r,i)=>(0,E.isNonEmptyArray)(n)?n[e](e=>t(Ck(e,r),i)):!1,Ek=new ih;Ek.functions.isDefined=e=>D(e),Ek.functions.isNonEmptyString=e=>(0,E.isNonEmptyString)(e),Ek.functions.includes=(e,t)=>Array.isArray(e)&&e.includes(t),Ek.functions.arrayLength=e=>Array.isArray(e)?e.length:0,Ek.functions.every=wk(`every`,Boolean),Ek.functions.everyDefined=wk(`every`,D),Ek.functions.some=wk(`some`,Boolean),Ek.functions.someDefined=wk(`some`,D),Ek.functions.someNonEmptyString=wk(`some`,E.isNonEmptyString),Ek.functions.none=wk(`every`,e=>!e),Ek.functions.noneDefined=wk(`every`,e=>!D(e)),Ek.functions.everyEquals=Tk(`every`,(e,t)=>e===t),Ek.functions.someEquals=Tk(`some`,(e,t)=>e===t),Ek.functions.noneEquals=Tk(`every`,(e,t)=>e!==t),Ek.functions.includesEvery=Tk(`every`,(e,t)=>Array.isArray(e)&&e.includes(t)),Ek.functions.includesSome=Tk(`some`,(e,t)=>Array.isArray(e)&&e.includes(t)),Ek.functions.includesNone=Tk(`every`,(e,t)=>Array.isArray(e)&&!e.includes(t));var Dk=(e,t)=>{if(e===t)return!0;if(e&&t&&typeof e==`object`&&typeof t==`object`){if(e.constructor!==t.constructor)return!1;if(Array.isArray(e)){let n=e,r=t;if(n.length!==r.length)return!1;for(let e=n.length;e--!==0;)if(!Dk(n[e],r[e]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(let[n]of e.entries())if(!t.has(n))return!1;for(let[n,r]of e.entries())if(!Dk(r,t.get(n)))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;return!0}if(ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){let n=e,r=t;if(n.length!==r.length)return!1;for(let e=n.length;e--!==0;)if(n[e]!==r[e])return!1;return!0}if(e.constructor===RegExp){let n=e,r=t;return n.source===r.source&&n.flags===r.flags}if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let e=n.length;e--!==0;)if(!(n[e]in t))return!1;for(let r=n.length;r--!==0;){let i=n[r];if(!Dk(e[i],t[i]))return!1}return!0}return e!==e&&t!==t},Ok=(e,t)=>{if(!e)return t;if(!t)return e;let n={...e};return Object.keys(t).forEach(r=>{let i=e[r],a=t[r];if(a!==void 0){if(a===null){n[r]=null;return}if(Array.isArray(i)&&Array.isArray(a)){n[r]=[...i,...a];return}if(a instanceof Date||a instanceof RegExp||i instanceof Date||i instanceof RegExp){n[r]=a;return}if(i&&a&&typeof i==`object`&&typeof a==`object`&&!Array.isArray(i)&&!Array.isArray(a)){n[r]=Ok(i,a);return}n[r]=a}}),n},kk=class extends Error{constructor(e,t){super(e),this.code=t}},Ak=(e,t)=>{try{yk.default.registerHelper(`json`,e=>JSON.stringify(e));let n=e.replace(`{{`,`{{{ json `).replace(`}}`,` }}}`),r=yk.default.compile(n)(t,{helpers:{json:e=>JSON.stringify(e)}});return JSON.parse(r)}catch{return}};J.NUMBER,J.NUMERIC,J.CURRENCY,J.RATING,J.POSITION,new Set([`createdAt`,`updatedAt`]),new Set([J.RELATION,J.MORPH_RELATION]),J.TEXT,J.RICH_TEXT;var jk=e=>[Y.IS_EMPTY,Y.IS_NOT_EMPTY].includes(e),Mk=e=>{switch(e){case J.DATE_TIME:return`DATE_TIME`;case J.DATE:return`DATE`;case J.LINKS:return`LINKS`;case J.FULL_NAME:return`FULL_NAME`;case J.NUMBER:return`NUMBER`;case J.CURRENCY:return`CURRENCY`;case J.EMAILS:return`EMAILS`;case J.PHONES:return`PHONES`;case J.RELATION:return`RELATION`;case J.SELECT:return`SELECT`;case J.MULTI_SELECT:return`MULTI_SELECT`;case J.ADDRESS:return`ADDRESS`;case J.RATING:return`RATING`;case J.ACTOR:return`ACTOR`;case J.ARRAY:return`ARRAY`;case J.RAW_JSON:return`RAW_JSON`;case J.FILES:return`FILES`;case J.BOOLEAN:return`BOOLEAN`;case J.TS_VECTOR:return`TS_VECTOR`;case J.UUID:return`UUID`;default:return`TEXT`}},Nk=({recordFilterOperand:e,correspondingFieldMetadataItem:t})=>{if(!jk(e))return!1;let n=[`BOOLEAN`,`TS_VECTOR`],r=Mk(t.type);return!n.includes(r)},Pk=({recordFilter:e,correspondingFieldMetadataItem:t,subFieldName:n})=>{if((0,E.isNonEmptyString)(n))switch(n){case`primaryEmail`:switch(e.operand){case Y.CONTAINS:return{[t.name]:{primaryEmail:{ilike:`%${e.value}%`}}};case Y.DOES_NOT_CONTAIN:return{not:{[t.name]:{primaryEmail:{ilike:`%${e.value}%`}}}};default:throw Error(`Unknown operand ${e.operand} for ${t.type} filter`)}case`additionalEmails`:switch(e.operand){case Y.CONTAINS:return{[t.name]:{additionalEmails:{like:`%${e.value}%`}}};case Y.DOES_NOT_CONTAIN:return{or:[{not:{[t.name]:{additionalEmails:{like:`%${e.value}%`}}}},{[t.name]:{additionalEmails:{is:`NULL`}}}]};default:throw new kk(`Unknown operand ${e.operand} for ${t.type} filter`,`UNKNOWN_OPERAND_FOR_FILTER`)}default:throw new kk(`Unknown subfield name ${n}`,`UNKNOWN_SUBFIELD_NAME`)}switch(e.operand){case Y.CONTAINS:return{or:[{[t.name]:{primaryEmail:{ilike:`%${e.value}%`}}},{[t.name]:{additionalEmails:{like:`%${e.value}%`}}}]};case Y.DOES_NOT_CONTAIN:return{and:[{not:{[t.name]:{primaryEmail:{ilike:`%${e.value}%`}}}},{or:[{not:{[t.name]:{additionalEmails:{like:`%${e.value}%`}}}},{[t.name]:{additionalEmails:{is:`NULL`}}}]}]};default:throw Error(`Unknown operand ${e.operand} for ${t.type} filter`)}},Fk=({recordFilter:e,correspondingFieldMetadataItem:t,subFieldName:n})=>{if((0,E.isNonEmptyString)(n))switch(n){case`primaryLinkLabel`:case`primaryLinkUrl`:switch(e.operand){case Y.CONTAINS:return{[t.name]:{[n]:{ilike:`%${e.value}%`}}};case Y.DOES_NOT_CONTAIN:return{not:{[t.name]:{[n]:{ilike:`%${e.value}%`}}}};default:throw new kk(`Unknown operand ${e.operand} for ${t.type} filter`,`UNKNOWN_OPERAND_FOR_FILTER`)}case`secondaryLinks`:switch(e.operand){case Y.CONTAINS:return{[t.name]:{secondaryLinks:{like:`%${e.value}%`}}};case Y.DOES_NOT_CONTAIN:return{or:[{not:{[t.name]:{secondaryLinks:{like:`%${e.value}%`}}}},{[t.name]:{secondaryLinks:{is:`NULL`}}}]};default:throw Error(`Unknown operand ${e.operand} for ${t.type} filter`)}default:throw Error(`Unknown subfield name ${n}`)}switch(e.operand){case Y.CONTAINS:return{or:[{[t.name]:{primaryLinkUrl:{ilike:`%${e.value}%`}}},{[t.name]:{primaryLinkLabel:{ilike:`%${e.value}%`}}},{[t.name]:{secondaryLinks:{like:`%${e.value}%`}}}]};case Y.DOES_NOT_CONTAIN:return{and:[{not:{[t.name]:{primaryLinkLabel:{ilike:`%${e.value}%`}}}},{not:{[t.name]:{primaryLinkUrl:{ilike:`%${e.value}%`}}}},{or:[{not:{[t.name]:{secondaryLinks:{like:`%${e.value}%`}}}},{[t.name]:{secondaryLinks:{is:`NULL`}}}]}]};default:throw Error(`Unknown operand ${e.operand} for ${t.type} filter`)}},Ik=({recordFilter:e,correspondingFieldMetadataItem:t})=>{let n=e.subFieldName;if((0,E.isNonEmptyString)(n))switch(n){case`primaryEmail`:return{or:[{[t.name]:{primaryEmail:{eq:``}}},{[t.name]:{primaryEmail:{is:`NULL`}}}]};case`additionalEmails`:return{or:[{[t.name]:{additionalEmails:{is:`NULL`}}},{[t.name]:{additionalEmails:{like:`[]`}}}]};default:throw new kk(`Unknown subfield name ${n}`,`UNKNOWN_SUBFIELD_NAME`)}return{and:[{or:[{[t.name]:{primaryEmail:{eq:``}}},{[t.name]:{primaryEmail:{is:`NULL`}}}]},{or:[{[t.name]:{additionalEmails:{is:`NULL`}}},{[t.name]:{additionalEmails:{like:`[]`}}}]}]}},Lk=({recordFilter:e,correspondingFieldMetadataItem:t})=>{let n=e.subFieldName;if((0,E.isNonEmptyString)(n))switch(n){case`primaryLinkLabel`:return{or:[{[t.name]:{primaryLinkLabel:{eq:``}}},{[t.name]:{primaryLinkLabel:{is:`NULL`}}}]};case`primaryLinkUrl`:return{or:[{[t.name]:{primaryLinkUrl:{eq:``}}},{[t.name]:{primaryLinkUrl:{is:`NULL`}}}]};case`secondaryLinks`:return{or:[{[t.name]:{secondaryLinks:{is:`NULL`}}},{[t.name]:{secondaryLinks:{like:`[]`}}}]};default:throw new kk(`Unknown subfield name ${n}`,`UNKNOWN_SUBFIELD_NAME`)}return{and:[{or:[{[t.name]:{primaryLinkLabel:{eq:``}}},{[t.name]:{primaryLinkLabel:{is:`NULL`}}}]},{or:[{[t.name]:{primaryLinkUrl:{eq:``}}},{[t.name]:{primaryLinkUrl:{is:`NULL`}}}]},{or:[{[t.name]:{secondaryLinks:{is:`NULL`}}},{[t.name]:{secondaryLinks:{like:`[]`}}}]}]}},Rk=e=>{switch(e){case Y.IS_NOT_NULL:case Y.IS_EMPTY:case Y.IS_NOT_EMPTY:case Y.IS_IN_PAST:case Y.IS_IN_FUTURE:case Y.IS_TODAY:return!1;default:return!0}},zk=e=>Rk(e.operand)?D(e.value)&&e.value!==``&&e.value!==`[]`:!0;Object.entries(mp).map(([e,{label:t}])=>({value:e,label:`${t} (${e})`}));var Bk=e=>hp.filter(t=>+t.split(`_`)[1]>=e),Vk=e=>hp.filter(t=>+t.split(`_`)[1]<=e),Hk=e=>`RATING_${e}`,Uk=(e,t,n,r=!1)=>r?n.map(e=>({or:[{[t]:{[e]:{is:`NULL`}}},{[t]:{[e]:{ilike:``}}}]})):e.split(` `).reduce((e,r)=>[...e,...n.map(e=>({[t]:{[e]:{ilike:`%${r}%`}}}))],[]),Wk=({operand:e,correspondingField:t,recordFilter:n})=>{let r={},i=n.subFieldName,a=(0,E.isNonEmptyString)(i),o=Mk(t.type);switch(o){case`TEXT`:r={or:[{[t.name]:{ilike:``}},{[t.name]:{is:`NULL`}}]};break;case`PHONES`:if(!a)r={and:[{or:[{[t.name]:{primaryPhoneNumber:{is:`NULL`}}},{[t.name]:{primaryPhoneNumber:{ilike:``}}}]},{or:[{[t.name]:{additionalPhones:{is:`NULL`}}},{[t.name]:{additionalPhones:{like:`[]`}}}]}]};else switch(i){case`primaryPhoneNumber`:case`primaryPhoneCallingCode`:r={or:[{[t.name]:{[i]:{is:`NULL`}}},{[t.name]:{[i]:{ilike:``}}}]};break;case`additionalPhones`:r={or:[{[t.name]:{additionalPhones:{is:`NULL`}}},{[t.name]:{additionalPhones:{like:`[]`}}}]};break;default:throw Error(`Unsupported composite field name ${i} for filter type ${o}`)}break;case`CURRENCY`:r={or:[{[t.name]:{amountMicros:{is:`NULL`}}}]};break;case`FULL_NAME`:r=a?{or:[{[t.name]:{[i]:{ilike:``}}},{[t.name]:{[i]:{is:`NULL`}}}]}:{and:Uk(``,t.name,[`firstName`,`lastName`],!0)};break;case`LINKS`:r=Lk({correspondingFieldMetadataItem:t,recordFilter:n});break;case`ADDRESS`:r=a?{or:[{[t.name]:{[i]:{ilike:``}}},{[t.name]:{[i]:{is:`NULL`}}}]}:{and:[{or:[{[t.name]:{addressStreet1:{ilike:``}}},{[t.name]:{addressStreet1:{is:`NULL`}}}]},{or:[{[t.name]:{addressStreet2:{ilike:``}}},{[t.name]:{addressStreet2:{is:`NULL`}}}]},{or:[{[t.name]:{addressCity:{ilike:``}}},{[t.name]:{addressCity:{is:`NULL`}}}]},{or:[{[t.name]:{addressState:{ilike:``}}},{[t.name]:{addressState:{is:`NULL`}}}]},{or:[{[t.name]:{addressCountry:{ilike:``}}},{[t.name]:{addressCountry:{is:`NULL`}}}]},{or:[{[t.name]:{addressPostcode:{ilike:``}}},{[t.name]:{addressPostcode:{is:`NULL`}}}]}]};break;case`NUMBER`:r={[t.name]:{is:`NULL`}};break;case`RATING`:r={[t.name]:{is:`NULL`}};break;case`DATE`:case`DATE_TIME`:r={[t.name]:{is:`NULL`}};break;case`SELECT`:r={[t.name]:{is:`NULL`}};break;case`UUID`:r={[t.name]:{is:`NULL`}};break;case`MULTI_SELECT`:r={or:[{[t.name]:{is:`NULL`}},{[t.name]:{isEmptyArray:!0}}]};break;case`RELATION`:r={[t.name+`Id`]:{is:`NULL`}};break;case`ACTOR`:r={or:[{[t.name]:{name:{ilike:``}}},{[t.name]:{name:{is:`NULL`}}}]};break;case`ARRAY`:r={or:[{[t.name]:{is:`NULL`}},{[t.name]:{isEmptyArray:!0}}]};break;case`FILES`:case`RAW_JSON`:r={or:[{[t.name]:{is:`NULL`}}]};break;case`EMAILS`:r=Ik({correspondingFieldMetadataItem:t,recordFilter:n});break;default:throw new kk(`Unsupported empty filter type ${o}`,`UNSUPPORTED_EMPTY_FILTER_TYPE`)}switch(e){case Y.IS_EMPTY:return r;case Y.IS_NOT_EMPTY:return{not:r};default:throw new kk(`Unknown operand ${e} for ${o} filter`,`UNKNOWN_OPERAND_FOR_FILTER`)}},Gk=[Y.IS_EMPTY,Y.IS_NOT_EMPTY];[Y.IS,Y.IS_NOT,...Gk],[Y.GREATER_THAN_OR_EQUAL,Y.LESS_THAN_OR_EQUAL,Y.IS,Y.IS_NOT,...Gk];var Kk=[Y.IS_EMPTY,Y.IS_NOT_EMPTY],qk=[Y.IS,Y.IS_NOT];[Y.CONTAINS,Y.DOES_NOT_CONTAIN,...Kk],[Y.CONTAINS,Y.DOES_NOT_CONTAIN,...Kk],[Y.CONTAINS,Y.DOES_NOT_CONTAIN,...Kk],[Y.CONTAINS,Y.DOES_NOT_CONTAIN,...Kk],[Y.CONTAINS,Y.DOES_NOT_CONTAIN,...Kk],[Y.CONTAINS,Y.DOES_NOT_CONTAIN,...Kk],[Y.GREATER_THAN_OR_EQUAL,Y.LESS_THAN_OR_EQUAL,...Kk],[Y.IS,Y.IS_NOT,Y.GREATER_THAN_OR_EQUAL,Y.LESS_THAN_OR_EQUAL,...Kk],[Y.CONTAINS,Y.DOES_NOT_CONTAIN,...Kk],[Y.CONTAINS,Y.DOES_NOT_CONTAIN,...Kk],[Y.IS,Y.IS_RELATIVE,Y.IS_IN_PAST,Y.IS_IN_FUTURE,Y.IS_TODAY,Y.IS_BEFORE,Y.IS_AFTER,...Kk],[Y.IS,Y.IS_RELATIVE,Y.IS_IN_PAST,Y.IS_IN_FUTURE,Y.IS_TODAY,Y.IS_BEFORE,Y.IS_AFTER,...Kk],[Y.IS,Y.IS_NOT,Y.GREATER_THAN_OR_EQUAL,Y.LESS_THAN_OR_EQUAL,...Kk],[...qk,...Kk],[Y.CONTAINS,Y.DOES_NOT_CONTAIN,...Kk],[Y.IS,Y.IS_NOT,...Kk],[Y.CONTAINS,Y.DOES_NOT_CONTAIN,...Kk],[Y.CONTAINS,Y.DOES_NOT_CONTAIN,...Kk],Y.IS,Y.VECTOR_SEARCH,[Y.IS,Y.IS_NOT,...Kk],Y.IS,Y.IS_NOT,Y.IS_EMPTY,Y.IS_NOT_EMPTY;var Jk=(e,t,n)=>Object.values(pp[e]).includes(t)&&t===n;function Yk(e){"@babel/helpers - typeof";return Yk=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Yk(e)}var Xk=365.2425,Zk=3600*24;Zk*7,Zk*Xk/12*3;var Qk=Gl().transform(e=>e===``?[]:AA(e)?[e]:JSON.parse(e)).refine(e=>Array.isArray(e)&&e.every(e=>typeof e==`string`),{error:`Expected an array of strings`}),$k=Af(e=>{try{if(typeof e==`string`){if(AA(e))return[e];try{let t=JSON.parse(e);return Array.isArray(t)?t:[t]}catch{return[e]}}return Array.isArray(e)?e:[e]}catch{return[]}},md(Gl().refine(e=>bk(e)||AA(e),`Must be a valid UUID or a variable with {{ }} syntax`))).catch([]),eA=_d({isCurrentWorkspaceMemberSelected:qu().optional(),isCurrentRecordSelected:qu().optional(),selectedRecordIds:md(Gl())}),tA=Gl().transform((e,t)=>{try{return JSON.parse(e)}catch(e){return t.addIssue({code:`custom`,message:e.message}),he}}).pipe(eA),nA=({recordFilter:e,fieldMetadataItemById:t,filterValueDependencies:n})=>{let r=t.get(e.fieldMetadataId);if(D(r)&&zk(e)){if(r.type===J.RELATION&&D(e.relationTargetFieldMetadataId)){let i=t.get(e.relationTargetFieldMetadataId);if(!D(i))return;let a=rA({recordFilter:{...e,fieldMetadataId:i.id,relationTargetFieldMetadataId:null},fieldMetadataItem:i,filterValueDependencies:n});return D(a)?{[r.name]:a}:void 0}return rA({recordFilter:e,fieldMetadataItem:r,filterValueDependencies:n})}},rA=({recordFilter:e,fieldMetadataItem:t,filterValueDependencies:n})=>{if(Nk({recordFilterOperand:e.operand,correspondingFieldMetadataItem:t}))return Wk({operand:e.operand,correspondingField:t,recordFilter:e});let r=e.subFieldName,i=(0,E.isNonEmptyString)(r),a=Mk(t.type);switch(a){case`TEXT`:switch(e.operand){case Y.CONTAINS:return{[t.name]:{ilike:`%${e.value}%`}};case Y.DOES_NOT_CONTAIN:return{not:{[t.name]:{ilike:`%${e.value}%`}}};default:throw new kk(`Unknown operand ${e.operand} for ${a} filter`,`UNKNOWN_OPERAND_FOR_FILTER`)}case`TS_VECTOR`:switch(e.operand){case Y.VECTOR_SEARCH:return{[t.name]:{search:e.value}};default:throw Error(`Unknown operand ${e.operand} for ${a} filter`)}case`RAW_JSON`:switch(e.operand){case Y.CONTAINS:return{[t.name]:{like:`%${e.value}%`}};case Y.DOES_NOT_CONTAIN:return{not:{[t.name]:{like:`%${e.value}%`}}};default:throw Error(`Unknown operand ${e.operand} for ${a} filter`)}case`FILES`:switch(e.operand){case Y.CONTAINS:return{[t.name]:{like:`%${e.value}%`}};case Y.DOES_NOT_CONTAIN:return{not:{[t.name]:{like:`%${e.value}%`}}};default:throw Error(`Unknown operand ${e.operand} for ${a} filter`)}case`DATE`:if(e.operand===Y.IS_RELATIVE){let n=vA(e.value),r=yA({value:`PAST_1_DAY`,operand:Y.IS_RELATIVE});if(!r)throw Error(`Failed to resolve default date range`);let i=n?.start?.toString()??r.start,a=n?.end?.toString()??r.end;return{and:[{[t.name]:{gte:i}},{[t.name]:{lt:a}}]}}if(e.operand===Y.IS_TODAY||e.operand===Y.IS_IN_PAST||e.operand===Y.IS_IN_FUTURE){let r=oD.Now.plainDateISO(n.timeZone).toString();switch(e.operand){case Y.IS_IN_PAST:return{[t.name]:{lt:r}};case Y.IS_IN_FUTURE:return{[t.name]:{gte:r}};case Y.IS_TODAY:return{[t.name]:{eq:r}}}}else{let n=e.value;switch(e.operand){case Y.IS_AFTER:return{[t.name]:{gte:n}};case Y.IS_BEFORE:return{[t.name]:{lt:n}};case Y.IS:return{[t.name]:{eq:n}}}}throw Error(`Unknown operand ${e.operand} for ${a} filter`);case`DATE_TIME`:if(e.operand===Y.IS_RELATIVE){let r=SA(e),i=D(r)&&typeof r==`object`?r:null;if(!D(i))throw Error(`Cannot parse relative date filter : "${e.value}"`);let a=SA({value:`PAST_1_DAY;;${n.timeZone}`,operand:Y.IS_RELATIVE});if(!D(a?.start)||!D(a?.end))throw Error(`Failed to resolve default date range`);let o=i?.start??a.start,s=i?.end??a.end;return{and:[{[t.name]:{gte:o.toInstant().toString()}},{[t.name]:{lt:s.toInstant().toString()}}]}}if(e.operand===Y.IS_TODAY||e.operand===Y.IS_IN_PAST||e.operand===Y.IS_IN_FUTURE){let r=oD.Now.zonedDateTimeISO(n.timeZone);switch(e.operand){case Y.IS_IN_PAST:return{[t.name]:{lt:r.toInstant().round(`minute`).toString()}};case Y.IS_IN_FUTURE:return{[t.name]:{gt:r.toInstant().round(`minute`).toString()}};case Y.IS_TODAY:return{and:[{[t.name]:{gte:cA(r,`DAY`).toInstant().toString()}},{[t.name]:{lt:lA(r,`DAY`).toInstant().toString()}}]}}}else{if(!(0,E.isNonEmptyString)(e.value))throw Error(`Date filter is empty`);if(e.operand===Y.IS){let r=n.timeZone??`UTC`,i=null;try{i=e.value.includes(`T`)?oD.Instant.from(e.value).toZonedDateTimeISO(r).toPlainDate():oD.PlainDate.from(e.value)}catch{throw Error(`Cannot parse "${e.value}" for ${a} filter`)}let o=i.toZonedDateTime(r),s=o.toInstant(),c=o.add({days:1}).toInstant();return{and:[{[t.name]:{gte:s.toString()}},{[t.name]:{lt:c.toString()}}]}}let r=oD.Instant.from(e.value);switch(e.operand){case Y.IS_AFTER:return{[t.name]:{gte:r.toString()}};case Y.IS_BEFORE:return{[t.name]:{lt:r.toString()}}}}throw Error(`Unknown operand ${e.operand} for ${a} filter`);case`RATING`:switch(e.operand){case Y.IS:return{[t.name]:{eq:Hk(parseFloat(e.value))}};case Y.IS_NOT:return{not:{[t.name]:{eq:Hk(parseFloat(e.value))}}};case Y.GREATER_THAN_OR_EQUAL:return{[t.name]:{in:Bk(parseFloat(e.value))}};case Y.LESS_THAN_OR_EQUAL:return{[t.name]:{in:Vk(parseFloat(e.value))}};default:throw Error(`Unknown operand ${e.operand} for ${a} filter`)}case`NUMBER`:switch(e.operand){case Y.GREATER_THAN_OR_EQUAL:return{[t.name]:{gte:parseFloat(e.value)}};case Y.LESS_THAN_OR_EQUAL:return{[t.name]:{lte:parseFloat(e.value)}};case Y.IS:return{[t.name]:{eq:parseFloat(e.value)}};case Y.IS_NOT:return{not:{[t.name]:{eq:parseFloat(e.value)}}};default:throw Error(`Unknown operand ${e.operand} for ${a} filter`)}case`RELATION`:{let{isCurrentWorkspaceMemberSelected:r,isCurrentRecordSelected:i,selectedRecordIds:o}=tA.catch({isCurrentWorkspaceMemberSelected:!1,isCurrentRecordSelected:!1,selectedRecordIds:$k.parse(e.value)}).parse(e.value),s=[...o,...r?[n?.currentWorkspaceMemberId]:[],...i?[n?.currentRecordId]:[]].filter(D);if(s.length===0)return;switch(e.operand){case Y.IS:return{[t.name+`Id`]:{in:s}};case Y.IS_NOT:return!D(s)||s.length===0?void 0:{or:[{not:{[t.name+`Id`]:{in:s}}},{[t.name+`Id`]:{is:`NULL`}}]};default:throw Error(`Unknown operand ${e.operand} for ${a} filter`)}}case`CURRENCY`:if(Jk(J.CURRENCY,`currencyCode`,r)){let n=Qk.parse(e.value);if(n.length===0)return;let i={[t.name]:{currencyCode:{in:n}}};switch(e.operand){case Y.IS:return i;case Y.IS_NOT:return{not:i};default:throw Error(`Unknown operand ${e.operand} for ${a} / ${r} filter`)}}else if(Jk(J.CURRENCY,`amountMicros`,r)||!i)switch(e.operand){case Y.GREATER_THAN_OR_EQUAL:return{[t.name]:{amountMicros:{gte:parseFloat(e.value)*1e6}}};case Y.LESS_THAN_OR_EQUAL:return{[t.name]:{amountMicros:{lte:parseFloat(e.value)*1e6}}};case Y.IS:return{[t.name]:{amountMicros:{eq:parseFloat(e.value)*1e6}}};case Y.IS_NOT:return{not:{[t.name]:{amountMicros:{eq:parseFloat(e.value)*1e6}}}};default:throw Error(`Unknown operand ${e.operand} for ${a} / ${r} filter`)}else throw Error(`Unknown subfield ${r} for ${a} filter`);case`LINKS`:return Fk({correspondingFieldMetadataItem:t,recordFilter:e,subFieldName:r});case`FULL_NAME`:{let n=Uk(e.value,t.name,[`firstName`,`lastName`]);switch(e.operand){case Y.CONTAINS:return i?{[t.name]:{[r]:{ilike:`%${e.value}%`}}}:{or:n};case Y.DOES_NOT_CONTAIN:return i?{not:{[t.name]:{[r]:{ilike:`%${e.value}%`}}}}:{and:n.map(e=>({not:e}))};default:throw Error(`Unknown operand ${e.operand} for ${a} filter`)}}case`ADDRESS`:switch(e.operand){case Y.CONTAINS:if(i){if(r===`addressCountry`){let n=Qk.parse(e.value);return n.length===0?{}:{[t.name]:{[r]:{in:n}}}}return{[t.name]:{[r]:{ilike:`%${e.value}%`}}}}else return{or:[{[t.name]:{addressStreet1:{ilike:`%${e.value}%`}}},{[t.name]:{addressStreet2:{ilike:`%${e.value}%`}}},{[t.name]:{addressCity:{ilike:`%${e.value}%`}}},{[t.name]:{addressState:{ilike:`%${e.value}%`}}},{[t.name]:{addressCountry:{ilike:`%${e.value}%`}}},{[t.name]:{addressPostcode:{ilike:`%${e.value}%`}}}]};case Y.DOES_NOT_CONTAIN:if(i){if(r===`addressCountry`){let n=JSON.parse(e.value);return e.value===`[]`||n.length===0?{}:{or:[{not:{[t.name]:{addressCountry:{in:JSON.parse(e.value)}}}},{[t.name]:{addressCountry:{is:`NULL`}}}]}}return{or:[{not:{[t.name]:{[r]:{ilike:`%${e.value}%`}}}},{[t.name]:{[r]:{is:`NULL`}}}]}}else return{and:[{or:[{not:{[t.name]:{addressStreet1:{ilike:`%${e.value}%`}}}},{[t.name]:{addressStreet1:{is:`NULL`}}}]},{or:[{not:{[t.name]:{addressStreet2:{ilike:`%${e.value}%`}}}},{[t.name]:{addressStreet2:{is:`NULL`}}}]},{or:[{not:{[t.name]:{addressCity:{ilike:`%${e.value}%`}}}},{[t.name]:{addressCity:{is:`NULL`}}}]},{or:[{not:{[t.name]:{addressState:{ilike:`%${e.value}%`}}}},{[t.name]:{addressState:{is:`NULL`}}}]},{or:[{not:{[t.name]:{addressPostcode:{ilike:`%${e.value}%`}}}},{[t.name]:{addressPostcode:{is:`NULL`}}}]},{or:[{not:{[t.name]:{addressCountry:{ilike:`%${e.value}%`}}}},{[t.name]:{addressCountry:{is:`NULL`}}}]}]};default:throw Error(`Unknown operand ${e.operand} for ${a} filter`)}case`MULTI_SELECT`:{let n=Qk.parse(e.value);if(n.length===0)return;let r=n.filter(e=>e===``),i=n.filter(e=>e!==``);switch(e.operand){case Y.CONTAINS:{let e=[];return i.length>0&&e.push({[t.name]:{containsAny:i}}),r.length>0&&e.push({[t.name]:{isEmptyArray:!0}}),e.length===1?e[0]:{or:e}}case Y.DOES_NOT_CONTAIN:return{or:[{not:{[t.name]:{containsAny:i}}},{[t.name]:{isEmptyArray:!0}},{[t.name]:{is:`NULL`}}]};default:throw Error(`Unknown operand ${e.operand} for ${a} filter`)}}case`SELECT`:{let n=Qk.parse(e.value);if(n.length===0)return;let r=n.filter(e=>e===``),i=n.filter(e=>e!==``);switch(e.operand){case Y.IS:{let e=[];return i.length>0&&e.push({[t.name]:{in:i}}),r.length>0&&e.push({[t.name]:{is:`NULL`}}),e.length===1?e[0]:{or:e}}case Y.IS_NOT:{let e=[];return i.length>0&&e.push({not:{[t.name]:{in:i}}}),r.length>0&&e.push({not:{[t.name]:{is:`NULL`}}}),e.length===1?e[0]:{and:e}}default:throw Error(`Unknown operand ${e.operand} for ${a} filter`)}}case`ARRAY`:switch(e.operand){case Y.CONTAINS:return{[t.name]:{containsIlike:`%${e.value}%`}};case Y.DOES_NOT_CONTAIN:return{not:{[t.name]:{containsIlike:`%${e.value}%`}}};default:throw Error(`Unknown operand ${e.operand} for ${a} filter`)}case`ACTOR`:{if(r===`source`)switch(e.operand){case Y.IS:{if(e.value===`[]`)return;let n=JSON.parse(e.value);return{[t.name]:{source:{in:n}}}}case Y.IS_NOT:{if(e.value===`[]`)return;let n=JSON.parse(e.value);return n.length===0?void 0:{not:{[t.name]:{source:{in:n}}}}}default:throw Error(`Unknown operand ${e.operand} for ${t.label} filter`)}if(r===`workspaceMemberId`){let{isCurrentWorkspaceMemberSelected:r,selectedRecordIds:i}=tA.catch({isCurrentWorkspaceMemberSelected:!1,selectedRecordIds:$k.parse(e.value)}).parse(e.value),a=r?[...i,n?.currentWorkspaceMemberId].filter(D):i;if(!D(a)||a.length===0)return;switch(e.operand){case Y.IS:return{[t.name]:{workspaceMemberId:{in:a}}};case Y.IS_NOT:return{or:[{not:{[t.name]:{workspaceMemberId:{in:a}}}},{[t.name]:{workspaceMemberId:{is:`NULL`}}}]};default:throw Error(`Unknown operand ${e.operand} for ${t.label} filter`)}}let i=Object.values(ep).filter(t=>t.toLowerCase().includes(e.value.toLowerCase()));switch(e.operand){case Y.CONTAINS:return{or:[{[t.name]:{name:{ilike:`%${e.value}%`}}},...i.length>0?[{[t.name]:{source:{in:i}}}]:[]]};case Y.DOES_NOT_CONTAIN:return{and:[{not:{[t.name]:{name:{ilike:`%${e.value}%`}}}},...i.length>0?[{not:{[t.name]:{source:{in:i}}}}]:[]]};default:throw Error(`Unknown operand ${e.operand} for ${t.label} filter`)}}case`EMAILS`:return Pk({correspondingFieldMetadataItem:t,recordFilter:e,subFieldName:r});case`PHONES`:{if(!i){let n=e.value.replace(/[^0-9]/g,``);if(!(0,E.isNonEmptyString)(n))return;switch(e.operand){case Y.CONTAINS:return{or:[{[t.name]:{primaryPhoneNumber:{ilike:`%${n}%`}}},{[t.name]:{primaryPhoneCallingCode:{ilike:`%${n}%`}}},{[t.name]:{additionalPhones:{like:`%${n}%`}}}]};case Y.DOES_NOT_CONTAIN:return{and:[{not:{[t.name]:{primaryPhoneNumber:{ilike:`%${n}%`}}}},{not:{[t.name]:{primaryPhoneCallingCode:{ilike:`%${n}%`}}}},{or:[{not:{[t.name]:{additionalPhones:{like:`%${n}%`}}}},{[t.name]:{additionalPhones:{is:`NULL`}}}]}]};default:throw Error(`Unknown operand ${e.operand} for ${a} filter`)}}let n=e.value;switch(r){case`additionalPhones`:switch(e.operand){case Y.CONTAINS:return{or:[{[t.name]:{additionalPhones:{like:`%${n}%`}}}]};case Y.DOES_NOT_CONTAIN:return{or:[{not:{[t.name]:{additionalPhones:{like:`%${n}%`}}}},{[t.name]:{additionalPhones:{is:`NULL`}}}]};default:throw Error(`Unknown operand ${e.operand} for ${a} filter`)}case`primaryPhoneNumber`:switch(e.operand){case Y.CONTAINS:return{[t.name]:{primaryPhoneNumber:{ilike:`%${n}%`}}};case Y.DOES_NOT_CONTAIN:return{not:{[t.name]:{primaryPhoneNumber:{ilike:`%${n}%`}}}};default:throw Error(`Unknown operand ${e.operand} for ${a} filter`)}case`primaryPhoneCallingCode`:switch(e.operand){case Y.CONTAINS:return{[t.name]:{primaryPhoneCallingCode:{ilike:`%${n}%`}}};case Y.DOES_NOT_CONTAIN:return{not:{[t.name]:{primaryPhoneCallingCode:{ilike:`%${n}%`}}}};default:throw Error(`Unknown operand ${e.operand} for ${a} filter`)}default:throw Error(`Unknown subfield ${r} for ${a} filter`)}}case`BOOLEAN`:return{[t.name]:{eq:e.value===`true`}};case`UUID`:{let n=$k.parse(e.value),r=D(n)&&n.length>0?n:[`00000000-0000-4000-8000-000000000000`];switch(e.operand){case Y.IS:return{[t.name]:{in:r}};case Y.IS_NOT:return{not:{[t.name]:{in:r}}};default:throw Error(`Unknown operand ${e.operand} for ${a} filter`)}}default:throw Error(`Unknown filter type`)}},iA=({filterValueDependencies:e,filters:t,fieldMetadataItemById:n,recordFilterGroups:r,currentRecordFilterGroupId:i})=>{let a=r.find(e=>e.id===i);if(!D(a))return;let o=t.filter(e=>e.recordFilterGroupId===i).map(t=>nA({filterValueDependencies:e,recordFilter:t,fieldMetadataItemById:n})).filter(D),s=r.filter(e=>e.parentRecordFilterGroupId===i).map(i=>iA({filterValueDependencies:e,filters:t,fieldMetadataItemById:n,recordFilterGroups:r,currentRecordFilterGroupId:i.id})).filter(D);if(a.logicalOperator===dp.AND)return{and:[...o,...s]};if(a.logicalOperator===dp.OR)return{or:[...o,...s]};throw Error(`Unknown logical operator ${a.logicalOperator}`)},aA=(e,t,n)=>{switch(t){case`DAY`:return e.add({days:n});case`WEEK`:return e.add({weeks:n});case`QUARTER`:return e.add({months:n*3});case`MONTH`:return e.add({months:n});case`YEAR`:return e.add({years:n});case`SECOND`:return e.add({seconds:n});case`MINUTE`:return e.add({minutes:n});case`HOUR`:return e.add({hours:n});default:return xk(t)}},oA=Hf.enum([lp.MONDAY,lp.SATURDAY,lp.SUNDAY]),sA=e=>{switch(e){case lp.MONDAY:return 1;case lp.SATURDAY:return 6;case lp.SUNDAY:return 7;default:return xk(e)}},cA=(e,t,n)=>{switch(t){case`DAY`:return e.startOfDay();case`WEEK`:{let t=D(n)?sA(n):1,r=(e.dayOfWeek-t+7)%7;return e.startOfDay().subtract({days:r})}case`QUARTER`:{let t=Math.floor((e.month-1)/3);return e.startOfDay().with({day:1,month:t*3+1})}case`MONTH`:return e.startOfDay().with({day:1});case`YEAR`:return e.startOfDay().with({day:1,month:1});case`SECOND`:return e.with({nanosecond:0,microsecond:0,millisecond:0});case`MINUTE`:return e.with({second:0,nanosecond:0,microsecond:0,millisecond:0});case`HOUR`:return e.with({minute:0,second:0,nanosecond:0,microsecond:0,millisecond:0});default:return xk(t)}},lA=(e,t,n)=>{switch(t){case`DAY`:return cA(e,`DAY`).add({days:1});case`WEEK`:return cA(e,`WEEK`,n).add({weeks:1});case`MONTH`:return cA(e,`MONTH`,n).add({months:1});case`QUARTER`:return cA(e,`QUARTER`,n).add({months:3});case`YEAR`:return cA(e,`YEAR`,n).add({years:1});case`SECOND`:return cA(e,`SECOND`).add({seconds:1});case`MINUTE`:return cA(e,`MINUTE`).add({minutes:1});case`HOUR`:return cA(e,`HOUR`).add({hours:1});default:return xk(t)}},uA=Hf.union([Hf.coerce.number().int().positive(),Hf.literal(`undefined`)]).transform(e=>e===`undefined`?void 0:e),dA=Hf.enum([`NEXT`,`THIS`,`PAST`]),fA=Hf.enum([`SECOND`,`MINUTE`,`HOUR`,`DAY`,`WEEK`,`MONTH`,`QUARTER`,`YEAR`]),pA=Hf.object({direction:dA,amount:uA.nullish(),unit:fA,timezone:Hf.string().nullish(),firstDayOfTheWeek:oA.nullish()}).refine(e=>!(e.amount===void 0&&e.direction!==`THIS`),{error:`Amount cannot be 'undefined' unless direction is 'THIS'`}),mA=/((?:THIS)|(?:PAST)|(?:NEXT))_(\d*)_(DAY|MONTH|YEAR|WEEK|QUARTER|HOUR|MINUTE|SECOND)(?:(?:;;([^;;]*);;)?(?:(MONDAY|SUNDAY|SATURDAY);;)?)?/,hA=Hf.string().transform((e,t)=>{let n=new RegExp(mA).exec(e);if(!(0,E.isNonEmptyArray)(n))return t.addIssue(`Cannot parse stringified inline relative date filter, value : "${e}"`),Hf.NEVER;let[r,i,a,o,s,c]=n;return pA.parse({direction:i,amount:a,unit:o,timezone:s,firstDayOfTheWeek:c})}),gA=(e,t,n)=>{switch(t){case`DAY`:return e.subtract({days:n});case`WEEK`:return e.subtract({weeks:n});case`QUARTER`:return e.subtract({months:n*3});case`MONTH`:return e.subtract({months:n});case`YEAR`:return e.subtract({years:n});case`SECOND`:return e.subtract({seconds:n});case`MINUTE`:return e.subtract({minutes:n});case`HOUR`:return e.subtract({hours:n});default:return xk(t)}},_A=(e,t)=>{let{direction:n,amount:r,unit:i,firstDayOfTheWeek:a}=e;switch(n){case`NEXT`:{if(!$f(r))throw Error(`Amount is required`);if(i===`QUARTER`){let n=aA(cA(t,`QUARTER`,a),`QUARTER`,1),i=aA(n,`QUARTER`,r),o=n.toPlainDate().toString(),s=i.toPlainDate().toString();return{...e,start:o,end:s}}let n=t.startOfDay().add({days:1}),o=aA(n,i,r),s=n.toPlainDate().toString(),c=o?.toPlainDate().toString();return{...e,start:s,end:c}}case`PAST`:{if(!$f(r))throw Error(`Amount is required`);if(i===`QUARTER`){let n=cA(t,`QUARTER`,a),i=gA(n,`QUARTER`,r).toPlainDate().toString(),o=n.toPlainDate().toString();return{...e,start:i,end:o}}let n=t.startOfDay(),o=gA(n,i,r)?.toPlainDate().toString(),s=n.toPlainDate().toString();return{...e,start:o,end:s}}case`THIS`:{let n=cA(t,i,a),r=lA(t,i,a),o=n?.toPlainDate().toString(),s=r?.toPlainDate().toString();return{...e,start:o,end:s}}}},vA=e=>{if(!(0,E.isNonEmptyString)(e))return null;let t=hA.safeParse(e);if(!t.success)return null;let n=t.data;return _A(n,$f(n.timezone)?oD.Now.zonedDateTimeISO(n.timezone):oD.Now.zonedDateTimeISO())},yA=e=>e.value?e.operand===Y.IS_RELATIVE?vA(e.value):e.value:null,bA=(e,t)=>{let{direction:n,amount:r,unit:i,firstDayOfTheWeek:a}=e,o=[`SECOND`,`MINUTE`,`HOUR`].includes(i);switch(n){case`NEXT`:if(!D(r))throw Error(`Amount is required`);if(i===`QUARTER`){let n=lA(t,`QUARTER`);return{...e,start:n,end:aA(n,i,r)}}if(o)return{...e,start:t,end:aA(t,i,r)};{let n=t.startOfDay().add({days:1});return{...e,start:n,end:aA(n,i,r)}}case`PAST`:if(!D(r))throw Error(`Amount is required`);if(i===`QUARTER`){let n=cA(t,`QUARTER`);return{...e,start:gA(n,i,r),end:n}}if(o)return{...e,start:gA(t,i,r),end:t};{let n=t.startOfDay();return{...e,start:gA(n,i,r),end:n}}case`THIS`:return{...e,start:cA(t,i,a),end:lA(t,i,a)}}},xA=e=>{if(!(0,E.isNonEmptyString)(e))return null;let t=hA.safeParse(e);if(t.success){let e=t.data;return bA(e,($f(e.timezone)?oD.Now.zonedDateTimeISO(e.timezone):oD.Now.zonedDateTimeISO()).round({smallestUnit:`second`}))}else return null},SA=e=>e.value?e.operand===Y.IS_RELATIVE?xA(e.value):e.value:null;fp.Is,Y.IS,fp.IsNotNull,Y.IS_NOT_NULL,fp.IsNot,Y.IS_NOT,fp.LessThanOrEqual,Y.LESS_THAN_OR_EQUAL,fp.GreaterThanOrEqual,Y.GREATER_THAN_OR_EQUAL,fp.IsBefore,Y.IS_BEFORE,fp.IsAfter,Y.IS_AFTER,fp.Contains,Y.CONTAINS,fp.DoesNotContain,Y.DOES_NOT_CONTAIN,fp.IsEmpty,Y.IS_EMPTY,fp.IsNotEmpty,Y.IS_NOT_EMPTY,fp.IsRelative,Y.IS_RELATIVE,fp.IsInPast,Y.IS_IN_PAST,fp.IsInFuture,Y.IS_IN_FUTURE,fp.IsToday,Y.IS_TODAY,Y.IS,Y.IS,Y.IS_NOT_NULL,Y.IS_NOT_NULL,Y.IS_NOT,Y.IS_NOT,Y.LESS_THAN_OR_EQUAL,Y.LESS_THAN_OR_EQUAL,Y.GREATER_THAN_OR_EQUAL,Y.GREATER_THAN_OR_EQUAL,Y.IS_BEFORE,Y.IS_BEFORE,Y.IS_AFTER,Y.IS_AFTER,Y.CONTAINS,Y.CONTAINS,Y.DOES_NOT_CONTAIN,Y.DOES_NOT_CONTAIN,Y.IS_EMPTY,Y.IS_EMPTY,Y.IS_NOT_EMPTY,Y.IS_NOT_EMPTY,Y.IS_RELATIVE,Y.IS_RELATIVE,Y.IS_IN_PAST,Y.IS_IN_PAST,Y.IS_IN_FUTURE,Y.IS_IN_FUTURE,Y.IS_TODAY,Y.IS_TODAY,Y.VECTOR_SEARCH,Y.VECTOR_SEARCH;var CA=e=>{try{return new URL(e)}catch{return null}},wA=e=>e===void 0||typeof e!=`object`||!e?e:Array.isArray(e)?e.map(e=>wA(e)).filter(e=>!(0,E.isUndefined)(e)):Object.entries(e).reduce((e,[t,n])=>{if((0,E.isUndefined)(n))return e;if(n===null||n instanceof Date)return{...e,[t]:n};if(typeof n==`object`){let r=wA(n);return!(0,E.isUndefined)(r)&&Object.keys(r).length>0?{...e,[t]:r}:e}return{...e,[t]:n}},{}),TA={BOLD:`bold`,ITALIC:`italic`,UNDERLINE:`underline`,STRIKE:`strike`,LINK:`link`};TA.UNDERLINE,TA.BOLD,TA.ITALIC,TA.STRIKE,TA.LINK;var EA=e=>{let t=e.trim();return t.startsWith(`http://`)||t.startsWith(`https://`)||t.startsWith(`HTTPS://`)||t.startsWith(`HTTP://`)?t:`https://${t}`},DA=(e,t)=>{let n=t?.allowIp??!0,r=t?.allowLocalhost??!0,i=/^(((?!-))(xn--|_)?[a-z0-9-]{0,61}[a-z0-9]{1,1}\.){1,10}(xn--)?([a-z0-9][a-z0-9-]{0,60}|[a-z0-9-]{1,30}\.[a-z]{2,})$/.test(e),a=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/.test(e),o=e===`localhost`||e===`127.0.0.1`;return o&&!r||a&&!n?!1:i||o||a};Gl().transform((e,t)=>{let n=EA(e.trim()),r=n.replace(`https://`,``).replace(`http://`,``).replace(`HTTPS://`,``).replace(`HTTP://`,``);if(/^\d+(?:\/[a-zA-Z]*)?$/.test(r))return t.addIssue({code:`custom`,message:`domain is not a valid url`}),he;try{return DA(new URL(n).hostname)?n:(t.addIssue({code:`custom`,message:`domain is not a valid url`}),he)}catch{return t.addIssue({code:`custom`,message:`domain is not a valid url`}),he}});var OA=e=>{let t=CA(e);return D(t)?(t.origin+t.pathname+t.search+t.hash).replace(/\/$/,``):e},kA=e=>{let t=e.trim();return t===``?t:OA(EA(t))},AA=e=>/^{{[^{}]+}}$/.test(e),jA=new Map;for(let e of _k()){let t=vk(e),n=jA.get(t);n?n.push(e):jA.set(t,[e])}new Set(_k());var MA=e=>typeof e==`string`,NA=RegExp(`\\{\\{([^{}]+)\\}\\}`,`g`),PA=(e,t)=>D(e)?MA(e)?LA(e,t):Array.isArray(e)?FA(e,t):typeof e==`object`&&e?IA(e,t):e:e,FA=(e,t)=>{let n=e;for(let r=0;r<e.length;++r)n[r]=PA(e[r],t);return n},IA=(e,t)=>Object.entries(e).reduce((e,[n,r])=>{let i=PA(n,t);return e[typeof i==`string`?i:String(i)]=PA(r,t),e},{}),LA=(e,t)=>{let n=e.match(NA);return!n||n.length===0?e:n.length===1&&n[0]===e?Ak(e,t):e.replace(NA,(e,n)=>Ak(e,t))},RA={darwin:`https://docs.docker.com/desktop/setup/install/mac-install/`,win32:`https://docs.docker.com/desktop/setup/install/windows-install/`,linux:`https://docs.docker.com/engine/install/`},zA=()=>{try{return(0,v.execSync)(`docker --version`,{stdio:`ignore`}),!0}catch{return!1}},BA=()=>[` Docker is required but not installed.`,``,` Install Docker: ${RA[process.platform]??RA.linux}`,``,` Then run this command again.`,``,` Alternatively, connect to an existing Twenty instance:`,` npx create-twenty-app@latest my-twenty-app --url <your-instance-url>`].join(`
69
- `),VA=process.env.INIT_CWD||process.cwd(),HA=`twentycrm/twenty-app-dev:latest`,UA=class{constructor(){this.stepCounter=0,this.totalSteps=0}async execute(e={}){let{appName:t,appDisplayName:n,appDirectory:r,appDescription:i}=this.getAppInfos(e),a=e.serverUrl??y.DEV_API_URL,o=a!==y.DEV_API_URL;!o&&!zA()&&(console.log(u.default.yellow(`
70
- `+BA()+`
68
+ `+t.prev}function ze(e,t){var n=D(e),r=[];if(n){r.length=e.length;for(var i=0;i<e.length;i++)r[i]=Ce(e,i)?t(e[i],e):``}var a=typeof te==`function`?te(e):[],o;if(re){o={};for(var s=0;s<a.length;s++)o[`$`+a[s]]=a[s]}for(var c in e)Ce(e,c)&&(n&&String(Number(c))===c&&c<e.length||re&&o[`$`+c]instanceof Symbol||(x.call(/[^\w$]/,c)?r.push(t(c,e)+`: `+t(e[c],e)):r.push(c+`: `+t(e[c],e))));if(typeof te==`function`)for(var l=0;l<a.length;l++)ae.call(e,a[l])&&r.push(`[`+t(a[l])+`]: `+t(e[a[l]],e));return r}})),eO=o(((e,t)=>{var n=$D(),r=ZD(),i=function(e,t,n){for(var r=e,i;(i=r.next)!=null;r=i)if(i.key===t)return r.next=i.next,n||(i.next=e.next,e.next=i),i},a=function(e,t){if(e){var n=i(e,t);return n&&n.value}},o=function(e,t,n){var r=i(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}},s=function(e,t){return e?!!i(e,t):!1},c=function(e,t){if(e)return i(e,t,!0)};t.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new r(`Side channel does not contain `+n(e))},delete:function(t){var n=e&&e.next,r=c(e,t);return r&&n&&n===r&&(e=void 0),!!r},get:function(t){return a(e,t)},has:function(t){return s(e,t)},set:function(t,n){e||={next:void 0},o(e,t,n)}};return t}})),tO=o(((e,t)=>{t.exports=Object})),nO=o(((e,t)=>{t.exports=Error})),rO=o(((e,t)=>{t.exports=EvalError})),iO=o(((e,t)=>{t.exports=RangeError})),aO=o(((e,t)=>{t.exports=ReferenceError})),oO=o(((e,t)=>{t.exports=SyntaxError})),sO=o(((e,t)=>{t.exports=URIError})),cO=o(((e,t)=>{t.exports=Math.abs})),lO=o(((e,t)=>{t.exports=Math.floor})),uO=o(((e,t)=>{t.exports=Math.max})),dO=o(((e,t)=>{t.exports=Math.min})),fO=o(((e,t)=>{t.exports=Math.pow})),pO=o(((e,t)=>{t.exports=Math.round})),mO=o(((e,t)=>{t.exports=Number.isNaN||function(e){return e!==e}})),hO=o(((e,t)=>{var n=mO();t.exports=function(e){return n(e)||e===0?e:e<0?-1:1}})),gO=o(((e,t)=>{t.exports=Object.getOwnPropertyDescriptor})),_O=o(((e,t)=>{var n=gO();if(n)try{n([],`length`)}catch{n=null}t.exports=n})),vO=o(((e,t)=>{var n=Object.defineProperty||!1;if(n)try{n({},`a`,{value:1})}catch{n=!1}t.exports=n})),yO=o(((e,t)=>{t.exports=function(){if(typeof Symbol!=`function`||typeof Object.getOwnPropertySymbols!=`function`)return!1;if(typeof Symbol.iterator==`symbol`)return!0;var e={},t=Symbol(`test`),n=Object(t);if(typeof t==`string`||Object.prototype.toString.call(t)!==`[object Symbol]`||Object.prototype.toString.call(n)!==`[object Symbol]`)return!1;var r=42;for(var i in e[t]=r,e)return!1;if(typeof Object.keys==`function`&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames==`function`&&Object.getOwnPropertyNames(e).length!==0)return!1;var a=Object.getOwnPropertySymbols(e);if(a.length!==1||a[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor==`function`){var o=Object.getOwnPropertyDescriptor(e,t);if(o.value!==r||o.enumerable!==!0)return!1}return!0}})),bO=o(((e,t)=>{var n=typeof Symbol<`u`&&Symbol,r=yO();t.exports=function(){return typeof n!=`function`||typeof Symbol!=`function`||typeof n(`foo`)!=`symbol`||typeof Symbol(`bar`)!=`symbol`?!1:r()}})),xO=o(((e,t)=>{t.exports=typeof Reflect<`u`&&Reflect.getPrototypeOf||null})),SO=o(((e,t)=>{t.exports=tO().getPrototypeOf||null})),CO=o(((e,t)=>{var n=`Function.prototype.bind called on incompatible `,r=Object.prototype.toString,i=Math.max,a=`[object Function]`,o=function(e,t){for(var n=[],r=0;r<e.length;r+=1)n[r]=e[r];for(var i=0;i<t.length;i+=1)n[i+e.length]=t[i];return n},s=function(e,t){for(var n=[],r=t||0,i=0;r<e.length;r+=1,i+=1)n[i]=e[r];return n},c=function(e,t){for(var n=``,r=0;r<e.length;r+=1)n+=e[r],r+1<e.length&&(n+=t);return n};t.exports=function(e){var t=this;if(typeof t!=`function`||r.apply(t)!==a)throw TypeError(n+t);for(var l=s(arguments,1),u,d=function(){if(this instanceof u){var n=t.apply(this,o(l,arguments));return Object(n)===n?n:this}return t.apply(e,o(l,arguments))},f=i(0,t.length-l.length),p=[],m=0;m<f;m++)p[m]=`$`+m;if(u=Function(`binder`,`return function (`+c(p,`,`)+`){ return binder.apply(this,arguments); }`)(d),t.prototype){var h=function(){};h.prototype=t.prototype,u.prototype=new h,h.prototype=null}return u}})),wO=o(((e,t)=>{var n=CO();t.exports=Function.prototype.bind||n})),TO=o(((e,t)=>{t.exports=Function.prototype.call})),EO=o(((e,t)=>{t.exports=Function.prototype.apply})),DO=o(((e,t)=>{t.exports=typeof Reflect<`u`&&Reflect&&Reflect.apply})),OO=o(((e,t)=>{var n=wO(),r=EO(),i=TO();t.exports=DO()||n.call(i,r)})),kO=o(((e,t)=>{var n=wO(),r=ZD(),i=TO(),a=OO();t.exports=function(e){if(e.length<1||typeof e[0]!=`function`)throw new r(`a function is required`);return a(n,i,e)}})),AO=o(((e,t)=>{var n=kO(),r=_O(),i;try{i=[].__proto__===Array.prototype}catch(e){if(!e||typeof e!=`object`||!(`code`in e)||e.code!==`ERR_PROTO_ACCESS`)throw e}var a=!!i&&r&&r(Object.prototype,`__proto__`),o=Object,s=o.getPrototypeOf;t.exports=a&&typeof a.get==`function`?n([a.get]):typeof s==`function`?function(e){return s(e==null?e:o(e))}:!1})),jO=o(((e,t)=>{var n=xO(),r=SO(),i=AO();t.exports=n?function(e){return n(e)}:r?function(e){if(!e||typeof e!=`object`&&typeof e!=`function`)throw TypeError(`getProto: not an object`);return r(e)}:i?function(e){return i(e)}:null})),MO=o(((e,t)=>{var n=Function.prototype.call,r=Object.prototype.hasOwnProperty;t.exports=wO().call(n,r)})),NO=o(((e,t)=>{var n,r=tO(),i=nO(),a=rO(),o=iO(),s=aO(),c=oO(),l=ZD(),u=sO(),d=cO(),f=lO(),p=uO(),m=dO(),h=fO(),g=pO(),_=hO(),v=Function,y=function(e){try{return v(`"use strict"; return (`+e+`).constructor;`)()}catch{}},b=_O(),x=vO(),S=function(){throw new l},C=b?function(){try{return arguments.callee,S}catch{try{return b(arguments,`callee`).get}catch{return S}}}():S,ee=bO()(),w=jO(),T=SO(),te=xO(),ne=EO(),re=TO(),ie={},ae=typeof Uint8Array>`u`||!w?n:w(Uint8Array),oe={__proto__:null,"%AggregateError%":typeof AggregateError>`u`?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>`u`?n:ArrayBuffer,"%ArrayIteratorPrototype%":ee&&w?w([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":ie,"%AsyncGenerator%":ie,"%AsyncGeneratorFunction%":ie,"%AsyncIteratorPrototype%":ie,"%Atomics%":typeof Atomics>`u`?n:Atomics,"%BigInt%":typeof BigInt>`u`?n:BigInt,"%BigInt64Array%":typeof BigInt64Array>`u`?n:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>`u`?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>`u`?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":i,"%eval%":eval,"%EvalError%":a,"%Float16Array%":typeof Float16Array>`u`?n:Float16Array,"%Float32Array%":typeof Float32Array>`u`?n:Float32Array,"%Float64Array%":typeof Float64Array>`u`?n:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>`u`?n:FinalizationRegistry,"%Function%":v,"%GeneratorFunction%":ie,"%Int8Array%":typeof Int8Array>`u`?n:Int8Array,"%Int16Array%":typeof Int16Array>`u`?n:Int16Array,"%Int32Array%":typeof Int32Array>`u`?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":ee&&w?w(w([][Symbol.iterator]())):n,"%JSON%":typeof JSON==`object`?JSON:n,"%Map%":typeof Map>`u`?n:Map,"%MapIteratorPrototype%":typeof Map>`u`||!ee||!w?n:w(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":r,"%Object.getOwnPropertyDescriptor%":b,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>`u`?n:Promise,"%Proxy%":typeof Proxy>`u`?n:Proxy,"%RangeError%":o,"%ReferenceError%":s,"%Reflect%":typeof Reflect>`u`?n:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>`u`?n:Set,"%SetIteratorPrototype%":typeof Set>`u`||!ee||!w?n:w(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>`u`?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":ee&&w?w(``[Symbol.iterator]()):n,"%Symbol%":ee?Symbol:n,"%SyntaxError%":c,"%ThrowTypeError%":C,"%TypedArray%":ae,"%TypeError%":l,"%Uint8Array%":typeof Uint8Array>`u`?n:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>`u`?n:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>`u`?n:Uint16Array,"%Uint32Array%":typeof Uint32Array>`u`?n:Uint32Array,"%URIError%":u,"%WeakMap%":typeof WeakMap>`u`?n:WeakMap,"%WeakRef%":typeof WeakRef>`u`?n:WeakRef,"%WeakSet%":typeof WeakSet>`u`?n:WeakSet,"%Function.prototype.call%":re,"%Function.prototype.apply%":ne,"%Object.defineProperty%":x,"%Object.getPrototypeOf%":T,"%Math.abs%":d,"%Math.floor%":f,"%Math.max%":p,"%Math.min%":m,"%Math.pow%":h,"%Math.round%":g,"%Math.sign%":_,"%Reflect.getPrototypeOf%":te};if(w)try{null.error}catch(e){oe[`%Error.prototype%`]=w(w(e))}var se=function e(t){var n;if(t===`%AsyncFunction%`)n=y(`async function () {}`);else if(t===`%GeneratorFunction%`)n=y(`function* () {}`);else if(t===`%AsyncGeneratorFunction%`)n=y(`async function* () {}`);else if(t===`%AsyncGenerator%`){var r=e(`%AsyncGeneratorFunction%`);r&&(n=r.prototype)}else if(t===`%AsyncIteratorPrototype%`){var i=e(`%AsyncGenerator%`);i&&w&&(n=w(i.prototype))}return oe[t]=n,n},ce={__proto__:null,"%ArrayBufferPrototype%":[`ArrayBuffer`,`prototype`],"%ArrayPrototype%":[`Array`,`prototype`],"%ArrayProto_entries%":[`Array`,`prototype`,`entries`],"%ArrayProto_forEach%":[`Array`,`prototype`,`forEach`],"%ArrayProto_keys%":[`Array`,`prototype`,`keys`],"%ArrayProto_values%":[`Array`,`prototype`,`values`],"%AsyncFunctionPrototype%":[`AsyncFunction`,`prototype`],"%AsyncGenerator%":[`AsyncGeneratorFunction`,`prototype`],"%AsyncGeneratorPrototype%":[`AsyncGeneratorFunction`,`prototype`,`prototype`],"%BooleanPrototype%":[`Boolean`,`prototype`],"%DataViewPrototype%":[`DataView`,`prototype`],"%DatePrototype%":[`Date`,`prototype`],"%ErrorPrototype%":[`Error`,`prototype`],"%EvalErrorPrototype%":[`EvalError`,`prototype`],"%Float32ArrayPrototype%":[`Float32Array`,`prototype`],"%Float64ArrayPrototype%":[`Float64Array`,`prototype`],"%FunctionPrototype%":[`Function`,`prototype`],"%Generator%":[`GeneratorFunction`,`prototype`],"%GeneratorPrototype%":[`GeneratorFunction`,`prototype`,`prototype`],"%Int8ArrayPrototype%":[`Int8Array`,`prototype`],"%Int16ArrayPrototype%":[`Int16Array`,`prototype`],"%Int32ArrayPrototype%":[`Int32Array`,`prototype`],"%JSONParse%":[`JSON`,`parse`],"%JSONStringify%":[`JSON`,`stringify`],"%MapPrototype%":[`Map`,`prototype`],"%NumberPrototype%":[`Number`,`prototype`],"%ObjectPrototype%":[`Object`,`prototype`],"%ObjProto_toString%":[`Object`,`prototype`,`toString`],"%ObjProto_valueOf%":[`Object`,`prototype`,`valueOf`],"%PromisePrototype%":[`Promise`,`prototype`],"%PromiseProto_then%":[`Promise`,`prototype`,`then`],"%Promise_all%":[`Promise`,`all`],"%Promise_reject%":[`Promise`,`reject`],"%Promise_resolve%":[`Promise`,`resolve`],"%RangeErrorPrototype%":[`RangeError`,`prototype`],"%ReferenceErrorPrototype%":[`ReferenceError`,`prototype`],"%RegExpPrototype%":[`RegExp`,`prototype`],"%SetPrototype%":[`Set`,`prototype`],"%SharedArrayBufferPrototype%":[`SharedArrayBuffer`,`prototype`],"%StringPrototype%":[`String`,`prototype`],"%SymbolPrototype%":[`Symbol`,`prototype`],"%SyntaxErrorPrototype%":[`SyntaxError`,`prototype`],"%TypedArrayPrototype%":[`TypedArray`,`prototype`],"%TypeErrorPrototype%":[`TypeError`,`prototype`],"%Uint8ArrayPrototype%":[`Uint8Array`,`prototype`],"%Uint8ClampedArrayPrototype%":[`Uint8ClampedArray`,`prototype`],"%Uint16ArrayPrototype%":[`Uint16Array`,`prototype`],"%Uint32ArrayPrototype%":[`Uint32Array`,`prototype`],"%URIErrorPrototype%":[`URIError`,`prototype`],"%WeakMapPrototype%":[`WeakMap`,`prototype`],"%WeakSetPrototype%":[`WeakSet`,`prototype`]},le=wO(),ue=MO(),de=le.call(re,Array.prototype.concat),fe=le.call(ne,Array.prototype.splice),pe=le.call(re,String.prototype.replace),me=le.call(re,String.prototype.slice),E=le.call(re,RegExp.prototype.exec),D=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,he=/\\(\\)?/g,O=function(e){var t=me(e,0,1),n=me(e,-1);if(t===`%`&&n!==`%`)throw new c("invalid intrinsic syntax, expected closing `%`");if(n===`%`&&t!==`%`)throw new c("invalid intrinsic syntax, expected opening `%`");var r=[];return pe(e,D,function(e,t,n,i){r[r.length]=n?pe(i,he,`$1`):t||e}),r},ge=function(e,t){var n=e,r;if(ue(ce,n)&&(r=ce[n],n=`%`+r[0]+`%`),ue(oe,n)){var i=oe[n];if(i===ie&&(i=se(n)),i===void 0&&!t)throw new l(`intrinsic `+e+` exists, but is not available. Please file an issue!`);return{alias:r,name:n,value:i}}throw new c(`intrinsic `+e+` does not exist!`)};t.exports=function(e,t){if(typeof e!=`string`||e.length===0)throw new l(`intrinsic name must be a non-empty string`);if(arguments.length>1&&typeof t!=`boolean`)throw new l(`"allowMissing" argument must be a boolean`);if(E(/^%?[^%]*%?$/,e)===null)throw new c("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=O(e),r=n.length>0?n[0]:``,i=ge(`%`+r+`%`,t),a=i.name,o=i.value,s=!1,u=i.alias;u&&(r=u[0],fe(n,de([0,1],u)));for(var d=1,f=!0;d<n.length;d+=1){var p=n[d],m=me(p,0,1),h=me(p,-1);if((m===`"`||m===`'`||m==="`"||h===`"`||h===`'`||h==="`")&&m!==h)throw new c(`property names with quotes must have matching quotes`);if((p===`constructor`||!f)&&(s=!0),r+=`.`+p,a=`%`+r+`%`,ue(oe,a))o=oe[a];else if(o!=null){if(!(p in o)){if(!t)throw new l(`base intrinsic for `+e+` exists, but the property is not available.`);return}if(b&&d+1>=n.length){var g=b(o,p);f=!!g,o=f&&`get`in g&&!(`originalValue`in g.get)?g.get:o[p]}else f=ue(o,p),o=o[p];f&&!s&&(oe[a]=o)}}return o}})),PO=o(((e,t)=>{var n=NO(),r=kO(),i=r([n(`%String.prototype.indexOf%`)]);t.exports=function(e,t){var a=n(e,!!t);return typeof a==`function`&&i(e,`.prototype.`)>-1?r([a]):a}})),FO=o(((e,t)=>{var n=NO(),r=PO(),i=$D(),a=ZD(),o=n(`%Map%`,!0),s=r(`Map.prototype.get`,!0),c=r(`Map.prototype.set`,!0),l=r(`Map.prototype.has`,!0),u=r(`Map.prototype.delete`,!0),d=r(`Map.prototype.size`,!0);t.exports=!!o&&function(){var e,t={assert:function(e){if(!t.has(e))throw new a(`Side channel does not contain `+i(e))},delete:function(t){if(e){var n=u(e,t);return d(e)===0&&(e=void 0),n}return!1},get:function(t){if(e)return s(e,t)},has:function(t){return e?l(e,t):!1},set:function(t,n){e||=new o,c(e,t,n)}};return t}})),IO=o(((e,t)=>{var n=NO(),r=PO(),i=$D(),a=FO(),o=ZD(),s=n(`%WeakMap%`,!0),c=r(`WeakMap.prototype.get`,!0),l=r(`WeakMap.prototype.set`,!0),u=r(`WeakMap.prototype.has`,!0),d=r(`WeakMap.prototype.delete`,!0);t.exports=s?function(){var e,t,n={assert:function(e){if(!n.has(e))throw new o(`Side channel does not contain `+i(e))},delete:function(n){if(s&&n&&(typeof n==`object`||typeof n==`function`)){if(e)return d(e,n)}else if(a&&t)return t.delete(n);return!1},get:function(n){return s&&n&&(typeof n==`object`||typeof n==`function`)&&e?c(e,n):t&&t.get(n)},has:function(n){return s&&n&&(typeof n==`object`||typeof n==`function`)&&e?u(e,n):!!t&&t.has(n)},set:function(n,r){s&&n&&(typeof n==`object`||typeof n==`function`)?(e||=new s,l(e,n,r)):a&&(t||=a(),t.set(n,r))}};return n}:a})),LO=o(((e,t)=>{var n=ZD(),r=$D(),i=eO(),a=FO(),o=IO()||a||i;t.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new n(`Side channel does not contain `+r(e))},delete:function(t){return!!e&&e.delete(t)},get:function(t){return e&&e.get(t)},has:function(t){return!!e&&e.has(t)},set:function(t,n){e||=o(),e.set(t,n)}};return t}})),RO=o(((e,t)=>{var n=String.prototype.replace,r=/%20/g,i={RFC1738:`RFC1738`,RFC3986:`RFC3986`};t.exports={default:i.RFC3986,formatters:{RFC1738:function(e){return n.call(e,r,`+`)},RFC3986:function(e){return String(e)}},RFC1738:i.RFC1738,RFC3986:i.RFC3986}})),zO=o(((e,t)=>{var n=RO(),r=LO(),i=Object.prototype.hasOwnProperty,a=Array.isArray,o=r(),s=function(e,t){return o.set(e,t),e},c=function(e){return o.has(e)},l=function(e){return o.get(e)},u=function(e,t){o.set(e,t)},d=function(){for(var e=[],t=0;t<256;++t)e[e.length]=`%`+((t<16?`0`:``)+t.toString(16)).toUpperCase();return e}(),f=function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(a(n)){for(var r=[],i=0;i<n.length;++i)n[i]!==void 0&&(r[r.length]=n[i]);t.obj[t.prop]=r}}},p=function(e,t){for(var n=t&&t.plainObjects?{__proto__:null}:{},r=0;r<e.length;++r)e[r]!==void 0&&(n[r]=e[r]);return n},m=function e(t,n,r){if(!n)return t;if(typeof n!=`object`&&typeof n!=`function`){if(a(t)){var o=t.length;if(r&&typeof r.arrayLimit==`number`&&o>r.arrayLimit)return s(p(t.concat(n),r),o);t[o]=n}else if(t&&typeof t==`object`)if(c(t)){var d=l(t)+1;t[d]=n,u(t,d)}else if(r&&r.strictMerge)return[t,n];else (r&&(r.plainObjects||r.allowPrototypes)||!i.call(Object.prototype,n))&&(t[n]=!0);else return[t,n];return t}if(!t||typeof t!=`object`){if(c(n)){for(var f=Object.keys(n),m=r&&r.plainObjects?{__proto__:null,0:t}:{0:t},h=0;h<f.length;h++){var g=parseInt(f[h],10);m[g+1]=n[f[h]]}return s(m,l(n)+1)}var _=[t].concat(n);return r&&typeof r.arrayLimit==`number`&&_.length>r.arrayLimit?s(p(_,r),_.length-1):_}var v=t;return a(t)&&!a(n)&&(v=p(t,r)),a(t)&&a(n)?(n.forEach(function(n,a){if(i.call(t,a)){var o=t[a];o&&typeof o==`object`&&n&&typeof n==`object`?t[a]=e(o,n,r):t[t.length]=n}else t[a]=n}),t):Object.keys(n).reduce(function(t,a){var o=n[a];if(i.call(t,a)?t[a]=e(t[a],o,r):t[a]=o,c(n)&&!c(t)&&s(t,l(n)),c(t)){var d=parseInt(a,10);String(d)===a&&d>=0&&d>l(t)&&u(t,d)}return t},v)},h=function(e,t){return Object.keys(t).reduce(function(e,n){return e[n]=t[n],e},e)},g=function(e,t,n){var r=e.replace(/\+/g,` `);if(n===`iso-8859-1`)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch{return r}},_=1024;t.exports={arrayToObject:p,assign:h,combine:function(e,t,n,r){if(c(e)){var i=l(e)+1;return e[i]=t,u(e,i),e}var a=[].concat(e,t);return a.length>n?s(p(a,{plainObjects:r}),a.length-1):a},compact:function(e){for(var t=[{obj:{o:e},prop:`o`}],n=[],r=0;r<t.length;++r)for(var i=t[r],a=i.obj[i.prop],o=Object.keys(a),s=0;s<o.length;++s){var c=o[s],l=a[c];typeof l==`object`&&l&&n.indexOf(l)===-1&&(t[t.length]={obj:a,prop:c},n[n.length]=l)}return f(t),e},decode:g,encode:function(e,t,r,i,a){if(e.length===0)return e;var o=e;if(typeof e==`symbol`?o=Symbol.prototype.toString.call(e):typeof e!=`string`&&(o=String(e)),r===`iso-8859-1`)return escape(o).replace(/%u[0-9a-f]{4}/gi,function(e){return`%26%23`+parseInt(e.slice(2),16)+`%3B`});for(var s=``,c=0;c<o.length;c+=_){for(var l=o.length>=_?o.slice(c,c+_):o,u=[],f=0;f<l.length;++f){var p=l.charCodeAt(f);if(p===45||p===46||p===95||p===126||p>=48&&p<=57||p>=65&&p<=90||p>=97&&p<=122||a===n.RFC1738&&(p===40||p===41)){u[u.length]=l.charAt(f);continue}if(p<128){u[u.length]=d[p];continue}if(p<2048){u[u.length]=d[192|p>>6]+d[128|p&63];continue}if(p<55296||p>=57344){u[u.length]=d[224|p>>12]+d[128|p>>6&63]+d[128|p&63];continue}f+=1,p=65536+((p&1023)<<10|l.charCodeAt(f)&1023),u[u.length]=d[240|p>>18]+d[128|p>>12&63]+d[128|p>>6&63]+d[128|p&63]}s+=u.join(``)}return s},isBuffer:function(e){return!e||typeof e!=`object`?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isOverflow:c,isRegExp:function(e){return Object.prototype.toString.call(e)===`[object RegExp]`},markOverflow:s,maybeMap:function(e,t){if(a(e)){for(var n=[],r=0;r<e.length;r+=1)n[n.length]=t(e[r]);return n}return t(e)},merge:m}})),BO=o(((e,t)=>{var n=LO(),r=zO(),i=RO(),a=Object.prototype.hasOwnProperty,o={brackets:function(e){return e+`[]`},comma:`comma`,indices:function(e,t){return e+`[`+t+`]`},repeat:function(e){return e}},s=Array.isArray,c=Array.prototype.push,l=function(e,t){c.apply(e,s(t)?t:[t])},u=Date.prototype.toISOString,d=i.default,f={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:`indices`,charset:`utf-8`,charsetSentinel:!1,commaRoundTrip:!1,delimiter:`&`,encode:!0,encodeDotInKeys:!1,encoder:r.encode,encodeValuesOnly:!1,filter:void 0,format:d,formatter:i.formatters[d],indices:!1,serializeDate:function(e){return u.call(e)},skipNulls:!1,strictNullHandling:!1},p=function(e){return typeof e==`string`||typeof e==`number`||typeof e==`boolean`||typeof e==`symbol`||typeof e==`bigint`},m={},h=function e(t,i,a,o,c,u,d,h,g,_,v,y,b,x,S,C,ee,w){for(var T=t,te=w,ne=0,re=!1;(te=te.get(m))!==void 0&&!re;){var ie=te.get(t);if(ne+=1,ie!==void 0){if(ie===ne)throw RangeError(`Cyclic object value`);re=!0}te.get(m)===void 0&&(ne=0)}if(typeof _==`function`?T=_(i,T):T instanceof Date?T=b(T):a===`comma`&&s(T)&&(T=r.maybeMap(T,function(e){return e instanceof Date?b(e):e})),T===null){if(u)return S(g&&!C?g(i,f.encoder,ee,`key`,x):i);T=``}if(p(T)||r.isBuffer(T))return g?[S(C?i:g(i,f.encoder,ee,`key`,x))+`=`+S(g(T,f.encoder,ee,`value`,x))]:[S(i)+`=`+S(String(T))];var ae=[];if(T===void 0)return ae;var oe;if(a===`comma`&&s(T))C&&g&&(T=r.maybeMap(T,function(e){return e==null?e:g(e)})),oe=[{value:T.length>0?T.join(`,`)||null:void 0}];else if(s(_))oe=_;else{var se=Object.keys(T);oe=v?se.sort(v):se}var ce=h?String(i).replace(/\./g,`%2E`):String(i),le=o&&s(T)&&T.length===1?ce+`[]`:ce;if(c&&s(T)&&T.length===0)return le+`[]`;for(var ue=0;ue<oe.length;++ue){var de=oe[ue],fe=typeof de==`object`&&de&&de.value!==void 0?de.value:T[de];if(!(d&&fe===null)){var pe=y&&h?String(de).replace(/\./g,`%2E`):String(de),me=s(T)?typeof a==`function`?a(le,pe):le:le+(y?`.`+pe:`[`+pe+`]`);w.set(t,ne);var E=n();E.set(m,w),l(ae,e(fe,me,a,o,c,u,d,h,a===`comma`&&C&&s(T)?null:g,_,v,y,b,x,S,C,ee,E))}}return ae},g=function(e){if(!e)return f;if(e.allowEmptyArrays!==void 0&&typeof e.allowEmptyArrays!=`boolean`)throw TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(e.encodeDotInKeys!==void 0&&typeof e.encodeDotInKeys!=`boolean`)throw TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(e.encoder!==null&&e.encoder!==void 0&&typeof e.encoder!=`function`)throw TypeError(`Encoder has to be a function.`);var t=e.charset||f.charset;if(e.charset!==void 0&&e.charset!==`utf-8`&&e.charset!==`iso-8859-1`)throw TypeError(`The charset option must be either utf-8, iso-8859-1, or undefined`);var n=i.default;if(e.format!==void 0){if(!a.call(i.formatters,e.format))throw TypeError(`Unknown format option provided.`);n=e.format}var r=i.formatters[n],c=f.filter;(typeof e.filter==`function`||s(e.filter))&&(c=e.filter);var l=e.arrayFormat in o?e.arrayFormat:`indices`in e?e.indices?`indices`:`repeat`:f.arrayFormat;if(`commaRoundTrip`in e&&typeof e.commaRoundTrip!=`boolean`)throw TypeError("`commaRoundTrip` must be a boolean, or absent");var u=e.allowDots===void 0?e.encodeDotInKeys===!0?!0:f.allowDots:!!e.allowDots;return{addQueryPrefix:typeof e.addQueryPrefix==`boolean`?e.addQueryPrefix:f.addQueryPrefix,allowDots:u,allowEmptyArrays:typeof e.allowEmptyArrays==`boolean`?!!e.allowEmptyArrays:f.allowEmptyArrays,arrayFormat:l,charset:t,charsetSentinel:typeof e.charsetSentinel==`boolean`?e.charsetSentinel:f.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:e.delimiter===void 0?f.delimiter:e.delimiter,encode:typeof e.encode==`boolean`?e.encode:f.encode,encodeDotInKeys:typeof e.encodeDotInKeys==`boolean`?e.encodeDotInKeys:f.encodeDotInKeys,encoder:typeof e.encoder==`function`?e.encoder:f.encoder,encodeValuesOnly:typeof e.encodeValuesOnly==`boolean`?e.encodeValuesOnly:f.encodeValuesOnly,filter:c,format:n,formatter:r,serializeDate:typeof e.serializeDate==`function`?e.serializeDate:f.serializeDate,skipNulls:typeof e.skipNulls==`boolean`?e.skipNulls:f.skipNulls,sort:typeof e.sort==`function`?e.sort:null,strictNullHandling:typeof e.strictNullHandling==`boolean`?e.strictNullHandling:f.strictNullHandling}};t.exports=function(e,t){var r=e,i=g(t),a,c;typeof i.filter==`function`?(c=i.filter,r=c(``,r)):s(i.filter)&&(c=i.filter,a=c);var u=[];if(typeof r!=`object`||!r)return``;var d=o[i.arrayFormat],f=d===`comma`&&i.commaRoundTrip;a||=Object.keys(r),i.sort&&a.sort(i.sort);for(var p=n(),m=0;m<a.length;++m){var _=a[m];if(_!=null){var v=r[_];i.skipNulls&&v===null||l(u,h(v,_,d,f,i.allowEmptyArrays,i.strictNullHandling,i.skipNulls,i.encodeDotInKeys,i.encode?i.encoder:null,i.filter,i.sort,i.allowDots,i.serializeDate,i.format,i.formatter,i.encodeValuesOnly,i.charset,p))}}var y=u.join(i.delimiter),b=i.addQueryPrefix===!0?`?`:``;return i.charsetSentinel&&(i.charset===`iso-8859-1`?b+=`utf8=%26%2310003%3B`+i.delimiter:b+=`utf8=%E2%9C%93`+i.delimiter),y.length>0?b+y:``}})),VO=o(((e,t)=>{var n=zO(),r=Object.prototype.hasOwnProperty,i=Array.isArray,a={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:`utf-8`,charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:n.decode,delimiter:`&`,depth:5,duplicates:`combine`,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictMerge:!0,strictNullHandling:!1,throwOnLimitExceeded:!1},o=function(e){return e.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})},s=function(e,t,n){if(e&&typeof e==`string`&&t.comma&&e.indexOf(`,`)>-1)return e.split(`,`);if(t.throwOnLimitExceeded&&n>=t.arrayLimit)throw RangeError(`Array limit exceeded. Only `+t.arrayLimit+` element`+(t.arrayLimit===1?``:`s`)+` allowed in an array.`);return e},c=`utf8=%26%2310003%3B`,l=`utf8=%E2%9C%93`,u=function(e,t){var u={__proto__:null},d=t.ignoreQueryPrefix?e.replace(/^\?/,``):e;d=d.replace(/%5B/gi,`[`).replace(/%5D/gi,`]`);var f=t.parameterLimit===1/0?void 0:t.parameterLimit,p=d.split(t.delimiter,t.throwOnLimitExceeded&&f!==void 0?f+1:f);if(t.throwOnLimitExceeded&&f!==void 0&&p.length>f)throw RangeError(`Parameter limit exceeded. Only `+f+` parameter`+(f===1?``:`s`)+` allowed.`);var m=-1,h,g=t.charset;if(t.charsetSentinel)for(h=0;h<p.length;++h)p[h].indexOf(`utf8=`)===0&&(p[h]===l?g=`utf-8`:p[h]===c&&(g=`iso-8859-1`),m=h,h=p.length);for(h=0;h<p.length;++h)if(h!==m){var _=p[h],v=_.indexOf(`]=`),y=v===-1?_.indexOf(`=`):v+1,b,x;if(y===-1?(b=t.decoder(_,a.decoder,g,`key`),x=t.strictNullHandling?null:``):(b=t.decoder(_.slice(0,y),a.decoder,g,`key`),b!==null&&(x=n.maybeMap(s(_.slice(y+1),t,i(u[b])?u[b].length:0),function(e){return t.decoder(e,a.decoder,g,`value`)}))),x&&t.interpretNumericEntities&&g===`iso-8859-1`&&(x=o(String(x))),_.indexOf(`[]=`)>-1&&(x=i(x)?[x]:x),t.comma&&i(x)&&x.length>t.arrayLimit){if(t.throwOnLimitExceeded)throw RangeError(`Array limit exceeded. Only `+t.arrayLimit+` element`+(t.arrayLimit===1?``:`s`)+` allowed in an array.`);x=n.combine([],x,t.arrayLimit,t.plainObjects)}if(b!==null){var S=r.call(u,b);S&&(t.duplicates===`combine`||_.indexOf(`[]=`)>-1)?u[b]=n.combine(u[b],x,t.arrayLimit,t.plainObjects):(!S||t.duplicates===`last`)&&(u[b]=x)}}return u},d=function(e,t,r,i){var a=0;if(e.length>0&&e[e.length-1]===`[]`){var o=e.slice(0,-1).join(``);a=Array.isArray(t)&&t[o]?t[o].length:0}for(var c=i?t:s(t,r,a),l=e.length-1;l>=0;--l){var u,d=e[l];if(d===`[]`&&r.parseArrays)u=n.isOverflow(c)?c:r.allowEmptyArrays&&(c===``||r.strictNullHandling&&c===null)?[]:n.combine([],c,r.arrayLimit,r.plainObjects);else{u=r.plainObjects?{__proto__:null}:{};var f=d.charAt(0)===`[`&&d.charAt(d.length-1)===`]`?d.slice(1,-1):d,p=r.decodeDotInKeys?f.replace(/%2E/g,`.`):f,m=parseInt(p,10),h=!isNaN(m)&&d!==p&&String(m)===p&&m>=0&&r.parseArrays;if(!r.parseArrays&&p===``)u={0:c};else if(h&&m<r.arrayLimit)u=[],u[m]=c;else if(h&&r.throwOnLimitExceeded)throw RangeError(`Array limit exceeded. Only `+r.arrayLimit+` element`+(r.arrayLimit===1?``:`s`)+` allowed in an array.`);else h?(u[m]=c,n.markOverflow(u,m)):p!==`__proto__`&&(u[p]=c)}c=u}return c},f=function(e,t){var n=t.allowDots?e.replace(/\.([^.[]+)/g,`[$1]`):e;if(t.depth<=0)return!t.plainObjects&&r.call(Object.prototype,n)&&!t.allowPrototypes?void 0:[n];var i=[],a=n.indexOf(`[`),o=a>=0?n.slice(0,a):n;if(o){if(!t.plainObjects&&r.call(Object.prototype,o)&&!t.allowPrototypes)return;i[i.length]=o}for(var s=n.length,c=a,l=0;c>=0&&l<t.depth;){for(var u=1,d=c+1,f=-1;d<s&&f<0;){var p=n.charCodeAt(d);p===91?u+=1:p===93&&(--u,u===0&&(f=d)),d+=1}if(f<0)return i[i.length]=`[`+n.slice(c)+`]`,i;var m=n.slice(c,f+1),h=m.slice(1,-1);if(!t.plainObjects&&r.call(Object.prototype,h)&&!t.allowPrototypes)return;i[i.length]=m,l+=1,c=n.indexOf(`[`,f+1)}if(c>=0){if(t.strictDepth===!0)throw RangeError(`Input depth exceeded depth option of `+t.depth+` and strictDepth is true`);i[i.length]=`[`+n.slice(c)+`]`}return i},p=function(e,t,n,r){if(e){var i=f(e,n);if(i)return d(i,t,n,r)}},m=function(e){if(!e)return a;if(e.allowEmptyArrays!==void 0&&typeof e.allowEmptyArrays!=`boolean`)throw TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(e.decodeDotInKeys!==void 0&&typeof e.decodeDotInKeys!=`boolean`)throw TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(e.decoder!==null&&e.decoder!==void 0&&typeof e.decoder!=`function`)throw TypeError(`Decoder has to be a function.`);if(e.charset!==void 0&&e.charset!==`utf-8`&&e.charset!==`iso-8859-1`)throw TypeError(`The charset option must be either utf-8, iso-8859-1, or undefined`);if(e.throwOnLimitExceeded!==void 0&&typeof e.throwOnLimitExceeded!=`boolean`)throw TypeError("`throwOnLimitExceeded` option must be a boolean");var t=e.charset===void 0?a.charset:e.charset,r=e.duplicates===void 0?a.duplicates:e.duplicates;if(r!==`combine`&&r!==`first`&&r!==`last`)throw TypeError(`The duplicates option must be either combine, first, or last`);return{allowDots:e.allowDots===void 0?e.decodeDotInKeys===!0?!0:a.allowDots:!!e.allowDots,allowEmptyArrays:typeof e.allowEmptyArrays==`boolean`?!!e.allowEmptyArrays:a.allowEmptyArrays,allowPrototypes:typeof e.allowPrototypes==`boolean`?e.allowPrototypes:a.allowPrototypes,allowSparse:typeof e.allowSparse==`boolean`?e.allowSparse:a.allowSparse,arrayLimit:typeof e.arrayLimit==`number`?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:typeof e.charsetSentinel==`boolean`?e.charsetSentinel:a.charsetSentinel,comma:typeof e.comma==`boolean`?e.comma:a.comma,decodeDotInKeys:typeof e.decodeDotInKeys==`boolean`?e.decodeDotInKeys:a.decodeDotInKeys,decoder:typeof e.decoder==`function`?e.decoder:a.decoder,delimiter:typeof e.delimiter==`string`||n.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:typeof e.depth==`number`||e.depth===!1?+e.depth:a.depth,duplicates:r,ignoreQueryPrefix:e.ignoreQueryPrefix===!0,interpretNumericEntities:typeof e.interpretNumericEntities==`boolean`?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:typeof e.parameterLimit==`number`?e.parameterLimit:a.parameterLimit,parseArrays:e.parseArrays!==!1,plainObjects:typeof e.plainObjects==`boolean`?e.plainObjects:a.plainObjects,strictDepth:typeof e.strictDepth==`boolean`?!!e.strictDepth:a.strictDepth,strictMerge:typeof e.strictMerge==`boolean`?!!e.strictMerge:a.strictMerge,strictNullHandling:typeof e.strictNullHandling==`boolean`?e.strictNullHandling:a.strictNullHandling,throwOnLimitExceeded:typeof e.throwOnLimitExceeded==`boolean`?e.throwOnLimitExceeded:!1}};t.exports=function(e,t){var r=m(t);if(e===``||e==null)return r.plainObjects?{__proto__:null}:{};for(var i=typeof e==`string`?u(e,r):e,a=r.plainObjects?{__proto__:null}:{},o=Object.keys(i),s=0;s<o.length;++s){var c=o[s],l=p(c,i[c],r,typeof e==`string`);a=n.merge(a,l,r)}return r.allowSparse===!0?a:n.compact(a)}})),HO=o(((e,t)=>{var n=BO(),r=VO();t.exports={formats:RO(),parse:r,stringify:n}})),UO;(function(e){e.Pop=`POP`,e.Push=`PUSH`,e.Replace=`REPLACE`})(UO||={});var WO;(function(e){e.data=`data`,e.deferred=`deferred`,e.redirect=`redirect`,e.error=`error`})(WO||={});var GO=[`post`,`put`,`patch`,`delete`];new Set(GO);var KO=[`get`,...GO];new Set(KO);var qO={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(?: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,[[`(?:(?:(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|7(?:[013-57-9]\\d|2[0-8]))\\d|3(?:(?:[0-3589]\\d|6[1-9]|7[0-35-9])\\d|4(?:[0-578]\\d|90)))\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|3\\d\\d)|(?:6[0-8]|[78]\\d)\\d{3}|9(?:[02-9]\\d{3}|1(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79])))))\\d{3}`,[9]],[`4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}`,[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]|22`],`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`,`[025-7]\\d{7}`,[8],[[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[025-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`,`[24-689]\\d{7}`,[8],[[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[24-689]`]]]],BL:[`590`,`00`,`590\\d{6}|(?:69|80|9\\d)\\d{7}`,[9],0,`0`,0,0,0,0,0,[[`590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}`],[`69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))\\d{4}`],[`80[0-5]\\d{6}`],0,0,0,0,0,[`9(?:(?:39[5-7]|76[018])\\d|475[0-5])\\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)?`,`8001\\d{5}|(?:[2-467]\\d|50)\\d{6}`,[8,9],[[`(\\d)(\\d{7})`,`$1 $2`,[`[235]|4[46]`]],[`(\\d{8})`,`$1`,[`[67]`]],[`(\\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-46-9]\\d\\d|5(?:[0-46-9]\\d|5[0-46-9]))\\d{8}|[1-9]\\d{9}|[3589]\\d{8}|[34]\\d{7}`,[8,9,10,11],[[`(\\d{4})(\\d{4})`,`$1-$2`,[`300|4(?:0[02]|37)`,`4(?:02|37)0|[34]00`]],[`(\\d{3})(\\d{2,3})(\\d{4})`,`$1 $2 $3`,[`(?:[358]|90)0`],`0$1`],[`(\\d{2})(\\d{4})(\\d{4})`,`$1 $2-$3`,[`(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]`],`($1)`],[`(\\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`,`[17]\\d{7}|[2-8]\\d{6}`,[7,8],[[`(\\d)(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[2-68]|7[246]`]],[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`1[67]|7`]]]],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-8]\\d|90)\\d{8}|3\\d{6}`,[7,10],0,`1`,0,0,0,0,0,[[`(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|90[25])[2-9]\\d{6}`,[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(?:00|2[125-9]|33|44|66|77|88)|622)[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-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}`,[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]\\d{8}|[1-68]\\d{6}`,[7,9],[[`(\\d{2})(\\d{2})(\\d{3})`,`$1 $2 $3`,[`88`],`0$1`],[`(\\d{2})(\\d{5})`,`$1 $2`,[`[1-6]`],`0$1`],[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`1`],`0$1`],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[89]`],`0$1`]],`0`],CF:[`236`,`00`,`(?:[27]\\d{3}|8776)\\d{4}`,[8],[[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[278]`]]]],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],[[`(\\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{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`44`]],[`(\\d)(\\d{4})(\\d{4})`,`$1 $2 $3`,[`2[1-36]`],`($1)`],[`(\\d)(\\d{4})(\\d{4})`,`$1 $2 $3`,[`9[2-9]`]],[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])`],`($1)`],[`(\\d{3})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`60|8`]],[`(\\d{4})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`1`]],[`(\\d{3})(\\d{3})(\\d{2})(\\d{3})`,`$1 $2 $3 $4`,[`60`]]]],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[127]\\d{8,9}|2\\d{9}(?:\\d{2})?|[12]\\d{6,7}|86\\d{6}|(?:1[03-689]\\d|6)\\d{7,9}|(?:[3-579]\\d|8[0-57-9])\\d{6,9}`,[7,8,9,10,11,12],[[`(\\d{2})(\\d{5,6})`,`$1 $2`,[`(?:10|2[0-57-9])[19]`,`(?:10|2[0-57-9])(?:10|9[56])`,`10(?:10|9[56])|2[0-57-9](?:100|9[56])`],`0$1`],[`(\\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])`,`(?:60\\d\\d|9101)\\d{6}|(?:1\\d|3)\\d{9}`,[10,11],[[`(\\d{3})(\\d{7})`,`$1 $2`,[`6`],`($1)`],[`(\\d{3})(\\d{7})`,`$1 $2`,[`3[0-357]|91`]],[`(\\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-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}`,[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],[[`(\\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]|31)`],`0$1`],[`(\\d{3})(\\d{8})`,`$1 $2`,[`18`],`0$1`],[`(\\d{3})(\\d{2})(\\d{7,8})`,`$1 $2 $3`,[`1(?:6[023]|7)`],`0$1`],[`(\\d{4})(\\d{2})(\\d{7})`,`$1 $2 $3`,[`15[279]`],`0$1`],[`(\\d{3})(\\d{2})(\\d{8})`,`$1 $2 $3`,[`15`],`0$1`]],`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,`528[89]`],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-579]\\d)\\d{7}`,[9],[[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[1-579]`],`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`,[`(?:1[49]|[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,0,0,0,[[`(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-35])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}`,[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`,`[56]94\\d{6}|(?:80|9\\d)\\d{7}`,[9],[[`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[56]|9[47]`],`0$1`],[`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[89]`],`0$1`]],`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`,`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{3}|800)\\d{5}`,[8,9],[[`(\\d{3})(\\d{5})`,`$1 $2`,[`8`],`0$1`],[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[235]`],`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`,`590\\d{6}|(?:69|80|9\\d)\\d{7}`,[9],[[`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[569]`],`0$1`],[`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`8`],`0$1`]],`0`,0,0,0,0,0,[[`590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}`],[`69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))\\d{4}`],[`80[0-5]\\d{6}`],0,0,0,0,0,[`9(?:(?:39[5-7]|76[018])\\d|475[0-5])\\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`,`(?:[24-69]\\d|3[0-79])\\d{7}|80\\d{5,7}|[1-79]\\d{7}|6\\d{5,6}`,[6,7,8,9],[[`(\\d{2})(\\d{2})(\\d{2,3})`,`$1 $2 $3`,[`6[01]`],`0$1`],[`(\\d{3})(\\d{2})(\\d{2,3})`,`$1 $2 $3`,[`8`],`0$1`],[`(\\d)(\\d{4})(\\d{3})`,`$1 $2 $3`,[`1`],`0$1`],[`(\\d{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`6|7[245]`],`0$1`],[`(\\d{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`9`],`0$1`],[`(\\d{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`[2-57]`],`0$1`],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`8`],`0$1`]],`0`],HT:[`509`,`00`,`(?:[2-489]\\d|55)\\d{6}`,[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]|8\\d)\\d{4}|[1-36])\\d{6}|00\\d{10}|[1-9]\\d{8,10}|[2-9]\\d{7}`,[7,8,9,10,11,12,13],[[`(\\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`,`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]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]`,`1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]`,`1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]`],`0$1`,1],[`(\\d{4})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807`,`1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]`,`1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]`],`0$1`,1],[`(\\d{5})(\\d{5})`,`$1 $2`,[`[6-9]`],`0$1`,1],[`(\\d{4})(\\d{2,4})(\\d{4})`,`$1 $2 $3`,[`1(?:6|8[06])`,`1(?:6|8[06]0)`],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,10}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?`,[6,7,8,9,10,11],[[`(\\d{2})(\\d{4,6})`,`$1 $2`,[`0[26]`]],[`(\\d{3})(\\d{3,6})`,`$1 $2`,[`0[13-57-9][0159]|8(?:03|4[17]|9[2-5])`,`0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))`]],[`(\\d{4})(\\d{2,6})`,`$1 $2`,[`0(?:[13-579][2-46-8]|8[236-8])`]],[`(\\d{4})(\\d{4})`,`$1 $2`,[`894`]],[`(\\d{2})(\\d{3,4})(\\d{4})`,`$1 $2 $3`,[`0[26]|5`]],[`(\\d{3})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`1(?:44|[679])|[378]|43`]],[`(\\d{3})(\\d{3,4})(\\d{4})`,`$1 $2 $3`,[`0[13-57-9][0159]|14`]],[`(\\d{2})(\\d{4})(\\d{5})`,`$1 $2 $3`,[`0[26]`]],[`(\\d{4})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`0`]],[`(\\d{3})(\\d{4})(\\d{4,5})`,`$1 $2 $3`,[`3`]]],0,0,0,0,0,0,[[`0669[0-79]\\d{1,6}|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}`],[`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]],0,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`,`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|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`,[`7`],`0$1`]],`0`],JP:[`81`,`010`,`00[1-9]\\d{6,14}|[257-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}`,[8,9,10,11,12,13,14,15,16,17],[[`(\\d{3})(\\d{3})(\\d{3})`,`$1-$2-$3`,[`(?:12|57|99)0`],`0$1`],[`(\\d{4})(\\d)(\\d{4})`,`$1-$2-$3`,[`1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])`,`1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]`,`1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]`],`0$1`],[`(\\d{2})(\\d{3})(\\d{4})`,`$1-$2-$3`,[`60`],`0$1`],[`(\\d)(\\d{4})(\\d{4})`,`$1-$2-$3`,[`[36]|4(?:2[09]|7[01])`,`[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))`],`0$1`],[`(\\d{2})(\\d{3})(\\d{4})`,`$1-$2-$3`,[`1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])`,`1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]`,`1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]`],`0$1`],[`(\\d{3})(\\d{2})(\\d{4})`,`$1-$2-$3`,[`[14]|[289][2-9]|5[3-9]|7[2-4679]`],`0$1`],[`(\\d{3})(\\d{3})(\\d{4})`,`$1-$2-$3`,[`800`],`0$1`],[`(\\d{2})(\\d{4})(\\d{4})`,`$1-$2-$3`,[`[257-9]`],`0$1`]],`0`,0,`(000[259]\\d{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`,`(?:33622|8\\d{8})\\d{5}|[78]\\d{9}`,[10,14],0,`8`,0,0,0,0,`33|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`,[`30[0135-9]`],`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-7]|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`,`(?:[245]\\d|33|77|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`,[`2(?:[0367]|4[3-8])`]],[`(\\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`,[`2(?:[0367]|4[3-8])`]],[`(\\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]`]]],0,0,`(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)`],LV:[`371`,`00`,`(?:[268]\\d|90)\\d{6}`,[8],[[`(\\d{2})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[269]|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{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`5[45]`],`0$1`],[`(\\d{4})(\\d{5})`,`$1-$2`,[`5(?:2[2-46-9]|3[3-9]|9)|8(?:0[89]|92)`],`0$1`],[`(\\d{2})(\\d{7})`,`$1-$2`,[`8`],`0$1`],[`(\\d{3})(\\d{6})`,`$1-$2`,[`[5-7]`],`0$1`]],`0`,0,0,0,0,0,[[`5(?:2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-7])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}`],[`(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-4]|5[01]|8[0-3]))\\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}`]]],MC:[`377`,`00`,`(?:[3489]|6\\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`,[`6`],`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`,`590\\d{6}|(?:69|80|9\\d)\\d{7}`,[9],0,`0`,0,0,0,0,0,[[`590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}`],[`69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))\\d{4}`],[`80[0-5]\\d{6}`],0,0,0,0,0,[`9(?:(?:39[5-7]|76[018])\\d|475[0-5])\\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`,[`[45]|6(?:0[23]|[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-6]`],`0$1`],[`(\\d)(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`[12]`],`0$1`],[`(\\d{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`[4-7]|8[1-35]`],`0$1`],[`(\\d)(\\d{3})(\\d{4,6})`,`$1 $2 $3`,[`9(?:2[0-4]|[35-9]|4[137-9])`],`0$1`],[`(\\d)(\\d{4})(\\d{4})`,`$1 $2 $3`,[`2`],`0$1`],[`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`8`],`0$1`],[`(\\d)(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3 $4`,[`92`],`0$1`],[`(\\d)(\\d{5})(\\d{4})`,`$1 $2 $3`,[`9`],`0$1`]],`0`],MN:[`976`,`001`,`[12]\\d{7,9}|[5-9]\\d{7}`,[8,9,10],[[`(\\d{2})(\\d{2})(\\d{4})`,`$1 $2 $3`,[`[12]1`],`0$1`],[`(\\d{4})(\\d{4})`,`$1 $2`,[`[5-9]`]],[`(\\d{3})(\\d{5,6})`,`$1 $2`,[`[12]2[1-3]`],`0$1`],[`(\\d{4})(\\d{5,6})`,`$1 $2`,[`[12](?:27|3[2-8]|4[2-68]|5[1-4689])`,`[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]`],`0$1`],[`(\\d{5})(\\d{4,5})`,`$1 $2`,[`[12]`],`0$1`]],`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`,`596\\d{6}|(?:69|80|9\\d)\\d{7}`,[9],[[`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[569]`],`0$1`],[`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`8`],`0$1`]],`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{3})(\\d{3})`,`$1 $2 $3`,[`2`],`0$1`],[`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[137-9]`],`0$1`]],`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`,`2[0-24-9]\\d{8}|[78]\\d{10,13}|[7-9]\\d{9}|[1-9]\\d{7}|[124-7]\\d{6}`,[7,8,10,11,12,13,14],[[`(\\d{2})(\\d{2})(\\d{3})`,`$1 $2 $3`,[`78`],`0$1`],[`(\\d)(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`[12]|9(?:0[3-9]|[1-9])`],`0$1`],[`(\\d{2})(\\d{3})(\\d{2,3})`,`$1 $2 $3`,[`[3-6]|7(?:0[0-689]|[1-79])|8[2-9]`],`0$1`],[`(\\d{3})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`[7-9]`],`0$1`],[`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`20[129]`],`0$1`],[`(\\d{4})(\\d{2})(\\d{4})`,`$1 $2 $3`,[`2`],`0$1`],[`(\\d{3})(\\d{4})(\\d{4,5})`,`$1 $2 $3`,[`[78]`],`0$1`],[`(\\d{3})(\\d{5})(\\d{5,6})`,`$1 $2 $3`,[`[78]`],`0$1`]],`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`,`(?:444|(?:55|8\\d)\\d|666)\\d{4}`,[7],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`[4-68]`]]]],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`,[`(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1`,`(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19`]],[`(\\d{3})(\\d{2})(\\d{2,3})`,`$1 $2 $3`,[`64`]],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)`]],[`(\\d{2})(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`1[2-8]|[2-7]|8[1-79]|9[145]`]],[`(\\d{3})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`8`]]]],PM:[`508`,`00`,`[45]\\d{5}|(?:708|80\\d)\\d{6}`,[6,9],[[`(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3`,[`[45]`],`0$1`],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`7`]],[`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`8`],`0$1`]],`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`,`59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,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`,[`[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]`],`(0$1)`],[`(\\d{3})(\\d{4,5})`,`$1 $2`,[`2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85`],`(0$1)`],[`(\\d{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]`],`(0$1)`],[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`87`]],[`(\\d{3})(\\d{6})`,`$1 $2`,[`9(?:[5-79]|8[1-7])`],`0$1`],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[2-8]`],`0$1`],[`(\\d{4})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`9`]]],`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[16]|8`]],[`(\\d{4})(\\d{4})`,`$1 $2`,[`[3-7]`]]]],RE:[`262`,`00`,`(?:26|[689]\\d)\\d{7}`,[9],[[`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[2689]`],`0$1`]],`0`,0,0,0,0,0,[[`26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}`],[`69(?:2\\d\\d|3(?:[06][0-6]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))\\d{4}`],[`80\\d{7}`],[`89[1-37-9]\\d{6}`],0,0,0,0,[`9(?:399[0-3]|479[0-5]|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,`3[04-689]|[489]`,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`,`92\\d{7}|(?:[15]|8\\d)\\d{8}`,[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{3,4})`,`$1 $2 $3`,[`81`],`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],[[`(\\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[0139]|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)(\\d{7})`,`$1 $2`,[`(?:2|90)4|[67]`]],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[348]|64|79|90`]],[`(\\d{2})(\\d{5,7})`,`$1 $2`,[`1|28|6[0-35-9]|77|9[2-9]`]]],`0`],SR:[`597`,`00`,`(?:[2-5]|68|[78]\\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-8]`]]]],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`,`[267]\\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`,[`[267]`]],[`(\\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-39]\\d{8}|[1-5]\\d{7}`,[8,9],[[`(\\d{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`[1-5]`],`0$1`,1],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`9`],`0$1`,1]],`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|[689]\\d|77)\\d{6}`,[8],[[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[26-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{8}`,[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`,[`[0-57-9]`]]],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-59]|61)`,`5(?:[0-59]|61[06])`,`5(?:[0-59]|61[06]1)`],`0$1`,1],[`(\\d{3})(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[24][1-8]|3[1-9]`],`(0$1)`,1],[`(\\d{3})(\\d{3})(\\d{6,7})`,`$1 $2 $3`,[`80`],`0$1`,1]],`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{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`[258]0`],`0$1`],[`(\\d)(\\d{3,4})(\\d{4})`,`$1 $2 $3`,[`[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]`,`[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]`],`0$1`],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[49]`],`0$1`],[`(\\d{2})(\\d{4})(\\d{4,5})`,`$1 $2 $3`,[`7`],`0$1`]],`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,[[`(?:3052(?:0[0-8]|[1-9]\\d)|5056(?:[0-35-9]\\d|4[468])|7302[0-4]\\d)\\d{4}|(?:305[3-9]|472[24]|505[2-57-9]|7306|983[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[013569]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}`],[``],[`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]|33|44|66|77|88)[2-9]\\d{6}`],0,0,0,[`305209\\d{4}`]]],UY:[`598`,`0(?:0|1[3-9]\\d)`,`0004\\d{2,9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}`,[6,7,8,9,10,11,12,13],[[`(\\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-79]\\d|88)\\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],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{7}|[16-8]\\d{6}`,[7,8,9,10],[[`(\\d{2})(\\d{5})`,`$1 $2`,[`80`],`0$1`,1],[`(\\d{4})(\\d{4,6})`,`$1 $2`,[`1`],0,1],[`(\\d{2})(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`6`],`0$1`,1],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[357-9]`],`0$1`,1],[`(\\d{2})(\\d{4})(\\d{4})`,`$1 $2 $3`,[`2[48]`],`0$1`,1],[`(\\d{3})(\\d{4})(\\d{3})`,`$1 $2 $3`,[`2`],`0$1`,1]],`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)\\d{4}|8\\d{5}(?:\\d{3})?`,[6,9],[[`(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3`,[`[478]`]],[`(\\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`,`(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}`,[9],0,`0`,0,0,0,0,0,[[`269(?: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])\\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|63|[79]\\d)\\d{7}`,[9],[[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[28]`],`0$1`],[`(\\d{2})(\\d{7})`,`$1 $2`,[`[79]`],`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}|[35-7]\\d{8}`,[9,12],[[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[35-7]`]]],0,0,0,0,0,0,[0,[`(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}`]]],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|51`]],[`(\\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})|50\\d{3})\\d{7}`,[7,8,9,10,12]],0,0,0,0,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 JO(e,t){var n=Array.prototype.slice.call(t);return n.push(qO),e.apply(this,n)}function YO(e,t){e=e.split(`-`),t=t.split(`-`);for(var n=e[0].split(`.`),r=t[0].split(`.`),i=0;i<3;i++){var a=Number(n[i]),o=Number(r[i]);if(a>o)return 1;if(o>a)return-1;if(!isNaN(a)&&isNaN(o))return 1;if(isNaN(a)&&!isNaN(o))return-1}return e[1]&&t[1]?e[1]>t[1]?1:e[1]<t[1]?-1:0:!e[1]&&t[1]?1:e[1]&&!t[1]?-1:0}var XO={}.constructor;function ZO(e){return e!=null&&e.constructor===XO}function QO(e){"@babel/helpers - typeof";return QO=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},QO(e)}function $O(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function ek(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function tk(e,t,n){return t&&ek(e.prototype,t),n&&ek(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var nk=`1.2.0`,rk=`1.7.35`,ik=` ext. `,ak=/^\d+$/,ok=function(){function e(t){$O(this,e),fk(t),this.metadata=t,hk.call(this,t)}return tk(e,[{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!0;if(this.nonGeographic()){if(this.nonGeographic()[e])return!0}else{var t=this.countryCallingCodes()[e];if(t&&t.length===1&&t[0]===`001`)return!0}}},{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,t){if(e&&ak.test(e)&&(t=e,e=null),e&&e!==`001`){if(!this.hasCountry(e))throw Error(`Unknown country: ${e}`);this.numberingPlan=new sk(this.getCountryMetadata(e),this)}else if(t){if(!this.hasCallingCode(t))throw Error(`Unknown calling code: ${t}`);this.numberingPlan=new sk(this.getNumberingPlanMetadata(t),this)}else this.numberingPlan=void 0;return this}},{key:`getCountryCodesForCallingCode`,value:function(e){var t=this.countryCallingCodes()[e];if(t)return t.length===1&&t[0].length===3?void 0:t}},{key:`getCountryCodeForCallingCode`,value:function(e){var t=this.getCountryCodesForCallingCode(e);if(t)return t[0]}},{key:`getNumberingPlanMetadata`,value:function(e){var t=this.getCountryCodeForCallingCode(e);if(t)return this.getCountryMetadata(t);if(this.nonGeographic()){var n=this.nonGeographic()[e];if(n)return n}else{var r=this.countryCallingCodes()[e];if(r&&r.length===1&&r[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}}]),e}(),sk=function(){function e(t,n){$O(this,e),this.globalMetadataObject=n,this.metadata=t,hk.call(this,n.metadata)}return tk(e,[{key:`callingCode`,value:function(){return this.metadata[0]}},{key:`getDefaultCountryMetadataForRegion`,value:function(){return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode())}},{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;return(this._getFormats(this.metadata)||this._getFormats(this.getDefaultCountryMetadataForRegion())||[]).map(function(t){return new ck(t,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.getDefaultCountryMetadataForRegion())}},{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.getDefaultCountryMetadataForRegion())}},{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?!1:!!this.types()}},{key:`type`,value:function(e){if(this.hasTypes()&&dk(this.types(),e))return new uk(dk(this.types(),e),this)}},{key:`ext`,value:function(){return this.v1||this.v2?ik:this.metadata[13]||ik}}]),e}(),ck=function(){function e(t,n){$O(this,e),this._format=t,this.metadata=n}return tk(e,[{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()&&!lk.test(this.nationalPrefixFormattingRule()))}},{key:`internationalFormat`,value:function(){return this._format[5]||this.format()}}]),e}(),lk=/^\(?\$1\)?$/,uk=function(){function e(t,n){$O(this,e),this.type=t,this.metadata=n}return tk(e,[{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()}}]),e}();function dk(e,t){switch(t){case`FIXED_LINE`:return e[0];case`MOBILE`:return e[1];case`TOLL_FREE`:return e[2];case`PREMIUM_RATE`:return e[3];case`PERSONAL_NUMBER`:return e[4];case`VOICEMAIL`:return e[5];case`UAN`:return e[6];case`PAGER`:return e[7];case`VOIP`:return e[8];case`SHARED_COST`:return e[9]}}function fk(e){if(!e)throw Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!ZO(e)||!ZO(e.countries))throw Error(`[libphonenumber-js] \`metadata\` argument was passed but it's not a valid metadata. Must be an object having \`.countries\` child object property. Got ${ZO(e)?`an object of shape: { `+Object.keys(e).join(`, `)+` }`:`a `+pk(e)+`: `+e}.`)}var pk=function(e){return QO(e)};function mk(e,t){if(t=new ok(t),t.hasCountry(e))return t.country(e).countryCallingCode();throw Error(`Unknown country: ${e}`)}function hk(e){var t=e.version;typeof t==`number`?(this.v1=t===1,this.v2=t===2,this.v3=t===3,this.v4=t===4):t?YO(t,nk)===-1?this.v2=!0:YO(t,rk)===-1?this.v3=!0:this.v4=!0:this.v1=!0}function gk(e){return new ok(e).getCountries()}function _k(){return JO(gk,arguments)}function vk(){return JO(mk,arguments)}var yk=l(YD(),1);XD(),HO(),J.TEXT,J.FULL_NAME,J.EMAILS,J.ADDRESS,J.LINKS,J.PHONES,J.RICH_TEXT,J.UUID;var bk=e=>/^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(e);Object.keys(gp).reduce((e,t)=>{let n=t.split(`-`)[0].toLowerCase();return(!e[n]||t===`en`)&&(e[n]=t),e},{});var xk=(e,t)=>{throw Error(t??`Didn't expect to get here.`)},Sk=new Set([`__proto__`,`constructor`,`prototype`]),Ck=(e,t)=>{if(!(0,E.isString)(t))return;let n=t.split(`.`),r=e;for(let e of n){if(!D(r)||!(0,E.isObject)(r)||Sk.has(e)||!Object.prototype.hasOwnProperty.call(r,e))return;r=r[e]}return r},wk=(e,t)=>(n,r)=>(0,E.isNonEmptyArray)(n)?n[e](e=>t(Ck(e,r))):!1,Tk=(e,t)=>(n,r,i)=>(0,E.isNonEmptyArray)(n)?n[e](e=>t(Ck(e,r),i)):!1,Ek=new ih;Ek.functions.isDefined=e=>D(e),Ek.functions.isNonEmptyString=e=>(0,E.isNonEmptyString)(e),Ek.functions.includes=(e,t)=>Array.isArray(e)&&e.includes(t),Ek.functions.arrayLength=e=>Array.isArray(e)?e.length:0,Ek.functions.every=wk(`every`,Boolean),Ek.functions.everyDefined=wk(`every`,D),Ek.functions.some=wk(`some`,Boolean),Ek.functions.someDefined=wk(`some`,D),Ek.functions.someNonEmptyString=wk(`some`,E.isNonEmptyString),Ek.functions.none=wk(`every`,e=>!e),Ek.functions.noneDefined=wk(`every`,e=>!D(e)),Ek.functions.everyEquals=Tk(`every`,(e,t)=>e===t),Ek.functions.someEquals=Tk(`some`,(e,t)=>e===t),Ek.functions.noneEquals=Tk(`every`,(e,t)=>e!==t),Ek.functions.includesEvery=Tk(`every`,(e,t)=>Array.isArray(e)&&e.includes(t)),Ek.functions.includesSome=Tk(`some`,(e,t)=>Array.isArray(e)&&e.includes(t)),Ek.functions.includesNone=Tk(`every`,(e,t)=>Array.isArray(e)&&!e.includes(t));var Dk=(e,t)=>{if(e===t)return!0;if(e&&t&&typeof e==`object`&&typeof t==`object`){if(e.constructor!==t.constructor)return!1;if(Array.isArray(e)){let n=e,r=t;if(n.length!==r.length)return!1;for(let e=n.length;e--!==0;)if(!Dk(n[e],r[e]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(let[n]of e.entries())if(!t.has(n))return!1;for(let[n,r]of e.entries())if(!Dk(r,t.get(n)))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;return!0}if(ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){let n=e,r=t;if(n.length!==r.length)return!1;for(let e=n.length;e--!==0;)if(n[e]!==r[e])return!1;return!0}if(e.constructor===RegExp){let n=e,r=t;return n.source===r.source&&n.flags===r.flags}if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let e=n.length;e--!==0;)if(!(n[e]in t))return!1;for(let r=n.length;r--!==0;){let i=n[r];if(!Dk(e[i],t[i]))return!1}return!0}return e!==e&&t!==t},Ok=(e,t)=>{if(!e)return t;if(!t)return e;let n={...e};return Object.keys(t).forEach(r=>{let i=e[r],a=t[r];if(a!==void 0){if(a===null){n[r]=null;return}if(Array.isArray(i)&&Array.isArray(a)){n[r]=[...i,...a];return}if(a instanceof Date||a instanceof RegExp||i instanceof Date||i instanceof RegExp){n[r]=a;return}if(i&&a&&typeof i==`object`&&typeof a==`object`&&!Array.isArray(i)&&!Array.isArray(a)){n[r]=Ok(i,a);return}n[r]=a}}),n},kk=class extends Error{constructor(e,t){super(e),this.code=t}},Ak=(e,t)=>{try{yk.default.registerHelper(`json`,e=>JSON.stringify(e));let n=e.replace(`{{`,`{{{ json `).replace(`}}`,` }}}`),r=yk.default.compile(n)(t,{helpers:{json:e=>JSON.stringify(e)}});return JSON.parse(r)}catch{return}};J.NUMBER,J.NUMERIC,J.CURRENCY,J.RATING,J.POSITION,new Set([`createdAt`,`updatedAt`]),new Set([J.RELATION,J.MORPH_RELATION]),J.TEXT,J.RICH_TEXT;var jk=e=>[Y.IS_EMPTY,Y.IS_NOT_EMPTY].includes(e),Mk=e=>{switch(e){case J.DATE_TIME:return`DATE_TIME`;case J.DATE:return`DATE`;case J.LINKS:return`LINKS`;case J.FULL_NAME:return`FULL_NAME`;case J.NUMBER:return`NUMBER`;case J.CURRENCY:return`CURRENCY`;case J.EMAILS:return`EMAILS`;case J.PHONES:return`PHONES`;case J.RELATION:return`RELATION`;case J.SELECT:return`SELECT`;case J.MULTI_SELECT:return`MULTI_SELECT`;case J.ADDRESS:return`ADDRESS`;case J.RATING:return`RATING`;case J.ACTOR:return`ACTOR`;case J.ARRAY:return`ARRAY`;case J.RAW_JSON:return`RAW_JSON`;case J.FILES:return`FILES`;case J.BOOLEAN:return`BOOLEAN`;case J.TS_VECTOR:return`TS_VECTOR`;case J.UUID:return`UUID`;default:return`TEXT`}},Nk=({recordFilterOperand:e,correspondingFieldMetadataItem:t})=>{if(!jk(e))return!1;let n=[`BOOLEAN`,`TS_VECTOR`],r=Mk(t.type);return!n.includes(r)},Pk=({recordFilter:e,correspondingFieldMetadataItem:t,subFieldName:n})=>{if((0,E.isNonEmptyString)(n))switch(n){case`primaryEmail`:switch(e.operand){case Y.CONTAINS:return{[t.name]:{primaryEmail:{ilike:`%${e.value}%`}}};case Y.DOES_NOT_CONTAIN:return{not:{[t.name]:{primaryEmail:{ilike:`%${e.value}%`}}}};default:throw Error(`Unknown operand ${e.operand} for ${t.type} filter`)}case`additionalEmails`:switch(e.operand){case Y.CONTAINS:return{[t.name]:{additionalEmails:{like:`%${e.value}%`}}};case Y.DOES_NOT_CONTAIN:return{or:[{not:{[t.name]:{additionalEmails:{like:`%${e.value}%`}}}},{[t.name]:{additionalEmails:{is:`NULL`}}}]};default:throw new kk(`Unknown operand ${e.operand} for ${t.type} filter`,`UNKNOWN_OPERAND_FOR_FILTER`)}default:throw new kk(`Unknown subfield name ${n}`,`UNKNOWN_SUBFIELD_NAME`)}switch(e.operand){case Y.CONTAINS:return{or:[{[t.name]:{primaryEmail:{ilike:`%${e.value}%`}}},{[t.name]:{additionalEmails:{like:`%${e.value}%`}}}]};case Y.DOES_NOT_CONTAIN:return{and:[{not:{[t.name]:{primaryEmail:{ilike:`%${e.value}%`}}}},{or:[{not:{[t.name]:{additionalEmails:{like:`%${e.value}%`}}}},{[t.name]:{additionalEmails:{is:`NULL`}}}]}]};default:throw Error(`Unknown operand ${e.operand} for ${t.type} filter`)}},Fk=({recordFilter:e,correspondingFieldMetadataItem:t,subFieldName:n})=>{if((0,E.isNonEmptyString)(n))switch(n){case`primaryLinkLabel`:case`primaryLinkUrl`:switch(e.operand){case Y.CONTAINS:return{[t.name]:{[n]:{ilike:`%${e.value}%`}}};case Y.DOES_NOT_CONTAIN:return{not:{[t.name]:{[n]:{ilike:`%${e.value}%`}}}};default:throw new kk(`Unknown operand ${e.operand} for ${t.type} filter`,`UNKNOWN_OPERAND_FOR_FILTER`)}case`secondaryLinks`:switch(e.operand){case Y.CONTAINS:return{[t.name]:{secondaryLinks:{like:`%${e.value}%`}}};case Y.DOES_NOT_CONTAIN:return{or:[{not:{[t.name]:{secondaryLinks:{like:`%${e.value}%`}}}},{[t.name]:{secondaryLinks:{is:`NULL`}}}]};default:throw Error(`Unknown operand ${e.operand} for ${t.type} filter`)}default:throw Error(`Unknown subfield name ${n}`)}switch(e.operand){case Y.CONTAINS:return{or:[{[t.name]:{primaryLinkUrl:{ilike:`%${e.value}%`}}},{[t.name]:{primaryLinkLabel:{ilike:`%${e.value}%`}}},{[t.name]:{secondaryLinks:{like:`%${e.value}%`}}}]};case Y.DOES_NOT_CONTAIN:return{and:[{not:{[t.name]:{primaryLinkLabel:{ilike:`%${e.value}%`}}}},{not:{[t.name]:{primaryLinkUrl:{ilike:`%${e.value}%`}}}},{or:[{not:{[t.name]:{secondaryLinks:{like:`%${e.value}%`}}}},{[t.name]:{secondaryLinks:{is:`NULL`}}}]}]};default:throw Error(`Unknown operand ${e.operand} for ${t.type} filter`)}},Ik=({recordFilter:e,correspondingFieldMetadataItem:t})=>{let n=e.subFieldName;if((0,E.isNonEmptyString)(n))switch(n){case`primaryEmail`:return{or:[{[t.name]:{primaryEmail:{eq:``}}},{[t.name]:{primaryEmail:{is:`NULL`}}}]};case`additionalEmails`:return{or:[{[t.name]:{additionalEmails:{is:`NULL`}}},{[t.name]:{additionalEmails:{like:`[]`}}}]};default:throw new kk(`Unknown subfield name ${n}`,`UNKNOWN_SUBFIELD_NAME`)}return{and:[{or:[{[t.name]:{primaryEmail:{eq:``}}},{[t.name]:{primaryEmail:{is:`NULL`}}}]},{or:[{[t.name]:{additionalEmails:{is:`NULL`}}},{[t.name]:{additionalEmails:{like:`[]`}}}]}]}},Lk=({recordFilter:e,correspondingFieldMetadataItem:t})=>{let n=e.subFieldName;if((0,E.isNonEmptyString)(n))switch(n){case`primaryLinkLabel`:return{or:[{[t.name]:{primaryLinkLabel:{eq:``}}},{[t.name]:{primaryLinkLabel:{is:`NULL`}}}]};case`primaryLinkUrl`:return{or:[{[t.name]:{primaryLinkUrl:{eq:``}}},{[t.name]:{primaryLinkUrl:{is:`NULL`}}}]};case`secondaryLinks`:return{or:[{[t.name]:{secondaryLinks:{is:`NULL`}}},{[t.name]:{secondaryLinks:{like:`[]`}}}]};default:throw new kk(`Unknown subfield name ${n}`,`UNKNOWN_SUBFIELD_NAME`)}return{and:[{or:[{[t.name]:{primaryLinkLabel:{eq:``}}},{[t.name]:{primaryLinkLabel:{is:`NULL`}}}]},{or:[{[t.name]:{primaryLinkUrl:{eq:``}}},{[t.name]:{primaryLinkUrl:{is:`NULL`}}}]},{or:[{[t.name]:{secondaryLinks:{is:`NULL`}}},{[t.name]:{secondaryLinks:{like:`[]`}}}]}]}},Rk=e=>{switch(e){case Y.IS_NOT_NULL:case Y.IS_EMPTY:case Y.IS_NOT_EMPTY:case Y.IS_IN_PAST:case Y.IS_IN_FUTURE:case Y.IS_TODAY:return!1;default:return!0}},zk=e=>Rk(e.operand)?D(e.value)&&e.value!==``&&e.value!==`[]`:!0;Object.entries(mp).map(([e,{label:t}])=>({value:e,label:`${t} (${e})`}));var Bk=e=>hp.filter(t=>+t.split(`_`)[1]>=e),Vk=e=>hp.filter(t=>+t.split(`_`)[1]<=e),Hk=e=>`RATING_${e}`,Uk=(e,t,n,r=!1)=>r?n.map(e=>({or:[{[t]:{[e]:{is:`NULL`}}},{[t]:{[e]:{ilike:``}}}]})):e.split(` `).reduce((e,r)=>[...e,...n.map(e=>({[t]:{[e]:{ilike:`%${r}%`}}}))],[]),Wk=({operand:e,correspondingField:t,recordFilter:n})=>{let r={},i=n.subFieldName,a=(0,E.isNonEmptyString)(i),o=Mk(t.type);switch(o){case`TEXT`:r={or:[{[t.name]:{ilike:``}},{[t.name]:{is:`NULL`}}]};break;case`PHONES`:if(!a)r={and:[{or:[{[t.name]:{primaryPhoneNumber:{is:`NULL`}}},{[t.name]:{primaryPhoneNumber:{ilike:``}}}]},{or:[{[t.name]:{additionalPhones:{is:`NULL`}}},{[t.name]:{additionalPhones:{like:`[]`}}}]}]};else switch(i){case`primaryPhoneNumber`:case`primaryPhoneCallingCode`:r={or:[{[t.name]:{[i]:{is:`NULL`}}},{[t.name]:{[i]:{ilike:``}}}]};break;case`additionalPhones`:r={or:[{[t.name]:{additionalPhones:{is:`NULL`}}},{[t.name]:{additionalPhones:{like:`[]`}}}]};break;default:throw Error(`Unsupported composite field name ${i} for filter type ${o}`)}break;case`CURRENCY`:r={or:[{[t.name]:{amountMicros:{is:`NULL`}}}]};break;case`FULL_NAME`:r=a?{or:[{[t.name]:{[i]:{ilike:``}}},{[t.name]:{[i]:{is:`NULL`}}}]}:{and:Uk(``,t.name,[`firstName`,`lastName`],!0)};break;case`LINKS`:r=Lk({correspondingFieldMetadataItem:t,recordFilter:n});break;case`ADDRESS`:r=a?{or:[{[t.name]:{[i]:{ilike:``}}},{[t.name]:{[i]:{is:`NULL`}}}]}:{and:[{or:[{[t.name]:{addressStreet1:{ilike:``}}},{[t.name]:{addressStreet1:{is:`NULL`}}}]},{or:[{[t.name]:{addressStreet2:{ilike:``}}},{[t.name]:{addressStreet2:{is:`NULL`}}}]},{or:[{[t.name]:{addressCity:{ilike:``}}},{[t.name]:{addressCity:{is:`NULL`}}}]},{or:[{[t.name]:{addressState:{ilike:``}}},{[t.name]:{addressState:{is:`NULL`}}}]},{or:[{[t.name]:{addressCountry:{ilike:``}}},{[t.name]:{addressCountry:{is:`NULL`}}}]},{or:[{[t.name]:{addressPostcode:{ilike:``}}},{[t.name]:{addressPostcode:{is:`NULL`}}}]}]};break;case`NUMBER`:r={[t.name]:{is:`NULL`}};break;case`RATING`:r={[t.name]:{is:`NULL`}};break;case`DATE`:case`DATE_TIME`:r={[t.name]:{is:`NULL`}};break;case`SELECT`:r={[t.name]:{is:`NULL`}};break;case`UUID`:r={[t.name]:{is:`NULL`}};break;case`MULTI_SELECT`:r={or:[{[t.name]:{is:`NULL`}},{[t.name]:{isEmptyArray:!0}}]};break;case`RELATION`:r={[t.name+`Id`]:{is:`NULL`}};break;case`ACTOR`:r={or:[{[t.name]:{name:{ilike:``}}},{[t.name]:{name:{is:`NULL`}}}]};break;case`ARRAY`:r={or:[{[t.name]:{is:`NULL`}},{[t.name]:{isEmptyArray:!0}}]};break;case`FILES`:case`RAW_JSON`:r={or:[{[t.name]:{is:`NULL`}}]};break;case`EMAILS`:r=Ik({correspondingFieldMetadataItem:t,recordFilter:n});break;default:throw new kk(`Unsupported empty filter type ${o}`,`UNSUPPORTED_EMPTY_FILTER_TYPE`)}switch(e){case Y.IS_EMPTY:return r;case Y.IS_NOT_EMPTY:return{not:r};default:throw new kk(`Unknown operand ${e} for ${o} filter`,`UNKNOWN_OPERAND_FOR_FILTER`)}},Gk=[Y.IS_EMPTY,Y.IS_NOT_EMPTY];[Y.IS,Y.IS_NOT,...Gk],[Y.GREATER_THAN_OR_EQUAL,Y.LESS_THAN_OR_EQUAL,Y.IS,Y.IS_NOT,...Gk];var Kk=[Y.IS_EMPTY,Y.IS_NOT_EMPTY],qk=[Y.IS,Y.IS_NOT];[Y.CONTAINS,Y.DOES_NOT_CONTAIN,...Kk],[Y.CONTAINS,Y.DOES_NOT_CONTAIN,...Kk],[Y.CONTAINS,Y.DOES_NOT_CONTAIN,...Kk],[Y.CONTAINS,Y.DOES_NOT_CONTAIN,...Kk],[Y.CONTAINS,Y.DOES_NOT_CONTAIN,...Kk],[Y.CONTAINS,Y.DOES_NOT_CONTAIN,...Kk],[Y.GREATER_THAN_OR_EQUAL,Y.LESS_THAN_OR_EQUAL,...Kk],[Y.IS,Y.IS_NOT,Y.GREATER_THAN_OR_EQUAL,Y.LESS_THAN_OR_EQUAL,...Kk],[Y.CONTAINS,Y.DOES_NOT_CONTAIN,...Kk],[Y.CONTAINS,Y.DOES_NOT_CONTAIN,...Kk],[Y.IS,Y.IS_RELATIVE,Y.IS_IN_PAST,Y.IS_IN_FUTURE,Y.IS_TODAY,Y.IS_BEFORE,Y.IS_AFTER,...Kk],[Y.IS,Y.IS_RELATIVE,Y.IS_IN_PAST,Y.IS_IN_FUTURE,Y.IS_TODAY,Y.IS_BEFORE,Y.IS_AFTER,...Kk],[Y.IS,Y.IS_NOT,Y.GREATER_THAN_OR_EQUAL,Y.LESS_THAN_OR_EQUAL,...Kk],[...qk,...Kk],[Y.CONTAINS,Y.DOES_NOT_CONTAIN,...Kk],[Y.IS,Y.IS_NOT,...Kk],[Y.CONTAINS,Y.DOES_NOT_CONTAIN,...Kk],[Y.CONTAINS,Y.DOES_NOT_CONTAIN,...Kk],Y.IS,Y.VECTOR_SEARCH,[Y.IS,Y.IS_NOT,...Kk],Y.IS,Y.IS_NOT,Y.IS_EMPTY,Y.IS_NOT_EMPTY;var Jk=(e,t,n)=>Object.values(pp[e]).includes(t)&&t===n,Yk=365.2425,Xk=3600*24;Xk*7,Xk*Yk/12*3;var Zk=Gl().transform(e=>e===``?[]:kA(e)?[e]:JSON.parse(e)).refine(e=>Array.isArray(e)&&e.every(e=>typeof e==`string`),{error:`Expected an array of strings`}),Qk=Af(e=>{try{if(typeof e==`string`){if(kA(e))return[e];try{let t=JSON.parse(e);return Array.isArray(t)?t:[t]}catch{return[e]}}return Array.isArray(e)?e:[e]}catch{return[]}},md(Gl().refine(e=>bk(e)||kA(e),`Must be a valid UUID or a variable with {{ }} syntax`))).catch([]),$k=_d({isCurrentWorkspaceMemberSelected:qu().optional(),isCurrentRecordSelected:qu().optional(),selectedRecordIds:md(Gl())}),eA=Gl().transform((e,t)=>{try{return JSON.parse(e)}catch(e){return t.addIssue({code:`custom`,message:e.message}),he}}).pipe($k),tA=({recordFilter:e,fieldMetadataItemById:t,filterValueDependencies:n})=>{let r=t.get(e.fieldMetadataId);if(D(r)&&zk(e)){if(r.type===J.RELATION&&D(e.relationTargetFieldMetadataId)){let i=t.get(e.relationTargetFieldMetadataId);if(!D(i))return;let a=nA({recordFilter:{...e,fieldMetadataId:i.id,relationTargetFieldMetadataId:null},fieldMetadataItem:i,filterValueDependencies:n});return D(a)?{[r.name]:a}:void 0}return nA({recordFilter:e,fieldMetadataItem:r,filterValueDependencies:n})}},nA=({recordFilter:e,fieldMetadataItem:t,filterValueDependencies:n})=>{if(Nk({recordFilterOperand:e.operand,correspondingFieldMetadataItem:t}))return Wk({operand:e.operand,correspondingField:t,recordFilter:e});let r=e.subFieldName,i=(0,E.isNonEmptyString)(r),a=Mk(t.type);switch(a){case`TEXT`:switch(e.operand){case Y.CONTAINS:return{[t.name]:{ilike:`%${e.value}%`}};case Y.DOES_NOT_CONTAIN:return{not:{[t.name]:{ilike:`%${e.value}%`}}};default:throw new kk(`Unknown operand ${e.operand} for ${a} filter`,`UNKNOWN_OPERAND_FOR_FILTER`)}case`TS_VECTOR`:switch(e.operand){case Y.VECTOR_SEARCH:return{[t.name]:{search:e.value}};default:throw Error(`Unknown operand ${e.operand} for ${a} filter`)}case`RAW_JSON`:switch(e.operand){case Y.CONTAINS:return{[t.name]:{like:`%${e.value}%`}};case Y.DOES_NOT_CONTAIN:return{not:{[t.name]:{like:`%${e.value}%`}}};default:throw Error(`Unknown operand ${e.operand} for ${a} filter`)}case`FILES`:switch(e.operand){case Y.CONTAINS:return{[t.name]:{like:`%${e.value}%`}};case Y.DOES_NOT_CONTAIN:return{not:{[t.name]:{like:`%${e.value}%`}}};default:throw Error(`Unknown operand ${e.operand} for ${a} filter`)}case`DATE`:if(e.operand===Y.IS_RELATIVE){let n=_A(e.value),r=vA({value:`PAST_1_DAY`,operand:Y.IS_RELATIVE});if(!r)throw Error(`Failed to resolve default date range`);let i=n?.start?.toString()??r.start,a=n?.end?.toString()??r.end;return{and:[{[t.name]:{gte:i}},{[t.name]:{lt:a}}]}}if(e.operand===Y.IS_TODAY||e.operand===Y.IS_IN_PAST||e.operand===Y.IS_IN_FUTURE){let r=oD.Now.plainDateISO(n.timeZone).toString();switch(e.operand){case Y.IS_IN_PAST:return{[t.name]:{lt:r}};case Y.IS_IN_FUTURE:return{[t.name]:{gte:r}};case Y.IS_TODAY:return{[t.name]:{eq:r}}}}else{let n=e.value;switch(e.operand){case Y.IS_AFTER:return{[t.name]:{gte:n}};case Y.IS_BEFORE:return{[t.name]:{lt:n}};case Y.IS:return{[t.name]:{eq:n}}}}throw Error(`Unknown operand ${e.operand} for ${a} filter`);case`DATE_TIME`:if(e.operand===Y.IS_RELATIVE){let r=xA(e),i=D(r)&&typeof r==`object`?r:null;if(!D(i))throw Error(`Cannot parse relative date filter : "${e.value}"`);let a=xA({value:`PAST_1_DAY;;${n.timeZone}`,operand:Y.IS_RELATIVE});if(!D(a?.start)||!D(a?.end))throw Error(`Failed to resolve default date range`);let o=i?.start??a.start,s=i?.end??a.end;return{and:[{[t.name]:{gte:o.toInstant().toString()}},{[t.name]:{lt:s.toInstant().toString()}}]}}if(e.operand===Y.IS_TODAY||e.operand===Y.IS_IN_PAST||e.operand===Y.IS_IN_FUTURE){let r=oD.Now.zonedDateTimeISO(n.timeZone);switch(e.operand){case Y.IS_IN_PAST:return{[t.name]:{lt:r.toInstant().round(`minute`).toString()}};case Y.IS_IN_FUTURE:return{[t.name]:{gt:r.toInstant().round(`minute`).toString()}};case Y.IS_TODAY:return{and:[{[t.name]:{gte:sA(r,`DAY`).toInstant().toString()}},{[t.name]:{lt:cA(r,`DAY`).toInstant().toString()}}]}}}else{if(!(0,E.isNonEmptyString)(e.value))throw Error(`Date filter is empty`);if(e.operand===Y.IS){let r=n.timeZone??`UTC`,i=null;try{i=e.value.includes(`T`)?oD.Instant.from(e.value).toZonedDateTimeISO(r).toPlainDate():oD.PlainDate.from(e.value)}catch{throw Error(`Cannot parse "${e.value}" for ${a} filter`)}let o=i.toZonedDateTime(r),s=o.toInstant(),c=o.add({days:1}).toInstant();return{and:[{[t.name]:{gte:s.toString()}},{[t.name]:{lt:c.toString()}}]}}let r=oD.Instant.from(e.value);switch(e.operand){case Y.IS_AFTER:return{[t.name]:{gte:r.toString()}};case Y.IS_BEFORE:return{[t.name]:{lt:r.toString()}}}}throw Error(`Unknown operand ${e.operand} for ${a} filter`);case`RATING`:switch(e.operand){case Y.IS:return{[t.name]:{eq:Hk(parseFloat(e.value))}};case Y.IS_NOT:return{not:{[t.name]:{eq:Hk(parseFloat(e.value))}}};case Y.GREATER_THAN_OR_EQUAL:return{[t.name]:{in:Bk(parseFloat(e.value))}};case Y.LESS_THAN_OR_EQUAL:return{[t.name]:{in:Vk(parseFloat(e.value))}};default:throw Error(`Unknown operand ${e.operand} for ${a} filter`)}case`NUMBER`:switch(e.operand){case Y.GREATER_THAN_OR_EQUAL:return{[t.name]:{gte:parseFloat(e.value)}};case Y.LESS_THAN_OR_EQUAL:return{[t.name]:{lte:parseFloat(e.value)}};case Y.IS:return{[t.name]:{eq:parseFloat(e.value)}};case Y.IS_NOT:return{not:{[t.name]:{eq:parseFloat(e.value)}}};default:throw Error(`Unknown operand ${e.operand} for ${a} filter`)}case`RELATION`:{let{isCurrentWorkspaceMemberSelected:r,isCurrentRecordSelected:i,selectedRecordIds:o}=eA.catch({isCurrentWorkspaceMemberSelected:!1,isCurrentRecordSelected:!1,selectedRecordIds:Qk.parse(e.value)}).parse(e.value),s=[...o,...r?[n?.currentWorkspaceMemberId]:[],...i?[n?.currentRecordId]:[]].filter(D);if(s.length===0)return;switch(e.operand){case Y.IS:return{[t.name+`Id`]:{in:s}};case Y.IS_NOT:return!D(s)||s.length===0?void 0:{or:[{not:{[t.name+`Id`]:{in:s}}},{[t.name+`Id`]:{is:`NULL`}}]};default:throw Error(`Unknown operand ${e.operand} for ${a} filter`)}}case`CURRENCY`:if(Jk(J.CURRENCY,`currencyCode`,r)){let n=Zk.parse(e.value);if(n.length===0)return;let i={[t.name]:{currencyCode:{in:n}}};switch(e.operand){case Y.IS:return i;case Y.IS_NOT:return{not:i};default:throw Error(`Unknown operand ${e.operand} for ${a} / ${r} filter`)}}else if(Jk(J.CURRENCY,`amountMicros`,r)||!i)switch(e.operand){case Y.GREATER_THAN_OR_EQUAL:return{[t.name]:{amountMicros:{gte:parseFloat(e.value)*1e6}}};case Y.LESS_THAN_OR_EQUAL:return{[t.name]:{amountMicros:{lte:parseFloat(e.value)*1e6}}};case Y.IS:return{[t.name]:{amountMicros:{eq:parseFloat(e.value)*1e6}}};case Y.IS_NOT:return{not:{[t.name]:{amountMicros:{eq:parseFloat(e.value)*1e6}}}};default:throw Error(`Unknown operand ${e.operand} for ${a} / ${r} filter`)}else throw Error(`Unknown subfield ${r} for ${a} filter`);case`LINKS`:return Fk({correspondingFieldMetadataItem:t,recordFilter:e,subFieldName:r});case`FULL_NAME`:{let n=Uk(e.value,t.name,[`firstName`,`lastName`]);switch(e.operand){case Y.CONTAINS:return i?{[t.name]:{[r]:{ilike:`%${e.value}%`}}}:{or:n};case Y.DOES_NOT_CONTAIN:return i?{not:{[t.name]:{[r]:{ilike:`%${e.value}%`}}}}:{and:n.map(e=>({not:e}))};default:throw Error(`Unknown operand ${e.operand} for ${a} filter`)}}case`ADDRESS`:switch(e.operand){case Y.CONTAINS:if(i){if(r===`addressCountry`){let n=Zk.parse(e.value);return n.length===0?{}:{[t.name]:{[r]:{in:n}}}}return{[t.name]:{[r]:{ilike:`%${e.value}%`}}}}else return{or:[{[t.name]:{addressStreet1:{ilike:`%${e.value}%`}}},{[t.name]:{addressStreet2:{ilike:`%${e.value}%`}}},{[t.name]:{addressCity:{ilike:`%${e.value}%`}}},{[t.name]:{addressState:{ilike:`%${e.value}%`}}},{[t.name]:{addressCountry:{ilike:`%${e.value}%`}}},{[t.name]:{addressPostcode:{ilike:`%${e.value}%`}}}]};case Y.DOES_NOT_CONTAIN:if(i){if(r===`addressCountry`){let n=JSON.parse(e.value);return e.value===`[]`||n.length===0?{}:{or:[{not:{[t.name]:{addressCountry:{in:JSON.parse(e.value)}}}},{[t.name]:{addressCountry:{is:`NULL`}}}]}}return{or:[{not:{[t.name]:{[r]:{ilike:`%${e.value}%`}}}},{[t.name]:{[r]:{is:`NULL`}}}]}}else return{and:[{or:[{not:{[t.name]:{addressStreet1:{ilike:`%${e.value}%`}}}},{[t.name]:{addressStreet1:{is:`NULL`}}}]},{or:[{not:{[t.name]:{addressStreet2:{ilike:`%${e.value}%`}}}},{[t.name]:{addressStreet2:{is:`NULL`}}}]},{or:[{not:{[t.name]:{addressCity:{ilike:`%${e.value}%`}}}},{[t.name]:{addressCity:{is:`NULL`}}}]},{or:[{not:{[t.name]:{addressState:{ilike:`%${e.value}%`}}}},{[t.name]:{addressState:{is:`NULL`}}}]},{or:[{not:{[t.name]:{addressPostcode:{ilike:`%${e.value}%`}}}},{[t.name]:{addressPostcode:{is:`NULL`}}}]},{or:[{not:{[t.name]:{addressCountry:{ilike:`%${e.value}%`}}}},{[t.name]:{addressCountry:{is:`NULL`}}}]}]};default:throw Error(`Unknown operand ${e.operand} for ${a} filter`)}case`MULTI_SELECT`:{let n=Zk.parse(e.value);if(n.length===0)return;let r=n.filter(e=>e===``),i=n.filter(e=>e!==``);switch(e.operand){case Y.CONTAINS:{let e=[];return i.length>0&&e.push({[t.name]:{containsAny:i}}),r.length>0&&e.push({[t.name]:{isEmptyArray:!0}}),e.length===1?e[0]:{or:e}}case Y.DOES_NOT_CONTAIN:return{or:[{not:{[t.name]:{containsAny:i}}},{[t.name]:{isEmptyArray:!0}},{[t.name]:{is:`NULL`}}]};default:throw Error(`Unknown operand ${e.operand} for ${a} filter`)}}case`SELECT`:{let n=Zk.parse(e.value);if(n.length===0)return;let r=n.filter(e=>e===``),i=n.filter(e=>e!==``);switch(e.operand){case Y.IS:{let e=[];return i.length>0&&e.push({[t.name]:{in:i}}),r.length>0&&e.push({[t.name]:{is:`NULL`}}),e.length===1?e[0]:{or:e}}case Y.IS_NOT:{let e=[];return i.length>0&&e.push({not:{[t.name]:{in:i}}}),r.length>0&&e.push({not:{[t.name]:{is:`NULL`}}}),e.length===1?e[0]:{and:e}}default:throw Error(`Unknown operand ${e.operand} for ${a} filter`)}}case`ARRAY`:switch(e.operand){case Y.CONTAINS:return{[t.name]:{containsIlike:`%${e.value}%`}};case Y.DOES_NOT_CONTAIN:return{not:{[t.name]:{containsIlike:`%${e.value}%`}}};default:throw Error(`Unknown operand ${e.operand} for ${a} filter`)}case`ACTOR`:{if(r===`source`)switch(e.operand){case Y.IS:{if(e.value===`[]`)return;let n=JSON.parse(e.value);return{[t.name]:{source:{in:n}}}}case Y.IS_NOT:{if(e.value===`[]`)return;let n=JSON.parse(e.value);return n.length===0?void 0:{not:{[t.name]:{source:{in:n}}}}}default:throw Error(`Unknown operand ${e.operand} for ${t.label} filter`)}if(r===`workspaceMemberId`){let{isCurrentWorkspaceMemberSelected:r,selectedRecordIds:i}=eA.catch({isCurrentWorkspaceMemberSelected:!1,selectedRecordIds:Qk.parse(e.value)}).parse(e.value),a=r?[...i,n?.currentWorkspaceMemberId].filter(D):i;if(!D(a)||a.length===0)return;switch(e.operand){case Y.IS:return{[t.name]:{workspaceMemberId:{in:a}}};case Y.IS_NOT:return{or:[{not:{[t.name]:{workspaceMemberId:{in:a}}}},{[t.name]:{workspaceMemberId:{is:`NULL`}}}]};default:throw Error(`Unknown operand ${e.operand} for ${t.label} filter`)}}let i=Object.values(ep).filter(t=>t.toLowerCase().includes(e.value.toLowerCase()));switch(e.operand){case Y.CONTAINS:return{or:[{[t.name]:{name:{ilike:`%${e.value}%`}}},...i.length>0?[{[t.name]:{source:{in:i}}}]:[]]};case Y.DOES_NOT_CONTAIN:return{and:[{not:{[t.name]:{name:{ilike:`%${e.value}%`}}}},...i.length>0?[{not:{[t.name]:{source:{in:i}}}}]:[]]};default:throw Error(`Unknown operand ${e.operand} for ${t.label} filter`)}}case`EMAILS`:return Pk({correspondingFieldMetadataItem:t,recordFilter:e,subFieldName:r});case`PHONES`:{if(!i){let n=e.value.replace(/[^0-9]/g,``);if(!(0,E.isNonEmptyString)(n))return;switch(e.operand){case Y.CONTAINS:return{or:[{[t.name]:{primaryPhoneNumber:{ilike:`%${n}%`}}},{[t.name]:{primaryPhoneCallingCode:{ilike:`%${n}%`}}},{[t.name]:{additionalPhones:{like:`%${n}%`}}}]};case Y.DOES_NOT_CONTAIN:return{and:[{not:{[t.name]:{primaryPhoneNumber:{ilike:`%${n}%`}}}},{not:{[t.name]:{primaryPhoneCallingCode:{ilike:`%${n}%`}}}},{or:[{not:{[t.name]:{additionalPhones:{like:`%${n}%`}}}},{[t.name]:{additionalPhones:{is:`NULL`}}}]}]};default:throw Error(`Unknown operand ${e.operand} for ${a} filter`)}}let n=e.value;switch(r){case`additionalPhones`:switch(e.operand){case Y.CONTAINS:return{or:[{[t.name]:{additionalPhones:{like:`%${n}%`}}}]};case Y.DOES_NOT_CONTAIN:return{or:[{not:{[t.name]:{additionalPhones:{like:`%${n}%`}}}},{[t.name]:{additionalPhones:{is:`NULL`}}}]};default:throw Error(`Unknown operand ${e.operand} for ${a} filter`)}case`primaryPhoneNumber`:switch(e.operand){case Y.CONTAINS:return{[t.name]:{primaryPhoneNumber:{ilike:`%${n}%`}}};case Y.DOES_NOT_CONTAIN:return{not:{[t.name]:{primaryPhoneNumber:{ilike:`%${n}%`}}}};default:throw Error(`Unknown operand ${e.operand} for ${a} filter`)}case`primaryPhoneCallingCode`:switch(e.operand){case Y.CONTAINS:return{[t.name]:{primaryPhoneCallingCode:{ilike:`%${n}%`}}};case Y.DOES_NOT_CONTAIN:return{not:{[t.name]:{primaryPhoneCallingCode:{ilike:`%${n}%`}}}};default:throw Error(`Unknown operand ${e.operand} for ${a} filter`)}default:throw Error(`Unknown subfield ${r} for ${a} filter`)}}case`BOOLEAN`:return{[t.name]:{eq:e.value===`true`}};case`UUID`:{let n=Qk.parse(e.value),r=D(n)&&n.length>0?n:[`00000000-0000-4000-8000-000000000000`];switch(e.operand){case Y.IS:return{[t.name]:{in:r}};case Y.IS_NOT:return{not:{[t.name]:{in:r}}};default:throw Error(`Unknown operand ${e.operand} for ${a} filter`)}}default:throw Error(`Unknown filter type`)}},rA=({filterValueDependencies:e,filters:t,fieldMetadataItemById:n,recordFilterGroups:r,currentRecordFilterGroupId:i})=>{let a=r.find(e=>e.id===i);if(!D(a))return;let o=t.filter(e=>e.recordFilterGroupId===i).map(t=>tA({filterValueDependencies:e,recordFilter:t,fieldMetadataItemById:n})).filter(D),s=r.filter(e=>e.parentRecordFilterGroupId===i).map(i=>rA({filterValueDependencies:e,filters:t,fieldMetadataItemById:n,recordFilterGroups:r,currentRecordFilterGroupId:i.id})).filter(D);if(a.logicalOperator===dp.AND)return{and:[...o,...s]};if(a.logicalOperator===dp.OR)return{or:[...o,...s]};throw Error(`Unknown logical operator ${a.logicalOperator}`)},iA=(e,t,n)=>{switch(t){case`DAY`:return e.add({days:n});case`WEEK`:return e.add({weeks:n});case`QUARTER`:return e.add({months:n*3});case`MONTH`:return e.add({months:n});case`YEAR`:return e.add({years:n});case`SECOND`:return e.add({seconds:n});case`MINUTE`:return e.add({minutes:n});case`HOUR`:return e.add({hours:n});default:return xk(t)}},aA=Hf.enum([lp.MONDAY,lp.SATURDAY,lp.SUNDAY]),oA=e=>{switch(e){case lp.MONDAY:return 1;case lp.SATURDAY:return 6;case lp.SUNDAY:return 7;default:return xk(e)}},sA=(e,t,n)=>{switch(t){case`DAY`:return e.startOfDay();case`WEEK`:{let t=D(n)?oA(n):1,r=(e.dayOfWeek-t+7)%7;return e.startOfDay().subtract({days:r})}case`QUARTER`:{let t=Math.floor((e.month-1)/3);return e.startOfDay().with({day:1,month:t*3+1})}case`MONTH`:return e.startOfDay().with({day:1});case`YEAR`:return e.startOfDay().with({day:1,month:1});case`SECOND`:return e.with({nanosecond:0,microsecond:0,millisecond:0});case`MINUTE`:return e.with({second:0,nanosecond:0,microsecond:0,millisecond:0});case`HOUR`:return e.with({minute:0,second:0,nanosecond:0,microsecond:0,millisecond:0});default:return xk(t)}},cA=(e,t,n)=>{switch(t){case`DAY`:return sA(e,`DAY`).add({days:1});case`WEEK`:return sA(e,`WEEK`,n).add({weeks:1});case`MONTH`:return sA(e,`MONTH`,n).add({months:1});case`QUARTER`:return sA(e,`QUARTER`,n).add({months:3});case`YEAR`:return sA(e,`YEAR`,n).add({years:1});case`SECOND`:return sA(e,`SECOND`).add({seconds:1});case`MINUTE`:return sA(e,`MINUTE`).add({minutes:1});case`HOUR`:return sA(e,`HOUR`).add({hours:1});default:return xk(t)}},lA=Hf.union([Hf.coerce.number().int().positive(),Hf.literal(`undefined`)]).transform(e=>e===`undefined`?void 0:e),uA=Hf.enum([`NEXT`,`THIS`,`PAST`]),dA=Hf.enum([`SECOND`,`MINUTE`,`HOUR`,`DAY`,`WEEK`,`MONTH`,`QUARTER`,`YEAR`]),fA=Hf.object({direction:uA,amount:lA.nullish(),unit:dA,timezone:Hf.string().nullish(),firstDayOfTheWeek:aA.nullish()}).refine(e=>!(e.amount===void 0&&e.direction!==`THIS`),{error:`Amount cannot be 'undefined' unless direction is 'THIS'`}),pA=/((?:THIS)|(?:PAST)|(?:NEXT))_(\d*)_(DAY|MONTH|YEAR|WEEK|QUARTER|HOUR|MINUTE|SECOND)(?:(?:;;([^;;]*);;)?(?:(MONDAY|SUNDAY|SATURDAY);;)?)?/,mA=Hf.string().transform((e,t)=>{let n=new RegExp(pA).exec(e);if(!(0,E.isNonEmptyArray)(n))return t.addIssue(`Cannot parse stringified inline relative date filter, value : "${e}"`),Hf.NEVER;let[r,i,a,o,s,c]=n;return fA.parse({direction:i,amount:a,unit:o,timezone:s,firstDayOfTheWeek:c})}),hA=(e,t,n)=>{switch(t){case`DAY`:return e.subtract({days:n});case`WEEK`:return e.subtract({weeks:n});case`QUARTER`:return e.subtract({months:n*3});case`MONTH`:return e.subtract({months:n});case`YEAR`:return e.subtract({years:n});case`SECOND`:return e.subtract({seconds:n});case`MINUTE`:return e.subtract({minutes:n});case`HOUR`:return e.subtract({hours:n});default:return xk(t)}},gA=(e,t)=>{let{direction:n,amount:r,unit:i,firstDayOfTheWeek:a}=e;switch(n){case`NEXT`:{if(!$f(r))throw Error(`Amount is required`);if(i===`QUARTER`){let n=iA(sA(t,`QUARTER`,a),`QUARTER`,1),i=iA(n,`QUARTER`,r),o=n.toPlainDate().toString(),s=i.toPlainDate().toString();return{...e,start:o,end:s}}let n=t.startOfDay().add({days:1}),o=iA(n,i,r),s=n.toPlainDate().toString(),c=o?.toPlainDate().toString();return{...e,start:s,end:c}}case`PAST`:{if(!$f(r))throw Error(`Amount is required`);if(i===`QUARTER`){let n=sA(t,`QUARTER`,a),i=hA(n,`QUARTER`,r).toPlainDate().toString(),o=n.toPlainDate().toString();return{...e,start:i,end:o}}let n=t.startOfDay(),o=hA(n,i,r)?.toPlainDate().toString(),s=n.toPlainDate().toString();return{...e,start:o,end:s}}case`THIS`:{let n=sA(t,i,a),r=cA(t,i,a),o=n?.toPlainDate().toString(),s=r?.toPlainDate().toString();return{...e,start:o,end:s}}}},_A=e=>{if(!(0,E.isNonEmptyString)(e))return null;let t=mA.safeParse(e);if(!t.success)return null;let n=t.data;return gA(n,$f(n.timezone)?oD.Now.zonedDateTimeISO(n.timezone):oD.Now.zonedDateTimeISO())},vA=e=>e.value?e.operand===Y.IS_RELATIVE?_A(e.value):e.value:null,yA=(e,t)=>{let{direction:n,amount:r,unit:i,firstDayOfTheWeek:a}=e,o=[`SECOND`,`MINUTE`,`HOUR`].includes(i);switch(n){case`NEXT`:if(!D(r))throw Error(`Amount is required`);if(i===`QUARTER`){let n=cA(t,`QUARTER`);return{...e,start:n,end:iA(n,i,r)}}if(o)return{...e,start:t,end:iA(t,i,r)};{let n=t.startOfDay().add({days:1});return{...e,start:n,end:iA(n,i,r)}}case`PAST`:if(!D(r))throw Error(`Amount is required`);if(i===`QUARTER`){let n=sA(t,`QUARTER`);return{...e,start:hA(n,i,r),end:n}}if(o)return{...e,start:hA(t,i,r),end:t};{let n=t.startOfDay();return{...e,start:hA(n,i,r),end:n}}case`THIS`:return{...e,start:sA(t,i,a),end:cA(t,i,a)}}},bA=e=>{if(!(0,E.isNonEmptyString)(e))return null;let t=mA.safeParse(e);if(t.success){let e=t.data;return yA(e,($f(e.timezone)?oD.Now.zonedDateTimeISO(e.timezone):oD.Now.zonedDateTimeISO()).round({smallestUnit:`second`}))}else return null},xA=e=>e.value?e.operand===Y.IS_RELATIVE?bA(e.value):e.value:null;fp.Is,Y.IS,fp.IsNotNull,Y.IS_NOT_NULL,fp.IsNot,Y.IS_NOT,fp.LessThanOrEqual,Y.LESS_THAN_OR_EQUAL,fp.GreaterThanOrEqual,Y.GREATER_THAN_OR_EQUAL,fp.IsBefore,Y.IS_BEFORE,fp.IsAfter,Y.IS_AFTER,fp.Contains,Y.CONTAINS,fp.DoesNotContain,Y.DOES_NOT_CONTAIN,fp.IsEmpty,Y.IS_EMPTY,fp.IsNotEmpty,Y.IS_NOT_EMPTY,fp.IsRelative,Y.IS_RELATIVE,fp.IsInPast,Y.IS_IN_PAST,fp.IsInFuture,Y.IS_IN_FUTURE,fp.IsToday,Y.IS_TODAY,Y.IS,Y.IS,Y.IS_NOT_NULL,Y.IS_NOT_NULL,Y.IS_NOT,Y.IS_NOT,Y.LESS_THAN_OR_EQUAL,Y.LESS_THAN_OR_EQUAL,Y.GREATER_THAN_OR_EQUAL,Y.GREATER_THAN_OR_EQUAL,Y.IS_BEFORE,Y.IS_BEFORE,Y.IS_AFTER,Y.IS_AFTER,Y.CONTAINS,Y.CONTAINS,Y.DOES_NOT_CONTAIN,Y.DOES_NOT_CONTAIN,Y.IS_EMPTY,Y.IS_EMPTY,Y.IS_NOT_EMPTY,Y.IS_NOT_EMPTY,Y.IS_RELATIVE,Y.IS_RELATIVE,Y.IS_IN_PAST,Y.IS_IN_PAST,Y.IS_IN_FUTURE,Y.IS_IN_FUTURE,Y.IS_TODAY,Y.IS_TODAY,Y.VECTOR_SEARCH,Y.VECTOR_SEARCH;var SA=e=>{try{return new URL(e)}catch{return null}},CA=e=>e===void 0||typeof e!=`object`||!e?e:Array.isArray(e)?e.map(e=>CA(e)).filter(e=>!(0,E.isUndefined)(e)):Object.entries(e).reduce((e,[t,n])=>{if((0,E.isUndefined)(n))return e;if(n===null||n instanceof Date)return{...e,[t]:n};if(typeof n==`object`){let r=CA(n);return!(0,E.isUndefined)(r)&&Object.keys(r).length>0?{...e,[t]:r}:e}return{...e,[t]:n}},{}),wA={BOLD:`bold`,ITALIC:`italic`,UNDERLINE:`underline`,STRIKE:`strike`,LINK:`link`};wA.UNDERLINE,wA.BOLD,wA.ITALIC,wA.STRIKE,wA.LINK;var TA=e=>{let t=e.trim();return t.startsWith(`http://`)||t.startsWith(`https://`)||t.startsWith(`HTTPS://`)||t.startsWith(`HTTP://`)?t:`https://${t}`},EA=(e,t)=>{let n=t?.allowIp??!0,r=t?.allowLocalhost??!0,i=/^(((?!-))(xn--|_)?[a-z0-9-]{0,61}[a-z0-9]{1,1}\.){1,10}(xn--)?([a-z0-9][a-z0-9-]{0,60}|[a-z0-9-]{1,30}\.[a-z]{2,})$/.test(e),a=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/.test(e),o=e===`localhost`||e===`127.0.0.1`;return o&&!r||a&&!n?!1:i||o||a};Gl().transform((e,t)=>{let n=TA(e.trim()),r=n.replace(`https://`,``).replace(`http://`,``).replace(`HTTPS://`,``).replace(`HTTP://`,``);if(/^\d+(?:\/[a-zA-Z]*)?$/.test(r))return t.addIssue({code:`custom`,message:`domain is not a valid url`}),he;try{return EA(new URL(n).hostname)?n:(t.addIssue({code:`custom`,message:`domain is not a valid url`}),he)}catch{return t.addIssue({code:`custom`,message:`domain is not a valid url`}),he}});var DA=e=>{let t=SA(e);return D(t)?(t.origin+t.pathname+t.search+t.hash).replace(/\/$/,``):e},OA=e=>{let t=e.trim();return t===``?t:DA(TA(t))},kA=e=>/^{{[^{}]+}}$/.test(e),AA=new Map;for(let e of _k()){let t=vk(e),n=AA.get(t);n?n.push(e):AA.set(t,[e])}new Set(_k());var jA=e=>typeof e==`string`,MA=RegExp(`\\{\\{([^{}]+)\\}\\}`,`g`),NA=(e,t)=>D(e)?jA(e)?IA(e,t):Array.isArray(e)?PA(e,t):typeof e==`object`&&e?FA(e,t):e:e,PA=(e,t)=>{let n=e;for(let r=0;r<e.length;++r)n[r]=NA(e[r],t);return n},FA=(e,t)=>Object.entries(e).reduce((e,[n,r])=>{let i=NA(n,t);return e[typeof i==`string`?i:String(i)]=NA(r,t),e},{}),IA=(e,t)=>{let n=e.match(MA);return!n||n.length===0?e:n.length===1&&n[0]===e?Ak(e,t):e.replace(MA,(e,n)=>Ak(e,t))},LA={darwin:`https://docs.docker.com/desktop/setup/install/mac-install/`,win32:`https://docs.docker.com/desktop/setup/install/windows-install/`,linux:`https://docs.docker.com/engine/install/`},RA=()=>{try{return(0,v.execSync)(`docker --version`,{stdio:`ignore`}),!0}catch{return!1}},zA=()=>[` Docker is required but not installed.`,``,` Install Docker: ${LA[process.platform]??LA.linux}`,``,` Then run this command again.`,``,` Alternatively, connect to an existing Twenty instance:`,` npx create-twenty-app@latest my-twenty-app --url <your-instance-url>`].join(`
69
+ `),BA=process.env.INIT_CWD||process.cwd(),VA=`twentycrm/twenty-app-dev:latest`,HA=class{constructor(){this.stepCounter=0,this.totalSteps=0}async execute(e={}){let{appName:t,appDisplayName:n,appDirectory:r,appDescription:i}=this.getAppInfos(e),a=e.serverUrl??y.DEV_API_URL,o=a!==y.DEV_API_URL;!o&&!RA()&&(console.log(u.default.yellow(`
70
+ `+zA()+`
71
71
  `)),process.exit(1)),o&&e.authenticationMethod===`apiKey`&&console.log(u.default.yellow(`API key authentication is only supported on a local Docker instance. Ignoring and switching to OAuth authentication.`));let s=o?`oauth`:e.authenticationMethod??`apiKey`;try{await this.validateDirectory(r),this.totalSteps=this.computeTotalSteps({skipLocalInstance:o}),this.stepCounter=0;let e=!o&&(0,y.checkDockerRunning)()?this.pullImageInBackground():Promise.resolve(!1);this.logPlan({appName:t,appDisplayName:n,appDescription:i,appDirectory:r}),this.logNextStep(`Creating project directory`),await f.ensureDir(r),this.logDetail(r),this.logNextStep(`Scaffolding project files`),await C({appName:t,appDisplayName:n,appDescription:i,appDirectory:r,onProgress:e=>this.logDetail(e)}),this.logNextStep(`Installing dependencies`),await oe(r,e=>this.logDetail(e)),this.logNextStep(`Initializing Git repository`),await de(r)?(this.logDetail(`Initialized on branch main`),this.logDetail(`Created initial commit`)):this.logDetail(`Skipped (Git unavailable, initialization failed, or already in a repository)`),console.log(``);let c=!1,l=a,u=o;if(!o){this.logNextStep(`Starting Twenty server`);let t=await this.ensureDockerServer(e);D(t.url)&&(l=t.url,u=!0)}u&&(this.logNextStep(`Authenticating`),c=await this.tryExistingAuth(l),c?this.logDetail(`Reusing existing credentials`):s===`oauth`?(this.logDetail(`Starting OAuth flow`),c=await this.authenticateWithOAuth(l)):(this.logDetail(`Using development API key`),c=await this.authenticateWithDevKey(l))),this.logNextStep(`Installing application`);let d=!1;if(u&&c){if(d=await this.syncApplication(r),!d){this.logDetail("Sync failed. Run `yarn twenty dev --once` manually.");return}}else this.logDetail(`Skipped (server or authentication not available)`);d&&await this.openMainPage(r,l),this.logSuccess(r,l,c)}catch(e){console.error(u.default.red(`
72
- Create application failed:`),e instanceof Error?e.message:e),process.exit(1)}}computeTotalSteps({skipLocalInstance:e}){let t=4;return e||(t+=1),t+=1,t+=1,t}getAppInfos(e){let t=(e.name??e.directory??`my-twenty-app`).trim(),n=e.displayName?.trim()||ie(t),r=(e.description??``).trim();return{appName:t,appDisplayName:n,appDirectory:e.directory?p.join(VA,e.directory):p.join(VA,(0,_.default)(t)),appDescription:r}}async validateDirectory(e){if(await f.pathExists(e)&&(await f.readdir(e)).length>0)throw Error(`Directory ${e} already exists and is not empty`)}logPlan({appName:e,appDisplayName:t,appDescription:n,appDirectory:r}){console.log(u.default.blue(`
72
+ Create application failed:`),e instanceof Error?e.message:e),process.exit(1)}}computeTotalSteps({skipLocalInstance:e}){let t=4;return e||(t+=1),t+=1,t+=1,t}getAppInfos(e){let t=(e.name??e.directory??`my-twenty-app`).trim(),n=e.displayName?.trim()||ie(t),r=(e.description??``).trim();return{appName:t,appDisplayName:n,appDirectory:e.directory?p.join(BA,e.directory):p.join(BA,(0,_.default)(t)),appDescription:r}}async validateDirectory(e){if(await f.pathExists(e)&&(await f.readdir(e)).length>0)throw Error(`Directory ${e} already exists and is not empty`)}logPlan({appName:e,appDisplayName:t,appDescription:n,appDirectory:r}){console.log(u.default.blue(`
73
73
  Creating Twenty Application
74
- `)),console.log(u.default.white(` Name: ${e}`)),console.log(u.default.white(` Display name: ${t}`)),n&&console.log(u.default.white(` Description: ${n}`)),console.log(u.default.white(` Directory: ${r}`)),console.log(``)}logNextStep(e){this.stepCounter++,console.log(u.default.blue(`\n[${this.stepCounter}/${this.totalSteps}]`)+u.default.white(` ${e}...`))}logDetail(e){console.log(u.default.gray(` → ${e}`))}pullImageInBackground(){return new Promise(e=>{let t=(0,v.spawn)(`docker`,[`pull`,HA],{stdio:`ignore`});t.on(`close`,t=>e(t===0)),t.on(`error`,()=>e(!1))})}async ensureDockerServer(e){if(!(0,y.checkDockerRunning)())return console.log(u.default.yellow(`
74
+ `)),console.log(u.default.white(` Name: ${e}`)),console.log(u.default.white(` Display name: ${t}`)),n&&console.log(u.default.white(` Description: ${n}`)),console.log(u.default.white(` Directory: ${r}`)),console.log(``)}logNextStep(e){this.stepCounter++,console.log(u.default.blue(`\n[${this.stepCounter}/${this.totalSteps}]`)+u.default.white(` ${e}...`))}logDetail(e){console.log(u.default.gray(` → ${e}`))}pullImageInBackground(){return new Promise(e=>{let t=(0,v.spawn)(`docker`,[`pull`,VA],{stdio:`ignore`});t.on(`close`,t=>e(t===0)),t.on(`error`,()=>e(!1))})}async ensureDockerServer(e){if(!(0,y.checkDockerRunning)())return console.log(u.default.yellow(`
75
75
  Docker is installed but not running.
76
76
  Please start Docker and run this command again.
77
- `)),{};this.logDetail(`Ensuring latest Twenty server image...`),await e||this.logDetail(`Image pull failed, continuing with cached image if available...`);let t=await(0,y.serverStart)({onProgress:e=>this.logDetail(e)});return t.success?{url:t.data.url}:(console.log(u.default.yellow(`\n ${t.error.message}`)),{})}async openMainPage(e,t){try{let n=await new y.ConfigService().getConfig(),r=n.twentyCLIAccessToken??n.apiKey;if(!r)return;let[i,a]=await Promise.all([this.readMainPageLayoutUniversalIdentifier(e),this.resolveWorkspaceFrontUrl(t,r)]);if(!i||!a)return;let o=await this.resolvePageLayoutId(t,i,r);if(!o)return;let s=`${a}/page/${o}`;this.logDetail(`Opening app welcome page: ${s}`),this.openInBrowser(s)}catch{}}async resolveWorkspaceFrontUrl(e,t){let n=await fetch(`${e}/metadata`,{method:`POST`,headers:{"Content-Type":`application/json`,Authorization:`Bearer ${t}`},body:JSON.stringify({query:`{ currentWorkspace { workspaceUrls { subdomainUrl customUrl } } }`})});if(!n.ok)return null;let r=(await n.json()).data?.currentWorkspace?.workspaceUrls;if(!r)return null;let i=r.customUrl??r.subdomainUrl;return i?kA(i):null}async readMainPageLayoutUniversalIdentifier(e){let t=p.join(e,`src`,`constants`,`universal-identifiers.ts`);return(await f.readFile(t,`utf-8`)).match(/MAIN_PAGE_LAYOUT_UNIVERSAL_IDENTIFIER\s*=\s*'([^']+)'/)?.[1]??null}async resolvePageLayoutId(e,t,n){let r=await fetch(`${e}/metadata`,{method:`POST`,headers:{"Content-Type":`application/json`,Authorization:`Bearer ${n}`},body:JSON.stringify({query:`{ getPageLayouts { id universalIdentifier } }`})});return r.ok?(await r.json()).data?.getPageLayouts?.find(e=>e.universalIdentifier===t)?.id??null:null}sanitizeBrowserUrl(e){if(/[^\u0020-\u007E]/.test(e))return null;try{let t=new URL(e);return t.protocol!==`http:`&&t.protocol!==`https:`?null:t.toString()}catch{return null}}openInBrowser(e){let t=this.sanitizeBrowserUrl(e);if(!t)return;let n=process.platform===`win32`,r=(0,v.spawn)(n?`rundll32`:process.platform===`darwin`?`open`:`xdg-open`,n?[`url.dll,FileProtocolHandler`,t]:[t],{stdio:`ignore`,detached:!n});r.on(`error`,()=>void 0),n||r.unref()}async syncApplication(e){return this.logDetail("Running `yarn twenty dev --once`..."),new Promise(t=>{let n=(0,v.spawn)(`yarn`,[`twenty`,`dev`,`--once`],{cwd:e,stdio:[`inherit`,`pipe`,`pipe`]});n.stdout?.resume(),n.stderr?.resume(),n.on(`close`,e=>t(e===0)),n.on(`error`,()=>t(!1))})}async tryExistingAuth(e){try{let t=new y.ConfigService,n=await t.getRemotes();for(let r of n){let n=await t.getConfigForRemote(r);if(n.apiUrl!==e)continue;let i=n.twentyCLIAccessToken??n.apiKey;if(!i)continue;let a=await fetch(`${e}/metadata`,{method:`POST`,headers:{"Content-Type":`application/json`,Authorization:`Bearer ${i}`},body:JSON.stringify({query:`{ currentWorkspace { id } }`})});if(!a.ok)continue;let o=await a.json();if(D(o.data?.currentWorkspace)&&!o.errors)return y.ConfigService.setActiveRemote(r),await t.setDefaultRemote(r),!0}return!1}catch{return!1}}async authenticateWithDevKey(e){try{return(await(0,y.authLogin)({apiKey:y.DEV_API_KEY,apiUrl:e,remote:`local`})).success?(await new y.ConfigService().setDefaultRemote(`local`),this.logDetail(`Authenticated as tim@apple.dev (development API key)`),!0):(console.log(u.default.yellow(" Authentication failed. Run `yarn twenty remote:add --local` manually.")),!1)}catch{return console.log(u.default.yellow(" Authentication failed. Run `yarn twenty remote:add --local` manually.")),!1}}deriveRemoteName(e){try{return new URL(e).hostname.replace(/\./g,`-`)}catch{return`remote`}}async authenticateWithOAuth(e){try{let t=this.deriveRemoteName(e);y.ConfigService.setActiveRemote(t),this.logDetail(`Opening browser for OAuth...`);let n=await(0,y.authLoginOAuth)({apiUrl:e});return n.success?(await new y.ConfigService().setDefaultRemote(t),this.logDetail(`Authenticated via OAuth to ${e}`),!0):(console.log(u.default.yellow(` OAuth failed: ${n.error.message}\n Run \`yarn twenty remote:add --url ${e}\` manually.`)),!1)}catch{return console.log(u.default.yellow(` Authentication failed. Run \`yarn twenty remote:add --url ${e}\` manually.`)),!1}}logSuccess(e,t,n){let r=(0,p.basename)(e);console.log(u.default.green(`
77
+ `)),{};this.logDetail(`Ensuring latest Twenty server image...`),await e||this.logDetail(`Image pull failed, continuing with cached image if available...`);let t=await(0,y.serverStart)({onProgress:e=>this.logDetail(e)});return t.success?{url:t.data.url}:(console.log(u.default.yellow(`\n ${t.error.message}`)),{})}async openMainPage(e,t){try{let n=await new y.ConfigService().getConfig(),r=n.twentyCLIAccessToken??n.apiKey;if(!r)return;let[i,a]=await Promise.all([this.readMainPageLayoutUniversalIdentifier(e),this.resolveWorkspaceFrontUrl(t,r)]);if(!i||!a)return;let o=await this.resolvePageLayoutId(t,i,r);if(!o)return;let s=`${a}/page/${o}`;this.logDetail(`Opening app welcome page: ${s}`),this.openInBrowser(s)}catch{}}async resolveWorkspaceFrontUrl(e,t){let n=await fetch(`${e}/metadata`,{method:`POST`,headers:{"Content-Type":`application/json`,Authorization:`Bearer ${t}`},body:JSON.stringify({query:`{ currentWorkspace { workspaceUrls { subdomainUrl customUrl } } }`})});if(!n.ok)return null;let r=(await n.json()).data?.currentWorkspace?.workspaceUrls;if(!r)return null;let i=r.customUrl??r.subdomainUrl;return i?OA(i):null}async readMainPageLayoutUniversalIdentifier(e){let t=p.join(e,`src`,`constants`,`universal-identifiers.ts`);return(await f.readFile(t,`utf-8`)).match(/MAIN_PAGE_LAYOUT_UNIVERSAL_IDENTIFIER\s*=\s*'([^']+)'/)?.[1]??null}async resolvePageLayoutId(e,t,n){let r=await fetch(`${e}/metadata`,{method:`POST`,headers:{"Content-Type":`application/json`,Authorization:`Bearer ${n}`},body:JSON.stringify({query:`{ getPageLayouts { id universalIdentifier } }`})});return r.ok?(await r.json()).data?.getPageLayouts?.find(e=>e.universalIdentifier===t)?.id??null:null}sanitizeBrowserUrl(e){if(/[^\u0020-\u007E]/.test(e))return null;try{let t=new URL(e);return t.protocol!==`http:`&&t.protocol!==`https:`?null:t.toString()}catch{return null}}openInBrowser(e){let t=this.sanitizeBrowserUrl(e);if(!t)return;let n=process.platform===`win32`,r=(0,v.spawn)(n?`rundll32`:process.platform===`darwin`?`open`:`xdg-open`,n?[`url.dll,FileProtocolHandler`,t]:[t],{stdio:`ignore`,detached:!n});r.on(`error`,()=>void 0),n||r.unref()}async syncApplication(e){return this.logDetail("Running `yarn twenty dev --once`..."),new Promise(t=>{let n=(0,v.spawn)(`yarn`,[`twenty`,`dev`,`--once`],{cwd:e,stdio:[`inherit`,`pipe`,`pipe`]});n.stdout?.resume(),n.stderr?.resume(),n.on(`close`,e=>t(e===0)),n.on(`error`,()=>t(!1))})}async tryExistingAuth(e){try{let t=new y.ConfigService,n=await t.getRemotes();for(let r of n){let n=await t.getConfigForRemote(r);if(n.apiUrl!==e)continue;let i=n.twentyCLIAccessToken??n.apiKey;if(!i)continue;let a=await fetch(`${e}/metadata`,{method:`POST`,headers:{"Content-Type":`application/json`,Authorization:`Bearer ${i}`},body:JSON.stringify({query:`{ currentWorkspace { id } }`})});if(!a.ok)continue;let o=await a.json();if(D(o.data?.currentWorkspace)&&!o.errors)return y.ConfigService.setActiveRemote(r),await t.setDefaultRemote(r),!0}return!1}catch{return!1}}async authenticateWithDevKey(e){try{return(await(0,y.authLogin)({apiKey:y.DEV_API_KEY,apiUrl:e,remote:`local`})).success?(await new y.ConfigService().setDefaultRemote(`local`),this.logDetail(`Authenticated as tim@apple.dev (development API key)`),!0):(console.log(u.default.yellow(" Authentication failed. Run `yarn twenty remote:add --local` manually.")),!1)}catch{return console.log(u.default.yellow(" Authentication failed. Run `yarn twenty remote:add --local` manually.")),!1}}deriveRemoteName(e){try{return new URL(e).hostname.replace(/\./g,`-`)}catch{return`remote`}}async authenticateWithOAuth(e){try{let t=this.deriveRemoteName(e);y.ConfigService.setActiveRemote(t),this.logDetail(`Opening browser for OAuth...`);let n=await(0,y.authLoginOAuth)({apiUrl:e});return n.success?(await new y.ConfigService().setDefaultRemote(t),this.logDetail(`Authenticated via OAuth to ${e}`),!0):(console.log(u.default.yellow(` OAuth failed: ${n.error.message}\n Run \`yarn twenty remote:add --url ${e}\` manually.`)),!1)}catch{return console.log(u.default.yellow(` Authentication failed. Run \`yarn twenty remote:add --url ${e}\` manually.`)),!1}}logSuccess(e,t,n){let r=(0,p.basename)(e);console.log(u.default.green(`
78
78
  ✔ Application created successfully!
79
79
  `)),console.log(u.default.white(` Next steps:
80
80
  `));let i=1;console.log(u.default.white(` ${i}. Navigate to your project`)),console.log(u.default.cyan(` cd ${r}\n`)),i++,n||(console.log(u.default.white(` ${i}. Connect to a Twenty instance`)),console.log(u.default.cyan(` yarn twenty remote:add --url <your-instance-url>
81
81
  `)),i++),console.log(u.default.white(` ${i}. Start developing`)),console.log(u.default.cyan(` yarn twenty dev
82
- `)),i++,console.log(u.default.white(` ${i}. Open your twenty instance`)),console.log(u.default.cyan(` ${t}\n`)),console.log(u.default.gray(` Documentation: https://docs.twenty.com/developers/extend/capabilities/apps`))}},WA=new d.Command(x.name).description(`CLI tool to initialize a new Twenty application`).version(x.version,`-v, --version`,`Output the current version of create-twenty-app.`).argument(`[directory]`).option(`-n, --name <name>`,`Application name`).option(`-d, --display-name <displayName>`,`Application display name`).option(`--description <description>`,`Application description`).option(`--url <url>`,`Twenty server URL (default: http://localhost:2020)`).option(`--api-url <apiUrl>`,`[deprecated: use --url]`).option(`--authentication-method <method>`,`Authentication method: oauth or apiKey (default: apiKey for local, oauth for remote)`).helpOption(`-h, --help`,`Display this help message.`).action(async(e,t)=>{e&&!/^[a-z0-9-]+$/.test(e)&&(console.error(u.default.red(`Invalid directory "${e}". Must contain only lowercase letters, numbers, and hyphens`)),process.exit(1)),t?.name!==void 0&&t.name.trim().length===0&&(console.error(u.default.red(`Error: --name cannot be empty.`)),process.exit(1)),t?.authenticationMethod&&![`oauth`,`apiKey`].includes(t.authenticationMethod)&&(console.error(u.default.red(`Error: --authentication-method must be "oauth" or "apiKey".`)),process.exit(1)),t?.apiUrl&&console.warn(u.default.yellow(`Warning: --api-url is deprecated. Use --url instead.`));let n=(t?.url??t?.apiUrl)?.replace(/\/+$/,``);await new UA().execute({directory:e,name:t?.name,displayName:t?.displayName,description:t?.description,serverUrl:n,authenticationMethod:t?.authenticationMethod})});WA.exitOverride();try{WA.parse()}catch(e){e instanceof d.CommanderError&&process.exit(e.exitCode),e instanceof Error&&(console.error(u.default.red(`Error:`),e.message),process.exit(1))}
82
+ `)),i++,console.log(u.default.white(` ${i}. Open your twenty instance`)),console.log(u.default.cyan(` ${t}\n`)),console.log(u.default.gray(` Documentation: https://docs.twenty.com/developers/extend/capabilities/apps`))}},UA=new d.Command(x.name).description(`CLI tool to initialize a new Twenty application`).version(x.version,`-v, --version`,`Output the current version of create-twenty-app.`).argument(`[directory]`).option(`-n, --name <name>`,`Application name`).option(`-d, --display-name <displayName>`,`Application display name`).option(`--description <description>`,`Application description`).option(`--url <url>`,`Twenty server URL (default: http://localhost:2020)`).option(`--api-url <apiUrl>`,`[deprecated: use --url]`).option(`--authentication-method <method>`,`Authentication method: oauth or apiKey (default: apiKey for local, oauth for remote)`).helpOption(`-h, --help`,`Display this help message.`).action(async(e,t)=>{e&&!/^[a-z0-9-]+$/.test(e)&&(console.error(u.default.red(`Invalid directory "${e}". Must contain only lowercase letters, numbers, and hyphens`)),process.exit(1)),t?.name!==void 0&&t.name.trim().length===0&&(console.error(u.default.red(`Error: --name cannot be empty.`)),process.exit(1)),t?.authenticationMethod&&![`oauth`,`apiKey`].includes(t.authenticationMethod)&&(console.error(u.default.red(`Error: --authentication-method must be "oauth" or "apiKey".`)),process.exit(1)),t?.apiUrl&&console.warn(u.default.yellow(`Warning: --api-url is deprecated. Use --url instead.`));let n=(t?.url??t?.apiUrl)?.replace(/\/+$/,``);await new HA().execute({directory:e,name:t?.name,displayName:t?.displayName,description:t?.description,serverUrl:n,authenticationMethod:t?.authenticationMethod})});UA.exitOverride();try{UA.parse()}catch(e){e instanceof d.CommanderError&&process.exit(e.exitCode),e instanceof Error&&(console.error(u.default.red(`Error:`),e.message),process.exit(1))}