@everymatrix/cashier-verifications 1.64.7 → 1.65.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CashierVerifications-DvEHzCEW.js → CashierVerifications-Bh19q0WL.js} +743 -747
- package/components/{CashierVerifications-Dq8KwBcd.js → CashierVerifications-Bjt5pRvr.js} +696 -700
- package/components/CashierVerifications-WnIvUR-I.cjs +18 -0
- package/components/{CashierVideoModal-N67x74OZ.cjs → CashierVideoModal-BFg-DSA9.cjs} +1 -1
- package/components/{CashierVideoModal-ID_LmSyp.js → CashierVideoModal-B_WwfXYW.js} +15 -15
- package/components/{CashierVideoModal-BCigQaKQ.js → CashierVideoModal-gyscAsMm.js} +19 -19
- 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-DFB1n9yM.cjs +0 -5
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";var Gr=Object.defineProperty,jr=Object.defineProperties;var zr=Object.getOwnPropertyDescriptors;var Pt=Object.getOwnPropertySymbols;var Xr=Object.prototype.hasOwnProperty,qr=Object.prototype.propertyIsEnumerable;var tt=(e,t,r)=>t in e?Gr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Ot=(e,t)=>{for(var r in t||(t={}))Xr.call(t,r)&&tt(e,r,t[r]);if(Pt)for(var r of Pt(t))qr.call(t,r)&&tt(e,r,t[r]);return e},At=(e,t)=>jr(e,zr(t));var Z=(e,t,r)=>(tt(e,typeof t!="symbol"?t+"":t,r),r);var $t=(e,t,r)=>new Promise((i,n)=>{var s=o=>{try{l(r.next(o))}catch(u){n(u)}},a=o=>{try{l(r.throw(o))}catch(u){n(u)}},l=o=>o.done?i(o.value):Promise.resolve(o.value).then(s,a);l((r=r.apply(e,t)).next())});function J(){}function ir(e){return e()}function Bt(){return Object.create(null)}function Ne(e){e.forEach(ir)}function yt(e){return typeof e=="function"}function xt(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let Ve;function Wr(e,t){return e===t?!0:(Ve||(Ve=document.createElement("a")),Ve.href=t,e===Ve.href)}function Yr(e){return Object.keys(e).length===0}function nr(e,...t){if(e==null){for(const i of t)i(void 0);return J}const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function Mt(e,t,r){e.$$.on_destroy.push(nr(t,r))}function ee(e,t){e.appendChild(t)}function sr(e,t,r){const i=Zr(e);if(!i.getElementById(t)){const n=Y("style");n.id=t,n.textContent=r,Jr(i,n)}}function Zr(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function Jr(e,t){return ee(e.head||e,t),t.sheet}function ne(e,t,r){e.insertBefore(t,r||null)}function te(e){e.parentNode&&e.parentNode.removeChild(e)}function Qr(e,t){for(let r=0;r<e.length;r+=1)e[r]&&e[r].d(t)}function Y(e){return document.createElement(e)}function Kr(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function _t(e){return document.createTextNode(e)}function ge(){return _t(" ")}function ei(){return _t("")}function Je(e,t,r,i){return e.addEventListener(t,r,i),()=>e.removeEventListener(t,r,i)}function Q(e,t,r){r==null?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function he(e,t,r){const i=t.toLowerCase();i in e?e[i]=typeof e[i]=="boolean"&&r===""?!0:r:t in e?e[t]=typeof e[t]=="boolean"&&r===""?!0:r:Q(e,t,r)}function ti(e){return Array.from(e.childNodes)}function ri(e,t){t=""+t,e.data!==t&&(e.data=t)}function ve(e,t,r){e.classList.toggle(t,!!r)}function ii(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}let De;function Ce(e){De=e}function ni(){if(!De)throw new Error("Function called outside component initialization");return De}function si(e){ni().$$.on_mount.push(e)}const we=[],qe=[];let Se=[];const Ct=[],oi=Promise.resolve();let lt=!1;function ai(){lt||(lt=!0,oi.then(K))}function ht(e){Se.push(e)}const rt=new Set;let _e=0;function K(){if(_e!==0)return;const e=De;do{try{for(;_e<we.length;){const t=we[_e];_e++,Ce(t),ui(t.$$)}}catch(t){throw we.length=0,_e=0,t}for(Ce(null),we.length=0,_e=0;qe.length;)qe.pop()();for(let t=0;t<Se.length;t+=1){const r=Se[t];rt.has(r)||(rt.add(r),r())}Se.length=0}while(we.length);for(;Ct.length;)Ct.pop()();lt=!1,rt.clear(),Ce(e)}function ui(e){if(e.fragment!==null){e.update(),Ne(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(ht)}}function li(e){const t=[],r=[];Se.forEach(i=>e.indexOf(i)===-1?t.push(i):r.push(i)),r.forEach(i=>i()),Se=t}const hi=new Set;function fi(e,t){e&&e.i&&(hi.delete(e),e.i(t))}function Dt(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function ci(e,t,r){const{fragment:i,after_update:n}=e.$$;i&&i.m(t,r),ht(()=>{const s=e.$$.on_mount.map(ir).filter(yt);e.$$.on_destroy?e.$$.on_destroy.push(...s):Ne(s),e.$$.on_mount=[]}),n.forEach(ht)}function di(e,t){const r=e.$$;r.fragment!==null&&(li(r.after_update),Ne(r.on_destroy),r.fragment&&r.fragment.d(t),r.on_destroy=r.fragment=null,r.ctx=[])}function mi(e,t){e.$$.dirty[0]===-1&&(we.push(e),ai(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function or(e,t,r,i,n,s,a=null,l=[-1]){const o=De;Ce(e);const u=e.$$={fragment:null,ctx:[],props:s,update:J,not_equal:n,bound:Bt(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(o?o.$$.context:[])),callbacks:Bt(),dirty:l,skip_bound:!1,root:t.target||o.$$.root};a&&a(u.root);let h=!1;if(u.ctx=r?r(e,t.props||{},(d,p,...x)=>{const H=x.length?x[0]:p;return u.ctx&&n(u.ctx[d],u.ctx[d]=H)&&(!u.skip_bound&&u.bound[d]&&u.bound[d](H),h&&mi(e,d)),p}):[],u.update(),h=!0,Ne(u.before_update),u.fragment=i?i(u.ctx):!1,t.target){if(t.hydrate){const d=ti(t.target);u.fragment&&u.fragment.l(d),d.forEach(te)}else u.fragment&&u.fragment.c();t.intro&&fi(e.$$.fragment),ci(e,t.target,t.anchor),K()}Ce(o)}let ar;typeof HTMLElement=="function"&&(ar=class extends HTMLElement{constructor(t,r,i){super();Z(this,"$$ctor");Z(this,"$$s");Z(this,"$$c");Z(this,"$$cn",!1);Z(this,"$$d",{});Z(this,"$$r",!1);Z(this,"$$p_d",{});Z(this,"$$l",{});Z(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=r,i&&this.attachShadow({mode:"open"})}addEventListener(t,r,i){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(r),this.$$c){const n=this.$$c.$on(t,r);this.$$l_u.set(r,n)}super.addEventListener(t,r,i)}removeEventListener(t,r,i){if(super.removeEventListener(t,r,i),this.$$c){const n=this.$$l_u.get(r);n&&(n(),this.$$l_u.delete(r))}}connectedCallback(){return $t(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(s){return()=>{let a;return{c:function(){a=Y("slot"),s!=="default"&&Q(a,"name",s)},m:function(u,h){ne(u,a,h)},d:function(u){u&&te(a)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const r={},i=ii(this);for(const s of this.$$s)s in i&&(r[s]=[t(s)]);for(const s of this.attributes){const a=this.$$g_p(s.name);a in this.$$d||(this.$$d[a]=je(a,s.value,this.$$p_d,"toProp"))}for(const s in this.$$p_d)!(s in this.$$d)&&this[s]!==void 0&&(this.$$d[s]=this[s],delete this[s]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:At(Ot({},this.$$d),{$$slots:r,$$scope:{ctx:[]}})});const n=()=>{this.$$r=!0;for(const s in this.$$p_d)if(this.$$d[s]=this.$$c.$$.ctx[this.$$c.$$.props[s]],this.$$p_d[s].reflect){const a=je(s,this.$$d[s],this.$$p_d,"toAttribute");a==null?this.removeAttribute(this.$$p_d[s].attribute||s):this.setAttribute(this.$$p_d[s].attribute||s,a)}this.$$r=!1};this.$$c.$$.after_update.push(n),n();for(const s in this.$$l)for(const a of this.$$l[s]){const l=this.$$c.$on(s,a);this.$$l_u.set(a,l)}this.$$l={}}})}attributeChangedCallback(t,r,i){var n;this.$$r||(t=this.$$g_p(t),this.$$d[t]=je(t,i,this.$$p_d,"toProp"),(n=this.$$c)==null||n.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(r=>this.$$p_d[r].attribute===t||!this.$$p_d[r].attribute&&r.toLowerCase()===t)||t}});function je(e,t,r,i){var s;const n=(s=r[e])==null?void 0:s.type;if(t=n==="Boolean"&&typeof t!="boolean"?t!=null:t,!i||!r[e])return t;if(i==="toAttribute")switch(n){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(n){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function ur(e,t,r,i,n,s){let a=class extends ar{constructor(){super(e,r,n),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(l=>(t[l].attribute||l).toLowerCase())}};return Object.keys(t).forEach(l=>{Object.defineProperty(a.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(o){var u;o=je(l,o,t),this.$$d[l]=o,(u=this.$$c)==null||u.$set({[l]:o})}})}),i.forEach(l=>{Object.defineProperty(a.prototype,l,{get(){var o;return(o=this.$$c)==null?void 0:o[l]}})}),e.element=a,a}class lr{constructor(){Z(this,"$$");Z(this,"$$set")}$destroy(){di(this,1),this.$destroy=J}$on(t,r){if(!yt(r))return J;const i=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return i.push(r),()=>{const n=i.indexOf(r);n!==-1&&i.splice(n,1)}}$set(t){this.$$set&&!Yr(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const pi="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(pi);const Ee=[];function gi(e,t){return{subscribe:Re(e,t).subscribe}}function Re(e,t=J){let r;const i=new Set;function n(l){if(xt(e,l)&&(e=l,r)){const o=!Ee.length;for(const u of i)u[1](),Ee.push(u,e);if(o){for(let u=0;u<Ee.length;u+=2)Ee[u][0](Ee[u+1]);Ee.length=0}}}function s(l){n(l(e))}function a(l,o=J){const u=[l,o];return i.add(u),i.size===1&&(r=t(n,s)||J),l(e),()=>{i.delete(u),i.size===0&&r&&(r(),r=null)}}return{set:n,update:s,subscribe:a}}function Ae(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 s=t.length<2;return gi(r,(a,l)=>{let o=!1;const u=[];let h=0,d=J;const p=()=>{if(h)return;d();const H=t(i?u[0]:u,a,l);s?a(H):d=yt(H)?H:J},x=n.map((H,v)=>nr(H,B=>{u[v]=B,h&=~(1<<v),o&&p()},()=>{h|=1<<v}));return o=!0,p(),function(){Ne(x),d(),o=!1}})}var hr=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function Et(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var vi=function(t){return bi(t)&&!yi(t)};function bi(e){return!!e&&typeof e=="object"}function yi(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Ei(e)}var xi=typeof Symbol=="function"&&Symbol.for,_i=xi?Symbol.for("react.element"):60103;function Ei(e){return e.$$typeof===_i}function wi(e){return Array.isArray(e)?[]:{}}function Le(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Te(wi(e),e,t):e}function Si(e,t,r){return e.concat(t).map(function(i){return Le(i,r)})}function Ti(e,t){if(!t.customMerge)return Te;var r=t.customMerge(e);return typeof r=="function"?r:Te}function Hi(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function Lt(e){return Object.keys(e).concat(Hi(e))}function fr(e,t){try{return t in e}catch(r){return!1}}function Pi(e,t){return fr(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Oi(e,t,r){var i={};return r.isMergeableObject(e)&&Lt(e).forEach(function(n){i[n]=Le(e[n],r)}),Lt(t).forEach(function(n){Pi(e,n)||(fr(e,n)&&r.isMergeableObject(t[n])?i[n]=Ti(n,r)(e[n],t[n],r):i[n]=Le(t[n],r))}),i}function Te(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||Si,r.isMergeableObject=r.isMergeableObject||vi,r.cloneUnlessOtherwiseSpecified=Le;var i=Array.isArray(t),n=Array.isArray(e),s=i===n;return s?i?r.arrayMerge(e,t,r):Oi(e,t,r):Le(t,r)}Te.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(i,n){return Te(i,n,r)},{})};var Ai=Te,$i=Ai;const Bi=Et($i);/*! *****************************************************************************
|
|
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 ft=function(e,t){return ft=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])},ft(e,t)};function Qe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");ft(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var O=function(){return O=Object.assign||function(t){for(var r,i=1,n=arguments.length;i<n;i++){r=arguments[i];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(t[s]=r[s])}return t},O.apply(this,arguments)};function Mi(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 it(e,t,r){if(arguments.length===2)for(var i=0,n=t.length,s;i<n;i++)(s||!(i in t))&&(s||(s=Array.prototype.slice.call(t,0,i)),s[i]=t[i]);return e.concat(s||t)}function nt(e,t){var r=t&&t.cache?t.cache:Ri,i=t&&t.serializer?t.serializer:Ni,n=t&&t.strategy?t.strategy:Di;return n(e,{cache:r,serializer:i})}function Ci(e){return e==null||typeof e=="number"||typeof e=="boolean"}function cr(e,t,r,i){var n=Ci(i)?i:r(i),s=t.get(n);return typeof s=="undefined"&&(s=e.call(this,i),t.set(n,s)),s}function dr(e,t,r){var i=Array.prototype.slice.call(arguments,3),n=r(i),s=t.get(n);return typeof s=="undefined"&&(s=e.apply(this,i),t.set(n,s)),s}function wt(e,t,r,i,n){return r.bind(t,e,i,n)}function Di(e,t){var r=e.length===1?cr:dr;return wt(e,this,r,t.cache.create(),t.serializer)}function Li(e,t){return wt(e,this,dr,t.cache.create(),t.serializer)}function Ii(e,t){return wt(e,this,cr,t.cache.create(),t.serializer)}var Ni=function(){return JSON.stringify(arguments)};function St(){this.cache=Object.create(null)}St.prototype.get=function(e){return this.cache[e]};St.prototype.set=function(e,t){this.cache[e]=t};var Ri={create:function(){return new St}},st={variadic:Li,monadic:Ii},T;(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"})(T||(T={}));var D;(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"})(D||(D={}));var He;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(He||(He={}));function It(e){return e.type===D.literal}function ki(e){return e.type===D.argument}function mr(e){return e.type===D.number}function pr(e){return e.type===D.date}function gr(e){return e.type===D.time}function vr(e){return e.type===D.select}function br(e){return e.type===D.plural}function Ui(e){return e.type===D.pound}function yr(e){return e.type===D.tag}function xr(e){return!!(e&&typeof e=="object"&&e.type===He.number)}function ct(e){return!!(e&&typeof e=="object"&&e.type===He.dateTime)}var _r=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Fi=/(?:[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 Vi(e){var t={};return e.replace(Fi,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 Gi=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function ji(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(Gi).filter(function(p){return p.length>0}),r=[],i=0,n=t;i<n.length;i++){var s=n[i],a=s.split("/");if(a.length===0)throw new Error("Invalid number skeleton");for(var l=a[0],o=a.slice(1),u=0,h=o;u<h.length;u++){var d=h[u];if(d.length===0)throw new Error("Invalid number skeleton")}r.push({stem:l,options:o})}return r}function zi(e){return e.replace(/^(.*?)-/,"")}var Nt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Er=/^(@+)?(\+|#+)?[rs]?$/g,Xi=/(\*)(0+)|(#+)(0+)|(0+)/g,wr=/^(0+)$/;function Rt(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(Er,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 Sr(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 qi(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)),!wr.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function kt(e){var t={},r=Sr(e);return r||t}function Wi(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=zi(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=O(O(O({},t),{notation:"scientific"}),n.options.reduce(function(o,u){return O(O({},o),kt(u))},{}));continue;case"engineering":t=O(O(O({},t),{notation:"engineering"}),n.options.reduce(function(o,u){return O(O({},o),kt(u))},{}));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(Xi,function(o,u,h,d,p,x){if(u)t.minimumIntegerDigits=h.length;else{if(d&&p)throw new Error("We currently do not support maximum integer digits");if(x)throw new Error("We currently do not support exact integer digits")}return""});continue}if(wr.test(n.stem)){t.minimumIntegerDigits=n.stem.length;continue}if(Nt.test(n.stem)){if(n.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(Nt,function(o,u,h,d,p,x){return h==="*"?t.minimumFractionDigits=u.length:d&&d[0]==="#"?t.maximumFractionDigits=d.length:p&&x?(t.minimumFractionDigits=p.length,t.maximumFractionDigits=p.length+x.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var s=n.options[0];s==="w"?t=O(O({},t),{trailingZeroDisplay:"stripIfInteger"}):s&&(t=O(O({},t),Rt(s)));continue}if(Er.test(n.stem)){t=O(O({},t),Rt(n.stem));continue}var a=Sr(n.stem);a&&(t=O(O({},t),a));var l=qi(n.stem);l&&(t=O(O({},t),l))}return t}var Ge={"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 Yi(e,t){for(var r="",i=0;i<e.length;i++){var n=e.charAt(i);if(n==="j"){for(var s=0;i+1<e.length&&e.charAt(i+1)===n;)s++,i++;var a=1+(s&1),l=s<2?1:3+(s>>1),o="a",u=Zi(t);for((u=="H"||u=="k")&&(l=0);l-- >0;)r+=o;for(;a-- >0;)r=u+r}else n==="J"?r+="H":r+=n}return r}function Zi(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=Ge[i||""]||Ge[r||""]||Ge["".concat(r,"-001")]||Ge["001"];return n[0]}var ot,Ji=new RegExp("^".concat(_r.source,"*")),Qi=new RegExp("".concat(_r.source,"*$"));function P(e,t){return{start:e,end:t}}var Ki=!!String.prototype.startsWith&&"_a".startsWith("a",1),en=!!String.fromCodePoint,tn=!!Object.fromEntries,rn=!!String.prototype.codePointAt,nn=!!String.prototype.trimStart,sn=!!String.prototype.trimEnd,on=!!Number.isSafeInteger,an=on?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},dt=!0;try{var un=Hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");dt=((ot=un.exec("a"))===null||ot===void 0?void 0:ot[0])==="a"}catch(e){dt=!1}var Ut=Ki?function(t,r,i){return t.startsWith(r,i)}:function(t,r,i){return t.slice(i,i+r.length)===r},mt=en?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var i="",n=t.length,s=0,a;n>s;){if(a=t[s++],a>1114111)throw RangeError(a+" is not a valid code point");i+=a<65536?String.fromCharCode(a):String.fromCharCode(((a-=65536)>>10)+55296,a%1024+56320)}return i},Ft=tn?Object.fromEntries:function(t){for(var r={},i=0,n=t;i<n.length;i++){var s=n[i],a=s[0],l=s[1];r[a]=l}return r},Tr=rn?function(t,r){return t.codePointAt(r)}:function(t,r){var i=t.length;if(!(r<0||r>=i)){var n=t.charCodeAt(r),s;return n<55296||n>56319||r+1===i||(s=t.charCodeAt(r+1))<56320||s>57343?n:(n-55296<<10)+(s-56320)+65536}},ln=nn?function(t){return t.trimStart()}:function(t){return t.replace(Ji,"")},hn=sn?function(t){return t.trimEnd()}:function(t){return t.replace(Qi,"")};function Hr(e,t){return new RegExp(e,t)}var pt;if(dt){var Vt=Hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");pt=function(t,r){var i;Vt.lastIndex=r;var n=Vt.exec(t);return(i=n[1])!==null&&i!==void 0?i:""}}else pt=function(t,r){for(var i=[];;){var n=Tr(t,r);if(n===void 0||Pr(n)||mn(n))break;i.push(n),r+=n>=65536?2:1}return mt.apply(void 0,i)};var fn=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 s=this.char();if(s===123){var a=this.parseArgument(t,i);if(a.err)return a;n.push(a.val)}else{if(s===125&&t>0)break;if(s===35&&(r==="plural"||r==="selectordinal")){var l=this.clonePosition();this.bump(),n.push({type:D.pound,location:P(l,this.clonePosition())})}else if(s===60&&!this.ignoreTag&&this.peek()===47){if(i)break;return this.error(T.UNMATCHED_CLOSING_TAG,P(this.clonePosition(),this.clonePosition()))}else if(s===60&&!this.ignoreTag&>(this.peek()||0)){var a=this.parseTag(t,r);if(a.err)return a;n.push(a.val)}else{var a=this.parseLiteral(t,r);if(a.err)return a;n.push(a.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:D.literal,value:"<".concat(n,"/>"),location:P(i,this.clonePosition())},err:null};if(this.bumpIf(">")){var s=this.parseMessage(t+1,r,!0);if(s.err)return s;var a=s.val,l=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!gt(this.char()))return this.error(T.INVALID_TAG,P(l,this.clonePosition()));var o=this.clonePosition(),u=this.parseTagName();return n!==u?this.error(T.UNMATCHED_CLOSING_TAG,P(o,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:D.tag,value:n,children:a,location:P(i,this.clonePosition())},err:null}:this.error(T.INVALID_TAG,P(l,this.clonePosition())))}else return this.error(T.UNCLOSED_TAG,P(i,this.clonePosition()))}else return this.error(T.INVALID_TAG,P(i,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&dn(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var i=this.clonePosition(),n="";;){var s=this.tryParseQuote(r);if(s){n+=s;continue}var a=this.tryParseUnquoted(t,r);if(a){n+=a;continue}var l=this.tryParseLeftAngleBracket();if(l){n+=l;continue}break}var o=P(i,this.clonePosition());return{val:{type:D.literal,value:n,location:o},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!cn(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 mt.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(),mt(i))},e.prototype.parseArgument=function(t,r){var i=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE,P(i,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(T.EMPTY_ARGUMENT,P(i,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(T.MALFORMED_ARGUMENT,P(i,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE,P(i,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:D.argument,value:n,location:P(i,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE,P(i,this.clonePosition())):this.parseArgumentOptions(t,r,n,i);default:return this.error(T.MALFORMED_ARGUMENT,P(i,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),i=pt(this.message,r),n=r+i.length;this.bumpTo(n);var s=this.clonePosition(),a=P(t,s);return{value:i,location:a}},e.prototype.parseArgumentOptions=function(t,r,i,n){var s,a=this.clonePosition(),l=this.parseIdentifierIfPossible().value,o=this.clonePosition();switch(l){case"":return this.error(T.EXPECT_ARGUMENT_TYPE,P(a,o));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition(),d=this.parseSimpleArgStyleIfPossible();if(d.err)return d;var p=hn(d.val);if(p.length===0)return this.error(T.EXPECT_ARGUMENT_STYLE,P(this.clonePosition(),this.clonePosition()));var x=P(h,this.clonePosition());u={style:p,styleLocation:x}}var H=this.tryParseArgumentClose(n);if(H.err)return H;var v=P(n,this.clonePosition());if(u&&Ut(u==null?void 0:u.style,"::",0)){var B=ln(u.style.slice(2));if(l==="number"){var d=this.parseNumberSkeletonFromString(B,u.styleLocation);return d.err?d:{val:{type:D.number,value:i,location:v,style:d.val},err:null}}else{if(B.length===0)return this.error(T.EXPECT_DATE_TIME_SKELETON,v);var U=B;this.locale&&(U=Yi(B,this.locale));var p={type:He.dateTime,pattern:U,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?Vi(U):{}},F=l==="date"?D.date:D.time;return{val:{type:F,value:i,location:v,style:p},err:null}}}return{val:{type:l==="number"?D.number:l==="date"?D.date:D.time,value:i,location:v,style:(s=u==null?void 0:u.style)!==null&&s!==void 0?s:null},err:null}}case"plural":case"selectordinal":case"select":{var M=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(T.EXPECT_SELECT_ARGUMENT_OPTIONS,P(M,O({},M)));this.bumpSpace();var W=this.parseIdentifierIfPossible(),N=0;if(l!=="select"&&W.value==="offset"){if(!this.bumpIf(":"))return this.error(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,P(this.clonePosition(),this.clonePosition()));this.bumpSpace();var d=this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,T.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(d.err)return d;this.bumpSpace(),W=this.parseIdentifierIfPossible(),N=d.val}var k=this.tryParsePluralOrSelectOptions(t,l,r,W);if(k.err)return k;var H=this.tryParseArgumentClose(n);if(H.err)return H;var z=P(n,this.clonePosition());return l==="select"?{val:{type:D.select,value:i,options:Ft(k.val),location:z},err:null}:{val:{type:D.plural,value:i,options:Ft(k.val),offset:N,pluralType:l==="plural"?"cardinal":"ordinal",location:z},err:null}}default:return this.error(T.INVALID_ARGUMENT_TYPE,P(a,o))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE,P(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(T.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,P(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=ji(t)}catch(n){return this.error(T.INVALID_NUMBER_SKELETON,r)}return{val:{type:He.number,tokens:i,location:r,parsedOptions:this.shouldParseSkeletons?Wi(i):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,i,n){for(var s,a=!1,l=[],o=new Set,u=n.value,h=n.location;;){if(u.length===0){var d=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var p=this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_SELECTOR,T.INVALID_PLURAL_ARGUMENT_SELECTOR);if(p.err)return p;h=P(d,this.clonePosition()),u=this.message.slice(d.offset,this.offset())}else break}if(o.has(u))return this.error(r==="select"?T.DUPLICATE_SELECT_ARGUMENT_SELECTOR:T.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,h);u==="other"&&(a=!0),this.bumpSpace();var x=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?T.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:T.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,P(this.clonePosition(),this.clonePosition()));var H=this.parseMessage(t+1,r,i);if(H.err)return H;var v=this.tryParseArgumentClose(x);if(v.err)return v;l.push([u,{value:H.val,location:P(x,this.clonePosition())}]),o.add(u),this.bumpSpace(),s=this.parseIdentifierIfPossible(),u=s.value,h=s.location}return l.length===0?this.error(r==="select"?T.EXPECT_SELECT_ARGUMENT_SELECTOR:T.EXPECT_PLURAL_ARGUMENT_SELECTOR,P(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(T.MISSING_OTHER_CLAUSE,P(this.clonePosition(),this.clonePosition())):{val:l,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var i=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(i=-1);for(var s=!1,a=0;!this.isEOF();){var l=this.char();if(l>=48&&l<=57)s=!0,a=a*10+(l-48),this.bump();else break}var o=P(n,this.clonePosition());return s?(a*=i,an(a)?{val:a,err:null}:this.error(r,o)):this.error(t,o)},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=Tr(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(Ut(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()&&Pr(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 gt(e){return e>=97&&e<=122||e>=65&&e<=90}function cn(e){return gt(e)||e===47}function dn(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 Pr(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function mn(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 vt(e){e.forEach(function(t){if(delete t.location,vr(t)||br(t))for(var r in t.options)delete t.options[r].location,vt(t.options[r].value);else mr(t)&&xr(t.style)||(pr(t)||gr(t))&&ct(t.style)?delete t.style.location:yr(t)&&vt(t.children)})}function pn(e,t){t===void 0&&(t={}),t=O({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new fn(e,t).parse();if(r.err){var i=SyntaxError(T[r.err.kind]);throw i.location=r.err.location,i.originalMessage=r.err.message,i}return t!=null&&t.captureLocation||vt(r.val),r.val}var Pe;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Pe||(Pe={}));var Ke=function(e){Qe(t,e);function t(r,i,n){var s=e.call(this,r)||this;return s.code=i,s.originalMessage=n,s}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Gt=function(e){Qe(t,e);function t(r,i,n,s){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(i,'". Options are "').concat(Object.keys(n).join('", "'),'"'),Pe.INVALID_VALUE,s)||this}return t}(Ke),gn=function(e){Qe(t,e);function t(r,i,n){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(i),Pe.INVALID_VALUE,n)||this}return t}(Ke),vn=function(e){Qe(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,'"'),Pe.MISSING_VALUE,i)||this}return t}(Ke),q;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(q||(q={}));function bn(e){return e.length<2?e:e.reduce(function(t,r){var i=t[t.length-1];return!i||i.type!==q.literal||r.type!==q.literal?t.push(r):i.value+=r.value,t},[])}function yn(e){return typeof e=="function"}function ze(e,t,r,i,n,s,a){if(e.length===1&&It(e[0]))return[{type:q.literal,value:e[0].value}];for(var l=[],o=0,u=e;o<u.length;o++){var h=u[o];if(It(h)){l.push({type:q.literal,value:h.value});continue}if(Ui(h)){typeof s=="number"&&l.push({type:q.literal,value:r.getNumberFormat(t).format(s)});continue}var d=h.value;if(!(n&&d in n))throw new vn(d,a);var p=n[d];if(ki(h)){(!p||typeof p=="string"||typeof p=="number")&&(p=typeof p=="string"||typeof p=="number"?String(p):""),l.push({type:typeof p=="string"?q.literal:q.object,value:p});continue}if(pr(h)){var x=typeof h.style=="string"?i.date[h.style]:ct(h.style)?h.style.parsedOptions:void 0;l.push({type:q.literal,value:r.getDateTimeFormat(t,x).format(p)});continue}if(gr(h)){var x=typeof h.style=="string"?i.time[h.style]:ct(h.style)?h.style.parsedOptions:i.time.medium;l.push({type:q.literal,value:r.getDateTimeFormat(t,x).format(p)});continue}if(mr(h)){var x=typeof h.style=="string"?i.number[h.style]:xr(h.style)?h.style.parsedOptions:void 0;x&&x.scale&&(p=p*(x.scale||1)),l.push({type:q.literal,value:r.getNumberFormat(t,x).format(p)});continue}if(yr(h)){var H=h.children,v=h.value,B=n[v];if(!yn(B))throw new gn(v,"function",a);var U=ze(H,t,r,i,n,s),F=B(U.map(function(N){return N.value}));Array.isArray(F)||(F=[F]),l.push.apply(l,F.map(function(N){return{type:typeof N=="string"?q.literal:q.object,value:N}}))}if(vr(h)){var M=h.options[p]||h.options.other;if(!M)throw new Gt(h.value,p,Object.keys(h.options),a);l.push.apply(l,ze(M.value,t,r,i,n));continue}if(br(h)){var M=h.options["=".concat(p)];if(!M){if(!Intl.PluralRules)throw new Ke(`Intl.PluralRules is not available in this environment.
|
|
15
|
+
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
16
|
+
`,Pe.MISSING_INTL_API,a);var W=r.getPluralRules(t,{type:h.pluralType}).select(p-(h.offset||0));M=h.options[W]||h.options.other}if(!M)throw new Gt(h.value,p,Object.keys(h.options),a);l.push.apply(l,ze(M.value,t,r,i,n,p-(h.offset||0)));continue}}return bn(l)}function xn(e,t){return t?O(O(O({},e||{}),t||{}),Object.keys(e).reduce(function(r,i){return r[i]=O(O({},e[i]),t[i]||{}),r},{})):e}function _n(e,t){return t?Object.keys(e).reduce(function(r,i){return r[i]=xn(e[i],t[i]),r},O({},e)):e}function at(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function En(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:nt(function(){for(var t,r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return new((t=Intl.NumberFormat).bind.apply(t,it([void 0],r,!1)))},{cache:at(e.number),strategy:st.variadic}),getDateTimeFormat:nt(function(){for(var t,r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return new((t=Intl.DateTimeFormat).bind.apply(t,it([void 0],r,!1)))},{cache:at(e.dateTime),strategy:st.variadic}),getPluralRules:nt(function(){for(var t,r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return new((t=Intl.PluralRules).bind.apply(t,it([void 0],r,!1)))},{cache:at(e.pluralRules),strategy:st.variadic})}}var Or=function(){function e(t,r,i,n){r===void 0&&(r=e.defaultLocale);var s=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(o){var u=s.formatToParts(o);if(u.length===1)return u[0].value;var h=u.reduce(function(d,p){return!d.length||p.type!==q.literal||typeof d[d.length-1]!="string"?d.push(p.value):d[d.length-1]+=p.value,d},[]);return h.length<=1?h[0]||"":h},this.formatToParts=function(o){return ze(s.ast,s.locales,s.formatters,s.formats,o,void 0,s.message)},this.resolvedOptions=function(){var o;return{locale:((o=s.resolvedLocale)===null||o===void 0?void 0:o.toString())||Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.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 a=n||{};a.formatters;var l=Mi(a,["formatters"]);this.ast=e.__parse(t,O(O({},l),{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=_n(e.formats,i),this.formatters=n&&n.formatters||En(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=pn,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 wn(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 s=r.slice(n,r.length).join(".");if(s in i){i=i[s];break}}i=i[r[n]]}else i=void 0;return i}const fe={},Sn=(e,t,r)=>r&&(t in fe||(fe[t]={}),e in fe[t]||(fe[t][e]=r),r),Ar=(e,t)=>{if(t==null)return;if(t in fe&&e in fe[t])return fe[t][e];const r=Ue(t);for(let i=0;i<r.length;i++){const n=r[i],s=Hn(n,e);if(s)return Sn(e,t,s)}};let Tt;const ke=Re({});function Tn(e){return Tt[e]||null}function $r(e){return e in Tt}function Hn(e,t){if(!$r(e))return null;const r=Tn(e);return wn(r,t)}function Pn(e){if(e==null)return;const t=Ue(e);for(let r=0;r<t.length;r++){const i=t[r];if($r(i))return i}}function Br(e,...t){delete fe[e],ke.update(r=>(r[e]=Bi.all([r[e]||{},...t]),r))}Ae([ke],([e])=>Object.keys(e));ke.subscribe(e=>Tt=e);const Xe={};function On(e,t){Xe[e].delete(t),Xe[e].size===0&&delete Xe[e]}function Mr(e){return Xe[e]}function An(e){return Ue(e).map(t=>{const r=Mr(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function We(e){return e==null?!1:Ue(e).some(t=>{var r;return(r=Mr(t))==null?void 0:r.size})}function $n(e,t){return Promise.all(t.map(i=>(On(e,i),i().then(n=>n.default||n)))).then(i=>Br(e,...i))}const Be={};function Cr(e){if(!We(e))return e in Be?Be[e]:Promise.resolve();const t=An(e);return Be[e]=Promise.all(t.map(([r,i])=>$n(r,i))).then(()=>{if(We(e))return Cr(e);delete Be[e]}),Be[e]}var jt=Object.getOwnPropertySymbols,Bn=Object.prototype.hasOwnProperty,Mn=Object.prototype.propertyIsEnumerable,Cn=(e,t)=>{var r={};for(var i in e)Bn.call(e,i)&&t.indexOf(i)<0&&(r[i]=e[i]);if(e!=null&&jt)for(var i of jt(e))t.indexOf(i)<0&&Mn.call(e,i)&&(r[i]=e[i]);return r};const Dn={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 Ln({locale:e,id:t}){console.warn(`[svelte-i18n] The message "${t}" was not found in "${Ue(e).join('", "')}".${We(ce())?`
|
|
17
|
+
|
|
18
|
+
Note: there are at least one loader still registered to this locale that wasn't executed.`:""}`)}const In={fallbackLocale:null,loadingDelay:200,formats:Dn,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},Me=In;function Oe(){return Me}function Nn(e){const t=e,{formats:r}=t,i=Cn(t,["formats"]);let n=e.fallbackLocale;if(e.initialLocale)try{Or.resolveLocale(e.initialLocale)&&(n=e.initialLocale)}catch(s){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=Ln:console.warn('[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.')),Object.assign(Me,i,{initialLocale:n}),r&&("number"in r&&Object.assign(Me.formats.number,r.number),"date"in r&&Object.assign(Me.formats.date,r.date),"time"in r&&Object.assign(Me.formats.time,r.time)),be.set(n)}const ut=Re(!1);var Rn=Object.defineProperty,kn=Object.defineProperties,Un=Object.getOwnPropertyDescriptors,zt=Object.getOwnPropertySymbols,Fn=Object.prototype.hasOwnProperty,Vn=Object.prototype.propertyIsEnumerable,Xt=(e,t,r)=>t in e?Rn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Gn=(e,t)=>{for(var r in t||(t={}))Fn.call(t,r)&&Xt(e,r,t[r]);if(zt)for(var r of zt(t))Vn.call(t,r)&&Xt(e,r,t[r]);return e},jn=(e,t)=>kn(e,Un(t));let bt;const Ye=Re(null);function qt(e){return e.split("-").map((t,r,i)=>i.slice(0,r+1).join("-")).reverse()}function Ue(e,t=Oe().fallbackLocale){const r=qt(e);return t?[...new Set([...r,...qt(t)])]:r}function ce(){return bt!=null?bt:void 0}Ye.subscribe(e=>{bt=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const zn=e=>{if(e&&Pn(e)&&We(e)){const{loadingDelay:t}=Oe();let r;return typeof window!="undefined"&&ce()!=null&&t?r=window.setTimeout(()=>ut.set(!0),t):ut.set(!0),Cr(e).then(()=>{Ye.set(e)}).finally(()=>{clearTimeout(r),ut.set(!1)})}return Ye.set(e)},be=jn(Gn({},Ye),{set:zn}),et=e=>{const t=Object.create(null);return i=>{const n=JSON.stringify(i);return n in t?t[n]:t[n]=e(i)}};var Xn=Object.defineProperty,Ze=Object.getOwnPropertySymbols,Dr=Object.prototype.hasOwnProperty,Lr=Object.prototype.propertyIsEnumerable,Wt=(e,t,r)=>t in e?Xn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Ht=(e,t)=>{for(var r in t||(t={}))Dr.call(t,r)&&Wt(e,r,t[r]);if(Ze)for(var r of Ze(t))Lr.call(t,r)&&Wt(e,r,t[r]);return e},$e=(e,t)=>{var r={};for(var i in e)Dr.call(e,i)&&t.indexOf(i)<0&&(r[i]=e[i]);if(e!=null&&Ze)for(var i of Ze(e))t.indexOf(i)<0&&Lr.call(e,i)&&(r[i]=e[i]);return r};const Ie=(e,t)=>{const{formats:r}=Oe();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},qn=et(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=Ie("number",i)),new Intl.NumberFormat(r,n)}),Wn=et(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=Ie("date",i):Object.keys(n).length===0&&(n=Ie("date","short")),new Intl.DateTimeFormat(r,n)}),Yn=et(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=Ie("time",i):Object.keys(n).length===0&&(n=Ie("time","short")),new Intl.DateTimeFormat(r,n)}),Zn=(e={})=>{var t=e,{locale:r=ce()}=t,i=$e(t,["locale"]);return qn(Ht({locale:r},i))},Jn=(e={})=>{var t=e,{locale:r=ce()}=t,i=$e(t,["locale"]);return Wn(Ht({locale:r},i))},Qn=(e={})=>{var t=e,{locale:r=ce()}=t,i=$e(t,["locale"]);return Yn(Ht({locale:r},i))},Kn=et((e,t=ce())=>new Or(e,t,Oe().formats,{ignoreTag:Oe().ignoreTag})),es=(e,t={})=>{var r,i,n,s;let a=t;typeof e=="object"&&(a=e,e=a.id);const{values:l,locale:o=ce(),default:u}=a;if(o==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let h=Ar(e,o);if(!h)h=(s=(n=(i=(r=Oe()).handleMissingMessage)==null?void 0:i.call(r,{locale:o,id:e,defaultValue:u}))!=null?n:u)!=null?s:e;else if(typeof h!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),h;if(!l)return h;let d=h;try{d=Kn(h,o).format(l)}catch(p){p instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,p.message)}return d},ts=(e,t)=>Qn(t).format(e),rs=(e,t)=>Jn(t).format(e),is=(e,t)=>Zn(t).format(e),ns=(e,t=ce())=>Ar(e,t),ss=Ae([be,ke],()=>es);Ae([be],()=>ts);Ae([be],()=>rs);Ae([be],()=>is);Ae([be,ke],()=>ns);function Yt(e,t){Br(e,t)}function os(e){Nn({fallbackLocale:"en"}),be.set(e)}const Zt={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"}};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("./CashierVideoModal-BFg-DSA9.cjs")).then(({default:t})=>{!customElements.get("cashier-video-modal")&&customElements.define("cashier-video-modal",t.element)})}let as=Re(null);var Ir={exports:{}};(function(e,t){(function(r,i){e.exports=i()})(hr,function(){var r=1e3,i=6e4,n=36e5,s="millisecond",a="second",l="minute",o="hour",u="day",h="week",d="month",p="quarter",x="year",H="date",v="Invalid Date",B=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,U=/\[([^\]]+)]|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,F={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(_){var g=["th","st","nd","rd"],c=_%100;return"["+_+(g[(c-20)%10]||g[c]||g[0])+"]"}},M=function(_,g,c){var b=String(_);return!b||b.length>=g?_:""+Array(g+1-b.length).join(c)+_},W={s:M,z:function(_){var g=-_.utcOffset(),c=Math.abs(g),b=Math.floor(c/60),m=c%60;return(g<=0?"+":"-")+M(b,2,"0")+":"+M(m,2,"0")},m:function _(g,c){if(g.date()<c.date())return-_(c,g);var b=12*(c.year()-g.year())+(c.month()-g.month()),m=g.clone().add(b,d),E=c-m<0,w=g.clone().add(b+(E?-1:1),d);return+(-(b+(c-m)/(E?m-w:w-m))||0)},a:function(_){return _<0?Math.ceil(_)||0:Math.floor(_)},p:function(_){return{M:d,y:x,w:h,d:u,D:H,h:o,m:l,s:a,ms:s,Q:p}[_]||String(_||"").toLowerCase().replace(/s$/,"")},u:function(_){return _===void 0}},N="en",k={};k[N]=F;var z="$isDayjsObject",se=function(_){return _ instanceof ye||!(!_||!_[z])},L=function _(g,c,b){var m;if(!g)return N;if(typeof g=="string"){var E=g.toLowerCase();k[E]&&(m=E),c&&(k[E]=c,m=E);var w=g.split("-");if(!m&&w.length>1)return _(w[0])}else{var $=g.name;k[$]=g,m=$}return!b&&m&&(N=m),m||!b&&N},C=function(_,g){if(se(_))return _.clone();var c=typeof g=="object"?g:{};return c.date=_,c.args=arguments,new ye(c)},A=W;A.l=L,A.i=se,A.w=function(_,g){return C(_,{locale:g.$L,utc:g.$u,x:g.$x,$offset:g.$offset})};var ye=function(){function _(c){this.$L=L(c.locale,null,!0),this.parse(c),this.$x=this.$x||c.x||{},this[z]=!0}var g=_.prototype;return g.parse=function(c){this.$d=function(b){var m=b.date,E=b.utc;if(m===null)return new Date(NaN);if(A.u(m))return new Date;if(m instanceof Date)return new Date(m);if(typeof m=="string"&&!/Z$/i.test(m)){var w=m.match(B);if(w){var $=w[2]-1||0,I=(w[7]||"0").substring(0,3);return E?new Date(Date.UTC(w[1],$,w[3]||1,w[4]||0,w[5]||0,w[6]||0,I)):new Date(w[1],$,w[3]||1,w[4]||0,w[5]||0,w[6]||0,I)}}return new Date(m)}(c),this.init()},g.init=function(){var c=this.$d;this.$y=c.getFullYear(),this.$M=c.getMonth(),this.$D=c.getDate(),this.$W=c.getDay(),this.$H=c.getHours(),this.$m=c.getMinutes(),this.$s=c.getSeconds(),this.$ms=c.getMilliseconds()},g.$utils=function(){return A},g.isValid=function(){return this.$d.toString()!==v},g.isSame=function(c,b){var m=C(c);return this.startOf(b)<=m&&m<=this.endOf(b)},g.isAfter=function(c,b){return C(c)<this.startOf(b)},g.isBefore=function(c,b){return this.endOf(b)<C(c)},g.$g=function(c,b,m){return A.u(c)?this[b]:this.set(m,c)},g.unix=function(){return Math.floor(this.valueOf()/1e3)},g.valueOf=function(){return this.$d.getTime()},g.startOf=function(c,b){var m=this,E=!!A.u(b)||b,w=A.p(c),$=function(ae,G){var re=A.w(m.$u?Date.UTC(m.$y,G,ae):new Date(m.$y,G,ae),m);return E?re:re.endOf(u)},I=function(ae,G){return A.w(m.toDate()[ae].apply(m.toDate("s"),(E?[0,0,0,0]:[23,59,59,999]).slice(G)),m)},R=this.$W,V=this.$M,X=this.$D,ue="set"+(this.$u?"UTC":"");switch(w){case x:return E?$(1,0):$(31,11);case d:return E?$(1,V):$(0,V+1);case h:var oe=this.$locale().weekStart||0,de=(R<oe?R+7:R)-oe;return $(E?X-de:X+(6-de),V);case u:case H:return I(ue+"Hours",0);case o:return I(ue+"Minutes",1);case l:return I(ue+"Seconds",2);case a:return I(ue+"Milliseconds",3);default:return this.clone()}},g.endOf=function(c){return this.startOf(c,!1)},g.$set=function(c,b){var m,E=A.p(c),w="set"+(this.$u?"UTC":""),$=(m={},m[u]=w+"Date",m[H]=w+"Date",m[d]=w+"Month",m[x]=w+"FullYear",m[o]=w+"Hours",m[l]=w+"Minutes",m[a]=w+"Seconds",m[s]=w+"Milliseconds",m)[E],I=E===u?this.$D+(b-this.$W):b;if(E===d||E===x){var R=this.clone().set(H,1);R.$d[$](I),R.init(),this.$d=R.set(H,Math.min(this.$D,R.daysInMonth())).$d}else $&&this.$d[$](I);return this.init(),this},g.set=function(c,b){return this.clone().$set(c,b)},g.get=function(c){return this[A.p(c)]()},g.add=function(c,b){var m,E=this;c=Number(c);var w=A.p(b),$=function(V){var X=C(E);return A.w(X.date(X.date()+Math.round(V*c)),E)};if(w===d)return this.set(d,this.$M+c);if(w===x)return this.set(x,this.$y+c);if(w===u)return $(1);if(w===h)return $(7);var I=(m={},m[l]=i,m[o]=n,m[a]=r,m)[w]||1,R=this.$d.getTime()+c*I;return A.w(R,this)},g.subtract=function(c,b){return this.add(-1*c,b)},g.format=function(c){var b=this,m=this.$locale();if(!this.isValid())return m.invalidDate||v;var E=c||"YYYY-MM-DDTHH:mm:ssZ",w=A.z(this),$=this.$H,I=this.$m,R=this.$M,V=m.weekdays,X=m.months,ue=m.meridiem,oe=function(G,re,me,pe){return G&&(G[re]||G(b,E))||me[re].slice(0,pe)},de=function(G){return A.s($%12||12,G,"0")},ae=ue||function(G,re,me){var pe=G<12?"AM":"PM";return me?pe.toLowerCase():pe};return E.replace(U,function(G,re){return re||function(me){switch(me){case"YY":return String(b.$y).slice(-2);case"YYYY":return A.s(b.$y,4,"0");case"M":return R+1;case"MM":return A.s(R+1,2,"0");case"MMM":return oe(m.monthsShort,R,X,3);case"MMMM":return oe(X,R);case"D":return b.$D;case"DD":return A.s(b.$D,2,"0");case"d":return String(b.$W);case"dd":return oe(m.weekdaysMin,b.$W,V,2);case"ddd":return oe(m.weekdaysShort,b.$W,V,3);case"dddd":return V[b.$W];case"H":return String($);case"HH":return A.s($,2,"0");case"h":return de(1);case"hh":return de(2);case"a":return ae($,I,!0);case"A":return ae($,I,!1);case"m":return String(I);case"mm":return A.s(I,2,"0");case"s":return String(b.$s);case"ss":return A.s(b.$s,2,"0");case"SSS":return A.s(b.$ms,3,"0");case"Z":return w}return null}(G)||w.replace(":","")})},g.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},g.diff=function(c,b,m){var E,w=this,$=A.p(b),I=C(c),R=(I.utcOffset()-this.utcOffset())*i,V=this-I,X=function(){return A.m(w,I)};switch($){case x:E=X()/12;break;case d:E=X();break;case p:E=X()/3;break;case h:E=(V-R)/6048e5;break;case u:E=(V-R)/864e5;break;case o:E=V/n;break;case l:E=V/i;break;case a:E=V/r;break;default:E=V}return m?E:A.a(E)},g.daysInMonth=function(){return this.endOf(d).$D},g.$locale=function(){return k[this.$L]},g.locale=function(c,b){if(!c)return this.$L;var m=this.clone(),E=L(c,b,!0);return E&&(m.$L=E),m},g.clone=function(){return A.w(this.$d,this)},g.toDate=function(){return new Date(this.valueOf())},g.toJSON=function(){return this.isValid()?this.toISOString():null},g.toISOString=function(){return this.$d.toISOString()},g.toString=function(){return this.$d.toUTCString()},_}(),Fe=ye.prototype;return C.prototype=Fe,[["$ms",s],["$s",a],["$m",l],["$H",o],["$W",u],["$M",d],["$y",x],["$D",H]].forEach(function(_){Fe[_[1]]=function(g){return this.$g(g,_[0],_[1])}}),C.extend=function(_,g){return _.$i||(_(g,ye,C),_.$i=!0),C},C.locale=L,C.isDayjs=se,C.unix=function(_){return C(1e3*_)},C.en=k[N],C.Ls=k,C.p={},C})})(Ir);var us=Ir.exports;const Jt=Et(us);var Nr={exports:{}};(function(e,t){(function(r,i){e.exports=i()})(hr,function(){var r="minute",i=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(s,a,l){var o=a.prototype;l.utc=function(v){var B={date:v,utc:!0,args:arguments};return new a(B)},o.utc=function(v){var B=l(this.toDate(),{locale:this.$L,utc:!0});return v?B.add(this.utcOffset(),r):B},o.local=function(){return l(this.toDate(),{locale:this.$L,utc:!1})};var u=o.parse;o.parse=function(v){v.utc&&(this.$u=!0),this.$utils().u(v.$offset)||(this.$offset=v.$offset),u.call(this,v)};var h=o.init;o.init=function(){if(this.$u){var v=this.$d;this.$y=v.getUTCFullYear(),this.$M=v.getUTCMonth(),this.$D=v.getUTCDate(),this.$W=v.getUTCDay(),this.$H=v.getUTCHours(),this.$m=v.getUTCMinutes(),this.$s=v.getUTCSeconds(),this.$ms=v.getUTCMilliseconds()}else h.call(this)};var d=o.utcOffset;o.utcOffset=function(v,B){var U=this.$utils().u;if(U(v))return this.$u?0:U(this.$offset)?d.call(this):this.$offset;if(typeof v=="string"&&(v=function(N){N===void 0&&(N="");var k=N.match(i);if(!k)return null;var z=(""+k[0]).match(n)||["-",0,0],se=z[0],L=60*+z[1]+ +z[2];return L===0?0:se==="+"?L:-L}(v),v===null))return this;var F=Math.abs(v)<=16?60*v:v,M=this;if(B)return M.$offset=F,M.$u=v===0,M;if(v!==0){var W=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(M=this.local().add(F+W,r)).$offset=F,M.$x.$localOffset=W}else M=this.utc();return M};var p=o.format;o.format=function(v){var B=v||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return p.call(this,B)},o.valueOf=function(){var v=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*v},o.isUTC=function(){return!!this.$u},o.toISOString=function(){return this.toDate().toISOString()},o.toString=function(){return this.toDate().toUTCString()};var x=o.toDate;o.toDate=function(v){return v==="s"&&this.$offset?l(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():x.call(this)};var H=o.diff;o.diff=function(v,B,U){if(v&&this.$u===v.$u)return H.call(this,v,B,U);var F=this.local(),M=l(v).local();return H.call(F,M,B,U)}}})})(Nr);var ls=Nr.exports;const hs=Et(ls);function fs(e){sr(e,"svelte-1emynn4","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{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)}")}function Qt(e,t,r){const i=e.slice();return i[51]=t[r],i[53]=r,i}function Kt(e){let t,r,i,n,s=Dt(e[4]),a=[];for(let o=0;o<s.length;o+=1)a[o]=tr(Qt(e,s,o));let l=e[7]&&rr(e);return{c(){t=Y("div");for(let o=0;o<a.length;o+=1)a[o].c();r=ge(),l&&l.c(),i=ge(),n=Y("cashier-video-modal"),Q(t,"class","CashierVerificationsWrapper"),he(n,"clientstylingurl",e[1]),he(n,"clientstyling",e[0]),he(n,"ismobileview",e[2]),he(n,"videosrc",e[8])},m(o,u){ne(o,t,u);for(let h=0;h<a.length;h+=1)a[h]&&a[h].m(t,null);ne(o,r,u),l&&l.m(o,u),ne(o,i,u),ne(o,n,u)},p(o,u){if(u[0]&1072){s=Dt(o[4]);let h;for(h=0;h<s.length;h+=1){const d=Qt(o,s,h);a[h]?a[h].p(d,u):(a[h]=tr(d),a[h].c(),a[h].m(t,null))}for(;h<a.length;h+=1)a[h].d(1);a.length=s.length}o[7]?l?l.p(o,u):(l=rr(o),l.c(),l.m(i.parentNode,i)):l&&(l.d(1),l=null),u[0]&2&&he(n,"clientstylingurl",o[1]),u[0]&1&&he(n,"clientstyling",o[0]),u[0]&4&&he(n,"ismobileview",o[2]),u[0]&256&&he(n,"videosrc",o[8])},d(o){o&&(te(t),te(r),te(i),te(n)),Qr(a,o),l&&l.d(o)}}}function er(e){let t,r,i;function n(...s){return e[18](e[53],...s)}return{c(){t=Y("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>',Q(t,"class","CashierVerificationChevron")},m(s,a){ne(s,t,a),r||(i=Je(t,"click",n),r=!0)},p(s,a){e=s},d(s){s&&te(t),r=!1,i()}}}function tr(e){let t,r,i,n,s=e[51]+"",a,l,o,u,h=e[4].length>1&&e[53]===0&&er(e);function d(...p){return e[19](e[53],...p)}return{c(){t=Y("div"),r=Y("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=ge(),n=Y("p"),a=ge(),h&&h.c(),l=ge(),Q(r,"class","IconVerification"),Q(n,"class","text"),Q(t,"class","CashierVerificationMessage"),ve(t,"ShowAll",e[5])},m(p,x){ne(p,t,x),ee(t,r),ee(t,i),ee(t,n),n.innerHTML=s,ee(t,a),h&&h.m(t,null),ee(t,l),o||(u=Je(t,"click",d),o=!0)},p(p,x){e=p,x[0]&16&&s!==(s=e[51]+"")&&(n.innerHTML=s),e[4].length>1&&e[53]===0?h?h.p(e,x):(h=er(e),h.c(),h.m(t,l)):h&&(h.d(1),h=null),x[0]&32&&ve(t,"ShowAll",e[5])},d(p){p&&te(t),h&&h.d(),o=!1,u()}}}function rr(e){let t,r,i,n,s=e[9]("verification.video.how-to")+"",a,l,o;return{c(){t=Y("div"),r=Y("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=ge(),n=Y("div"),a=_t(s),Q(r,"class","IconVideo"),Q(n,"class","CashierVerificationVideoLink"),ve(n,"CashierVerificationVideoLinkDesktop",e[6]),Q(t,"class","CashierVerificationVideo")},m(u,h){ne(u,t,h),ee(t,r),ee(t,i),ee(t,n),ee(n,a),l||(o=Je(n,"click",e[20]),l=!0)},p(u,h){h[0]&512&&s!==(s=u[9]("verification.video.how-to")+"")&&ri(a,s),h[0]&64&&ve(n,"CashierVerificationVideoLinkDesktop",u[6])},d(u){u&&te(t),l=!1,o()}}}function cs(e){let t,r=e[4]&&Kt(e);return{c(){t=Y("div"),r&&r.c(),Q(t,"class","CashierVerifications"),ve(t,"CashierVerificationsDesktop",e[6])},m(i,n){ne(i,t,n),r&&r.m(t,null),e[21](t)},p(i,n){i[4]?r?r.p(i,n):(r=Kt(i),r.c(),r.m(t,null)):r&&(r.d(1),r=null),n[0]&64&&ve(t,"CashierVerificationsDesktop",i[6])},i:J,o:J,d(i){i&&te(t),r&&r.d(),e[21](null)}}}const ds="verification_explanation_video_widgets.MP4";function ms(e,t,r){let i,n;Mt(e,ss,f=>r(9,i=f)),Mt(e,as,f=>r(27,n=f)),Jt.extend(hs);let{endpoint:s}=t,{lang:a="en"}=t,{translationurl:l=""}=t,{clientstyling:o=""}=t,{clientstylingurl:u=""}=t,{session:h=""}=t,{customerid:d=""}=t,{ismobileview:p=""}=t,x,H=new Set,v=new Set,B,U,F,M=!0,W=!0,N=!1,k="";var z;(function(f){f.Manual="Manual",f.ShuftiPro="ShuftiPro"})(z||(z={}));var se;(function(f){f.Requested="Requested"})(se||(se={}));var L;(function(f){f.Unknown="Unknown",f.Unverified="Unverified",f.InProgress="InProgress",f.Failed="Failed",f.Verified="Verified",f.Referred="Referred",f.True="True",f.False="False",f.AwaitingForResponse="AwaitingForResponse"})(L||(L={}));var C;(function(f){f.Unknown="Unknown",f.Documents="Documents",f.Age="Age",f.Pep="Pep",f.Sanction="Sanction",f.Aml="Aml",f.ProofOfAddress="ProofOfAddress",f.SourceOfWealth="SourceOfWealth",f.SocialMedia="SocialMedia",f.Biometric="Biometric"})(C||(C={}));const A=[L.InProgress,L.Referred,L.AwaitingForResponse],ye=()=>{let f=l;if(f)return fetch(f).then(y=>y.json()).then(y=>{Object.keys(y).forEach(S=>{Yt(S,y[S])})}).catch(y=>{console.log(y)})};Object.keys(Zt).forEach(f=>{Yt(f,Zt[f])});const Fe=()=>{os(a)},_=()=>{let f=document.createElement("style");f.innerHTML=o,x.appendChild(f)},g=()=>{let f=new URL(u),y=document.createElement("style");fetch(f.href).then(S=>S.text()).then(S=>{y.innerHTML=S,setTimeout(()=>{x.appendChild(y)},1)})},c=()=>{const{merchantId:f,customerId:y}=m();if(!f)return;const S=new URL(`${s}/v1/player/verification/GetKYCStatus`),j=new Headers;j.append("accept","application/json"),j.append("Content-Type","application/json"),j.append("X-Client-Request-Timestamp",Jt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));const le={method:"POST",headers:j,body:JSON.stringify({MerchantId:f,CustomerId:y,All:!1,AllParameters:!1})};fetch(S,le).then(xe=>xe.json()).then(xe=>{r(17,U=xe.StaticCdnUrl+"/cashier/operator-assets/"+f),B=E(xe.Verifications),B.VerificationStatuses.forEach(ie=>{ie.VerificationUrlType!=="Widget"&&H.add(ie.Vendor)}),r(4,F=X())})},b=()=>{n&&c()},m=()=>{let f=(h||n).split(".")[1];if(f){let y=JSON.parse(atob(f));return{merchantId:y==null?void 0:y.mid,customerId:`${y==null?void 0:y.mid}~${d}`}}return{merchantId:null,customerId:null}},E=f=>{var S;if(!f||!f.length)return{VerificationSummaryStatus:L.Unverified,VerificationStatuses:[]};const y=I(f);if(y&&y.length){const j=w(y);return{VerificationSummaryStatus:j.Status,VerificationUrl:(S=j.Flags)==null?void 0:S.DeferredUrlKey,VerificationStatuses:$(y,j.Status)}}else return{VerificationSummaryStatus:f.some(le=>le.Status===L.Failed)?L.Failed:L.Verified,VerificationStatuses:$(f,[L.Failed])}},w=f=>f.reduce((y,S)=>y?new Date(y)<new Date(S)?S:y:S,0),$=(f,y)=>f.filter(S=>y.includes(S.Status)).map(S=>{var j,le;return{Type:S.Type,Vendor:S.VendorName,VerificationDocuments:S.Documents?[...Object.values(S.Documents)]:[],VerificationUrlType:(j=S.Flags)==null?void 0:j.DeferredUrlTypeKey,VerificationUrl:(le=S.Flags)==null?void 0:le.DeferredUrlKey}}),I=f=>f.filter(y=>A.includes(y.Status)?y.Flags&&y.Flags.DeferredUrlKey||R(y)||V(y):!1),R=f=>{const y=f.Documents&&f.VendorName===z.Manual,S=Object.values(f.Documents).some(j=>j.Status===se.Requested);return y&&S},V=f=>f.VendorName===z.ShuftiPro&&f.Status===L.Referred,X=()=>{switch(B.VerificationSummaryStatus){case L.InProgress:const f=[];return H.forEach(y=>{f.push(ue(y))}),f;case L.Referred:return[i("verification.idenfy.referred-awaiting")];case L.Failed:return[i("verification.message.failed")]}},ue=f=>{const y=B.VerificationStatuses.filter(S=>S.Vendor===f);if(f===z.ShuftiPro)return oe(y);{const S=i("verification.idenfy.link-name"),j={link:`<a href="${y[0].VerificationUrl}" target="_blank">${S}</a>`};return i("verification.idenfy.in-progress",{values:j})}},oe=f=>{const y=[],S={},j=[C.Biometric,C.Documents,C.ProofOfAddress];f.forEach(ie=>{j.includes(ie.Type)&&(y.push(ie.Type),S[ie.Type]=de(ie,ae(ie.Type)))});let le=y.every(ie=>v.has(ie)),xe=`verification.shuftipro.in-progress.${y.sort().join(".")}`;return le?i("verification.shuftipro.validations-started"):i(xe,{values:S})},de=(f,y)=>`<a class="verificationLink ${f.Type}" href=" ${f.VerificationUrl} " target="_blank">${y}</a>`,ae=f=>i(`verification.shuftipro.link-name.${f}`),G=(f,y)=>{if(f.stopPropagation(),f.target&&(f.target.href||f.target.closest("a"))){if(f.target.closest(".verificationLink")){const S=f.target.className.split(" ")[1];v.add(S),r(4,F=X())}return}y===0&&r(5,M=!M)},re=()=>{r(6,W=p==="false")},me=()=>{r(8,k=U+"/"+a+"/"+ds);try{fetch(k,{method:"HEAD"}).then(f=>{r(7,N=f.ok)})}catch(f){r(7,N=!1)}},pe=()=>{window.postMessage({type:"ShowCashierVideoModal"},window.location.href)},kr=(f,y)=>G(y,f),Ur=(f,y)=>G(y,f),Fr=()=>pe();function Vr(f){qe[f?"unshift":"push"](()=>{x=f,r(3,x)})}return e.$$set=f=>{"endpoint"in f&&r(12,s=f.endpoint),"lang"in f&&r(13,a=f.lang),"translationurl"in f&&r(14,l=f.translationurl),"clientstyling"in f&&r(0,o=f.clientstyling),"clientstylingurl"in f&&r(1,u=f.clientstylingurl),"session"in f&&r(15,h=f.session),"customerid"in f&&r(16,d=f.customerid),"ismobileview"in f&&r(2,p=f.ismobileview)},e.$$.update=()=>{e.$$.dirty[0]&8192&&a&&Fe(),e.$$.dirty[0]&36864&&s&&h&&c(),e.$$.dirty[0]&36864&&s&&!h&&b(),e.$$.dirty[0]&16384&&l&&ye(),e.$$.dirty[0]&9&&o&&x&&_(),e.$$.dirty[0]&10&&u&&x&&g(),e.$$.dirty[0]&4&&p&&re(),e.$$.dirty[0]&131072&&U&&me()},[o,u,p,x,F,M,W,N,k,i,G,pe,s,a,l,h,d,U,kr,Ur,Fr,Vr]}class Rr extends lr{constructor(t){super(),or(this,t,ms,cs,xt,{endpoint:12,lang:13,translationurl:14,clientstyling:0,clientstylingurl:1,session:15,customerid:16,ismobileview:2},fs,[-1,-1])}get endpoint(){return this.$$.ctx[12]}set endpoint(t){this.$$set({endpoint:t}),K()}get lang(){return this.$$.ctx[13]}set lang(t){this.$$set({lang:t}),K()}get translationurl(){return this.$$.ctx[14]}set translationurl(t){this.$$set({translationurl:t}),K()}get clientstyling(){return this.$$.ctx[0]}set clientstyling(t){this.$$set({clientstyling:t}),K()}get clientstylingurl(){return this.$$.ctx[1]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),K()}get session(){return this.$$.ctx[15]}set session(t){this.$$set({session:t}),K()}get customerid(){return this.$$.ctx[16]}set customerid(t){this.$$set({customerid:t}),K()}get ismobileview(){return this.$$.ctx[2]}set ismobileview(t){this.$$set({ismobileview:t}),K()}}ur(Rr,{endpoint:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},session:{},customerid:{},ismobileview:{}},[],[],!0);const ps=Object.freeze(Object.defineProperty({__proto__:null,default:Rr},Symbol.toStringTag,{value:"Module"}));exports.CashierVerifications_ce=ps;exports.SvelteComponent=lr;exports.append=ee;exports.append_styles=sr;exports.attr=Q;exports.binding_callbacks=qe;exports.create_custom_element=ur;exports.detach=te;exports.element=Y;exports.empty=ei;exports.flush=K;exports.init=or;exports.insert=ne;exports.listen=Je;exports.noop=J;exports.onMount=si;exports.safe_not_equal=xt;exports.space=ge;exports.src_url_equal=Wr;exports.svg_element=Kr;exports.toggle_class=ve;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierVerifications-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierVerifications-WnIvUR-I.cjs");function M(s){e.append_styles(s,"svelte-1d17c9c",".CashierVideoWrapper{position:absolute;width:100%;height:100%;left:0;top:0;z-index:8;background-color:var(--mmw--color-grey-light, #f3f6f9)}.CashierVideoHeader{width:100%;height:29px;position:relative;text-transform:uppercase;text-align:right;background-color:var(--mmw--color-grey-light, #f3f6f9);font-size:var(--emw--font-size-medium, 16px);z-index:6}.CashierVideoHeader svg{padding:8px 8px 8px 15px}.CashierVideo video{object-fit:contain;width:100%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.CashierVideo svg{cursor:pointer;margin-left:auto;position:absolute;right:0;z-index:6;padding:5px 13px}")}function m(s){let t,i,l,o,r,f,u,c=!s[2]&&C(s),n=s[2]&&w(s);return{c(){t=e.element("div"),c&&c.c(),i=e.space(),l=e.element("div"),n&&n.c(),o=e.space(),r=e.element("video"),f=e.element("source"),e.src_url_equal(f.src,u=s[0])||e.attr(f,"src",u),r.autoplay=!0,r.controls=!0,e.attr(r,"controlslist","nodownload"),e.attr(r,"disablepictureinpicture",""),e.attr(l,"class","CashierVideo"),e.attr(t,"class","CashierVideoWrapper"),e.attr(t,"part","CustomStylingContainer"),e.toggle_class(t,"CashierVideoWrapperDesktop",s[2])},m(d,p){e.insert(d,t,p),c&&c.m(t,null),e.append(t,i),e.append(t,l),n&&n.m(l,null),e.append(l,o),e.append(l,r),e.append(r,f),s[10](t)},p(d,p){d[2]?c&&(c.d(1),c=null):c?c.p(d,p):(c=C(d),c.c(),c.m(t,i)),d[2]?n?n.p(d,p):(n=w(d),n.c(),n.m(l,o)):n&&(n.d(1),n=null),p&1&&!e.src_url_equal(f.src,u=d[0])&&e.attr(f,"src",u),p&4&&e.toggle_class(t,"CashierVideoWrapperDesktop",d[2])},d(d){d&&e.detach(t),c&&c.d(),n&&n.d(),s[10](null)}}}function C(s){let t,i,l,o,r;return{c(){t=e.element("div"),i=e.svg_element("svg"),l=e.svg_element("path"),e.attr(l,"d","M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"),e.attr(l,"fill","#111111"),e.attr(i,"xmlns","http://www.w3.org/2000/svg"),e.attr(i,"width","13"),e.attr(i,"height","13"),e.attr(i,"viewBox","0 0 13 13"),e.attr(i,"fill","none"),e.attr(t,"class","CashierVideoHeader")},m(f,u){e.insert(f,t,u),e.append(t,i),e.append(i,l),o||(r=e.listen(i,"click",s[8]),o=!0)},p:e.noop,d(f){f&&e.detach(t),o=!1,r()}}}function w(s){let t,i,l,o;return{c(){t=e.svg_element("svg"),i=e.svg_element("path"),e.attr(i,"d","M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"),e.attr(i,"fill","#111111"),e.attr(t,"xmlns","http://www.w3.org/2000/svg"),e.attr(t,"width","13"),e.attr(t,"height","13"),e.attr(t,"viewBox","0 0 13 13"),e.attr(t,"fill","none")},m(r,f){e.insert(r,t,f),e.append(t,i),l||(o=e.listen(t,"click",s[9]),l=!0)},p:e.noop,d(r){r&&e.detach(t),l=!1,o()}}}function S(s){let t,i=s[3]&&m(s);return{c(){i&&i.c(),t=e.empty()},m(l,o){i&&i.m(l,o),e.insert(l,t,o)},p(l,[o]){l[3]?i?i.p(l,o):(i=m(l),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null)},i:e.noop,o:e.noop,d(l){l&&e.detach(t),i&&i.d(l)}}}function H(s,t,i){let{clientstyling:l=""}=t,{clientstylingurl:o=""}=t,{ismobileview:r}=t,{videosrc:f}=t,u=!0,c=!1,n;const d=()=>{i(3,c=!1),window.postMessage({type:"ClosedCashierVideoModal"},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},p=a=>{a.data.type=="ShowCashierVideoModal"&&(i(3,c=!0),window.postMessage({type:"DisableScroll"},window.location.href)),a.data.type=="HideCashierVideoModal"&&d()},_=()=>{i(2,u=r==="false")},y=()=>{let a=document.createElement("style");a.innerHTML=l,n.appendChild(a)},L=()=>{let a=new URL(o),g=document.createElement("style");fetch(a.href).then(h=>h.text()).then(h=>{g.innerHTML=h,setTimeout(()=>{n.appendChild(g)},1)})};e.onMount(()=>(window.addEventListener("message",p,!1),()=>{window.removeEventListener("message",p)}));const b=()=>d(),k=()=>d();function V(a){e.binding_callbacks[a?"unshift":"push"](()=>{n=a,i(1,n)})}return s.$$set=a=>{"clientstyling"in a&&i(5,l=a.clientstyling),"clientstylingurl"in a&&i(6,o=a.clientstylingurl),"ismobileview"in a&&i(7,r=a.ismobileview),"videosrc"in a&&i(0,f=a.videosrc)},s.$$.update=()=>{s.$$.dirty&128&&r&&_(),s.$$.dirty&34&&l&&n&&y(),s.$$.dirty&66&&o&&n&&L()},[f,n,u,c,d,l,o,r,b,k,V]}class v extends e.SvelteComponent{constructor(t){super(),e.init(this,t,H,S,e.safe_not_equal,{clientstyling:5,clientstylingurl:6,ismobileview:7,videosrc:0},M)}get clientstyling(){return this.$$.ctx[5]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get ismobileview(){return this.$$.ctx[7]}set ismobileview(t){this.$$set({ismobileview:t}),e.flush()}get videosrc(){return this.$$.ctx[0]}set videosrc(t){this.$$set({videosrc:t}),e.flush()}}e.create_custom_element(v,{clientstyling:{},clientstylingurl:{},ismobileview:{},videosrc:{}},[],[],!0);exports.default=v;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as j, i as B, f as p,
|
|
1
|
+
import { S as j, i as B, f as p, c as R, s as U, a as Z, e as F, b as v, n as m, d as _, o as N, g as C, h as b, j as k, k as n, t as V, l as g, m as w, p as H, q as A } from "./CashierVerifications-Bh19q0WL.js";
|
|
2
2
|
function G(s) {
|
|
3
3
|
Z(s, "svelte-1d17c9c", ".CashierVideoWrapper{position:absolute;width:100%;height:100%;left:0;top:0;z-index:8;background-color:var(--mmw--color-grey-light, #f3f6f9)}.CashierVideoHeader{width:100%;height:29px;position:relative;text-transform:uppercase;text-align:right;background-color:var(--mmw--color-grey-light, #f3f6f9);font-size:var(--emw--font-size-medium, 16px);z-index:6}.CashierVideoHeader svg{padding:8px 8px 8px 15px}.CashierVideo video{object-fit:contain;width:100%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.CashierVideo svg{cursor:pointer;margin-left:auto;position:absolute;right:0;z-index:6;padding:5px 13px}");
|
|
4
4
|
}
|
|
@@ -10,8 +10,8 @@ function M(s) {
|
|
|
10
10
|
);
|
|
11
11
|
return {
|
|
12
12
|
c() {
|
|
13
|
-
e = C("div"), c && c.c(), i =
|
|
14
|
-
s[0]) || n(f, "src", u), r.autoplay = !0, r.controls = !0, n(r, "controlslist", "nodownload"), n(r, "disablepictureinpicture", ""), n(t, "class", "CashierVideo"), n(e, "class", "CashierVideoWrapper"), n(e, "part", "CustomStylingContainer"),
|
|
13
|
+
e = C("div"), c && c.c(), i = b(), t = C("div"), l && l.c(), o = b(), r = C("video"), f = C("source"), k(f.src, u = /*videosrc*/
|
|
14
|
+
s[0]) || n(f, "src", u), r.autoplay = !0, r.controls = !0, n(r, "controlslist", "nodownload"), n(r, "disablepictureinpicture", ""), n(t, "class", "CashierVideo"), n(e, "class", "CashierVideoWrapper"), n(e, "part", "CustomStylingContainer"), V(
|
|
15
15
|
e,
|
|
16
16
|
"CashierVideoWrapperDesktop",
|
|
17
17
|
/*desktopView*/
|
|
@@ -19,15 +19,15 @@ function M(s) {
|
|
|
19
19
|
);
|
|
20
20
|
},
|
|
21
21
|
m(d, h) {
|
|
22
|
-
|
|
22
|
+
v(d, e, h), c && c.m(e, null), g(e, i), g(e, t), l && l.m(t, null), g(t, o), g(t, r), g(r, f), s[10](e);
|
|
23
23
|
},
|
|
24
24
|
p(d, h) {
|
|
25
25
|
/*desktopView*/
|
|
26
26
|
d[2] ? c && (c.d(1), c = null) : c ? c.p(d, h) : (c = S(d), c.c(), c.m(e, i)), /*desktopView*/
|
|
27
27
|
d[2] ? l ? l.p(d, h) : (l = x(d), l.c(), l.m(t, o)) : l && (l.d(1), l = null), h & /*videosrc*/
|
|
28
|
-
1 && !
|
|
28
|
+
1 && !k(f.src, u = /*videosrc*/
|
|
29
29
|
d[0]) && n(f, "src", u), h & /*desktopView*/
|
|
30
|
-
4 &&
|
|
30
|
+
4 && V(
|
|
31
31
|
e,
|
|
32
32
|
"CashierVideoWrapperDesktop",
|
|
33
33
|
/*desktopView*/
|
|
@@ -35,7 +35,7 @@ function M(s) {
|
|
|
35
35
|
);
|
|
36
36
|
},
|
|
37
37
|
d(d) {
|
|
38
|
-
d &&
|
|
38
|
+
d && _(e), c && c.d(), l && l.d(), s[10](null);
|
|
39
39
|
}
|
|
40
40
|
};
|
|
41
41
|
}
|
|
@@ -46,7 +46,7 @@ function S(s) {
|
|
|
46
46
|
e = C("div"), i = w("svg"), t = w("path"), n(t, "d", "M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"), n(t, "fill", "#111111"), n(i, "xmlns", "http://www.w3.org/2000/svg"), n(i, "width", "13"), n(i, "height", "13"), n(i, "viewBox", "0 0 13 13"), n(i, "fill", "none"), n(e, "class", "CashierVideoHeader");
|
|
47
47
|
},
|
|
48
48
|
m(f, u) {
|
|
49
|
-
|
|
49
|
+
v(f, e, u), g(e, i), g(i, t), o || (r = H(
|
|
50
50
|
i,
|
|
51
51
|
"click",
|
|
52
52
|
/*click_handler*/
|
|
@@ -55,7 +55,7 @@ function S(s) {
|
|
|
55
55
|
},
|
|
56
56
|
p: m,
|
|
57
57
|
d(f) {
|
|
58
|
-
f &&
|
|
58
|
+
f && _(e), o = !1, r();
|
|
59
59
|
}
|
|
60
60
|
};
|
|
61
61
|
}
|
|
@@ -66,7 +66,7 @@ function x(s) {
|
|
|
66
66
|
e = w("svg"), i = w("path"), n(i, "d", "M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"), n(i, "fill", "#111111"), n(e, "xmlns", "http://www.w3.org/2000/svg"), n(e, "width", "13"), n(e, "height", "13"), n(e, "viewBox", "0 0 13 13"), n(e, "fill", "none");
|
|
67
67
|
},
|
|
68
68
|
m(r, f) {
|
|
69
|
-
|
|
69
|
+
v(r, e, f), g(e, i), t || (o = H(
|
|
70
70
|
e,
|
|
71
71
|
"click",
|
|
72
72
|
/*click_handler_1*/
|
|
@@ -75,7 +75,7 @@ function x(s) {
|
|
|
75
75
|
},
|
|
76
76
|
p: m,
|
|
77
77
|
d(r) {
|
|
78
|
-
r &&
|
|
78
|
+
r && _(e), t = !1, o();
|
|
79
79
|
}
|
|
80
80
|
};
|
|
81
81
|
}
|
|
@@ -89,7 +89,7 @@ function I(s) {
|
|
|
89
89
|
i && i.c(), e = F();
|
|
90
90
|
},
|
|
91
91
|
m(t, o) {
|
|
92
|
-
i && i.m(t, o),
|
|
92
|
+
i && i.m(t, o), v(t, e, o);
|
|
93
93
|
},
|
|
94
94
|
p(t, [o]) {
|
|
95
95
|
/*show*/
|
|
@@ -98,7 +98,7 @@ function I(s) {
|
|
|
98
98
|
i: m,
|
|
99
99
|
o: m,
|
|
100
100
|
d(t) {
|
|
101
|
-
t &&
|
|
101
|
+
t && _(e), i && i.d(t);
|
|
102
102
|
}
|
|
103
103
|
};
|
|
104
104
|
}
|
|
@@ -161,7 +161,7 @@ class K extends j {
|
|
|
161
161
|
e,
|
|
162
162
|
J,
|
|
163
163
|
I,
|
|
164
|
-
|
|
164
|
+
U,
|
|
165
165
|
{
|
|
166
166
|
clientstyling: 5,
|
|
167
167
|
clientstylingurl: 6,
|
|
@@ -196,7 +196,7 @@ class K extends j {
|
|
|
196
196
|
this.$$set({ videosrc: e }), p();
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
|
-
|
|
199
|
+
R(K, { clientstyling: {}, clientstylingurl: {}, ismobileview: {}, videosrc: {} }, [], [], !0);
|
|
200
200
|
export {
|
|
201
201
|
K as default
|
|
202
202
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { S as j, i as B,
|
|
1
|
+
import { S as j, i as B, f as p, c as R, s as U, a as Z, e as F, b as v, n as m, d as _, o as N, g as C, h as b, j as k, k as n, t as V, l as g, m as w, p as H, q as A } from "./CashierVerifications-Bjt5pRvr.js";
|
|
2
2
|
function G(s) {
|
|
3
|
-
|
|
3
|
+
Z(s, "svelte-1d17c9c", ".CashierVideoWrapper{position:absolute;width:100%;height:100%;left:0;top:0;z-index:8;background-color:var(--mmw--color-grey-light, #f3f6f9)}.CashierVideoHeader{width:100%;height:29px;position:relative;text-transform:uppercase;text-align:right;background-color:var(--mmw--color-grey-light, #f3f6f9);font-size:var(--emw--font-size-medium, 16px);z-index:6}.CashierVideoHeader svg{padding:8px 8px 8px 15px}.CashierVideo video{object-fit:contain;width:100%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.CashierVideo svg{cursor:pointer;margin-left:auto;position:absolute;right:0;z-index:6;padding:5px 13px}");
|
|
4
4
|
}
|
|
5
5
|
function M(s) {
|
|
6
6
|
let e, i, t, o, r, f, u, c = !/*desktopView*/
|
|
@@ -10,8 +10,8 @@ function M(s) {
|
|
|
10
10
|
);
|
|
11
11
|
return {
|
|
12
12
|
c() {
|
|
13
|
-
e = C("div"), c && c.c(), i =
|
|
14
|
-
s[0]) || n(f, "src", u), r.autoplay = !0, r.controls = !0, n(r, "controlslist", "nodownload"), n(r, "disablepictureinpicture", ""), n(t, "class", "CashierVideo"), n(e, "class", "CashierVideoWrapper"), n(e, "part", "CustomStylingContainer"),
|
|
13
|
+
e = C("div"), c && c.c(), i = b(), t = C("div"), l && l.c(), o = b(), r = C("video"), f = C("source"), k(f.src, u = /*videosrc*/
|
|
14
|
+
s[0]) || n(f, "src", u), r.autoplay = !0, r.controls = !0, n(r, "controlslist", "nodownload"), n(r, "disablepictureinpicture", ""), n(t, "class", "CashierVideo"), n(e, "class", "CashierVideoWrapper"), n(e, "part", "CustomStylingContainer"), V(
|
|
15
15
|
e,
|
|
16
16
|
"CashierVideoWrapperDesktop",
|
|
17
17
|
/*desktopView*/
|
|
@@ -19,15 +19,15 @@ function M(s) {
|
|
|
19
19
|
);
|
|
20
20
|
},
|
|
21
21
|
m(d, h) {
|
|
22
|
-
|
|
22
|
+
v(d, e, h), c && c.m(e, null), g(e, i), g(e, t), l && l.m(t, null), g(t, o), g(t, r), g(r, f), s[10](e);
|
|
23
23
|
},
|
|
24
24
|
p(d, h) {
|
|
25
25
|
/*desktopView*/
|
|
26
26
|
d[2] ? c && (c.d(1), c = null) : c ? c.p(d, h) : (c = S(d), c.c(), c.m(e, i)), /*desktopView*/
|
|
27
27
|
d[2] ? l ? l.p(d, h) : (l = x(d), l.c(), l.m(t, o)) : l && (l.d(1), l = null), h & /*videosrc*/
|
|
28
|
-
1 && !
|
|
28
|
+
1 && !k(f.src, u = /*videosrc*/
|
|
29
29
|
d[0]) && n(f, "src", u), h & /*desktopView*/
|
|
30
|
-
4 &&
|
|
30
|
+
4 && V(
|
|
31
31
|
e,
|
|
32
32
|
"CashierVideoWrapperDesktop",
|
|
33
33
|
/*desktopView*/
|
|
@@ -35,7 +35,7 @@ function M(s) {
|
|
|
35
35
|
);
|
|
36
36
|
},
|
|
37
37
|
d(d) {
|
|
38
|
-
d &&
|
|
38
|
+
d && _(e), c && c.d(), l && l.d(), s[10](null);
|
|
39
39
|
}
|
|
40
40
|
};
|
|
41
41
|
}
|
|
@@ -46,7 +46,7 @@ function S(s) {
|
|
|
46
46
|
e = C("div"), i = w("svg"), t = w("path"), n(t, "d", "M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"), n(t, "fill", "#111111"), n(i, "xmlns", "http://www.w3.org/2000/svg"), n(i, "width", "13"), n(i, "height", "13"), n(i, "viewBox", "0 0 13 13"), n(i, "fill", "none"), n(e, "class", "CashierVideoHeader");
|
|
47
47
|
},
|
|
48
48
|
m(f, u) {
|
|
49
|
-
|
|
49
|
+
v(f, e, u), g(e, i), g(i, t), o || (r = H(
|
|
50
50
|
i,
|
|
51
51
|
"click",
|
|
52
52
|
/*click_handler*/
|
|
@@ -55,7 +55,7 @@ function S(s) {
|
|
|
55
55
|
},
|
|
56
56
|
p: m,
|
|
57
57
|
d(f) {
|
|
58
|
-
f &&
|
|
58
|
+
f && _(e), o = !1, r();
|
|
59
59
|
}
|
|
60
60
|
};
|
|
61
61
|
}
|
|
@@ -66,7 +66,7 @@ function x(s) {
|
|
|
66
66
|
e = w("svg"), i = w("path"), n(i, "d", "M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"), n(i, "fill", "#111111"), n(e, "xmlns", "http://www.w3.org/2000/svg"), n(e, "width", "13"), n(e, "height", "13"), n(e, "viewBox", "0 0 13 13"), n(e, "fill", "none");
|
|
67
67
|
},
|
|
68
68
|
m(r, f) {
|
|
69
|
-
|
|
69
|
+
v(r, e, f), g(e, i), t || (o = H(
|
|
70
70
|
e,
|
|
71
71
|
"click",
|
|
72
72
|
/*click_handler_1*/
|
|
@@ -75,7 +75,7 @@ function x(s) {
|
|
|
75
75
|
},
|
|
76
76
|
p: m,
|
|
77
77
|
d(r) {
|
|
78
|
-
r &&
|
|
78
|
+
r && _(e), t = !1, o();
|
|
79
79
|
}
|
|
80
80
|
};
|
|
81
81
|
}
|
|
@@ -86,10 +86,10 @@ function I(s) {
|
|
|
86
86
|
);
|
|
87
87
|
return {
|
|
88
88
|
c() {
|
|
89
|
-
i && i.c(), e =
|
|
89
|
+
i && i.c(), e = F();
|
|
90
90
|
},
|
|
91
91
|
m(t, o) {
|
|
92
|
-
i && i.m(t, o),
|
|
92
|
+
i && i.m(t, o), v(t, e, o);
|
|
93
93
|
},
|
|
94
94
|
p(t, [o]) {
|
|
95
95
|
/*show*/
|
|
@@ -98,7 +98,7 @@ function I(s) {
|
|
|
98
98
|
i: m,
|
|
99
99
|
o: m,
|
|
100
100
|
d(t) {
|
|
101
|
-
t &&
|
|
101
|
+
t && _(e), i && i.d(t);
|
|
102
102
|
}
|
|
103
103
|
};
|
|
104
104
|
}
|
|
@@ -124,12 +124,12 @@ function J(s, e, i) {
|
|
|
124
124
|
);
|
|
125
125
|
});
|
|
126
126
|
};
|
|
127
|
-
|
|
127
|
+
N(() => (window.addEventListener("message", h, !1), () => {
|
|
128
128
|
window.removeEventListener("message", h);
|
|
129
129
|
}));
|
|
130
130
|
const W = () => d(), q = () => d();
|
|
131
131
|
function T(a) {
|
|
132
|
-
|
|
132
|
+
A[a ? "unshift" : "push"](() => {
|
|
133
133
|
l = a, i(1, l);
|
|
134
134
|
});
|
|
135
135
|
}
|
|
@@ -161,7 +161,7 @@ class K extends j {
|
|
|
161
161
|
e,
|
|
162
162
|
J,
|
|
163
163
|
I,
|
|
164
|
-
|
|
164
|
+
U,
|
|
165
165
|
{
|
|
166
166
|
clientstyling: 5,
|
|
167
167
|
clientstylingurl: 6,
|
|
@@ -196,7 +196,7 @@ class K extends j {
|
|
|
196
196
|
this.$$set({ videosrc: e }), p();
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
|
-
|
|
199
|
+
R(K, { clientstyling: {}, clientstylingurl: {}, ismobileview: {}, videosrc: {} }, [], [], !0);
|
|
200
200
|
export {
|
|
201
201
|
K as default
|
|
202
202
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let i=function(e){return function(...n){try{return e.apply(this,n)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("../components/CashierVerifications-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let i=function(e){return function(...n){try{return e.apply(this,n)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("../components/CashierVerifications-WnIvUR-I.cjs")).then(e=>e.CashierVerifications_ce).then(({default:e})=>{!customElements.get("cashier-verifications")&&customElements.define("cashier-verifications",e.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-Bjt5pRvr.js").then((e) => e.C).then(({ default: e }) => {
|
|
14
14
|
!customElements.get("cashier-verifications") && customElements.define("cashier-verifications", e.element);
|
|
15
15
|
});
|
|
16
16
|
}
|