@everymatrix/cashier-verifications 1.76.1 → 1.76.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CashierModal-QwoYnwWm.js → CashierModal-BlAmwq1e.js} +3 -3
- package/components/{CashierModal-tNHHrPEW.js → CashierModal-PoatyaKT.js} +3 -3
- package/components/CashierVerifications-CC93r9Qp.cjs +20 -0
- package/components/{CashierVerifications-B8IJDiL9.js → CashierVerifications-DiGxtwgs.js} +695 -709
- package/components/{CashierVerifications-BzVBOWTR.js → CashierVerifications-wDjxpLAE.js} +688 -702
- package/es2015/cashier-verifications.cjs +1 -1
- package/es2015/cashier-verifications.js +1 -1
- package/esnext/cashier-verifications.js +1 -1
- package/package.json +1 -1
- package/components/CashierVerifications-CgB-7tqJ.cjs +0 -20
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CashierVerifications-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CashierVerifications-CC93r9Qp.cjs")).then(({default:t})=>{!customElements.get("cashier-verifications")&&customElements.define("cashier-verifications",t.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CashierVerifications-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CashierVerifications-DiGxtwgs.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("cashier-verifications") && customElements.define("cashier-verifications", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
package/package.json
CHANGED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./CashierModal-BRnq9fZU.cjs"),de=[];function Hr(e,t){return{subscribe:Te(e,t).subscribe}}function Te(e,t=a.noop){let r;const i=new Set;function n(u){if(a.safe_not_equal(e,u)&&(e=u,r)){const h=!de.length;for(const c of i)c[1](),de.push(c,e);if(h){for(let c=0;c<de.length;c+=2)de[c][0](de[c+1]);de.length=0}}}function o(u){n(u(e))}function s(u,h=a.noop){const c=[u,h];return i.add(c),i.size===1&&(r=t(n,o)||a.noop),u(e),()=>{i.delete(c),i.size===0&&r&&(r(),r=null)}}return{set:n,update:o,subscribe:s}}function ye(e,t,r){const i=!Array.isArray(e),n=i?[e]:e;if(!n.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const o=t.length<2;return Hr(r,(s,u)=>{let h=!1;const c=[];let f=0,v=a.noop;const p=()=>{if(f)return;v();const w=t(i?c[0]:c,s,u);o?s(w):v=a.is_function(w)?w:a.noop},_=n.map((w,d)=>a.subscribe(w,y=>{c[d]=y,f&=~(1<<d),h&&p()},()=>{f|=1<<d}));return h=!0,p(),function(){a.run_all(_),v(),h=!1}})}var kt=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function st(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Or=function(t){return Ar(t)&&!Br(t)};function Ar(e){return!!e&&typeof e=="object"}function Br(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Ir(e)}var Mr=typeof Symbol=="function"&&Symbol.for,Cr=Mr?Symbol.for("react.element"):60103;function Ir(e){return e.$$typeof===Cr}function Dr(e){return Array.isArray(e)?[]:{}}function we(e,t){return t.clone!==!1&&t.isMergeableObject(e)?me(Dr(e),e,t):e}function Lr(e,t,r){return e.concat(t).map(function(i){return we(i,r)})}function Nr(e,t){if(!t.customMerge)return me;var r=t.customMerge(e);return typeof r=="function"?r:me}function Rr(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function ft(e){return Object.keys(e).concat(Rr(e))}function Ft(e,t){try{return t in e}catch(r){return!1}}function Ur(e,t){return Ft(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function kr(e,t,r){var i={};return r.isMergeableObject(e)&&ft(e).forEach(function(n){i[n]=we(e[n],r)}),ft(t).forEach(function(n){Ur(e,n)||(Ft(e,n)&&r.isMergeableObject(t[n])?i[n]=Nr(n,r)(e[n],t[n],r):i[n]=we(t[n],r))}),i}function me(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||Lr,r.isMergeableObject=r.isMergeableObject||Or,r.cloneUnlessOtherwiseSpecified=we;var i=Array.isArray(t),n=Array.isArray(e),o=i===n;return o?i?r.arrayMerge(e,t,r):kr(e,t,r):we(t,r)}me.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(i,n){return me(i,n,r)},{})};var Fr=me,Vr=Fr;const Gr=st(Vr);/*! *****************************************************************************
|
|
2
|
-
Copyright (c) Microsoft Corporation.
|
|
3
|
-
|
|
4
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
5
|
-
purpose with or without fee is hereby granted.
|
|
6
|
-
|
|
7
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
8
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
9
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
10
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
11
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
12
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
13
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
14
|
-
***************************************************************************** */var qe=function(e,t){return qe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(r[n]=i[n])},qe(e,t)};function re(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");qe(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var I=function(){return I=Object.assign||function(t){for(var r,i=1,n=arguments.length;i<n;i++){r=arguments[i];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},I.apply(this,arguments)};function jr(e,t){var r={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(r[i]=e[i]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,i=Object.getOwnPropertySymbols(e);n<i.length;n++)t.indexOf(i[n])<0&&Object.prototype.propertyIsEnumerable.call(e,i[n])&&(r[i[n]]=e[i[n]]);return r}function Ye(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],i=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ze(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var i=r.call(e),n,o=[],s;try{for(;(t===void 0||t-- >0)&&!(n=i.next()).done;)o.push(n.value)}catch(u){s={error:u}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(s)throw s.error}}return o}function pe(e,t,r){if(r||arguments.length===2)for(var i=0,n=t.length,o;i<n;i++)(o||!(i in t))&&(o||(o=Array.prototype.slice.call(t,0,i)),o[i]=t[i]);return e.concat(o||t)}function Ve(e,t){var r=t&&t.cache?t.cache:Yr,i=t&&t.serializer?t.serializer:qr,n=t&&t.strategy?t.strategy:zr;return n(e,{cache:r,serializer:i})}function $r(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Vt(e,t,r,i){var n=$r(i)?i:r(i),o=t.get(n);return typeof o=="undefined"&&(o=e.call(this,i),t.set(n,o)),o}function Gt(e,t,r){var i=Array.prototype.slice.call(arguments,3),n=r(i),o=t.get(n);return typeof o=="undefined"&&(o=e.apply(this,i),t.set(n,o)),o}function at(e,t,r,i,n){return r.bind(t,e,i,n)}function zr(e,t){var r=e.length===1?Vt:Gt;return at(e,this,r,t.cache.create(),t.serializer)}function Wr(e,t){return at(e,this,Gt,t.cache.create(),t.serializer)}function Xr(e,t){return at(e,this,Vt,t.cache.create(),t.serializer)}var qr=function(){return JSON.stringify(arguments)};function ut(){this.cache=Object.create(null)}ut.prototype.get=function(e){return this.cache[e]};ut.prototype.set=function(e,t){this.cache[e]=t};var Yr={create:function(){return new ut}},Ge={variadic:Wr,monadic:Xr},O;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(O||(O={}));var N;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(N||(N={}));var ve;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(ve||(ve={}));function ct(e){return e.type===N.literal}function Zr(e){return e.type===N.argument}function jt(e){return e.type===N.number}function $t(e){return e.type===N.date}function zt(e){return e.type===N.time}function Wt(e){return e.type===N.select}function Xt(e){return e.type===N.plural}function Jr(e){return e.type===N.pound}function qt(e){return e.type===N.tag}function Yt(e){return!!(e&&typeof e=="object"&&e.type===ve.number)}function Je(e){return!!(e&&typeof e=="object"&&e.type===ve.dateTime)}var Zt=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Qr=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function Kr(e){var t={};return e.replace(Qr,function(r){var i=r.length;switch(r[0]){case"G":t.era=i===4?"long":i===5?"narrow":"short";break;case"y":t.year=i===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][i-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][i-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=i===4?"long":i===5?"narrow":"short";break;case"e":if(i<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][i-4];break;case"c":if(i<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][i-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][i-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][i-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][i-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][i-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][i-1];break;case"s":t.second=["numeric","2-digit"][i-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=i<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var ei=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function ti(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(ei).filter(function(p){return p.length>0}),r=[],i=0,n=t;i<n.length;i++){var o=n[i],s=o.split("/");if(s.length===0)throw new Error("Invalid number skeleton");for(var u=s[0],h=s.slice(1),c=0,f=h;c<f.length;c++){var v=f[c];if(v.length===0)throw new Error("Invalid number skeleton")}r.push({stem:u,options:h})}return r}function ri(e){return e.replace(/^(.*?)-/,"")}var dt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Jt=/^(@+)?(\+|#+)?[rs]?$/g,ii=/(\*)(0+)|(#+)(0+)|(0+)/g,Qt=/^(0+)$/;function pt(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(Jt,function(r,i,n){return typeof n!="string"?(t.minimumSignificantDigits=i.length,t.maximumSignificantDigits=i.length):n==="+"?t.minimumSignificantDigits=i.length:i[0]==="#"?t.maximumSignificantDigits=i.length:(t.minimumSignificantDigits=i.length,t.maximumSignificantDigits=i.length+(typeof n=="string"?n.length:0)),""}),t}function Kt(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function ni(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if(r==="+!"?(t.signDisplay="always",e=e.slice(2)):r==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!Qt.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function mt(e){var t={},r=Kt(e);return r||t}function oi(e){for(var t={},r=0,i=e;r<i.length;r++){var n=i[r];switch(n.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=n.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=ri(n.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=I(I(I({},t),{notation:"scientific"}),n.options.reduce(function(h,c){return I(I({},h),mt(c))},{}));continue;case"engineering":t=I(I(I({},t),{notation:"engineering"}),n.options.reduce(function(h,c){return I(I({},h),mt(c))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(n.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(n.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");n.options[0].replace(ii,function(h,c,f,v,p,_){if(c)t.minimumIntegerDigits=f.length;else{if(v&&p)throw new Error("We currently do not support maximum integer digits");if(_)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Qt.test(n.stem)){t.minimumIntegerDigits=n.stem.length;continue}if(dt.test(n.stem)){if(n.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(dt,function(h,c,f,v,p,_){return f==="*"?t.minimumFractionDigits=c.length:v&&v[0]==="#"?t.maximumFractionDigits=v.length:p&&_?(t.minimumFractionDigits=p.length,t.maximumFractionDigits=p.length+_.length):(t.minimumFractionDigits=c.length,t.maximumFractionDigits=c.length),""});var o=n.options[0];o==="w"?t=I(I({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=I(I({},t),pt(o)));continue}if(Jt.test(n.stem)){t=I(I({},t),pt(n.stem));continue}var s=Kt(n.stem);s&&(t=I(I({},t),s));var u=ni(n.stem);u&&(t=I(I({},t),u))}return t}var Ae={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function si(e,t){for(var r="",i=0;i<e.length;i++){var n=e.charAt(i);if(n==="j"){for(var o=0;i+1<e.length&&e.charAt(i+1)===n;)o++,i++;var s=1+(o&1),u=o<2?1:3+(o>>1),h="a",c=ai(t);for((c=="H"||c=="k")&&(u=0);u-- >0;)r+=h;for(;s-- >0;)r=c+r}else n==="J"?r+="H":r+=n}return r}function ai(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=e.language,i;r!=="root"&&(i=e.maximize().region);var n=Ae[i||""]||Ae[r||""]||Ae["".concat(r,"-001")]||Ae["001"];return n[0]}var je,ui=new RegExp("^".concat(Zt.source,"*")),li=new RegExp("".concat(Zt.source,"*$"));function C(e,t){return{start:e,end:t}}var hi=!!String.prototype.startsWith&&"_a".startsWith("a",1),fi=!!String.fromCodePoint,ci=!!Object.fromEntries,di=!!String.prototype.codePointAt,pi=!!String.prototype.trimStart,mi=!!String.prototype.trimEnd,vi=!!Number.isSafeInteger,gi=vi?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Qe=!0;try{var bi=tr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Qe=((je=bi.exec("a"))===null||je===void 0?void 0:je[0])==="a"}catch(e){Qe=!1}var vt=hi?function(t,r,i){return t.startsWith(r,i)}:function(t,r,i){return t.slice(i,i+r.length)===r},Ke=fi?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var i="",n=t.length,o=0,s;n>o;){if(s=t[o++],s>1114111)throw RangeError(s+" is not a valid code point");i+=s<65536?String.fromCharCode(s):String.fromCharCode(((s-=65536)>>10)+55296,s%1024+56320)}return i},gt=ci?Object.fromEntries:function(t){for(var r={},i=0,n=t;i<n.length;i++){var o=n[i],s=o[0],u=o[1];r[s]=u}return r},er=di?function(t,r){return t.codePointAt(r)}:function(t,r){var i=t.length;if(!(r<0||r>=i)){var n=t.charCodeAt(r),o;return n<55296||n>56319||r+1===i||(o=t.charCodeAt(r+1))<56320||o>57343?n:(n-55296<<10)+(o-56320)+65536}},yi=pi?function(t){return t.trimStart()}:function(t){return t.replace(ui,"")},_i=mi?function(t){return t.trimEnd()}:function(t){return t.replace(li,"")};function tr(e,t){return new RegExp(e,t)}var et;if(Qe){var bt=tr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");et=function(t,r){var i;bt.lastIndex=r;var n=bt.exec(t);return(i=n[1])!==null&&i!==void 0?i:""}}else et=function(t,r){for(var i=[];;){var n=er(t,r);if(n===void 0||rr(n)||Si(n))break;i.push(n),r+=n>=65536?2:1}return Ke.apply(void 0,i)};var xi=function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,r,i){for(var n=[];!this.isEOF();){var o=this.char();if(o===123){var s=this.parseArgument(t,i);if(s.err)return s;n.push(s.val)}else{if(o===125&&t>0)break;if(o===35&&(r==="plural"||r==="selectordinal")){var u=this.clonePosition();this.bump(),n.push({type:N.pound,location:C(u,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(i)break;return this.error(O.UNMATCHED_CLOSING_TAG,C(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&tt(this.peek()||0)){var s=this.parseTag(t,r);if(s.err)return s;n.push(s.val)}else{var s=this.parseLiteral(t,r);if(s.err)return s;n.push(s.val)}}}return{val:n,err:null}},e.prototype.parseTag=function(t,r){var i=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:N.literal,value:"<".concat(n,"/>"),location:C(i,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,r,!0);if(o.err)return o;var s=o.val,u=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!tt(this.char()))return this.error(O.INVALID_TAG,C(u,this.clonePosition()));var h=this.clonePosition(),c=this.parseTagName();return n!==c?this.error(O.UNMATCHED_CLOSING_TAG,C(h,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:N.tag,value:n,children:s,location:C(i,this.clonePosition())},err:null}:this.error(O.INVALID_TAG,C(u,this.clonePosition())))}else return this.error(O.UNCLOSED_TAG,C(i,this.clonePosition()))}else return this.error(O.INVALID_TAG,C(i,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&wi(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var i=this.clonePosition(),n="";;){var o=this.tryParseQuote(r);if(o){n+=o;continue}var s=this.tryParseUnquoted(t,r);if(s){n+=s;continue}var u=this.tryParseLeftAngleBracket();if(u){n+=u;continue}break}var h=C(i,this.clonePosition());return{val:{type:N.literal,value:n,location:h},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Ei(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var i=this.char();if(i===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(i);this.bump()}return Ke.apply(void 0,r)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var i=this.char();return i===60||i===123||i===35&&(r==="plural"||r==="selectordinal")||i===125&&t>0?null:(this.bump(),Ke(i))},e.prototype.parseArgument=function(t,r){var i=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE,C(i,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(O.EMPTY_ARGUMENT,C(i,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(O.MALFORMED_ARGUMENT,C(i,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE,C(i,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:N.argument,value:n,location:C(i,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE,C(i,this.clonePosition())):this.parseArgumentOptions(t,r,n,i);default:return this.error(O.MALFORMED_ARGUMENT,C(i,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),i=et(this.message,r),n=r+i.length;this.bumpTo(n);var o=this.clonePosition(),s=C(t,o);return{value:i,location:s}},e.prototype.parseArgumentOptions=function(t,r,i,n){var o,s=this.clonePosition(),u=this.parseIdentifierIfPossible().value,h=this.clonePosition();switch(u){case"":return this.error(O.EXPECT_ARGUMENT_TYPE,C(s,h));case"number":case"date":case"time":{this.bumpSpace();var c=null;if(this.bumpIf(",")){this.bumpSpace();var f=this.clonePosition(),v=this.parseSimpleArgStyleIfPossible();if(v.err)return v;var p=_i(v.val);if(p.length===0)return this.error(O.EXPECT_ARGUMENT_STYLE,C(this.clonePosition(),this.clonePosition()));var _=C(f,this.clonePosition());c={style:p,styleLocation:_}}var w=this.tryParseArgumentClose(n);if(w.err)return w;var d=C(n,this.clonePosition());if(c&&vt(c==null?void 0:c.style,"::",0)){var y=yi(c.style.slice(2));if(u==="number"){var v=this.parseNumberSkeletonFromString(y,c.styleLocation);return v.err?v:{val:{type:N.number,value:i,location:d,style:v.val},err:null}}else{if(y.length===0)return this.error(O.EXPECT_DATE_TIME_SKELETON,d);var A=y;this.locale&&(A=si(y,this.locale));var p={type:ve.dateTime,pattern:A,location:c.styleLocation,parsedOptions:this.shouldParseSkeletons?Kr(A):{}},H=u==="date"?N.date:N.time;return{val:{type:H,value:i,location:d,style:p},err:null}}}return{val:{type:u==="number"?N.number:u==="date"?N.date:N.time,value:i,location:d,style:(o=c==null?void 0:c.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var D=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(O.EXPECT_SELECT_ARGUMENT_OPTIONS,C(D,I({},D)));this.bumpSpace();var q=this.parseIdentifierIfPossible(),U=0;if(u!=="select"&&q.value==="offset"){if(!this.bumpIf(":"))return this.error(O.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,C(this.clonePosition(),this.clonePosition()));this.bumpSpace();var v=this.tryParseDecimalInteger(O.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,O.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(v.err)return v;this.bumpSpace(),q=this.parseIdentifierIfPossible(),U=v.val}var V=this.tryParsePluralOrSelectOptions(t,u,r,q);if(V.err)return V;var w=this.tryParseArgumentClose(n);if(w.err)return w;var Y=C(n,this.clonePosition());return u==="select"?{val:{type:N.select,value:i,options:gt(V.val),location:Y},err:null}:{val:{type:N.plural,value:i,options:gt(V.val),offset:U,pluralType:u==="plural"?"cardinal":"ordinal",location:Y},err:null}}default:return this.error(O.INVALID_ARGUMENT_TYPE,C(s,h))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE,C(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();){var i=this.char();switch(i){case 39:{this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(O.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,C(n,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,r){var i=[];try{i=ti(t)}catch(n){return this.error(O.INVALID_NUMBER_SKELETON,r)}return{val:{type:ve.number,tokens:i,location:r,parsedOptions:this.shouldParseSkeletons?oi(i):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,i,n){for(var o,s=!1,u=[],h=new Set,c=n.value,f=n.location;;){if(c.length===0){var v=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var p=this.tryParseDecimalInteger(O.EXPECT_PLURAL_ARGUMENT_SELECTOR,O.INVALID_PLURAL_ARGUMENT_SELECTOR);if(p.err)return p;f=C(v,this.clonePosition()),c=this.message.slice(v.offset,this.offset())}else break}if(h.has(c))return this.error(r==="select"?O.DUPLICATE_SELECT_ARGUMENT_SELECTOR:O.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,f);c==="other"&&(s=!0),this.bumpSpace();var _=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?O.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:O.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,C(this.clonePosition(),this.clonePosition()));var w=this.parseMessage(t+1,r,i);if(w.err)return w;var d=this.tryParseArgumentClose(_);if(d.err)return d;u.push([c,{value:w.val,location:C(_,this.clonePosition())}]),h.add(c),this.bumpSpace(),o=this.parseIdentifierIfPossible(),c=o.value,f=o.location}return u.length===0?this.error(r==="select"?O.EXPECT_SELECT_ARGUMENT_SELECTOR:O.EXPECT_PLURAL_ARGUMENT_SELECTOR,C(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(O.MISSING_OTHER_CLAUSE,C(this.clonePosition(),this.clonePosition())):{val:u,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var i=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(i=-1);for(var o=!1,s=0;!this.isEOF();){var u=this.char();if(u>=48&&u<=57)o=!0,s=s*10+(u-48),this.bump();else break}var h=C(n,this.clonePosition());return o?(s*=i,gi(s)?{val:s,err:null}:this.error(r,h)):this.error(t,h)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=er(this.message,t);if(r===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},e.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(vt(this.message,t,this.offset())){for(var r=0;r<t.length;r++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var r=this.offset(),i=this.message.indexOf(t,r);return i>=0?(this.bumpTo(i),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&rr(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),i=this.message.charCodeAt(r+(t>=65536?2:1));return i!=null?i:null},e}();function tt(e){return e>=97&&e<=122||e>=65&&e<=90}function Ei(e){return tt(e)||e===47}function wi(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function rr(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Si(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function rt(e){e.forEach(function(t){if(delete t.location,Wt(t)||Xt(t))for(var r in t.options)delete t.options[r].location,rt(t.options[r].value);else jt(t)&&Yt(t.style)||($t(t)||zt(t))&&Je(t.style)?delete t.style.location:qt(t)&&rt(t.children)})}function Ti(e,t){t===void 0&&(t={}),t=I({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new xi(e,t).parse();if(r.err){var i=SyntaxError(O[r.err.kind]);throw i.location=r.err.location,i.originalMessage=r.err.message,i}return t!=null&&t.captureLocation||rt(r.val),r.val}var ge;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(ge||(ge={}));var Re=function(e){re(t,e);function t(r,i,n){var o=e.call(this,r)||this;return o.code=i,o.originalMessage=n,o}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),yt=function(e){re(t,e);function t(r,i,n,o){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(i,'". Options are "').concat(Object.keys(n).join('", "'),'"'),ge.INVALID_VALUE,o)||this}return t}(Re),Pi=function(e){re(t,e);function t(r,i,n){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(i),ge.INVALID_VALUE,n)||this}return t}(Re),Hi=function(e){re(t,e);function t(r,i){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(i,'"'),ge.MISSING_VALUE,i)||this}return t}(Re),X;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(X||(X={}));function Oi(e){return e.length<2?e:e.reduce(function(t,r){var i=t[t.length-1];return!i||i.type!==X.literal||r.type!==X.literal?t.push(r):i.value+=r.value,t},[])}function Ai(e){return typeof e=="function"}function Me(e,t,r,i,n,o,s){if(e.length===1&&ct(e[0]))return[{type:X.literal,value:e[0].value}];for(var u=[],h=0,c=e;h<c.length;h++){var f=c[h];if(ct(f)){u.push({type:X.literal,value:f.value});continue}if(Jr(f)){typeof o=="number"&&u.push({type:X.literal,value:r.getNumberFormat(t).format(o)});continue}var v=f.value;if(!(n&&v in n))throw new Hi(v,s);var p=n[v];if(Zr(f)){(!p||typeof p=="string"||typeof p=="number")&&(p=typeof p=="string"||typeof p=="number"?String(p):""),u.push({type:typeof p=="string"?X.literal:X.object,value:p});continue}if($t(f)){var _=typeof f.style=="string"?i.date[f.style]:Je(f.style)?f.style.parsedOptions:void 0;u.push({type:X.literal,value:r.getDateTimeFormat(t,_).format(p)});continue}if(zt(f)){var _=typeof f.style=="string"?i.time[f.style]:Je(f.style)?f.style.parsedOptions:i.time.medium;u.push({type:X.literal,value:r.getDateTimeFormat(t,_).format(p)});continue}if(jt(f)){var _=typeof f.style=="string"?i.number[f.style]:Yt(f.style)?f.style.parsedOptions:void 0;_&&_.scale&&(p=p*(_.scale||1)),u.push({type:X.literal,value:r.getNumberFormat(t,_).format(p)});continue}if(qt(f)){var w=f.children,d=f.value,y=n[d];if(!Ai(y))throw new Pi(d,"function",s);var A=Me(w,t,r,i,n,o),H=y(A.map(function(U){return U.value}));Array.isArray(H)||(H=[H]),u.push.apply(u,H.map(function(U){return{type:typeof U=="string"?X.literal:X.object,value:U}}))}if(Wt(f)){var D=f.options[p]||f.options.other;if(!D)throw new yt(f.value,p,Object.keys(f.options),s);u.push.apply(u,Me(D.value,t,r,i,n));continue}if(Xt(f)){var D=f.options["=".concat(p)];if(!D){if(!Intl.PluralRules)throw new Re(`Intl.PluralRules is not available in this environment.
|
|
15
|
-
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
16
|
-
`,ge.MISSING_INTL_API,s);var q=r.getPluralRules(t,{type:f.pluralType}).select(p-(f.offset||0));D=f.options[q]||f.options.other}if(!D)throw new yt(f.value,p,Object.keys(f.options),s);u.push.apply(u,Me(D.value,t,r,i,n,p-(f.offset||0)));continue}}return Oi(u)}function Bi(e,t){return t?I(I(I({},e||{}),t||{}),Object.keys(e).reduce(function(r,i){return r[i]=I(I({},e[i]),t[i]||{}),r},{})):e}function Mi(e,t){return t?Object.keys(e).reduce(function(r,i){return r[i]=Bi(e[i],t[i]),r},I({},e)):e}function $e(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function Ci(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Ve(function(){for(var t,r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return new((t=Intl.NumberFormat).bind.apply(t,pe([void 0],r,!1)))},{cache:$e(e.number),strategy:Ge.variadic}),getDateTimeFormat:Ve(function(){for(var t,r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return new((t=Intl.DateTimeFormat).bind.apply(t,pe([void 0],r,!1)))},{cache:$e(e.dateTime),strategy:Ge.variadic}),getPluralRules:Ve(function(){for(var t,r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return new((t=Intl.PluralRules).bind.apply(t,pe([void 0],r,!1)))},{cache:$e(e.pluralRules),strategy:Ge.variadic})}}var ir=function(){function e(t,r,i,n){r===void 0&&(r=e.defaultLocale);var o=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(h){var c=o.formatToParts(h);if(c.length===1)return c[0].value;var f=c.reduce(function(v,p){return!v.length||p.type!==X.literal||typeof v[v.length-1]!="string"?v.push(p.value):v[v.length-1]+=p.value,v},[]);return f.length<=1?f[0]||"":f},this.formatToParts=function(h){return Me(o.ast,o.locales,o.formatters,o.formats,h,void 0,o.message)},this.resolvedOptions=function(){var h;return{locale:((h=o.resolvedLocale)===null||h===void 0?void 0:h.toString())||Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var s=n||{};s.formatters;var u=jr(s,["formatters"]);this.ast=e.__parse(t,I(I({},u),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=Mi(e.formats,i),this.formatters=n&&n.formatters||Ci(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(typeof Intl.Locale!="undefined"){var r=Intl.NumberFormat.supportedLocalesOf(t);return r.length>0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=Ti,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();function Ii(e,t){if(t==null)return;if(t in e)return e[t];const r=t.split(".");let i=e;for(let n=0;n<r.length;n++)if(typeof i=="object"){if(n>0){const o=r.slice(n,r.length).join(".");if(o in i){i=i[o];break}}i=i[r[n]]}else i=void 0;return i}const se={},Di=(e,t,r)=>r&&(t in se||(se[t]={}),e in se[t]||(se[t][e]=r),r),nr=(e,t)=>{if(t==null)return;if(t in se&&e in se[t])return se[t][e];const r=He(t);for(let i=0;i<r.length;i++){const n=r[i],o=Ni(n,e);if(o)return Di(e,t,o)}};let lt;const Pe=Te({});function Li(e){return lt[e]||null}function or(e){return e in lt}function Ni(e,t){if(!or(e))return null;const r=Li(e);return Ii(r,t)}function Ri(e){if(e==null)return;const t=He(e);for(let r=0;r<t.length;r++){const i=t[r];if(or(i))return i}}function sr(e,...t){delete se[e],Pe.update(r=>(r[e]=Gr.all([r[e]||{},...t]),r))}ye([Pe],([e])=>Object.keys(e));Pe.subscribe(e=>lt=e);const Ce={};function Ui(e,t){Ce[e].delete(t),Ce[e].size===0&&delete Ce[e]}function ar(e){return Ce[e]}function ki(e){return He(e).map(t=>{const r=ar(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function De(e){return e==null?!1:He(e).some(t=>{var r;return(r=ar(t))==null?void 0:r.size})}function Fi(e,t){return Promise.all(t.map(i=>(Ui(e,i),i().then(n=>n.default||n)))).then(i=>sr(e,...i))}const xe={};function ur(e){if(!De(e))return e in xe?xe[e]:Promise.resolve();const t=ki(e);return xe[e]=Promise.all(t.map(([r,i])=>Fi(r,i))).then(()=>{if(De(e))return ur(e);delete xe[e]}),xe[e]}var _t=Object.getOwnPropertySymbols,Vi=Object.prototype.hasOwnProperty,Gi=Object.prototype.propertyIsEnumerable,ji=(e,t)=>{var r={};for(var i in e)Vi.call(e,i)&&t.indexOf(i)<0&&(r[i]=e[i]);if(e!=null&&_t)for(var i of _t(e))t.indexOf(i)<0&&Gi.call(e,i)&&(r[i]=e[i]);return r};const $i={number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}};function zi({locale:e,id:t}){console.warn(`[svelte-i18n] The message "${t}" was not found in "${He(e).join('", "')}".${De(ae())?`
|
|
17
|
-
|
|
18
|
-
Note: there are at least one loader still registered to this locale that wasn't executed.`:""}`)}const Wi={fallbackLocale:null,loadingDelay:200,formats:$i,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},Ee=Wi;function be(){return Ee}function Xi(e){const t=e,{formats:r}=t,i=ji(t,["formats"]);let n=e.fallbackLocale;if(e.initialLocale)try{ir.resolveLocale(e.initialLocale)&&(n=e.initialLocale)}catch(o){console.warn(`[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`)}return i.warnOnMissingMessages&&(delete i.warnOnMissingMessages,i.handleMissingMessage==null?i.handleMissingMessage=zi:console.warn('[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.')),Object.assign(Ee,i,{initialLocale:n}),r&&("number"in r&&Object.assign(Ee.formats.number,r.number),"date"in r&&Object.assign(Ee.formats.date,r.date),"time"in r&&Object.assign(Ee.formats.time,r.time)),fe.set(n)}const ze=Te(!1);var qi=Object.defineProperty,Yi=Object.defineProperties,Zi=Object.getOwnPropertyDescriptors,xt=Object.getOwnPropertySymbols,Ji=Object.prototype.hasOwnProperty,Qi=Object.prototype.propertyIsEnumerable,Et=(e,t,r)=>t in e?qi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Ki=(e,t)=>{for(var r in t||(t={}))Ji.call(t,r)&&Et(e,r,t[r]);if(xt)for(var r of xt(t))Qi.call(t,r)&&Et(e,r,t[r]);return e},en=(e,t)=>Yi(e,Zi(t));let it;const Le=Te(null);function wt(e){return e.split("-").map((t,r,i)=>i.slice(0,r+1).join("-")).reverse()}function He(e,t=be().fallbackLocale){const r=wt(e);return t?[...new Set([...r,...wt(t)])]:r}function ae(){return it!=null?it:void 0}Le.subscribe(e=>{it=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const tn=e=>{if(e&&Ri(e)&&De(e)){const{loadingDelay:t}=be();let r;return typeof window!="undefined"&&ae()!=null&&t?r=window.setTimeout(()=>ze.set(!0),t):ze.set(!0),ur(e).then(()=>{Le.set(e)}).finally(()=>{clearTimeout(r),ze.set(!1)})}return Le.set(e)},fe=en(Ki({},Le),{set:tn}),Ue=e=>{const t=Object.create(null);return i=>{const n=JSON.stringify(i);return n in t?t[n]:t[n]=e(i)}};var rn=Object.defineProperty,Ne=Object.getOwnPropertySymbols,lr=Object.prototype.hasOwnProperty,hr=Object.prototype.propertyIsEnumerable,St=(e,t,r)=>t in e?rn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ht=(e,t)=>{for(var r in t||(t={}))lr.call(t,r)&&St(e,r,t[r]);if(Ne)for(var r of Ne(t))hr.call(t,r)&&St(e,r,t[r]);return e},_e=(e,t)=>{var r={};for(var i in e)lr.call(e,i)&&t.indexOf(i)<0&&(r[i]=e[i]);if(e!=null&&Ne)for(var i of Ne(e))t.indexOf(i)<0&&hr.call(e,i)&&(r[i]=e[i]);return r};const Se=(e,t)=>{const{formats:r}=be();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},nn=Ue(e=>{var t=e,{locale:r,format:i}=t,n=_e(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return i&&(n=Se("number",i)),new Intl.NumberFormat(r,n)}),on=Ue(e=>{var t=e,{locale:r,format:i}=t,n=_e(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return i?n=Se("date",i):Object.keys(n).length===0&&(n=Se("date","short")),new Intl.DateTimeFormat(r,n)}),sn=Ue(e=>{var t=e,{locale:r,format:i}=t,n=_e(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return i?n=Se("time",i):Object.keys(n).length===0&&(n=Se("time","short")),new Intl.DateTimeFormat(r,n)}),an=(e={})=>{var t=e,{locale:r=ae()}=t,i=_e(t,["locale"]);return nn(ht({locale:r},i))},un=(e={})=>{var t=e,{locale:r=ae()}=t,i=_e(t,["locale"]);return on(ht({locale:r},i))},ln=(e={})=>{var t=e,{locale:r=ae()}=t,i=_e(t,["locale"]);return sn(ht({locale:r},i))},hn=Ue((e,t=ae())=>new ir(e,t,be().formats,{ignoreTag:be().ignoreTag})),fn=(e,t={})=>{var r,i,n,o;let s=t;typeof e=="object"&&(s=e,e=s.id);const{values:u,locale:h=ae(),default:c}=s;if(h==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let f=nr(e,h);if(!f)f=(o=(n=(i=(r=be()).handleMissingMessage)==null?void 0:i.call(r,{locale:h,id:e,defaultValue:c}))!=null?n:c)!=null?o:e;else if(typeof f!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof f}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),f;if(!u)return f;let v=f;try{v=hn(f,h).format(u)}catch(p){p instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,p.message)}return v},cn=(e,t)=>ln(t).format(e),dn=(e,t)=>un(t).format(e),pn=(e,t)=>an(t).format(e),mn=(e,t=ae())=>nr(e,t),vn=ye([fe,Pe],()=>fn);ye([fe],()=>cn);ye([fe],()=>dn);ye([fe],()=>pn);ye([fe,Pe],()=>mn);function Tt(e,t){sr(e,t)}function gn(e){Xi({fallbackLocale:"en"}),fe.set(e)}const Pt={en:{"verification.video.how-to":"How to verify yourself","verification.idenfy.referred-awaiting":"ID verification is in progress. We will inform you as soon as verification is completed and you can withdraw money back","verification.message.failed":"We apologize, but we were unable to verify your account. Please contact support team","verification.idenfy.link-name":"link","verification.idenfy.in-progress":"To withdraw funds to your account you are required to pass user verification. Please have your ID ready and follow the {link} to start verification","verification.shuftipro.in-progress.Biometric":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification.","verification.shuftipro.in-progress.Biometric.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {Documents} verification.","verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification, {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Biometric.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification.","verification.shuftipro.in-progress.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {ProofOfAddress} verification.","verification.shuftipro.link-name.Biometric":"Biometric","verification.shuftipro.link-name.Documents":"Documents","verification.shuftipro.link-name.ProofOfAddress":"Proof Of Address","verification.shuftipro.validations-started":"After completing verification, please proceed with the transaction"},tr:{"verification.video.how-to":"Kimlik doğrulama nasıl yapılır","verification.idenfy.referred-awaiting":"Kimlik doğrulaması işlemde. Doğrulama tamamlandığında size haber vereceğiz","verification.message.failed":"Döküman doğrulama başarısız, hesabınız doğrulanamadı","verification.idenfy.link-name":"link","verification.idenfy.in-progress":"Hesabınızdan çekim yapabilmek için kullanıcı doğrulaması gerekiyor. Lütfen kimliğinizi hazır edin ve {link} adresinden doğrulamayı başlatın","verification.shuftipro.in-progress.Biometric":"İşlemi gerçekleştirmek için kullanıcı doğrulamasını geçmeniz gerekmektedir. Doğrulamayı başlatmak için Lütfen linke tıklayın {Biometric}","verification.shuftipro.in-progress.Biometric.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {Documents} verification.","verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification, {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Biometric.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification.","verification.shuftipro.in-progress.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {ProofOfAddress} verification.","verification.shuftipro.link-name.Biometric":"Doğrulama Yap","verification.shuftipro.link-name.Documents":"Documents","verification.shuftipro.link-name.ProofOfAddress":"Proof Of Address","verification.shuftipro.validations-started":"Lütfen Doğrulamayı tamamladıktan sonra işleme devam ediniz"},hr:{"verification.video.how-to":"How to verify yourself","verification.idenfy.referred-awaiting":"ID verification is in progress. We will inform you as soon as verification is completed and you can withdraw money back","verification.message.failed":"We apologize, but we were unable to verify your account. Please contact support team","verification.idenfy.link-name":"link","verification.idenfy.in-progress":"To withdraw funds to your account you are required to pass user verification. Please have your ID ready and follow the {link} to start verification","verification.shuftipro.in-progress.Biometric":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification.","verification.shuftipro.in-progress.Biometric.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {Documents} verification.","verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification, {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Biometric.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification.","verification.shuftipro.in-progress.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {ProofOfAddress} verification.","verification.shuftipro.link-name.Biometric":"Biometric","verification.shuftipro.link-name.Documents":"Documents","verification.shuftipro.link-name.ProofOfAddress":"Proof Of Address","verification.shuftipro.validations-started":"After completing verification, please proceed with the transaction"}};let bn=Te(null);function te(e){return typeof e=="function"}function fr(e){var t=function(i){Error.call(i),i.stack=new Error().stack},r=e(t);return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var We=fr(function(e){return function(r){e(this),this.message=r?r.length+` errors occurred during unsubscription:
|
|
19
|
-
`+r.map(function(i,n){return n+1+") "+i.toString()}).join(`
|
|
20
|
-
`):"",this.name="UnsubscriptionError",this.errors=r}});function nt(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var ke=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,i,n,o;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var u=Ye(s),h=u.next();!h.done;h=u.next()){var c=h.value;c.remove(this)}}catch(d){t={error:d}}finally{try{h&&!h.done&&(r=u.return)&&r.call(u)}finally{if(t)throw t.error}}else s.remove(this);var f=this.initialTeardown;if(te(f))try{f()}catch(d){o=d instanceof We?d.errors:[d]}var v=this._finalizers;if(v){this._finalizers=null;try{for(var p=Ye(v),_=p.next();!_.done;_=p.next()){var w=_.value;try{Ht(w)}catch(d){o=o!=null?o:[],d instanceof We?o=pe(pe([],Ze(o)),Ze(d.errors)):o.push(d)}}}catch(d){i={error:d}}finally{try{_&&!_.done&&(n=p.return)&&n.call(p)}finally{if(i)throw i.error}}}if(o)throw new We(o)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)Ht(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&nt(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&nt(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),cr=ke.EMPTY;function dr(e){return e instanceof ke||e&&"closed"in e&&te(e.remove)&&te(e.add)&&te(e.unsubscribe)}function Ht(e){te(e)?e():e.unsubscribe()}var pr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},yn={setTimeout:function(e,t){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];return setTimeout.apply(void 0,pe([e,t],Ze(r)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function _n(e){yn.setTimeout(function(){throw e})}function Ot(){}function Ie(e){e()}var mr=function(e){re(t,e);function t(r){var i=e.call(this)||this;return i.isStopped=!1,r?(i.destination=r,dr(r)&&r.add(i)):i.destination=Sn,i}return t.create=function(r,i,n){return new ot(r,i,n)},t.prototype.next=function(r){this.isStopped||this._next(r)},t.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(r){this.destination.next(r)},t.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(ke),xn=Function.prototype.bind;function Xe(e,t){return xn.call(e,t)}var En=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var r=this.partialObserver;if(r.next)try{r.next(t)}catch(i){Be(i)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(i){Be(i)}else Be(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){Be(r)}},e}(),ot=function(e){re(t,e);function t(r,i,n){var o=e.call(this)||this,s;if(te(r)||!r)s={next:r!=null?r:void 0,error:i!=null?i:void 0,complete:n!=null?n:void 0};else{var u;o&&pr.useDeprecatedNextContext?(u=Object.create(r),u.unsubscribe=function(){return o.unsubscribe()},s={next:r.next&&Xe(r.next,u),error:r.error&&Xe(r.error,u),complete:r.complete&&Xe(r.complete,u)}):s=r}return o.destination=new En(s),o}return t}(mr);function Be(e){_n(e)}function wn(e){throw e}var Sn={closed:!0,next:Ot,error:wn,complete:Ot},Tn=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function Pn(e){return e}function Hn(e){return e.length===0?Pn:e.length===1?e[0]:function(r){return e.reduce(function(i,n){return n(i)},r)}}var At=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(t,r,i){var n=this,o=An(t)?t:new ot(t,r,i);return Ie(function(){var s=n,u=s.operator,h=s.source;o.add(u?u.call(o,h):h?n._subscribe(o):n._trySubscribe(o))}),o},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(r){t.error(r)}},e.prototype.forEach=function(t,r){var i=this;return r=Bt(r),new r(function(n,o){var s=new ot({next:function(u){try{t(u)}catch(h){o(h),s.unsubscribe()}},error:o,complete:n});i.subscribe(s)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[Tn]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return Hn(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=Bt(t),new t(function(i,n){var o;r.subscribe(function(s){return o=s},function(s){return n(s)},function(){return i(o)})})},e.create=function(t){return new e(t)},e}();function Bt(e){var t;return(t=e!=null?e:pr.Promise)!==null&&t!==void 0?t:Promise}function On(e){return e&&te(e.next)&&te(e.error)&&te(e.complete)}function An(e){return e&&e instanceof mr||On(e)&&dr(e)}var Bn=fr(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),vr=function(e){re(t,e);function t(){var r=e.call(this)||this;return r.closed=!1,r.currentObservers=null,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return t.prototype.lift=function(r){var i=new Mt(this,this);return i.operator=r,i},t.prototype._throwIfClosed=function(){if(this.closed)throw new Bn},t.prototype.next=function(r){var i=this;Ie(function(){var n,o;if(i._throwIfClosed(),!i.isStopped){i.currentObservers||(i.currentObservers=Array.from(i.observers));try{for(var s=Ye(i.currentObservers),u=s.next();!u.done;u=s.next()){var h=u.value;h.next(r)}}catch(c){n={error:c}}finally{try{u&&!u.done&&(o=s.return)&&o.call(s)}finally{if(n)throw n.error}}}})},t.prototype.error=function(r){var i=this;Ie(function(){if(i._throwIfClosed(),!i.isStopped){i.hasError=i.isStopped=!0,i.thrownError=r;for(var n=i.observers;n.length;)n.shift().error(r)}})},t.prototype.complete=function(){var r=this;Ie(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var i=r.observers;i.length;)i.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(r){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,r)},t.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},t.prototype._innerSubscribe=function(r){var i=this,n=this,o=n.hasError,s=n.isStopped,u=n.observers;return o||s?cr:(this.currentObservers=null,u.push(r),new ke(function(){i.currentObservers=null,nt(u,r)}))},t.prototype._checkFinalizedStatuses=function(r){var i=this,n=i.hasError,o=i.thrownError,s=i.isStopped;n?r.error(o):s&&r.complete()},t.prototype.asObservable=function(){var r=new At;return r.source=this,r},t.create=function(r,i){return new Mt(r,i)},t}(At),Mt=function(e){re(t,e);function t(r,i){var n=e.call(this)||this;return n.destination=r,n.source=i,n}return t.prototype.next=function(r){var i,n;(n=(i=this.destination)===null||i===void 0?void 0:i.next)===null||n===void 0||n.call(i,r)},t.prototype.error=function(r){var i,n;(n=(i=this.destination)===null||i===void 0?void 0:i.error)===null||n===void 0||n.call(i,r)},t.prototype.complete=function(){var r,i;(i=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||i===void 0||i.call(r)},t.prototype._subscribe=function(r){var i,n;return(n=(i=this.source)===null||i===void 0?void 0:i.subscribe(r))!==null&&n!==void 0?n:cr},t}(vr),gr={now:function(){return(gr.delegate||Date).now()},delegate:void 0},Mn=function(e){re(t,e);function t(r,i,n){r===void 0&&(r=1/0),i===void 0&&(i=1/0),n===void 0&&(n=gr);var o=e.call(this)||this;return o._bufferSize=r,o._windowTime=i,o._timestampProvider=n,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=i===1/0,o._bufferSize=Math.max(1,r),o._windowTime=Math.max(1,i),o}return t.prototype.next=function(r){var i=this,n=i.isStopped,o=i._buffer,s=i._infiniteTimeWindow,u=i._timestampProvider,h=i._windowTime;n||(o.push(r),!s&&o.push(u.now()+h)),this._trimBuffer(),e.prototype.next.call(this,r)},t.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var i=this._innerSubscribe(r),n=this,o=n._infiniteTimeWindow,s=n._buffer,u=s.slice(),h=0;h<u.length&&!r.closed;h+=o?1:2)r.next(u[h]);return this._checkFinalizedStatuses(r),i},t.prototype._trimBuffer=function(){var r=this,i=r._bufferSize,n=r._timestampProvider,o=r._buffer,s=r._infiniteTimeWindow,u=(s?1:2)*i;if(i<1/0&&u<o.length&&o.splice(0,o.length-u),!s){for(var h=n.now(),c=0,f=1;f<o.length&&o[f]<=h;f+=2)c=f;c&&o.splice(0,c+1)}},t}(vr);const Ct=[],It={},Cn=(e,t=0)=>{if(Ct.indexOf(e)==-1){const r=new Mn(t);It[e]=r,Ct.push(e)}return It[e]};window.emWidgets={topic:Cn};const In=e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));if(typeof window!="undefined"){let e=function(t){return function(...r){try{return t.apply(this,r)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CashierModal-BRnq9fZU.cjs")).then(t=>t.CashierModal_ce).then(({default:t})=>{!customElements.get("cashier-modal")&&customElements.define("cashier-modal",t.element)})}var br={exports:{}};(function(e,t){(function(r,i){e.exports=i()})(kt,function(){var r=1e3,i=6e4,n=36e5,o="millisecond",s="second",u="minute",h="hour",c="day",f="week",v="month",p="quarter",_="year",w="date",d="Invalid Date",y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,A=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,H={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(S){var b=["th","st","nd","rd"],m=S%100;return"["+S+(b[(m-20)%10]||b[m]||b[0])+"]"}},D=function(S,b,m){var x=String(S);return!x||x.length>=b?S:""+Array(b+1-x.length).join(m)+S},q={s:D,z:function(S){var b=-S.utcOffset(),m=Math.abs(b),x=Math.floor(m/60),g=m%60;return(b<=0?"+":"-")+D(x,2,"0")+":"+D(g,2,"0")},m:function S(b,m){if(b.date()<m.date())return-S(m,b);var x=12*(m.year()-b.year())+(m.month()-b.month()),g=b.clone().add(x,v),T=m-g<0,P=b.clone().add(x+(T?-1:1),v);return+(-(x+(m-g)/(T?g-P:P-g))||0)},a:function(S){return S<0?Math.ceil(S)||0:Math.floor(S)},p:function(S){return{M:v,y:_,w:f,d:c,D:w,h,m:u,s,ms:o,Q:p}[S]||String(S||"").toLowerCase().replace(/s$/,"")},u:function(S){return S===void 0}},U="en",V={};V[U]=H;var Y="$isDayjsObject",K=function(S){return S instanceof ie||!(!S||!S[Y])},Z=function S(b,m,x){var g;if(!b)return U;if(typeof b=="string"){var T=b.toLowerCase();V[T]&&(g=T),m&&(V[T]=m,g=T);var P=b.split("-");if(!g&&P.length>1)return S(P[0])}else{var L=b.name;V[L]=b,g=L}return!x&&g&&(U=g),g||!x&&U},k=function(S,b){if(K(S))return S.clone();var m=typeof b=="object"?b:{};return m.date=S,m.args=arguments,new ie(m)},B=q;B.l=Z,B.i=K,B.w=function(S,b){return k(S,{locale:b.$L,utc:b.$u,x:b.$x,$offset:b.$offset})};var ie=function(){function S(m){this.$L=Z(m.locale,null,!0),this.parse(m),this.$x=this.$x||m.x||{},this[Y]=!0}var b=S.prototype;return b.parse=function(m){this.$d=function(x){var g=x.date,T=x.utc;if(g===null)return new Date(NaN);if(B.u(g))return new Date;if(g instanceof Date)return new Date(g);if(typeof g=="string"&&!/Z$/i.test(g)){var P=g.match(y);if(P){var L=P[2]-1||0,R=(P[7]||"0").substring(0,3);return T?new Date(Date.UTC(P[1],L,P[3]||1,P[4]||0,P[5]||0,P[6]||0,R)):new Date(P[1],L,P[3]||1,P[4]||0,P[5]||0,P[6]||0,R)}}return new Date(g)}(m),this.init()},b.init=function(){var m=this.$d;this.$y=m.getFullYear(),this.$M=m.getMonth(),this.$D=m.getDate(),this.$W=m.getDay(),this.$H=m.getHours(),this.$m=m.getMinutes(),this.$s=m.getSeconds(),this.$ms=m.getMilliseconds()},b.$utils=function(){return B},b.isValid=function(){return this.$d.toString()!==d},b.isSame=function(m,x){var g=k(m);return this.startOf(x)<=g&&g<=this.endOf(x)},b.isAfter=function(m,x){return k(m)<this.startOf(x)},b.isBefore=function(m,x){return this.endOf(x)<k(m)},b.$g=function(m,x,g){return B.u(m)?this[x]:this.set(g,m)},b.unix=function(){return Math.floor(this.valueOf()/1e3)},b.valueOf=function(){return this.$d.getTime()},b.startOf=function(m,x){var g=this,T=!!B.u(x)||x,P=B.p(m),L=function(J,z){var Q=B.w(g.$u?Date.UTC(g.$y,z,J):new Date(g.$y,z,J),g);return T?Q:Q.endOf(c)},R=function(J,z){return B.w(g.toDate()[J].apply(g.toDate("s"),(T?[0,0,0,0]:[23,59,59,999]).slice(z)),g)},F=this.$W,j=this.$M,W=this.$D,ne="set"+(this.$u?"UTC":"");switch(P){case _:return T?L(1,0):L(31,11);case v:return T?L(1,j):L(0,j+1);case f:var ee=this.$locale().weekStart||0,ue=(F<ee?F+7:F)-ee;return L(T?W-ue:W+(6-ue),j);case c:case w:return R(ne+"Hours",0);case h:return R(ne+"Minutes",1);case u:return R(ne+"Seconds",2);case s:return R(ne+"Milliseconds",3);default:return this.clone()}},b.endOf=function(m){return this.startOf(m,!1)},b.$set=function(m,x){var g,T=B.p(m),P="set"+(this.$u?"UTC":""),L=(g={},g[c]=P+"Date",g[w]=P+"Date",g[v]=P+"Month",g[_]=P+"FullYear",g[h]=P+"Hours",g[u]=P+"Minutes",g[s]=P+"Seconds",g[o]=P+"Milliseconds",g)[T],R=T===c?this.$D+(x-this.$W):x;if(T===v||T===_){var F=this.clone().set(w,1);F.$d[L](R),F.init(),this.$d=F.set(w,Math.min(this.$D,F.daysInMonth())).$d}else L&&this.$d[L](R);return this.init(),this},b.set=function(m,x){return this.clone().$set(m,x)},b.get=function(m){return this[B.p(m)]()},b.add=function(m,x){var g,T=this;m=Number(m);var P=B.p(x),L=function(j){var W=k(T);return B.w(W.date(W.date()+Math.round(j*m)),T)};if(P===v)return this.set(v,this.$M+m);if(P===_)return this.set(_,this.$y+m);if(P===c)return L(1);if(P===f)return L(7);var R=(g={},g[u]=i,g[h]=n,g[s]=r,g)[P]||1,F=this.$d.getTime()+m*R;return B.w(F,this)},b.subtract=function(m,x){return this.add(-1*m,x)},b.format=function(m){var x=this,g=this.$locale();if(!this.isValid())return g.invalidDate||d;var T=m||"YYYY-MM-DDTHH:mm:ssZ",P=B.z(this),L=this.$H,R=this.$m,F=this.$M,j=g.weekdays,W=g.months,ne=g.meridiem,ee=function(z,Q,le,ce){return z&&(z[Q]||z(x,T))||le[Q].slice(0,ce)},ue=function(z){return B.s(L%12||12,z,"0")},J=ne||function(z,Q,le){var ce=z<12?"AM":"PM";return le?ce.toLowerCase():ce};return T.replace(A,function(z,Q){return Q||function(le){switch(le){case"YY":return String(x.$y).slice(-2);case"YYYY":return B.s(x.$y,4,"0");case"M":return F+1;case"MM":return B.s(F+1,2,"0");case"MMM":return ee(g.monthsShort,F,W,3);case"MMMM":return ee(W,F);case"D":return x.$D;case"DD":return B.s(x.$D,2,"0");case"d":return String(x.$W);case"dd":return ee(g.weekdaysMin,x.$W,j,2);case"ddd":return ee(g.weekdaysShort,x.$W,j,3);case"dddd":return j[x.$W];case"H":return String(L);case"HH":return B.s(L,2,"0");case"h":return ue(1);case"hh":return ue(2);case"a":return J(L,R,!0);case"A":return J(L,R,!1);case"m":return String(R);case"mm":return B.s(R,2,"0");case"s":return String(x.$s);case"ss":return B.s(x.$s,2,"0");case"SSS":return B.s(x.$ms,3,"0");case"Z":return P}return null}(z)||P.replace(":","")})},b.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},b.diff=function(m,x,g){var T,P=this,L=B.p(x),R=k(m),F=(R.utcOffset()-this.utcOffset())*i,j=this-R,W=function(){return B.m(P,R)};switch(L){case _:T=W()/12;break;case v:T=W();break;case p:T=W()/3;break;case f:T=(j-F)/6048e5;break;case c:T=(j-F)/864e5;break;case h:T=j/n;break;case u:T=j/i;break;case s:T=j/r;break;default:T=j}return g?T:B.a(T)},b.daysInMonth=function(){return this.endOf(v).$D},b.$locale=function(){return V[this.$L]},b.locale=function(m,x){if(!m)return this.$L;var g=this.clone(),T=Z(m,x,!0);return T&&(g.$L=T),g},b.clone=function(){return B.w(this.$d,this)},b.toDate=function(){return new Date(this.valueOf())},b.toJSON=function(){return this.isValid()?this.toISOString():null},b.toISOString=function(){return this.$d.toISOString()},b.toString=function(){return this.$d.toUTCString()},S}(),$=ie.prototype;return k.prototype=$,[["$ms",o],["$s",s],["$m",u],["$H",h],["$W",c],["$M",v],["$y",_],["$D",w]].forEach(function(S){$[S[1]]=function(b){return this.$g(b,S[0],S[1])}}),k.extend=function(S,b){return S.$i||(S(b,ie,k),S.$i=!0),k},k.locale=Z,k.isDayjs=K,k.unix=function(S){return k(1e3*S)},k.en=V[U],k.Ls=V,k.p={},k})})(br);var Dn=br.exports;const Dt=st(Dn);var yr={exports:{}};(function(e,t){(function(r,i){e.exports=i()})(kt,function(){var r="minute",i=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(o,s,u){var h=s.prototype;u.utc=function(d){var y={date:d,utc:!0,args:arguments};return new s(y)},h.utc=function(d){var y=u(this.toDate(),{locale:this.$L,utc:!0});return d?y.add(this.utcOffset(),r):y},h.local=function(){return u(this.toDate(),{locale:this.$L,utc:!1})};var c=h.parse;h.parse=function(d){d.utc&&(this.$u=!0),this.$utils().u(d.$offset)||(this.$offset=d.$offset),c.call(this,d)};var f=h.init;h.init=function(){if(this.$u){var d=this.$d;this.$y=d.getUTCFullYear(),this.$M=d.getUTCMonth(),this.$D=d.getUTCDate(),this.$W=d.getUTCDay(),this.$H=d.getUTCHours(),this.$m=d.getUTCMinutes(),this.$s=d.getUTCSeconds(),this.$ms=d.getUTCMilliseconds()}else f.call(this)};var v=h.utcOffset;h.utcOffset=function(d,y){var A=this.$utils().u;if(A(d))return this.$u?0:A(this.$offset)?v.call(this):this.$offset;if(typeof d=="string"&&(d=function(U){U===void 0&&(U="");var V=U.match(i);if(!V)return null;var Y=(""+V[0]).match(n)||["-",0,0],K=Y[0],Z=60*+Y[1]+ +Y[2];return Z===0?0:K==="+"?Z:-Z}(d),d===null))return this;var H=Math.abs(d)<=16?60*d:d,D=this;if(y)return D.$offset=H,D.$u=d===0,D;if(d!==0){var q=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(D=this.local().add(H+q,r)).$offset=H,D.$x.$localOffset=q}else D=this.utc();return D};var p=h.format;h.format=function(d){var y=d||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return p.call(this,y)},h.valueOf=function(){var d=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*d},h.isUTC=function(){return!!this.$u},h.toISOString=function(){return this.toDate().toISOString()},h.toString=function(){return this.toDate().toUTCString()};var _=h.toDate;h.toDate=function(d){return d==="s"&&this.$offset?u(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():_.call(this)};var w=h.diff;h.diff=function(d,y,A){if(d&&this.$u===d.$u)return w.call(this,d,y,A);var H=this.local(),D=u(d).local();return w.call(H,D,y,A)}}})})(yr);var Ln=yr.exports;const Nn=st(Ln);function Rn(e){a.append_styles(e,"svelte-il1hy","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{position:relative;box-shadow:0 0 4px var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1))}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--mmw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin-bottom:var(--emw--spacing-small, 12px)}.CashierVerificationsWrapper{display:flex;flex-direction:column;width:100%}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:first-child{transition:none;cursor:pointer}.CashierVerificationMessage:first-child:hover{background:linear-gradient(0, var(--emw--color-gray-50, #F7F8FA) 0%, var(--emw--color-white, #fff) 100%)}.CashierVerificationMessage:not(.ShowAll):not(:first-child){max-height:0;overflow:hidden}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg .IconColor{fill:var(--emw--color-warning, #ec9109)}p{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s}.CashierVerificationChevron svg path{fill:var(--mmw--color-grey-290, #666);opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center}.CashierVerificationVideoLink{cursor:pointer;color:var(--mmw--color-grey-10, #111);font-family:inherit;font-size:var(--emw--font-size-small, 14px);line-height:120%;margin:var(--emw--spacing-small, 12px);text-decoration:underline}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}.ModalContentContainer{height:100%;width:100%;display:flex;flex-direction:column}.CashierVideoWrapper{position:relative;display:flex;justify-content:center;align-items:center;width:100%;height:100%;left:0;top:0;z-index:8}.CashierVideo{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.CashierVideo video{object-fit:contain;width:100%;height:90%;justify-self:center}")}function Lt(e,t,r){const i=e.slice();return i[55]=t[r],i[57]=r,i}function Un(e){let t,r,i,n,o,s,u,h,c,f,v,p,_=a.ensure_array_like(e[4]),w=[];for(let y=0;y<_.length;y+=1)w[y]=Rt(Lt(e,_,y));let d=e[7]&&Ut(e);return{c(){t=a.element("div");for(let y=0;y<w.length;y+=1)w[y].c();r=a.space(),d&&d.c(),i=a.space(),n=a.element("cashier-modal"),o=a.element("div"),s=a.element("div"),u=a.element("div"),h=a.element("video"),c=a.element("source"),a.attr(t,"class","CashierVerificationsWrapper"),a.src_url_equal(c.src,f=e[8])||a.attr(c,"src",f),h.controls=!0,a.attr(h,"controlslist","nodownload"),a.attr(h,"disablepictureinpicture",""),a.attr(u,"class","CashierVideo"),a.attr(s,"class","CashierVideoWrapper"),a.attr(o,"slot","content"),a.attr(o,"class","ModalContentContainer"),a.set_custom_element_data(n,"show",v=`${e[10]!=="closed"}`),a.set_custom_element_data(n,"isvideo",p=`${e[10]==="video"}`),a.set_custom_element_data(n,"clientstylingurl",e[1]),a.set_custom_element_data(n,"clientstyling",e[0]),a.set_custom_element_data(n,"mbsource",e[2])},m(y,A){a.insert(y,t,A);for(let H=0;H<w.length;H+=1)w[H]&&w[H].m(t,null);a.insert(y,r,A),d&&d.m(y,A),a.insert(y,i,A),a.insert(y,n,A),a.append(n,o),a.append(o,s),a.append(s,u),a.append(u,h),a.append(h,c)},p(y,A){if(A[0]&4144){_=a.ensure_array_like(y[4]);let H;for(H=0;H<_.length;H+=1){const D=Lt(y,_,H);w[H]?w[H].p(D,A):(w[H]=Rt(D),w[H].c(),w[H].m(t,null))}for(;H<w.length;H+=1)w[H].d(1);w.length=_.length}y[7]?d?d.p(y,A):(d=Ut(y),d.c(),d.m(i.parentNode,i)):d&&(d.d(1),d=null),A[0]&256&&!a.src_url_equal(c.src,f=y[8])&&a.attr(c,"src",f),A[0]&1024&&v!==(v=`${y[10]!=="closed"}`)&&a.set_custom_element_data(n,"show",v),A[0]&1024&&p!==(p=`${y[10]==="video"}`)&&a.set_custom_element_data(n,"isvideo",p),A[0]&2&&a.set_custom_element_data(n,"clientstylingurl",y[1]),A[0]&1&&a.set_custom_element_data(n,"clientstyling",y[0]),A[0]&4&&a.set_custom_element_data(n,"mbsource",y[2])},d(y){y&&(a.detach(t),a.detach(r),a.detach(i),a.detach(n)),a.destroy_each(w,y),d&&d.d(y)}}}function kn(e){let t;return{c(){t=a.element("cashier-spinner"),a.set_custom_element_data(t,"clientstylingurl",e[1]),a.set_custom_element_data(t,"clientstyling",e[0])},m(r,i){a.insert(r,t,i)},p(r,i){i[0]&2&&a.set_custom_element_data(t,"clientstylingurl",r[1]),i[0]&1&&a.set_custom_element_data(t,"clientstyling",r[0])},d(r){r&&a.detach(t)}}}function Nt(e){let t,r,i;function n(...o){return e[21](e[57],...o)}return{c(){t=a.element("span"),t.innerHTML='<svg width="25px" height="25px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM8.70711 9.79289C8.31658 9.40237 7.68342 9.40237 7.29289 9.79289C6.90237 10.1834 6.90237 10.8166 7.29289 11.2071L11.2929 15.2071C11.6834 15.5976 12.3166 15.5976 12.7071 15.2071L16.7071 11.2071C17.0976 10.8166 17.0976 10.1834 16.7071 9.79289C16.3166 9.40237 15.6834 9.40237 15.2929 9.79289L12 13.0858L8.70711 9.79289Z" fill="#000000"></path></svg>',a.attr(t,"class","CashierVerificationChevron")},m(o,s){a.insert(o,t,s),r||(i=a.listen(t,"click",n),r=!0)},p(o,s){e=o},d(o){o&&a.detach(t),r=!1,i()}}}function Rt(e){let t,r,i,n,o=e[55]+"",s,u,h,c,f=e[4].length>1&&e[57]===0&&Nt(e);function v(...p){return e[22](e[57],...p)}return{c(){t=a.element("div"),r=a.element("div"),r.innerHTML='<svg width="64px" height="64px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="#ffffff"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M4.39254 16.2614C2.64803 13.1941 1.66074 9.71783 1.51646 6.15051C1.50127 5.77507 1.70918 5.42812 2.04153 5.25282L11.5335 0.246091C11.8254 0.0920859 12.1746 0.0920859 12.4665 0.246091L21.9585 5.25282C22.2908 5.42812 22.4987 5.77507 22.4835 6.15051C22.3393 9.71783 21.352 13.1941 19.6075 16.2614C17.8618 19.3307 15.4169 21.8869 12.4986 23.7001C12.1931 23.8899 11.8069 23.8899 11.5014 23.7001C8.58313 21.8869 6.13817 19.3307 4.39254 16.2614Z" fill="#fa9200"></path><path d="M8.25 12.75L11.25 15L17.25 9" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>',i=a.space(),n=a.element("p"),s=a.space(),f&&f.c(),u=a.space(),a.attr(r,"class","IconVerification"),a.attr(n,"class","text"),a.attr(t,"class","CashierVerificationMessage"),a.toggle_class(t,"ShowAll",e[5])},m(p,_){a.insert(p,t,_),a.append(t,r),a.append(t,i),a.append(t,n),n.innerHTML=o,a.append(t,s),f&&f.m(t,null),a.append(t,u),h||(c=a.listen(t,"click",v),h=!0)},p(p,_){e=p,_[0]&16&&o!==(o=e[55]+"")&&(n.innerHTML=o),e[4].length>1&&e[57]===0?f?f.p(e,_):(f=Nt(e),f.c(),f.m(t,u)):f&&(f.d(1),f=null),_[0]&32&&a.toggle_class(t,"ShowAll",e[5])},d(p){p&&a.detach(t),f&&f.d(),h=!1,c()}}}function Ut(e){let t,r,i,n,o=e[11]("verification.video.how-to")+"",s,u,h;return{c(){t=a.element("div"),r=a.element("div"),r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>',i=a.space(),n=a.element("div"),s=a.text(o),a.attr(r,"class","IconVideo"),a.attr(n,"class","CashierVerificationVideoLink"),a.toggle_class(n,"CashierVerificationVideoLinkDesktop",e[6]),a.attr(t,"class","CashierVerificationVideo")},m(c,f){a.insert(c,t,f),a.append(t,r),a.append(t,i),a.append(t,n),a.append(n,s),u||(h=a.listen(n,"click",e[13]),u=!0)},p(c,f){f[0]&2048&&o!==(o=c[11]("verification.video.how-to")+"")&&a.set_data(s,o),f[0]&64&&a.toggle_class(n,"CashierVerificationVideoLinkDesktop",c[6])},d(c){c&&a.detach(t),u=!1,h()}}}function Fn(e){let t;function r(o,s){if(o[9])return kn;if(o[4])return Un}let i=r(e),n=i&&i(e);return{c(){t=a.element("div"),n&&n.c(),a.attr(t,"class","CashierVerifications"),a.toggle_class(t,"CashierVerificationsDesktop",e[6])},m(o,s){a.insert(o,t,s),n&&n.m(t,null),e[23](t)},p(o,s){i===(i=r(o))&&n?n.p(o,s):(n&&n.d(1),n=i&&i(o),n&&(n.c(),n.m(t,null))),s[0]&64&&a.toggle_class(t,"CashierVerificationsDesktop",o[6])},i:a.noop,o:a.noop,d(o){o&&a.detach(t),n&&n.d(),e[23](null)}}}const Vn="verification_explanation_video_widgets.MP4";function Gn(e,t,r){let i,n;a.component_subscribe(e,vn,l=>r(11,i=l)),a.component_subscribe(e,bn,l=>r(29,n=l)),Dt.extend(Nn);let{endpoint:o}=t,{lang:s="en"}=t,{translationurl:u=""}=t,{clientstyling:h=""}=t,{clientstylingurl:c=""}=t,{session:f=""}=t,{customerid:v=""}=t,{playersession:p=""}=t,{mbsource:_=""}=t,w,d=new Set,y=new Set,A,H,D,q=!0,U=!0,V=!1,Y="",K=!1,Z="closed",k=window.navigator.userAgent;var B;(function(l){l.Manual="Manual",l.ShuftiPro="ShuftiPro"})(B||(B={}));var ie;(function(l){l.Requested="Requested"})(ie||(ie={}));var $;(function(l){l.Unknown="Unknown",l.Unverified="Unverified",l.InProgress="InProgress",l.Failed="Failed",l.Verified="Verified",l.Referred="Referred",l.True="True",l.False="False",l.AwaitingForResponse="AwaitingForResponse"})($||($={}));var S;(function(l){l.Unknown="Unknown",l.Documents="Documents",l.Age="Age",l.Pep="Pep",l.Sanction="Sanction",l.Aml="Aml",l.ProofOfAddress="ProofOfAddress",l.SourceOfWealth="SourceOfWealth",l.SocialMedia="SocialMedia",l.Biometric="Biometric"})(S||(S={}));const b=l=>{l.data&&l.data.type==="CloseModal"&&r(10,Z="closed")};a.onMount(()=>(window.addEventListener("message",b),xr(),()=>{window.removeEventListener("message",b)}));const m=[$.InProgress,$.Referred,$.AwaitingForResponse],x=()=>{let l=u;if(l)return fetch(l).then(E=>E.json()).then(E=>{Object.keys(E).forEach(M=>{Tt(M,E[M])})}).catch(E=>{console.log(E)})};Object.keys(Pt).forEach(l=>{Tt(l,Pt[l])});const g=()=>{gn(s)},T=()=>{r(20,H=R());const l=new URL(`${o}/v1/player/${v}/verification/GetKYCCustomerStatus?language=${s}`),E=new Headers;E.append("accept","application/json"),E.append("Content-Type","application/json"),E.append("x-sessionid",`${p}`),E.append("X-Client-Request-Timestamp",Dt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));const M={method:"POST",headers:E,body:JSON.stringify({})};r(9,K=!0),fetch(l,M).then(G=>G.json()).then(G=>{const oe=P(G==null?void 0:G.Verifications);A=F(oe),A.VerificationStatuses.forEach(Oe=>{Oe.VerificationUrlType!=="Widget"&&d.add(Oe.Vendor)}),r(4,D=J())}).finally(()=>r(9,K=!1))},P=l=>l?l.sort((E,M)=>new Date(M.Created).getTime()-new Date(E.Created).getTime()):[],L=()=>{n&&T()},R=()=>{let l=(f||n).split(".")[1];if(l){let E=JSON.parse(atob(l));return E.cdn+"/cashier/operator-assets/"+(E==null?void 0:E.mid)}return""},F=l=>{var M;if(!l||!l.length)return{VerificationSummaryStatus:$.Unverified,VerificationStatuses:[]};const E=ne(l);if(E&&E.length){const G=j(E);return{VerificationSummaryStatus:G.Status,VerificationUrl:(M=G.Flags)==null?void 0:M.DeferredUrlKey,VerificationStatuses:W(E,G.Status)}}else return{VerificationSummaryStatus:l.some(oe=>oe.Status===$.Failed)?$.Failed:$.Verified,VerificationStatuses:W(l,[$.Failed])}},j=l=>l.reduce((E,M)=>E?new Date(E)<new Date(M)?M:E:M,0),W=(l,E)=>l.filter(M=>E.includes(M.Status)).map(M=>{var G,oe;return{Type:M.Type,Vendor:M.VendorName,VerificationDocuments:M.Documents?[...M.Documents]:[],VerificationUrlType:(G=M.FlowInfo)==null?void 0:G.Type,VerificationUrl:(oe=M.FlowInfo)==null?void 0:oe.Url}}),ne=l=>l.filter(E=>m.includes(E.Status)?E.FlowInfo&&E.FlowInfo.Url||ee(E)||ue(E):!1),ee=l=>{const E=l.Documents&&l.VendorName===B.Manual,M=l.Documents&&l.Documents.some(G=>G.Status===ie.Requested);return E&&M},ue=l=>l.VendorName===B.ShuftiPro&&l.Status===$.Referred,J=()=>{switch(A.VerificationSummaryStatus){case $.InProgress:const l=[];return d.forEach(E=>{l.push(z(E))}),l;case $.Referred:return[i("verification.idenfy.referred-awaiting")];case $.Failed:return[i("verification.message.failed")]}},z=l=>{const E=A.VerificationStatuses.filter(M=>M.Vendor===l);if(l===B.ShuftiPro)return Q(E);{const M=i("verification.idenfy.link-name"),G={link:`<a href="${E[0].VerificationUrl}" target="_blank">${M}</a>`};return i("verification.idenfy.in-progress",{values:G})}},Q=l=>{const E=[],M={},G=[S.Biometric,S.Documents,S.ProofOfAddress];l.forEach(he=>{G.includes(he.Type)&&(E.push(he.Type),M[he.Type]=le(he,ce(he.Type)))});let oe=E.every(he=>y.has(he)),Oe=`verification.shuftipro.in-progress.${E.sort().join(".")}`;return oe?i("verification.shuftipro.validations-started"):i(Oe,{values:M})},le=(l,E)=>`<a class="verificationLink ${l.Type}" href=" ${l.VerificationUrl} " target="_blank">${E}</a>`,ce=l=>i(`verification.shuftipro.link-name.${l}`),Fe=(l,E)=>{if(l.stopPropagation(),l.target&&(l.target.href||l.target.closest("a"))){if(l.target.closest(".verificationLink")){const M=l.target.className.split(" ")[1];y.add(M),r(4,D=J())}return}E===0&&r(5,q=!q)},xr=()=>{r(6,U=!In(k))},Er=()=>{r(8,Y=H+"/"+s+"/"+Vn);try{fetch(Y,{method:"HEAD"}).then(l=>{r(7,V=l.ok)})}catch(l){r(7,V=!1)}},wr=()=>{r(10,Z="video")},Sr=(l,E)=>Fe(E,l),Tr=(l,E)=>Fe(E,l);function Pr(l){a.binding_callbacks[l?"unshift":"push"](()=>{w=l,r(3,w)})}return e.$$set=l=>{"endpoint"in l&&r(14,o=l.endpoint),"lang"in l&&r(15,s=l.lang),"translationurl"in l&&r(16,u=l.translationurl),"clientstyling"in l&&r(0,h=l.clientstyling),"clientstylingurl"in l&&r(1,c=l.clientstylingurl),"session"in l&&r(17,f=l.session),"customerid"in l&&r(18,v=l.customerid),"playersession"in l&&r(19,p=l.playersession),"mbsource"in l&&r(2,_=l.mbsource)},e.$$.update=()=>{e.$$.dirty[0]&32768&&s&&g(),e.$$.dirty[0]&671744&&o&&f&&p&&T(),e.$$.dirty[0]&671744&&o&&!f&&p&&L(),e.$$.dirty[0]&65536&&u&&x(),e.$$.dirty[0]&9&&h&&w&&a.setClientStyling(),e.$$.dirty[0]&10&&c&&w&&a.setClientStylingURL(),e.$$.dirty[0]&1048576&&H&&Er(),e.$$.dirty[0]&12&&_&&w&&a.setStreamStyling(w,`${_}.Style`)},[h,c,_,w,D,q,U,V,Y,K,Z,i,Fe,wr,o,s,u,f,v,p,H,Sr,Tr,Pr]}class _r extends a.SvelteComponent{constructor(t){super(),a.init(this,t,Gn,Fn,a.safe_not_equal,{endpoint:14,lang:15,translationurl:16,clientstyling:0,clientstylingurl:1,session:17,customerid:18,playersession:19,mbsource:2},Rn,[-1,-1])}get endpoint(){return this.$$.ctx[14]}set endpoint(t){this.$$set({endpoint:t}),a.flush()}get lang(){return this.$$.ctx[15]}set lang(t){this.$$set({lang:t}),a.flush()}get translationurl(){return this.$$.ctx[16]}set translationurl(t){this.$$set({translationurl:t}),a.flush()}get clientstyling(){return this.$$.ctx[0]}set clientstyling(t){this.$$set({clientstyling:t}),a.flush()}get clientstylingurl(){return this.$$.ctx[1]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),a.flush()}get session(){return this.$$.ctx[17]}set session(t){this.$$set({session:t}),a.flush()}get customerid(){return this.$$.ctx[18]}set customerid(t){this.$$set({customerid:t}),a.flush()}get playersession(){return this.$$.ctx[19]}set playersession(t){this.$$set({playersession:t}),a.flush()}get mbsource(){return this.$$.ctx[2]}set mbsource(t){this.$$set({mbsource:t}),a.flush()}}a.create_custom_element(_r,{endpoint:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},session:{},customerid:{},playersession:{},mbsource:{}},[],[],!0);exports.default=_r;
|