@tsocial/tvweb-sdk.platform 0.0.0-beta.20260102-120556 → 0.0.0-beta.20260106-111700

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.
@@ -15996,7 +15996,7 @@
15996
15996
  strokeWidth: 1
15997
15997
  };
15998
15998
 
15999
- var f="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",m="active",y$1="data-styled-version",v$1="6.1.12",g$1="/*!sc*/\n",S$1="undefined"!=typeof window&&"HTMLElement"in window,w$1=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY?"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY:"production"!=="production"),b$1={},_$1=Object.freeze([]),C$1=Object.freeze({});function I$1(e,t,n){return void 0===n&&(n=C$1),e.theme!==n.theme&&e.theme||t||n.theme}var A$1=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),O$1=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,D$1=/(^-|-$)/g;function R$1(e){return e.replace(O$1,"-").replace(D$1,"")}var T$1=/(a)(d)/gi,k$1=52,j$1=function(e){return String.fromCharCode(e+(e>25?39:97))};function x$1(e){var t,n="";for(t=Math.abs(e);t>k$1;t=t/k$1|0)n=j$1(t%k$1)+n;return (j$1(t%k$1)+n).replace(T$1,"$1-$2")}var V$1,F$1=5381,M$1=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},z$1=function(e){return M$1(F$1,e)};function $$1(e){return x$1(z$1(e)>>>0)}function B$1(e){return e.displayName||e.name||"Component"}function L$1(e){return "string"==typeof e&&("production"==="production")}var G$1="function"==typeof Symbol&&Symbol.for,Y$2=G$1?Symbol.for("react.memo"):60115,W$1=G$1?Symbol.for("react.forward_ref"):60112,q$1={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},H$1={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},U$1={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},J$2=((V$1={})[W$1]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},V$1[Y$2]=U$1,V$1);function X$1(e){return ("type"in(t=e)&&t.type.$$typeof)===Y$2?U$1:"$$typeof"in e?J$2[e.$$typeof]:q$1;var t;}var Z$2=Object.defineProperty,K$2=Object.getOwnPropertyNames,Q$1=Object.getOwnPropertySymbols,ee$2=Object.getOwnPropertyDescriptor,te$2=Object.getPrototypeOf,ne$2=Object.prototype;function oe$2(e,t,n){if("string"!=typeof t){if(ne$2){var o=te$2(t);o&&o!==ne$2&&oe$2(e,o,n);}var r=K$2(t);Q$1&&(r=r.concat(Q$1(t)));for(var s=X$1(e),i=X$1(t),a=0;a<r.length;++a){var c=r[a];if(!(c in H$1||n&&n[c]||i&&c in i||s&&c in s)){var l=ee$2(t,c);try{Z$2(e,c,l);}catch(e){}}}}return e}function re$2(e){return "function"==typeof e}function se$1(e){return "object"==typeof e&&"styledComponentId"in e}function ie$2(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function ae$2(e,t){if(0===e.length)return "";for(var n=e[0],o=1;o<e.length;o++)n+=t?t+e[o]:e[o];return n}function ce$1(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function le$1(e,t,n){if(void 0===n&&(n=!1),!n&&!ce$1(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var o=0;o<t.length;o++)e[o]=le$1(e[o],t[o]);else if(ce$1(t))for(var o in t)e[o]=le$1(e[o],t[o]);return e}function ue$1(e,t){Object.defineProperty(e,"toString",{value:t});}function he$1(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(t," for more information.").concat(n.length>0?" Args: ".concat(n.join(", ")):""))}var fe$1=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e;}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,r=o;e>=r;)if((r<<=1)<0)throw he$1(16,"".concat(e));this.groupSizes=new Uint32Array(r),this.groupSizes.set(n),this.length=r;for(var s=o;s<r;s++)this.groupSizes[s]=0;}for(var i=this.indexOfGroup(e+1),a=(s=0,t.length);s<a;s++)this.tag.insertRule(i,t[s])&&(this.groupSizes[e]++,i++);},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),o=n+t;this.groupSizes[e]=0;for(var r=n;r<o;r++)this.tag.deleteRule(n);}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],o=this.indexOfGroup(e),r=o+n,s=o;s<r;s++)t+="".concat(this.tag.getRule(s)).concat(g$1);return t},e}(),ye=new Map,ve=new Map,ge$1=1,Se=function(e){if(ye.has(e))return ye.get(e);for(;ve.has(ge$1);)ge$1++;var t=ge$1++;return ye.set(e,t),ve.set(t,e),t},we=function(e,t){ge$1=t+1,ye.set(e,t),ve.set(t,e);},be="style[".concat(f,"][").concat(y$1,'="').concat(v$1,'"]'),Ee=new RegExp("^".concat(f,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Ne=function(e,t,n){for(var o,r=n.split(","),s=0,i=r.length;s<i;s++)(o=r[s])&&e.registerName(t,o);},Pe=function(e,t){for(var n,o=(null!==(n=t.textContent)&&void 0!==n?n:"").split(g$1),r=[],s=0,i=o.length;s<i;s++){var a=o[s].trim();if(a){var c=a.match(Ee);if(c){var l=0|parseInt(c[1],10),u=c[2];0!==l&&(we(u,l),Ne(e,u,c[3]),e.getTag().insertRules(l,r)),r.length=0;}else r.push(a);}}},_e=function(e){for(var t=document.querySelectorAll(be),n=0,o=t.length;n<o;n++){var r=t[n];r&&r.getAttribute(f)!==m&&(Pe(e,r),r.parentNode&&r.parentNode.removeChild(r));}};function Ce(){return "undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null}var Ie=function(e){var t=document.head,n=e||t,o=document.createElement("style"),r=function(e){var t=Array.from(e.querySelectorAll("style[".concat(f,"]")));return t[t.length-1]}(n),s=void 0!==r?r.nextSibling:null;o.setAttribute(f,m),o.setAttribute(y$1,v$1);var i=Ce();return i&&o.setAttribute("nonce",i),n.insertBefore(o,s),o},Ae=function(){function e(e){this.element=Ie(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,o=t.length;n<o;n++){var r=t[n];if(r.ownerNode===e)return r}throw he$1(17)}(this.element),this.length=0;}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return !1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--;},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),Oe=function(){function e(e){this.element=Ie(e),this.nodes=this.element.childNodes,this.length=0;}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return !1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--;},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),De=function(){function e(e){this.rules=[],this.length=0;}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--;},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),Re=S$1,Te={isServer:!S$1,useCSSOMInjection:!w$1},ke=function(){function e(e,n,o){void 0===e&&(e=C$1),void 0===n&&(n={});var r=this;this.options=__assign(__assign({},Te),e),this.gs=n,this.names=new Map(o),this.server=!!e.isServer,!this.server&&S$1&&Re&&(Re=!1,_e(this)),ue$1(this,function(){return function(e){for(var t=e.getTag(),n=t.length,o="",r=function(n){var r=function(e){return ve.get(e)}(n);if(void 0===r)return "continue";var s=e.names.get(r),i=t.getGroup(n);if(void 0===s||!s.size||0===i.length)return "continue";var a="".concat(f,".g").concat(n,'[id="').concat(r,'"]'),c="";void 0!==s&&s.forEach(function(e){e.length>0&&(c+="".concat(e,","));}),o+="".concat(i).concat(a,'{content:"').concat(c,'"}').concat(g$1);},s=0;s<n;s++)r(s);return o}(r)});}return e.registerId=function(e){return Se(e)},e.prototype.rehydrate=function(){!this.server&&S$1&&_e(this);},e.prototype.reconstructWithOptions=function(n,o){return void 0===o&&(o=!0),new e(__assign(__assign({},this.options),n),this.gs,o&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new De(n):t?new Ae(n):new Oe(n)}(this.options),new fe$1(e)));var e;},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(Se(e),this.names.has(e))this.names.get(e).add(t);else {var n=new Set;n.add(t),this.names.set(e,n);}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(Se(e),n);},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear();},e.prototype.clearRules=function(e){this.getTag().clearGroup(Se(e)),this.clearNames(e);},e.prototype.clearTag=function(){this.tag=void 0;},e}(),je=/&/g,xe=/^\s*\/\/.*$/gm;function Ve(e,t){return e.map(function(e){return "rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map(function(e){return "".concat(t," ").concat(e)})),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=Ve(e.children,t)),e})}function Fe(e){var t,n,o,r=void 0===e?C$1:e,s=r.options,i=void 0===s?C$1:s,a=r.plugins,c=void 0===a?_$1:a,l=function(e,o,r){return r.startsWith(n)&&r.endsWith(n)&&r.replaceAll(n,"").length>0?".".concat(t):e},u=c.slice();u.push(function(e){e.type===RULESET&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(je,n).replace(o,l));}),i.prefix&&u.push(prefixer),u.push(stringify);var p=function(e,r,s,a){void 0===r&&(r=""),void 0===s&&(s=""),void 0===a&&(a="&"),t=a,n=r,o=new RegExp("\\".concat(n,"\\b"),"g");var c=e.replace(xe,""),l=compile(s||r?"".concat(s," ").concat(r," { ").concat(c," }"):c);i.namespace&&(l=Ve(l,i.namespace));var p=[];return serialize(l,middleware(u.concat(rulesheet(function(e){return p.push(e)})))),p};return p.hash=c.length?c.reduce(function(e,t){return t.name||he$1(15),M$1(e,t.name)},F$1).toString():"",p}var Me=new ke,ze=Fe(),$e=React.createContext({shouldForwardProp:void 0,styleSheet:Me,stylis:ze});$e.Consumer;React.createContext(void 0);function Ge(){return reactExports.useContext($e)}var We=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=ze);var o=n.name+t.hash;e.hasNameForId(n.id,o)||e.insertRules(n.id,o,t(n.rules,o,"@keyframes"));},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,ue$1(this,function(){throw he$1(12,String(n.name))});}return e.prototype.getName=function(e){return void 0===e&&(e=ze),this.name+e.hash},e}(),qe=function(e){return e>="A"&&e<="Z"};function He(e){for(var t="",n=0;n<e.length;n++){var o=e[n];if(1===n&&"-"===o&&"-"===e[0])return e;qe(o)?t+="-"+o.toLowerCase():t+=o;}return t.startsWith("ms-")?"-"+t:t}var Ue=function(e){return null==e||!1===e||""===e},Je=function(t){var n,o,r=[];for(var s in t){var i=t[s];t.hasOwnProperty(s)&&!Ue(i)&&(Array.isArray(i)&&i.isCss||re$2(i)?r.push("".concat(He(s),":"),i,";"):ce$1(i)?r.push.apply(r,__spreadArray(__spreadArray(["".concat(s," {")],Je(i),!1),["}"],!1)):r.push("".concat(He(s),": ").concat((n=s,null==(o=i)||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||n in unitlessKeys||n.startsWith("--")?String(o).trim():"".concat(o,"px")),";")));}return r};function Xe(e,t,n,o){if(Ue(e))return [];if(se$1(e))return [".".concat(e.styledComponentId)];if(re$2(e)){if(!re$2(s=e)||s.prototype&&s.prototype.isReactComponent||!t)return [e];var r=e(t);return Xe(r,t,n,o)}var s;return e instanceof We?n?(e.inject(n,o),[e.getName(o)]):[e]:ce$1(e)?Je(e):Array.isArray(e)?Array.prototype.concat.apply(_$1,e.map(function(e){return Xe(e,t,n,o)})):[e.toString()]}function Ze(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(re$2(n)&&!se$1(n))return !1}return !0}var Ke=z$1(v$1),Qe=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&Ze(e),this.componentId=t,this.baseHash=M$1(Ke,t),this.baseStyle=n,ke.registerId(t);}return e.prototype.generateAndInjectStyles=function(e,t,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))o=ie$2(o,this.staticRulesId);else {var r=ae$2(Xe(this.rules,e,t,n)),s=x$1(M$1(this.baseHash,r)>>>0);if(!t.hasNameForId(this.componentId,s)){var i=n(r,".".concat(s),void 0,this.componentId);t.insertRules(this.componentId,s,i);}o=ie$2(o,s),this.staticRulesId=s;}else {for(var a=M$1(this.baseHash,n.hash),c="",l=0;l<this.rules.length;l++){var u=this.rules[l];if("string"==typeof u)c+=u;else if(u){var p=ae$2(Xe(u,e,t,n));a=M$1(a,p+l),c+=p;}}if(c){var d=x$1(a>>>0);t.hasNameForId(this.componentId,d)||t.insertRules(this.componentId,d,n(c,".".concat(d),void 0,this.componentId)),o=ie$2(o,d);}}return o},e}(),et$2=React.createContext(void 0);et$2.Consumer;function nt$2(){var e=reactExports.useContext(et$2);if(!e)throw he$1(18);return e}function ot$2(e){var n=React.useContext(et$2),r=reactExports.useMemo(function(){return function(e,n){if(!e)throw he$1(14);if(re$2(e)){var o=e(n);return o}if(Array.isArray(e)||"object"!=typeof e)throw he$1(8);return n?__assign(__assign({},n),e):e}(e.theme,n)},[e.theme,n]);return e.children?React.createElement(et$2.Provider,{value:r},e.children):null}var rt$2={},st$1=new Set;function it$2(e,r,s){var i=se$1(e),a=e,c=!L$1(e),p=r.attrs,d=void 0===p?_$1:p,h=r.componentId,f=void 0===h?function(e,t){var n="string"!=typeof e?"sc":R$1(e);rt$2[n]=(rt$2[n]||0)+1;var o="".concat(n,"-").concat($$1(v$1+n+rt$2[n]));return t?"".concat(t,"-").concat(o):o}(r.displayName,r.parentComponentId):h,m=r.displayName,y=void 0===m?function(e){return L$1(e)?"styled.".concat(e):"Styled(".concat(B$1(e),")")}(e):m,g=r.displayName&&r.componentId?"".concat(R$1(r.displayName),"-").concat(r.componentId):r.componentId||f,S=i&&a.attrs?a.attrs.concat(d).filter(Boolean):d,w=r.shouldForwardProp;if(i&&a.shouldForwardProp){var b=a.shouldForwardProp;if(r.shouldForwardProp){var E=r.shouldForwardProp;w=function(e,t){return b(e,t)&&E(e,t)};}else w=b;}var N=new Qe(s,g,i?a.componentStyle:void 0);function O(e,r){return function(e,r,s){var i=e.attrs,a=e.componentStyle,c=e.defaultProps,p=e.foldedComponentIds,d=e.styledComponentId,h=e.target,f=React.useContext(et$2),m=Ge(),y=e.shouldForwardProp||m.shouldForwardProp;var v=I$1(r,f,c)||C$1,g=function(e,n,o){for(var r,s=__assign(__assign({},n),{className:void 0,theme:o}),i=0;i<e.length;i+=1){var a=re$2(r=e[i])?r(s):r;for(var c in a)s[c]="className"===c?ie$2(s[c],a[c]):"style"===c?__assign(__assign({},s[c]),a[c]):a[c];}return n.className&&(s.className=ie$2(s.className,n.className)),s}(i,r,v),S=g.as||h,w={};for(var b in g)void 0===g[b]||"$"===b[0]||"as"===b||"theme"===b&&g.theme===v||("forwardedAs"===b?w.as=g.forwardedAs:y&&!y(b,S)||(w[b]=g[b],y||"development"!=="production"||isPropValid(b)||st$1.has(b)||!A$1.has(S)||(st$1.add(b),console.warn('styled-components: it looks like an unknown prop "'.concat(b,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var E=function(e,t){var n=Ge(),o=e.generateAndInjectStyles(t,n.styleSheet,n.stylis);return o}(a,g);var N=ie$2(p,d);return E&&(N+=" "+E),g.className&&(N+=" "+g.className),w[L$1(S)&&!A$1.has(S)?"class":"className"]=N,w.ref=s,reactExports.createElement(S,w)}(D,e,r)}O.displayName=y;var D=React.forwardRef(O);return D.attrs=S,D.componentStyle=N,D.displayName=y,D.shouldForwardProp=w,D.foldedComponentIds=i?ie$2(a.foldedComponentIds,a.styledComponentId):"",D.styledComponentId=g,D.target=i?a.target:e,Object.defineProperty(D,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=i?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var o=0,r=t;o<r.length;o++)le$1(e,r[o],!0);return e}({},a.defaultProps,e):e;}}),ue$1(D,function(){return ".".concat(D.styledComponentId)}),c&&oe$2(D,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),D}function at$2(e,t){for(var n=[e[0]],o=0,r=t.length;o<r;o+=1)n.push(t[o],e[o+1]);return n}var ct$1=function(e){return Object.assign(e,{isCss:!0})};function lt$1(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];if(re$2(t)||ce$1(t))return ct$1(Xe(at$2(_$1,__spreadArray([t],n,!0))));var r=t;return 0===n.length&&1===r.length&&"string"==typeof r[0]?Xe(r):ct$1(Xe(at$2(r,n)))}function ut$1(n,o,r){if(void 0===r&&(r=C$1),!o)throw he$1(1,o);var s=function(t){for(var s=[],i=1;i<arguments.length;i++)s[i-1]=arguments[i];return n(o,r,lt$1.apply(void 0,__spreadArray([t],s,!1)))};return s.attrs=function(e){return ut$1(n,o,__assign(__assign({},r),{attrs:Array.prototype.concat(r.attrs,e).filter(Boolean)}))},s.withConfig=function(e){return ut$1(n,o,__assign(__assign({},r),e))},s}var pt$1=function(e){return ut$1(it$2,e)},dt$1=pt$1;A$1.forEach(function(e){dt$1[e]=pt$1(e);});var ht$1=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Ze(e),ke.registerId(this.componentId+1);}return e.prototype.createStyles=function(e,t,n,o){var r=o(ae$2(Xe(this.rules,t,n,o)),""),s=this.componentId+e;n.insertRules(s,s,r);},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e);},e.prototype.renderStyles=function(e,t,n,o){e>2&&ke.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,o);},e}();function ft$1(n){for(var r=[],s=1;s<arguments.length;s++)r[s-1]=arguments[s];var i=lt$1.apply(void 0,__spreadArray([n],r,!1)),a="sc-global-".concat($$1(JSON.stringify(i))),c=new ht$1(i,a);var l=function(e){var t=Ge(),n=React.useContext(et$2),r=React.useRef(t.styleSheet.allocateGSInstance(a)).current;return t.styleSheet.server&&u(r,e,t.styleSheet,n,t.stylis),React.useLayoutEffect(function(){if(!t.styleSheet.server)return u(r,e,t.styleSheet,n,t.stylis),function(){return c.removeStyles(r,t.styleSheet)}},[r,e,t.styleSheet,n,t.stylis]),null};function u(e,n,o,r,s){if(c.isStatic)c.renderStyles(e,b$1,o,s);else {var i=__assign(__assign({},n),{theme:I$1(n,r,l.defaultProps)});c.renderStyles(e,i,o,s);}}return React.memo(l)}function mt$1(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];var r=ae$2(lt$1.apply(void 0,__spreadArray([t],n,!1))),s=$$1(r);return new We(s,r)}
15999
+ var f="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",m="active",y$1="data-styled-version",v$1="6.1.12",g$1="/*!sc*/\n",S$1="undefined"!=typeof window&&"HTMLElement"in window,w$1=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY?"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY:"production"!=="production"),b$1={},_$1=Object.freeze([]),C$1=Object.freeze({});function I$1(e,t,n){return void 0===n&&(n=C$1),e.theme!==n.theme&&e.theme||t||n.theme}var A$1=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),O$1=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,D$1=/(^-|-$)/g;function R$1(e){return e.replace(O$1,"-").replace(D$1,"")}var T$1=/(a)(d)/gi,k$1=52,j$1=function(e){return String.fromCharCode(e+(e>25?39:97))};function x$1(e){var t,n="";for(t=Math.abs(e);t>k$1;t=t/k$1|0)n=j$1(t%k$1)+n;return (j$1(t%k$1)+n).replace(T$1,"$1-$2")}var V$1,F$1=5381,M$1=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},z$1=function(e){return M$1(F$1,e)};function $$1(e){return x$1(z$1(e)>>>0)}function B$1(e){return e.displayName||e.name||"Component"}function L$1(e){return "string"==typeof e&&("production"==="production")}var G$1="function"==typeof Symbol&&Symbol.for,Y$2=G$1?Symbol.for("react.memo"):60115,W$1=G$1?Symbol.for("react.forward_ref"):60112,q$1={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},H$1={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},U$1={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},J$2=((V$1={})[W$1]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},V$1[Y$2]=U$1,V$1);function X$1(e){return ("type"in(t=e)&&t.type.$$typeof)===Y$2?U$1:"$$typeof"in e?J$2[e.$$typeof]:q$1;var t;}var Z$2=Object.defineProperty,K$2=Object.getOwnPropertyNames,Q$1=Object.getOwnPropertySymbols,ee$2=Object.getOwnPropertyDescriptor,te$2=Object.getPrototypeOf,ne$2=Object.prototype;function oe$2(e,t,n){if("string"!=typeof t){if(ne$2){var o=te$2(t);o&&o!==ne$2&&oe$2(e,o,n);}var r=K$2(t);Q$1&&(r=r.concat(Q$1(t)));for(var s=X$1(e),i=X$1(t),a=0;a<r.length;++a){var c=r[a];if(!(c in H$1||n&&n[c]||i&&c in i||s&&c in s)){var l=ee$2(t,c);try{Z$2(e,c,l);}catch(e){}}}}return e}function re$2(e){return "function"==typeof e}function se$1(e){return "object"==typeof e&&"styledComponentId"in e}function ie$2(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function ae$2(e,t){if(0===e.length)return "";for(var n=e[0],o=1;o<e.length;o++)n+=t?t+e[o]:e[o];return n}function ce$2(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function le$1(e,t,n){if(void 0===n&&(n=!1),!n&&!ce$2(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var o=0;o<t.length;o++)e[o]=le$1(e[o],t[o]);else if(ce$2(t))for(var o in t)e[o]=le$1(e[o],t[o]);return e}function ue$1(e,t){Object.defineProperty(e,"toString",{value:t});}function he$1(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(t," for more information.").concat(n.length>0?" Args: ".concat(n.join(", ")):""))}var fe$1=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e;}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,r=o;e>=r;)if((r<<=1)<0)throw he$1(16,"".concat(e));this.groupSizes=new Uint32Array(r),this.groupSizes.set(n),this.length=r;for(var s=o;s<r;s++)this.groupSizes[s]=0;}for(var i=this.indexOfGroup(e+1),a=(s=0,t.length);s<a;s++)this.tag.insertRule(i,t[s])&&(this.groupSizes[e]++,i++);},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),o=n+t;this.groupSizes[e]=0;for(var r=n;r<o;r++)this.tag.deleteRule(n);}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],o=this.indexOfGroup(e),r=o+n,s=o;s<r;s++)t+="".concat(this.tag.getRule(s)).concat(g$1);return t},e}(),ye=new Map,ve=new Map,ge$1=1,Se=function(e){if(ye.has(e))return ye.get(e);for(;ve.has(ge$1);)ge$1++;var t=ge$1++;return ye.set(e,t),ve.set(t,e),t},we=function(e,t){ge$1=t+1,ye.set(e,t),ve.set(t,e);},be="style[".concat(f,"][").concat(y$1,'="').concat(v$1,'"]'),Ee=new RegExp("^".concat(f,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Ne=function(e,t,n){for(var o,r=n.split(","),s=0,i=r.length;s<i;s++)(o=r[s])&&e.registerName(t,o);},Pe=function(e,t){for(var n,o=(null!==(n=t.textContent)&&void 0!==n?n:"").split(g$1),r=[],s=0,i=o.length;s<i;s++){var a=o[s].trim();if(a){var c=a.match(Ee);if(c){var l=0|parseInt(c[1],10),u=c[2];0!==l&&(we(u,l),Ne(e,u,c[3]),e.getTag().insertRules(l,r)),r.length=0;}else r.push(a);}}},_e=function(e){for(var t=document.querySelectorAll(be),n=0,o=t.length;n<o;n++){var r=t[n];r&&r.getAttribute(f)!==m&&(Pe(e,r),r.parentNode&&r.parentNode.removeChild(r));}};function Ce(){return "undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null}var Ie=function(e){var t=document.head,n=e||t,o=document.createElement("style"),r=function(e){var t=Array.from(e.querySelectorAll("style[".concat(f,"]")));return t[t.length-1]}(n),s=void 0!==r?r.nextSibling:null;o.setAttribute(f,m),o.setAttribute(y$1,v$1);var i=Ce();return i&&o.setAttribute("nonce",i),n.insertBefore(o,s),o},Ae=function(){function e(e){this.element=Ie(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,o=t.length;n<o;n++){var r=t[n];if(r.ownerNode===e)return r}throw he$1(17)}(this.element),this.length=0;}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return !1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--;},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),Oe=function(){function e(e){this.element=Ie(e),this.nodes=this.element.childNodes,this.length=0;}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return !1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--;},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),De=function(){function e(e){this.rules=[],this.length=0;}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--;},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),Re=S$1,Te={isServer:!S$1,useCSSOMInjection:!w$1},ke=function(){function e(e,n,o){void 0===e&&(e=C$1),void 0===n&&(n={});var r=this;this.options=__assign(__assign({},Te),e),this.gs=n,this.names=new Map(o),this.server=!!e.isServer,!this.server&&S$1&&Re&&(Re=!1,_e(this)),ue$1(this,function(){return function(e){for(var t=e.getTag(),n=t.length,o="",r=function(n){var r=function(e){return ve.get(e)}(n);if(void 0===r)return "continue";var s=e.names.get(r),i=t.getGroup(n);if(void 0===s||!s.size||0===i.length)return "continue";var a="".concat(f,".g").concat(n,'[id="').concat(r,'"]'),c="";void 0!==s&&s.forEach(function(e){e.length>0&&(c+="".concat(e,","));}),o+="".concat(i).concat(a,'{content:"').concat(c,'"}').concat(g$1);},s=0;s<n;s++)r(s);return o}(r)});}return e.registerId=function(e){return Se(e)},e.prototype.rehydrate=function(){!this.server&&S$1&&_e(this);},e.prototype.reconstructWithOptions=function(n,o){return void 0===o&&(o=!0),new e(__assign(__assign({},this.options),n),this.gs,o&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new De(n):t?new Ae(n):new Oe(n)}(this.options),new fe$1(e)));var e;},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(Se(e),this.names.has(e))this.names.get(e).add(t);else {var n=new Set;n.add(t),this.names.set(e,n);}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(Se(e),n);},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear();},e.prototype.clearRules=function(e){this.getTag().clearGroup(Se(e)),this.clearNames(e);},e.prototype.clearTag=function(){this.tag=void 0;},e}(),je=/&/g,xe=/^\s*\/\/.*$/gm;function Ve(e,t){return e.map(function(e){return "rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map(function(e){return "".concat(t," ").concat(e)})),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=Ve(e.children,t)),e})}function Fe(e){var t,n,o,r=void 0===e?C$1:e,s=r.options,i=void 0===s?C$1:s,a=r.plugins,c=void 0===a?_$1:a,l=function(e,o,r){return r.startsWith(n)&&r.endsWith(n)&&r.replaceAll(n,"").length>0?".".concat(t):e},u=c.slice();u.push(function(e){e.type===RULESET&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(je,n).replace(o,l));}),i.prefix&&u.push(prefixer),u.push(stringify);var p=function(e,r,s,a){void 0===r&&(r=""),void 0===s&&(s=""),void 0===a&&(a="&"),t=a,n=r,o=new RegExp("\\".concat(n,"\\b"),"g");var c=e.replace(xe,""),l=compile(s||r?"".concat(s," ").concat(r," { ").concat(c," }"):c);i.namespace&&(l=Ve(l,i.namespace));var p=[];return serialize(l,middleware(u.concat(rulesheet(function(e){return p.push(e)})))),p};return p.hash=c.length?c.reduce(function(e,t){return t.name||he$1(15),M$1(e,t.name)},F$1).toString():"",p}var Me=new ke,ze=Fe(),$e=React.createContext({shouldForwardProp:void 0,styleSheet:Me,stylis:ze});$e.Consumer;React.createContext(void 0);function Ge(){return reactExports.useContext($e)}var We=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=ze);var o=n.name+t.hash;e.hasNameForId(n.id,o)||e.insertRules(n.id,o,t(n.rules,o,"@keyframes"));},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,ue$1(this,function(){throw he$1(12,String(n.name))});}return e.prototype.getName=function(e){return void 0===e&&(e=ze),this.name+e.hash},e}(),qe=function(e){return e>="A"&&e<="Z"};function He(e){for(var t="",n=0;n<e.length;n++){var o=e[n];if(1===n&&"-"===o&&"-"===e[0])return e;qe(o)?t+="-"+o.toLowerCase():t+=o;}return t.startsWith("ms-")?"-"+t:t}var Ue=function(e){return null==e||!1===e||""===e},Je=function(t){var n,o,r=[];for(var s in t){var i=t[s];t.hasOwnProperty(s)&&!Ue(i)&&(Array.isArray(i)&&i.isCss||re$2(i)?r.push("".concat(He(s),":"),i,";"):ce$2(i)?r.push.apply(r,__spreadArray(__spreadArray(["".concat(s," {")],Je(i),!1),["}"],!1)):r.push("".concat(He(s),": ").concat((n=s,null==(o=i)||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||n in unitlessKeys||n.startsWith("--")?String(o).trim():"".concat(o,"px")),";")));}return r};function Xe(e,t,n,o){if(Ue(e))return [];if(se$1(e))return [".".concat(e.styledComponentId)];if(re$2(e)){if(!re$2(s=e)||s.prototype&&s.prototype.isReactComponent||!t)return [e];var r=e(t);return Xe(r,t,n,o)}var s;return e instanceof We?n?(e.inject(n,o),[e.getName(o)]):[e]:ce$2(e)?Je(e):Array.isArray(e)?Array.prototype.concat.apply(_$1,e.map(function(e){return Xe(e,t,n,o)})):[e.toString()]}function Ze(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(re$2(n)&&!se$1(n))return !1}return !0}var Ke=z$1(v$1),Qe=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&Ze(e),this.componentId=t,this.baseHash=M$1(Ke,t),this.baseStyle=n,ke.registerId(t);}return e.prototype.generateAndInjectStyles=function(e,t,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))o=ie$2(o,this.staticRulesId);else {var r=ae$2(Xe(this.rules,e,t,n)),s=x$1(M$1(this.baseHash,r)>>>0);if(!t.hasNameForId(this.componentId,s)){var i=n(r,".".concat(s),void 0,this.componentId);t.insertRules(this.componentId,s,i);}o=ie$2(o,s),this.staticRulesId=s;}else {for(var a=M$1(this.baseHash,n.hash),c="",l=0;l<this.rules.length;l++){var u=this.rules[l];if("string"==typeof u)c+=u;else if(u){var p=ae$2(Xe(u,e,t,n));a=M$1(a,p+l),c+=p;}}if(c){var d=x$1(a>>>0);t.hasNameForId(this.componentId,d)||t.insertRules(this.componentId,d,n(c,".".concat(d),void 0,this.componentId)),o=ie$2(o,d);}}return o},e}(),et$2=React.createContext(void 0);et$2.Consumer;function nt$2(){var e=reactExports.useContext(et$2);if(!e)throw he$1(18);return e}function ot$2(e){var n=React.useContext(et$2),r=reactExports.useMemo(function(){return function(e,n){if(!e)throw he$1(14);if(re$2(e)){var o=e(n);return o}if(Array.isArray(e)||"object"!=typeof e)throw he$1(8);return n?__assign(__assign({},n),e):e}(e.theme,n)},[e.theme,n]);return e.children?React.createElement(et$2.Provider,{value:r},e.children):null}var rt$2={},st$1=new Set;function it$2(e,r,s){var i=se$1(e),a=e,c=!L$1(e),p=r.attrs,d=void 0===p?_$1:p,h=r.componentId,f=void 0===h?function(e,t){var n="string"!=typeof e?"sc":R$1(e);rt$2[n]=(rt$2[n]||0)+1;var o="".concat(n,"-").concat($$1(v$1+n+rt$2[n]));return t?"".concat(t,"-").concat(o):o}(r.displayName,r.parentComponentId):h,m=r.displayName,y=void 0===m?function(e){return L$1(e)?"styled.".concat(e):"Styled(".concat(B$1(e),")")}(e):m,g=r.displayName&&r.componentId?"".concat(R$1(r.displayName),"-").concat(r.componentId):r.componentId||f,S=i&&a.attrs?a.attrs.concat(d).filter(Boolean):d,w=r.shouldForwardProp;if(i&&a.shouldForwardProp){var b=a.shouldForwardProp;if(r.shouldForwardProp){var E=r.shouldForwardProp;w=function(e,t){return b(e,t)&&E(e,t)};}else w=b;}var N=new Qe(s,g,i?a.componentStyle:void 0);function O(e,r){return function(e,r,s){var i=e.attrs,a=e.componentStyle,c=e.defaultProps,p=e.foldedComponentIds,d=e.styledComponentId,h=e.target,f=React.useContext(et$2),m=Ge(),y=e.shouldForwardProp||m.shouldForwardProp;var v=I$1(r,f,c)||C$1,g=function(e,n,o){for(var r,s=__assign(__assign({},n),{className:void 0,theme:o}),i=0;i<e.length;i+=1){var a=re$2(r=e[i])?r(s):r;for(var c in a)s[c]="className"===c?ie$2(s[c],a[c]):"style"===c?__assign(__assign({},s[c]),a[c]):a[c];}return n.className&&(s.className=ie$2(s.className,n.className)),s}(i,r,v),S=g.as||h,w={};for(var b in g)void 0===g[b]||"$"===b[0]||"as"===b||"theme"===b&&g.theme===v||("forwardedAs"===b?w.as=g.forwardedAs:y&&!y(b,S)||(w[b]=g[b],y||"development"!=="production"||isPropValid(b)||st$1.has(b)||!A$1.has(S)||(st$1.add(b),console.warn('styled-components: it looks like an unknown prop "'.concat(b,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var E=function(e,t){var n=Ge(),o=e.generateAndInjectStyles(t,n.styleSheet,n.stylis);return o}(a,g);var N=ie$2(p,d);return E&&(N+=" "+E),g.className&&(N+=" "+g.className),w[L$1(S)&&!A$1.has(S)?"class":"className"]=N,w.ref=s,reactExports.createElement(S,w)}(D,e,r)}O.displayName=y;var D=React.forwardRef(O);return D.attrs=S,D.componentStyle=N,D.displayName=y,D.shouldForwardProp=w,D.foldedComponentIds=i?ie$2(a.foldedComponentIds,a.styledComponentId):"",D.styledComponentId=g,D.target=i?a.target:e,Object.defineProperty(D,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=i?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var o=0,r=t;o<r.length;o++)le$1(e,r[o],!0);return e}({},a.defaultProps,e):e;}}),ue$1(D,function(){return ".".concat(D.styledComponentId)}),c&&oe$2(D,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),D}function at$2(e,t){for(var n=[e[0]],o=0,r=t.length;o<r;o+=1)n.push(t[o],e[o+1]);return n}var ct$2=function(e){return Object.assign(e,{isCss:!0})};function lt$1(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];if(re$2(t)||ce$2(t))return ct$2(Xe(at$2(_$1,__spreadArray([t],n,!0))));var r=t;return 0===n.length&&1===r.length&&"string"==typeof r[0]?Xe(r):ct$2(Xe(at$2(r,n)))}function ut$1(n,o,r){if(void 0===r&&(r=C$1),!o)throw he$1(1,o);var s=function(t){for(var s=[],i=1;i<arguments.length;i++)s[i-1]=arguments[i];return n(o,r,lt$1.apply(void 0,__spreadArray([t],s,!1)))};return s.attrs=function(e){return ut$1(n,o,__assign(__assign({},r),{attrs:Array.prototype.concat(r.attrs,e).filter(Boolean)}))},s.withConfig=function(e){return ut$1(n,o,__assign(__assign({},r),e))},s}var pt$1=function(e){return ut$1(it$2,e)},dt$1=pt$1;A$1.forEach(function(e){dt$1[e]=pt$1(e);});var ht$1=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Ze(e),ke.registerId(this.componentId+1);}return e.prototype.createStyles=function(e,t,n,o){var r=o(ae$2(Xe(this.rules,t,n,o)),""),s=this.componentId+e;n.insertRules(s,s,r);},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e);},e.prototype.renderStyles=function(e,t,n,o){e>2&&ke.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,o);},e}();function ft$1(n){for(var r=[],s=1;s<arguments.length;s++)r[s-1]=arguments[s];var i=lt$1.apply(void 0,__spreadArray([n],r,!1)),a="sc-global-".concat($$1(JSON.stringify(i))),c=new ht$1(i,a);var l=function(e){var t=Ge(),n=React.useContext(et$2),r=React.useRef(t.styleSheet.allocateGSInstance(a)).current;return t.styleSheet.server&&u(r,e,t.styleSheet,n,t.stylis),React.useLayoutEffect(function(){if(!t.styleSheet.server)return u(r,e,t.styleSheet,n,t.stylis),function(){return c.removeStyles(r,t.styleSheet)}},[r,e,t.styleSheet,n,t.stylis]),null};function u(e,n,o,r,s){if(c.isStatic)c.renderStyles(e,b$1,o,s);else {var i=__assign(__assign({},n),{theme:I$1(n,r,l.defaultProps)});c.renderStyles(e,i,o,s);}}return React.memo(l)}function mt$1(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];var r=ae$2(lt$1.apply(void 0,__spreadArray([t],n,!1))),s=$$1(r);return new We(s,r)}
16000
16000
 
16001
16001
  var reactDom = {exports: {}};
16002
16002
 
@@ -18478,8 +18478,8 @@
18478
18478
  };
18479
18479
  }
18480
18480
  function r3$1() {
18481
- if (sN$1) return sM;
18482
- sN$1 = 1;
18481
+ if (sN) return sM;
18482
+ sN = 1;
18483
18483
  var e = rE$1(), t = rI$1(), r = oI$1 ? oB$1 : (oI$1 = 1, oB$1 = (oA$1 ? oE$1 : (oA$1 = 1, oE$1 = function(e) {
18484
18484
  return function(t, r, n) {
18485
18485
  for(var i = -1, a = Object(t), o = n(t), s = o.length; s--;){
@@ -18528,7 +18528,7 @@
18528
18528
  };
18529
18529
  }
18530
18530
  function r5$1() {
18531
- return sD ? sL$1 : (sD = 1, sL$1 = function(e) {
18531
+ return sD ? sL : (sD = 1, sL = function(e) {
18532
18532
  return e;
18533
18533
  });
18534
18534
  }
@@ -18551,8 +18551,8 @@
18551
18551
  if (sX$1) return sZ$1;
18552
18552
  sX$1 = 1;
18553
18553
  var e = r5$1(), t = function() {
18554
- if (sV$1) return sj;
18555
- sV$1 = 1;
18554
+ if (sV) return sj;
18555
+ sV = 1;
18556
18556
  var e = r6$1(), t = Math.max;
18557
18557
  return sj = function(r, n, i) {
18558
18558
  return n = t(void 0 === n ? r.length - 1 : n, 0), function() {
@@ -18563,17 +18563,17 @@
18563
18563
  };
18564
18564
  };
18565
18565
  }(), r = function() {
18566
- if (sW$1) return sQ$1;
18567
- sW$1 = 1;
18566
+ if (sW) return sQ$1;
18567
+ sW = 1;
18568
18568
  var e = function() {
18569
- if (sK$1) return sz$1;
18569
+ if (sK$1) return sz;
18570
18570
  sK$1 = 1;
18571
- var e = sq$1 ? sF$1 : (sq$1 = 1, sF$1 = function(e) {
18571
+ var e = sq$1 ? sF : (sq$1 = 1, sF = function(e) {
18572
18572
  return function() {
18573
18573
  return e;
18574
18574
  };
18575
18575
  }), t = rA$1(), r = r5$1();
18576
- return sz$1 = t ? function(r, n) {
18576
+ return sz = t ? function(r, n) {
18577
18577
  return t(r, "toString", {
18578
18578
  configurable: !0,
18579
18579
  enumerable: !1,
@@ -30664,11 +30664,11 @@
30664
30664
  }(n);
30665
30665
  }
30666
30666
  function nm$1() {
30667
- if (cr) return ct;
30668
- cr = 1;
30667
+ if (cr$1) return ct$1;
30668
+ cr$1 = 1;
30669
30669
  var e = r2$1(), t = function() {
30670
- if (ce) return s7$1;
30671
- ce = 1;
30670
+ if (ce$1) return s7$1;
30671
+ ce$1 = 1;
30672
30672
  var e = rU$1(), t = s9$1 ? s8$1 : (s9$1 = 1, s8$1 = rD$1()(Object.keys, Object)), r = Object.prototype.hasOwnProperty;
30673
30673
  return s7$1 = function(n) {
30674
30674
  if (!e(n)) return t(n);
@@ -30677,7 +30677,7 @@
30677
30677
  return i;
30678
30678
  };
30679
30679
  }(), r = rK$1();
30680
- return ct = function(n) {
30680
+ return ct$1 = function(n) {
30681
30681
  return r(n) ? e(n) : t(n);
30682
30682
  };
30683
30683
  }
@@ -30781,19 +30781,19 @@
30781
30781
  var e = function() {
30782
30782
  if (c2) return c1;
30783
30783
  c2 = 1;
30784
- var e = rE$1(), t = s6 ? s5$1 : (s6 = 1, s5$1 = function(e, t) {
30784
+ var e = rE$1(), t = s6$1 ? s5$1 : (s6$1 = 1, s5$1 = function(e, t) {
30785
30785
  for(var r = -1, n = null == e ? 0 : e.length; ++r < n && !1 !== t(e[r], r, e););
30786
30786
  return e;
30787
30787
  }), r = rJ$1(), n = function() {
30788
- if (ci) return cn;
30788
+ if (ci) return cn$1;
30789
30789
  ci = 1;
30790
30790
  var e = r0$1(), t = nm$1();
30791
- return cn = function(r, n) {
30791
+ return cn$1 = function(r, n) {
30792
30792
  return r && e(n, t(n), r);
30793
30793
  };
30794
30794
  }(), i = function() {
30795
- if (co) return ca;
30796
- co = 1;
30795
+ if (co$1) return ca;
30796
+ co$1 = 1;
30797
30797
  var e = r0$1(), t = r4$1();
30798
30798
  return ca = function(r, n) {
30799
30799
  return r && e(n, t(n), r);
@@ -33783,7 +33783,7 @@
33783
33783
  }, nS$1;
33784
33784
  }();
33785
33785
  function nB$1() {
33786
- return "0.0.0-beta.20260102-120556";
33786
+ return "0.0.0-beta.20260106-111700";
33787
33787
  }
33788
33788
  function nI$1() {
33789
33789
  return {
@@ -37228,7 +37228,7 @@
37228
37228
  }
37229
37229
  return 1 === n && (r += i2(i << 2)), r;
37230
37230
  }
37231
- var i3, i5, i6$1, i8$1, i9$1, i7$1, ae$1, at$1, ar$1, an$1, ai$1, aa$1, ao$1, as$1, ac$1, al$1, au$1, ad$1, af, ah, ap, am$1, ag$1, ay$1, ab$1, av$1, a_$1, ax$1, aC$1, aw$1, aS$1, ak$1, aE$1, aA$1, aB$1, aI$1, aT$1, aP$1, aR$1, aM$1, aN$1, aL$1, aD$1, aO$1, aU$1, aj$1, aV$1, aF$1, aq, az$1, aK, aH, aG, aQ, aW$1, aZ$1, aX, a$$1, aY, aJ, a0, a1, a2, a4, a3, a5, a6$1, a8, a9, a7, oe$1, ot$1, or$1, on$1, oi$1, oa$1, oo$1, os$1, oc$1, ol$1, ou$1, od$1, of$1, oh$1, op$1, om$1, og$1, oy$1, ob$1, ov$1, o_$1, ox$1, oC$1, ow$1, oS$1, ok$1, oE$1, oA$1, oB$1, oI$1, oT$1, oP$1, oR$1, oM$1, oN$1, oL$1, oD$1, oO$1, oU, oj$1, oV$1, oF$1, oq$1, oz$1, oK$1, oH$1, oG$1, oQ$1, oW$1, oZ$1, oX$1, o$$1, oY$1, oJ$1, o0$1, o1$1, o2$1, o4$1, o3$1, o5$1, o6$1, o8$1, o9$1, o7$1, se, st, sr$1, sn, si, sa, so$1, ss, sc, sl, su, sd$1, sf, sh, sp, sm, sg, sy, sb, sv, s_, sx, sC, sw, sS, sk, sE, sA, sB, sI, sT, sP, sR, sM, sN$1, sL$1, sD, sO, sU$1, sj, sV$1, sF$1, sq$1, sz$1, sK$1, sH$1, sG$1, sQ$1, sW$1, sZ$1, sX$1, s$, sY$1, sJ$1, s0$1, s1$1, s2$1, s4$1, s3$1, s5$1, s6, s8$1, s9$1, s7$1, ce, ct, cr, cn, ci, ca, co, cs, cc, cl, cu, cd, cf, ch, cp, cm, cg, cy, cb, cv, c_, cx, cC, cw, cS, ck, cE, cA, cB, cI, cT, cP, cR, cM, cN, cL, cD, cO, cU, cj, cV, cF, cq, cz, cK, cH, cG, cQ, cW, cZ, cX, c$, cY, cJ, c0, c1, c2, c4, c3, c5, c6, c8, c9, c7, le, lt, lr, ln, li, la, lo, ls, lc, ll, lu, ld, lf, lh, lp, lm, lg, ly, lb, lv, l_, lx, lC, lw, lS, lk, lE, lA, lB, lI, lT, lP, lR, lM, lN, lL, lD, lO, lU, lj, lV, lF, lq, lz, lK, lH, lG, lQ, lW, lZ, lX, l$, lY, lJ, l0, l1, l2, l4, l3, l5, l6, l8, l9, l7, ue, ut, ur, un, ui, ua, uo, us, uc, ul, uu, ud, uf, uh, up, um, ug, uy, ub, uv, u_, ux, uC, uw, uS, uk, uE, uA, uB, uI, uT, uP, uR, uM, uN, uL, uD, uO, uU, uj, uV, uF, uq, uz, uK, uH, uG = {}, uQ = {}, uW = {
37231
+ var i3, i5, i6$1, i8$1, i9$1, i7$1, ae$1, at$1, ar$1, an$1, ai$1, aa$1, ao$1, as$1, ac$1, al$1, au$1, ad$1, af, ah, ap, am$1, ag$1, ay$1, ab$1, av$1, a_$1, ax$1, aC$1, aw$1, aS$1, ak$1, aE$1, aA$1, aB$1, aI$1, aT$1, aP$1, aR$1, aM$1, aN$1, aL$1, aD$1, aO$1, aU$1, aj$1, aV$1, aF$1, aq, az$1, aK, aH, aG, aQ, aW$1, aZ$1, aX, a$$1, aY, aJ, a0, a1, a2, a4, a3, a5, a6$1, a8, a9, a7, oe$1, ot$1, or$1, on$1, oi$1, oa$1, oo$1, os$1, oc$1, ol$1, ou$1, od$1, of$1, oh$1, op$1, om$1, og$1, oy$1, ob$1, ov$1, o_$1, ox$1, oC$1, ow$1, oS$1, ok$1, oE$1, oA$1, oB$1, oI$1, oT$1, oP$1, oR$1, oM$1, oN$1, oL$1, oD$1, oO$1, oU, oj$1, oV$1, oF$1, oq$1, oz$1, oK$1, oH$1, oG$1, oQ$1, oW$1, oZ$1, oX$1, o$$1, oY$1, oJ$1, o0$1, o1$1, o2$1, o4$1, o3$1, o5$1, o6$1, o8$1, o9$1, o7$1, se, st, sr$1, sn, si, sa, so$1, ss, sc, sl, su, sd$1, sf, sh, sp, sm, sg, sy, sb, sv, s_, sx, sC, sw, sS, sk, sE, sA, sB, sI, sT, sP, sR, sM, sN, sL, sD, sO, sU$1, sj, sV, sF, sq$1, sz, sK$1, sH$1, sG$1, sQ$1, sW, sZ$1, sX$1, s$, sY$1, sJ$1, s0$1, s1$1, s2$1, s4$1, s3$1, s5$1, s6$1, s8$1, s9$1, s7$1, ce$1, ct$1, cr$1, cn$1, ci, ca, co$1, cs, cc, cl, cu, cd, cf, ch, cp, cm, cg, cy, cb, cv, c_, cx, cC, cw, cS, ck, cE, cA, cB, cI, cT, cP, cR, cM, cN, cL, cD, cO, cU, cj, cV, cF, cq, cz, cK, cH, cG, cQ, cW, cZ, cX, c$, cY, cJ, c0, c1, c2, c4, c3, c5, c6, c8, c9, c7, le, lt, lr, ln, li, la, lo, ls, lc, ll, lu, ld, lf, lh, lp, lm, lg, ly, lb, lv, l_, lx, lC, lw, lS, lk, lE, lA, lB, lI, lT, lP, lR, lM, lN, lL, lD, lO, lU, lj, lV, lF, lq, lz, lK, lH, lG, lQ, lW, lZ, lX, l$, lY, lJ, l0, l1, l2, l4, l3, l5, l6, l8, l9, l7, ue, ut, ur, un, ui, ua, uo, us, uc, ul, uu, ud, uf, uh, up, um, ug, uy, ub, uv, u_, ux, uC, uw, uS, uk, uE, uA, uB, uI, uT, uP, uR, uM, uN, uL, uD, uO, uU, uj, uV, uF, uq, uz, uK, uH, uG = {}, uQ = {}, uW = {
37232
37232
  exports: {}
37233
37233
  }, uZ = function(e) {
37234
37234
  if (Object.prototype.hasOwnProperty.call(e, "__esModule")) return e;
@@ -41259,49 +41259,53 @@
41259
41259
  }, uz;
41260
41260
  }(), uG);
41261
41261
  }();
41262
- let dm = db, dg = db, dy = d_();
41263
- for(;;)try {
41264
- if (-parseInt(dg(324)) / 1 + parseInt(dg(341)) / 2 * (parseInt(dg(340)) / 3) + -parseInt(dg(329)) / 4 + parseInt(dg(326)) / 5 * (parseInt(dg(342)) / 6) + parseInt(dg(328)) / 7 + parseInt(dg(338)) / 8 + parseInt(dg(322)) / 9 === 596752) break;
41265
- dy.push(dy.shift());
41266
- } catch (e) {
41267
- dy.push(dy.shift());
41268
- }
41269
- function db(e, t) {
41270
- let r = d_();
41271
- return (db = function(e, t) {
41272
- return r[e -= 322];
41262
+ function dm(e, t) {
41263
+ let r = dg();
41264
+ return (dm = function(e, t) {
41265
+ return r[e -= 354];
41273
41266
  })(e, t);
41274
41267
  }
41275
- let dv = dm(327) + "072a8648ce" + dm(336) + dm(323) + dm(332) + dm(337);
41276
- function d_() {
41268
+ function dg() {
41277
41269
  let e = [
41278
- "DepBO8t60S",
41279
- "MFkwEwYHKo",
41280
- "3d02010608",
41281
- "000",
41282
- "58448vUqjdj",
41283
41270
  "ytJdcsPxrD",
41284
- "210066aWnkZL",
41285
- "2ZBqeJn",
41286
- "1669386EuGvQk",
41287
- "7138908pQSFGV",
41271
+ "3325580IJRjfa",
41272
+ "1962rbKEwo",
41273
+ "359892gaKbdX",
41274
+ "DepBO8t60S",
41288
41275
  "2a8648ce3d",
41289
- "791073CPwnMv",
41276
+ "0301070342",
41277
+ "Mjci1ul8mm",
41290
41278
  "KA==",
41291
- "5RrdBRx",
41292
- "3059301306",
41293
- "2667084SBxIXU",
41294
- "567832PhpzhF",
41295
- "ZIzj0CAQYI",
41296
41279
  "KoZIzj0DAQ",
41297
- "0301070342",
41298
- "+faHkP3QC3"
41280
+ "458668Wltqkx",
41281
+ "+faHkP3QC3",
41282
+ "ssRdXLZEX8",
41283
+ "81cVsDSQ",
41284
+ "940nLufso",
41285
+ "2474NuulkO",
41286
+ "000",
41287
+ "9xZGYZu",
41288
+ "MFkwEwYHKo",
41289
+ "35640hpKjQn",
41290
+ "D9EKOWS+U4",
41291
+ "1362880fRAHgM",
41292
+ "44P0rKKsZK",
41293
+ "3d02010608",
41294
+ "ZIzj0CAQYI",
41295
+ "072a8648ce"
41299
41296
  ];
41300
- return (d_ = function() {
41297
+ return (dg = function() {
41301
41298
  return e;
41302
41299
  })();
41303
41300
  }
41304
- let dx = dm(335) + dm(330) + dm(331) + "cDQgAE9h6Z" + dm(334) + dm(339) + dm(333) + "44P0rKKsZKMjci1ul8mmD9EKOWS+U4MfPrcYTM70ssRdXLZEX8" + dm(325);
41301
+ let dy = dm, db = dm, dv = dg();
41302
+ for(;;)try {
41303
+ if (parseInt(db(376)) / 1 + parseInt(db(372)) / 2 * (parseInt(db(370)) / 3) + parseInt(db(360)) / 4 + parseInt(db(371)) / 5 * (parseInt(db(359)) / 6) + parseInt(db(367)) / 7 + parseInt(db(378)) / 8 + -parseInt(db(374)) / 9 * (parseInt(db(358)) / 10) === 123814) break;
41304
+ dv.push(dv.shift());
41305
+ } catch (e) {
41306
+ dv.push(dv.shift());
41307
+ }
41308
+ let d_ = "3059301306" + dy(356) + dy(354) + dy(362) + dy(363) + dy(373), dx = dy(375) + dy(355) + dy(366) + "cDQgAE9h6Z" + dy(361) + dy(357) + dy(368) + dy(379) + dy(364) + dy(377) + "MfPrcYTM70" + dy(369) + dy(365);
41305
41309
  async function dC(e) {
41306
41310
  let t = new TextEncoder().encode(e);
41307
41311
  return Array.from(new Uint8Array(await crypto.subtle.digest("SHA-256", t))).map((e)=>e.toString(16).padStart(2, "0")).join("");
@@ -41406,7 +41410,7 @@
41406
41410
  isValid: !1,
41407
41411
  error: i0$1.invalid_license
41408
41412
  };
41409
- let { mode: a, license: o, signature: s } = dS(e), c = dw(i4$1(o)), l = (r = t || dx, n = i4$1(r).replace(dv, ""), i = new dp.ec("p256").keyFromPublic(n, "hex"), {
41413
+ let { mode: a, license: o, signature: s } = dS(e), c = dw(i4$1(o)), l = (r = t || dx, n = i4$1(r).replace(d_, ""), i = new dp.ec("p256").keyFromPublic(n, "hex"), {
41410
41414
  verifySignature: async (e, t)=>{
41411
41415
  try {
41412
41416
  let r = await dC(e), n = i4$1(t);
@@ -45320,7 +45324,7 @@
45320
45324
  return this.getKey().getPublicKey();
45321
45325
  }, e.prototype.getPublicKeyB64 = function() {
45322
45326
  return this.getKey().getPublicBaseKeyB64();
45323
- }, e.version = "5.34.0", e;
45327
+ }, e.version = "5.34.1", e;
45324
45328
  }();
45325
45329
  let hO = [
45326
45330
  "-",
@@ -53103,7 +53107,7 @@
53103
53107
  });
53104
53108
  };
53105
53109
 
53106
- var Z, K, Y, J, ee, et, er, eo, en, ei, ea, es, ec, el, ed, eu, ep, ef, eh, em, eg, eb, ev, ew, ek, ey, eC, eB, e_, ex, eP, eS, eE, eT, eD, e$, ej, eI, eO, eM, eA, eR, eL, eF, eN, ez, eV, eW, eU, eq, eQ, eX, eH, eG, eZ, eK, eY, eJ, e3, e2, e5, e0, e1, e8, e9, e4, e7, e6, te, tt, tr, to, tn, ti, ta, ts, tc, tl, td, tu, tp, tf, th, tm, tg, tb, tv, tw, tk, ty, tC, tB, t_, tx, tP, tS, tE, tT, tD, t$, tj, tI, tO, tM, tA, tR, tL, tF, tN, tz, tV, tW, tU, tq, tQ, tX, tH, tG, tZ, tK, tY, tJ, t3, t2, t5, t0, t1, t8, t9, t4, t7, t6, re, rt, rr, ro, rn, ri, ra, rs, rc, rl, rd, ru, rp, rf, rh, rm, rg, rb, rv, rw, rk, ry, rC, rB, r_, rx, rP, rS, rE, rT, rD, r$, rj, rI, rO, rM, rA, rR, rL, rF, rN, rz, rV, rW, rU, rq, rQ, rX, rH, rG, rZ, rK, rY, rJ, r3, r2, r5, r0, r1, r8, r9, r4, r7, r6, oe, ot, or, oo, on, oi, oa, os, oc, ol, od, ou, op, of, oh, om, og, ob, ov, ow, ok, oy, oC, oB, o_, ox, oP, oS, oE, oT, oD, o$, oj, oI, oO, oM, oA, oR, oL, oF, oN, oz, oV, oW, oq, oQ = "undefined" != typeof globalThis ? globalThis : "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof self ? self : {};
53110
+ var Z, K, Y, J, ee, et, er, eo, en, ei, ea, es, ec, el, ed, eu, ef, ep, eh, em, eg, eb, ev, ew, ek, ey, eC, eB, e_, ex, eP, eS, eE, eT, eD, e$, ej, eI, eO, eM, eA, eR, eL, eF, eN, ez, eV, eW, eU, eq, eQ, eX, eH, eG, eZ, eK, eY, eJ, e3, e2, e5, e0, e1, e8, e9, e4, e7, e6, te, tt, tr, to, tn, ti, ta, ts, tc, tl, td, tu, tf, tp, th, tm, tg, tb, tv, tw, tk, ty, tC, tB, t_, tx, tP, tS, tE, tT, tD, t$, tj, tI, tO, tM, tA, tR, tL, tF, tN, tz, tV, tW, tU, tq, tQ, tX, tH, tG, tZ, tK, tY, tJ, t3, t2, t5, t0, t1, t8, t9, t4, t7, t6, re, rt, rr, ro, rn, ri, ra, rs, rc, rl, rd, ru, rf, rp, rh, rm, rg, rb, rv, rw, rk, ry, rC, rB, r_, rx, rP, rS, rE, rT, rD, r$, rj, rI, rO, rM, rA, rR, rL, rF, rN, rz, rV, rW, rU, rq, rQ, rX, rH, rG, rZ, rK, rY, rJ, r3, r2, r5, r0, r1, r8, r9, r4, r7, r6, oe, ot, or, oo, on, oi, oa, os, oc, ol, od, ou, of, op, oh, om, og, ob, ov, ow, ok, oy, oC, oB, o_, ox, oP, oS, oE, oT, oD, o$, oj, oI, oO, oM, oA, oR, oL, oF, oN, oz, oV, oW, oq, oQ = "undefined" != typeof globalThis ? globalThis : "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof self ? self : {};
53107
53111
  function oX(t) {
53108
53112
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
53109
53113
  }
@@ -53182,7 +53186,7 @@
53182
53186
  };
53183
53187
  }
53184
53188
  function o5() {
53185
- return ef ? ep : (ef = 1, ep = function(t) {
53189
+ return ep ? ef : (ep = 1, ef = function(t) {
53186
53190
  return null != t && "object" == typeof t;
53187
53191
  });
53188
53192
  }
@@ -53414,10 +53418,10 @@
53414
53418
  return t(this, r).get(r);
53415
53419
  };
53416
53420
  }(), n = function() {
53417
- if (tf) return tp;
53418
- tf = 1;
53421
+ if (tp) return tf;
53422
+ tp = 1;
53419
53423
  var t = nr();
53420
- return tp = function(r) {
53424
+ return tf = function(r) {
53421
53425
  return t(this, r).has(r);
53422
53426
  };
53423
53427
  }(), i = function() {
@@ -53560,16 +53564,16 @@
53560
53564
  function nc(t, r) {
53561
53565
  return t.replace(RegExp("(^|\\s)" + r + "(?:\\s|$)", "g"), "$1").replace(/\s+/g, " ").replace(/^\s*|\s*$/g, "");
53562
53566
  }
53563
- var nl = !1, nd = /*#__PURE__*/ React.createContext(null), nu = "unmounted", np = "exited", nf = "entering", nh = "entered", nm = "exiting", ng = function(r) {
53567
+ var nl = !1, nd = /*#__PURE__*/ React.createContext(null), nu = "unmounted", nf = "exited", np = "entering", nh = "entered", nm = "exiting", ng = function(r) {
53564
53568
  function o(t, o) {
53565
53569
  var n, i = r.call(this, t, o) || this, a = o && !o.isMounting ? t.enter : t.appear;
53566
- return i.appearStatus = null, t.in ? a ? (n = np, i.appearStatus = nf) : n = nh : n = t.unmountOnExit || t.mountOnEnter ? nu : np, i.state = {
53570
+ return i.appearStatus = null, t.in ? a ? (n = nf, i.appearStatus = np) : n = nh : n = t.unmountOnExit || t.mountOnEnter ? nu : nf, i.state = {
53567
53571
  status: n
53568
53572
  }, i.nextCallback = null, i;
53569
53573
  }
53570
53574
  ns(o, r), o.getDerivedStateFromProps = function(t, r) {
53571
53575
  return t.in && r.status === nu ? {
53572
- status: np
53576
+ status: nf
53573
53577
  } : null;
53574
53578
  };
53575
53579
  var n = o.prototype;
@@ -53579,7 +53583,7 @@
53579
53583
  var r = null;
53580
53584
  if (t !== this.props) {
53581
53585
  var o = this.state.status;
53582
- this.props.in ? o !== nf && o !== nh && (r = nf) : (o === nf || o === nh) && (r = nm);
53586
+ this.props.in ? o !== np && o !== nh && (r = np) : (o === np || o === nh) && (r = nm);
53583
53587
  }
53584
53588
  this.updateStatus(!1, r);
53585
53589
  }, n.componentWillUnmount = function() {
@@ -53592,7 +53596,7 @@
53592
53596
  appear: o
53593
53597
  };
53594
53598
  }, n.updateStatus = function(t, r) {
53595
- void 0 === t && (t = !1), null !== r ? (this.cancelNextCallback(), r === nf ? this.performEnter(t) : this.performExit()) : this.props.unmountOnExit && this.state.status === np && this.setState({
53599
+ void 0 === t && (t = !1), null !== r ? (this.cancelNextCallback(), r === np ? this.performEnter(t) : this.performExit()) : this.props.unmountOnExit && this.state.status === nf && this.setState({
53596
53600
  status: nu
53597
53601
  });
53598
53602
  }, n.performEnter = function(t) {
@@ -53603,7 +53607,7 @@
53603
53607
  n
53604
53608
  ], a = i[0], s = i[1], c = this.getTimeouts(), l = n ? c.appear : c.enter;
53605
53609
  (t || o) && !nl ? (this.props.onEnter(a, s), this.safeSetState({
53606
- status: nf
53610
+ status: np
53607
53611
  }, function() {
53608
53612
  r.props.onEntering(a, s), r.onTransitionEnd(l, function() {
53609
53613
  r.safeSetState({
@@ -53620,7 +53624,7 @@
53620
53624
  }, n.performExit = function() {
53621
53625
  var t = this, r = this.props.exit, o = this.getTimeouts(), n = this.props.nodeRef ? void 0 : ReactDOM.findDOMNode(this);
53622
53626
  !r || nl ? this.safeSetState({
53623
- status: np
53627
+ status: nf
53624
53628
  }, function() {
53625
53629
  t.props.onExited(n);
53626
53630
  }) : (this.props.onExit(n), this.safeSetState({
@@ -53628,7 +53632,7 @@
53628
53632
  }, function() {
53629
53633
  t.props.onExiting(n), t.onTransitionEnd(o.exit, function() {
53630
53634
  t.safeSetState({
53631
- status: np
53635
+ status: nf
53632
53636
  }, function() {
53633
53637
  t.props.onExited(n);
53634
53638
  });
@@ -53701,7 +53705,7 @@
53701
53705
  onExit: nb,
53702
53706
  onExiting: nb,
53703
53707
  onExited: nb
53704
- }, ng.UNMOUNTED = nu, ng.EXITED = np, ng.ENTERING = nf, ng.ENTERED = nh, ng.EXITING = nm;
53708
+ }, ng.UNMOUNTED = nu, ng.EXITED = nf, ng.ENTERING = np, ng.ENTERED = nh, ng.EXITING = nm;
53705
53709
  var nv = function(t, r) {
53706
53710
  return t && r && r.split(" ").forEach(function(r) {
53707
53711
  var o, n;
@@ -53796,7 +53800,7 @@
53796
53800
  return /*#__PURE__*/ React.cloneElement(o, {
53797
53801
  in: !1,
53798
53802
  onExited: nC(o, "onExited", function() {
53799
- n(nf, null);
53803
+ n(np, null);
53800
53804
  })
53801
53805
  });
53802
53806
  }, tL[ny] = function(r) {
@@ -53806,7 +53810,7 @@
53806
53810
  /*#__PURE__*/ React.cloneElement(i, {
53807
53811
  in: !0,
53808
53812
  onEntered: nC(i, "onEntered", function() {
53809
- n(nf);
53813
+ n(np);
53810
53814
  })
53811
53815
  })
53812
53816
  ];
@@ -53859,8 +53863,8 @@
53859
53863
  if (null == r.children) return {
53860
53864
  current: null
53861
53865
  };
53862
- if (o.status === nf && r.mode === ny) return {
53863
- status: nf
53866
+ if (o.status === np && r.mode === ny) return {
53867
+ status: np
53864
53868
  };
53865
53869
  return o.current && (n = o.current, !(n === (i = r.children) || /*#__PURE__*/ React.isValidElement(n) && /*#__PURE__*/ React.isValidElement(i) && null != n.key && n.key === i.key) && 1) ? {
53866
53870
  status: nm
@@ -53877,7 +53881,7 @@
53877
53881
  status: s
53878
53882
  };
53879
53883
  switch(s){
53880
- case nf:
53884
+ case np:
53881
53885
  r = n_[i](l);
53882
53886
  break;
53883
53887
  case nm:
@@ -53907,7 +53911,7 @@
53907
53911
  var t, r;
53908
53912
  if (tN) return nS.exports;
53909
53913
  return tN = 1, t = nS, r = nS.exports, function(o, n) {
53910
- var i = "function", a = "undefined", s = "object", c = "string", l = "major", d = "model", u = "name", p = "type", f = "vendor", h = "version", m = "architecture", g = "console", b = "mobile", v = "tablet", w = "smarttv", k = "wearable", y = "embedded", C = "Amazon", B = "Apple", _ = "ASUS", x = "BlackBerry", P = "Browser", S = "Chrome", E = "Firefox", T = "Google", D = "Huawei", $ = "Microsoft", j = "Motorola", I = "Opera", O = "Samsung", M = "Sharp", A = "Sony", R = "Xiaomi", L = "Zebra", F = "Facebook", N = "Chromium OS", z = "Mac OS", V = function(t, r) {
53914
+ var i = "function", a = "undefined", s = "object", c = "string", l = "major", d = "model", u = "name", f = "type", p = "vendor", h = "version", m = "architecture", g = "console", b = "mobile", v = "tablet", w = "smarttv", k = "wearable", y = "embedded", C = "Amazon", B = "Apple", _ = "ASUS", x = "BlackBerry", P = "Browser", S = "Chrome", E = "Firefox", T = "Google", D = "Huawei", $ = "Microsoft", j = "Motorola", I = "Opera", O = "Samsung", M = "Sharp", A = "Sony", R = "Xiaomi", L = "Zebra", F = "Facebook", N = "Chromium OS", z = "Mac OS", V = function(t, r) {
53911
53915
  var o = {};
53912
53916
  for(var n in t)r[n] && r[n].length % 2 == 0 ? o[n] = r[n].concat(t[n]) : o[n] = t[n];
53913
53917
  return o;
@@ -53922,9 +53926,9 @@
53922
53926
  if (typeof t === c) return t = t.replace(/^\s\s*/, ""), typeof r === a ? t : t.substring(0, 500);
53923
53927
  }, X = function(t, r) {
53924
53928
  for(var o, n, a, c, l, d, u = 0; u < r.length && !l;){
53925
- var p = r[u], f = r[u + 1];
53926
- for(o = n = 0; o < p.length && !l && p[o];){
53927
- if (l = p[o++].exec(t)) for(a = 0; a < f.length; a++)d = l[++n], typeof (c = f[a]) === s && c.length > 0 ? 2 === c.length ? typeof c[1] == i ? this[c[0]] = c[1].call(this, d) : this[c[0]] = c[1] : 3 === c.length ? typeof c[1] !== i || c[1].exec && c[1].test ? this[c[0]] = d ? d.replace(c[1], c[2]) : void 0 : this[c[0]] = d ? c[1].call(this, d, c[2]) : void 0 : 4 === c.length && (this[c[0]] = d ? c[3].call(this, d.replace(c[1], c[2])) : void 0) : this[c] = d || void 0;
53929
+ var f = r[u], p = r[u + 1];
53930
+ for(o = n = 0; o < f.length && !l && f[o];){
53931
+ if (l = f[o++].exec(t)) for(a = 0; a < p.length; a++)d = l[++n], typeof (c = p[a]) === s && c.length > 0 ? 2 === c.length ? typeof c[1] == i ? this[c[0]] = c[1].call(this, d) : this[c[0]] = c[1] : 3 === c.length ? typeof c[1] !== i || c[1].exec && c[1].test ? this[c[0]] = d ? d.replace(c[1], c[2]) : void 0 : this[c[0]] = d ? c[1].call(this, d, c[2]) : void 0 : 4 === c.length && (this[c[0]] = d ? c[3].call(this, d.replace(c[1], c[2])) : void 0) : this[c] = d || void 0;
53928
53932
  }
53929
53933
  u += 2;
53930
53934
  }
@@ -54508,11 +54512,11 @@
54508
54512
  [
54509
54513
  d,
54510
54514
  [
54511
- f,
54515
+ p,
54512
54516
  O
54513
54517
  ],
54514
54518
  [
54515
- p,
54519
+ f,
54516
54520
  v
54517
54521
  ]
54518
54522
  ],
@@ -54524,11 +54528,11 @@
54524
54528
  [
54525
54529
  d,
54526
54530
  [
54527
- f,
54531
+ p,
54528
54532
  O
54529
54533
  ],
54530
54534
  [
54531
- p,
54535
+ f,
54532
54536
  b
54533
54537
  ]
54534
54538
  ],
@@ -54538,11 +54542,11 @@
54538
54542
  [
54539
54543
  d,
54540
54544
  [
54541
- f,
54545
+ p,
54542
54546
  B
54543
54547
  ],
54544
54548
  [
54545
- p,
54549
+ f,
54546
54550
  b
54547
54551
  ]
54548
54552
  ],
@@ -54554,11 +54558,11 @@
54554
54558
  [
54555
54559
  d,
54556
54560
  [
54557
- f,
54561
+ p,
54558
54562
  B
54559
54563
  ],
54560
54564
  [
54561
- p,
54565
+ f,
54562
54566
  v
54563
54567
  ]
54564
54568
  ],
@@ -54568,7 +54572,7 @@
54568
54572
  [
54569
54573
  d,
54570
54574
  [
54571
- f,
54575
+ p,
54572
54576
  B
54573
54577
  ]
54574
54578
  ],
@@ -54578,11 +54582,11 @@
54578
54582
  [
54579
54583
  d,
54580
54584
  [
54581
- f,
54585
+ p,
54582
54586
  M
54583
54587
  ],
54584
54588
  [
54585
- p,
54589
+ f,
54586
54590
  b
54587
54591
  ]
54588
54592
  ],
@@ -54592,11 +54596,11 @@
54592
54596
  [
54593
54597
  d,
54594
54598
  [
54595
- f,
54599
+ p,
54596
54600
  D
54597
54601
  ],
54598
54602
  [
54599
- p,
54603
+ f,
54600
54604
  v
54601
54605
  ]
54602
54606
  ],
@@ -54607,11 +54611,11 @@
54607
54611
  [
54608
54612
  d,
54609
54613
  [
54610
- f,
54614
+ p,
54611
54615
  D
54612
54616
  ],
54613
54617
  [
54614
- p,
54618
+ f,
54615
54619
  b
54616
54620
  ]
54617
54621
  ],
@@ -54630,11 +54634,11 @@
54630
54634
  " "
54631
54635
  ],
54632
54636
  [
54633
- f,
54637
+ p,
54634
54638
  R
54635
54639
  ],
54636
54640
  [
54637
- p,
54641
+ f,
54638
54642
  b
54639
54643
  ]
54640
54644
  ],
@@ -54649,11 +54653,11 @@
54649
54653
  " "
54650
54654
  ],
54651
54655
  [
54652
- f,
54656
+ p,
54653
54657
  R
54654
54658
  ],
54655
54659
  [
54656
- p,
54660
+ f,
54657
54661
  v
54658
54662
  ]
54659
54663
  ],
@@ -54664,11 +54668,11 @@
54664
54668
  [
54665
54669
  d,
54666
54670
  [
54667
- f,
54671
+ p,
54668
54672
  "OPPO"
54669
54673
  ],
54670
54674
  [
54671
- p,
54675
+ f,
54672
54676
  b
54673
54677
  ]
54674
54678
  ],
@@ -54679,11 +54683,11 @@
54679
54683
  [
54680
54684
  d,
54681
54685
  [
54682
- f,
54686
+ p,
54683
54687
  "Vivo"
54684
54688
  ],
54685
54689
  [
54686
- p,
54690
+ f,
54687
54691
  b
54688
54692
  ]
54689
54693
  ],
@@ -54693,11 +54697,11 @@
54693
54697
  [
54694
54698
  d,
54695
54699
  [
54696
- f,
54700
+ p,
54697
54701
  "Realme"
54698
54702
  ],
54699
54703
  [
54700
- p,
54704
+ f,
54701
54705
  b
54702
54706
  ]
54703
54707
  ],
@@ -54709,11 +54713,11 @@
54709
54713
  [
54710
54714
  d,
54711
54715
  [
54712
- f,
54716
+ p,
54713
54717
  j
54714
54718
  ],
54715
54719
  [
54716
- p,
54720
+ f,
54717
54721
  b
54718
54722
  ]
54719
54723
  ],
@@ -54723,11 +54727,11 @@
54723
54727
  [
54724
54728
  d,
54725
54729
  [
54726
- f,
54730
+ p,
54727
54731
  j
54728
54732
  ],
54729
54733
  [
54730
- p,
54734
+ f,
54731
54735
  v
54732
54736
  ]
54733
54737
  ],
@@ -54737,11 +54741,11 @@
54737
54741
  [
54738
54742
  d,
54739
54743
  [
54740
- f,
54744
+ p,
54741
54745
  "LG"
54742
54746
  ],
54743
54747
  [
54744
- p,
54748
+ f,
54745
54749
  v
54746
54750
  ]
54747
54751
  ],
@@ -54753,11 +54757,11 @@
54753
54757
  [
54754
54758
  d,
54755
54759
  [
54756
- f,
54760
+ p,
54757
54761
  "LG"
54758
54762
  ],
54759
54763
  [
54760
- p,
54764
+ f,
54761
54765
  b
54762
54766
  ]
54763
54767
  ],
@@ -54768,11 +54772,11 @@
54768
54772
  [
54769
54773
  d,
54770
54774
  [
54771
- f,
54775
+ p,
54772
54776
  "Lenovo"
54773
54777
  ],
54774
54778
  [
54775
- p,
54779
+ f,
54776
54780
  v
54777
54781
  ]
54778
54782
  ],
@@ -54787,11 +54791,11 @@
54787
54791
  " "
54788
54792
  ],
54789
54793
  [
54790
- f,
54794
+ p,
54791
54795
  "Nokia"
54792
54796
  ],
54793
54797
  [
54794
- p,
54798
+ f,
54795
54799
  b
54796
54800
  ]
54797
54801
  ],
@@ -54801,11 +54805,11 @@
54801
54805
  [
54802
54806
  d,
54803
54807
  [
54804
- f,
54808
+ p,
54805
54809
  T
54806
54810
  ],
54807
54811
  [
54808
- p,
54812
+ f,
54809
54813
  v
54810
54814
  ]
54811
54815
  ],
@@ -54815,11 +54819,11 @@
54815
54819
  [
54816
54820
  d,
54817
54821
  [
54818
- f,
54822
+ p,
54819
54823
  T
54820
54824
  ],
54821
54825
  [
54822
- p,
54826
+ f,
54823
54827
  b
54824
54828
  ]
54825
54829
  ],
@@ -54829,11 +54833,11 @@
54829
54833
  [
54830
54834
  d,
54831
54835
  [
54832
- f,
54836
+ p,
54833
54837
  A
54834
54838
  ],
54835
54839
  [
54836
- p,
54840
+ f,
54837
54841
  b
54838
54842
  ]
54839
54843
  ],
@@ -54847,11 +54851,11 @@
54847
54851
  "Xperia Tablet"
54848
54852
  ],
54849
54853
  [
54850
- f,
54854
+ p,
54851
54855
  A
54852
54856
  ],
54853
54857
  [
54854
- p,
54858
+ f,
54855
54859
  v
54856
54860
  ]
54857
54861
  ],
@@ -54862,11 +54866,11 @@
54862
54866
  [
54863
54867
  d,
54864
54868
  [
54865
- f,
54869
+ p,
54866
54870
  "OnePlus"
54867
54871
  ],
54868
54872
  [
54869
- p,
54873
+ f,
54870
54874
  b
54871
54875
  ]
54872
54876
  ],
@@ -54878,11 +54882,11 @@
54878
54882
  [
54879
54883
  d,
54880
54884
  [
54881
- f,
54885
+ p,
54882
54886
  C
54883
54887
  ],
54884
54888
  [
54885
- p,
54889
+ f,
54886
54890
  v
54887
54891
  ]
54888
54892
  ],
@@ -54896,11 +54900,11 @@
54896
54900
  "Fire Phone $1"
54897
54901
  ],
54898
54902
  [
54899
- f,
54903
+ p,
54900
54904
  C
54901
54905
  ],
54902
54906
  [
54903
- p,
54907
+ f,
54904
54908
  b
54905
54909
  ]
54906
54910
  ],
@@ -54909,9 +54913,9 @@
54909
54913
  ],
54910
54914
  [
54911
54915
  d,
54912
- f,
54916
+ p,
54913
54917
  [
54914
- p,
54918
+ f,
54915
54919
  v
54916
54920
  ]
54917
54921
  ],
@@ -54922,11 +54926,11 @@
54922
54926
  [
54923
54927
  d,
54924
54928
  [
54925
- f,
54929
+ p,
54926
54930
  x
54927
54931
  ],
54928
54932
  [
54929
- p,
54933
+ f,
54930
54934
  b
54931
54935
  ]
54932
54936
  ],
@@ -54936,11 +54940,11 @@
54936
54940
  [
54937
54941
  d,
54938
54942
  [
54939
- f,
54943
+ p,
54940
54944
  _
54941
54945
  ],
54942
54946
  [
54943
- p,
54947
+ f,
54944
54948
  v
54945
54949
  ]
54946
54950
  ],
@@ -54950,11 +54954,11 @@
54950
54954
  [
54951
54955
  d,
54952
54956
  [
54953
- f,
54957
+ p,
54954
54958
  _
54955
54959
  ],
54956
54960
  [
54957
- p,
54961
+ f,
54958
54962
  b
54959
54963
  ]
54960
54964
  ],
@@ -54964,11 +54968,11 @@
54964
54968
  [
54965
54969
  d,
54966
54970
  [
54967
- f,
54971
+ p,
54968
54972
  "HTC"
54969
54973
  ],
54970
54974
  [
54971
- p,
54975
+ f,
54972
54976
  v
54973
54977
  ]
54974
54978
  ],
@@ -54978,14 +54982,14 @@
54978
54982
  /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i
54979
54983
  ],
54980
54984
  [
54981
- f,
54985
+ p,
54982
54986
  [
54983
54987
  d,
54984
54988
  /_/g,
54985
54989
  " "
54986
54990
  ],
54987
54991
  [
54988
- p,
54992
+ f,
54989
54993
  b
54990
54994
  ]
54991
54995
  ],
@@ -54995,11 +54999,11 @@
54995
54999
  [
54996
55000
  d,
54997
55001
  [
54998
- f,
55002
+ p,
54999
55003
  "Acer"
55000
55004
  ],
55001
55005
  [
55002
- p,
55006
+ f,
55003
55007
  v
55004
55008
  ]
55005
55009
  ],
@@ -55010,11 +55014,11 @@
55010
55014
  [
55011
55015
  d,
55012
55016
  [
55013
- f,
55017
+ p,
55014
55018
  "Meizu"
55015
55019
  ],
55016
55020
  [
55017
- p,
55021
+ f,
55018
55022
  b
55019
55023
  ]
55020
55024
  ],
@@ -55024,11 +55028,11 @@
55024
55028
  [
55025
55029
  d,
55026
55030
  [
55027
- f,
55031
+ p,
55028
55032
  "Ulefone"
55029
55033
  ],
55030
55034
  [
55031
- p,
55035
+ f,
55032
55036
  b
55033
55037
  ]
55034
55038
  ],
@@ -55042,10 +55046,10 @@
55042
55046
  /(oppo) ?([\w ]+) bui/i
55043
55047
  ],
55044
55048
  [
55045
- f,
55049
+ p,
55046
55050
  d,
55047
55051
  [
55048
- p,
55052
+ f,
55049
55053
  b
55050
55054
  ]
55051
55055
  ],
@@ -55062,10 +55066,10 @@
55062
55066
  /(vodafone) ([\w ]+)(?:\)| bui)/i
55063
55067
  ],
55064
55068
  [
55065
- f,
55069
+ p,
55066
55070
  d,
55067
55071
  [
55068
- p,
55072
+ f,
55069
55073
  v
55070
55074
  ]
55071
55075
  ],
@@ -55075,11 +55079,11 @@
55075
55079
  [
55076
55080
  d,
55077
55081
  [
55078
- f,
55082
+ p,
55079
55083
  $
55080
55084
  ],
55081
55085
  [
55082
- p,
55086
+ f,
55083
55087
  v
55084
55088
  ]
55085
55089
  ],
@@ -55089,11 +55093,11 @@
55089
55093
  [
55090
55094
  d,
55091
55095
  [
55092
- f,
55096
+ p,
55093
55097
  "Fairphone"
55094
55098
  ],
55095
55099
  [
55096
- p,
55100
+ f,
55097
55101
  b
55098
55102
  ]
55099
55103
  ],
@@ -55103,11 +55107,11 @@
55103
55107
  [
55104
55108
  d,
55105
55109
  [
55106
- f,
55110
+ p,
55107
55111
  "AT&T"
55108
55112
  ],
55109
55113
  [
55110
- p,
55114
+ f,
55111
55115
  b
55112
55116
  ]
55113
55117
  ],
@@ -55117,11 +55121,11 @@
55117
55121
  [
55118
55122
  d,
55119
55123
  [
55120
- f,
55124
+ p,
55121
55125
  "Siemens"
55122
55126
  ],
55123
55127
  [
55124
- p,
55128
+ f,
55125
55129
  b
55126
55130
  ]
55127
55131
  ],
@@ -55131,11 +55135,11 @@
55131
55135
  [
55132
55136
  d,
55133
55137
  [
55134
- f,
55138
+ p,
55135
55139
  "RCA"
55136
55140
  ],
55137
55141
  [
55138
- p,
55142
+ f,
55139
55143
  v
55140
55144
  ]
55141
55145
  ],
@@ -55145,11 +55149,11 @@
55145
55149
  [
55146
55150
  d,
55147
55151
  [
55148
- f,
55152
+ p,
55149
55153
  "Dell"
55150
55154
  ],
55151
55155
  [
55152
- p,
55156
+ f,
55153
55157
  v
55154
55158
  ]
55155
55159
  ],
@@ -55159,11 +55163,11 @@
55159
55163
  [
55160
55164
  d,
55161
55165
  [
55162
- f,
55166
+ p,
55163
55167
  "Verizon"
55164
55168
  ],
55165
55169
  [
55166
- p,
55170
+ f,
55167
55171
  v
55168
55172
  ]
55169
55173
  ],
@@ -55173,11 +55177,11 @@
55173
55177
  [
55174
55178
  d,
55175
55179
  [
55176
- f,
55180
+ p,
55177
55181
  "Barnes & Noble"
55178
55182
  ],
55179
55183
  [
55180
- p,
55184
+ f,
55181
55185
  v
55182
55186
  ]
55183
55187
  ],
@@ -55187,11 +55191,11 @@
55187
55191
  [
55188
55192
  d,
55189
55193
  [
55190
- f,
55194
+ p,
55191
55195
  "NuVision"
55192
55196
  ],
55193
55197
  [
55194
- p,
55198
+ f,
55195
55199
  v
55196
55200
  ]
55197
55201
  ],
@@ -55201,11 +55205,11 @@
55201
55205
  [
55202
55206
  d,
55203
55207
  [
55204
- f,
55208
+ p,
55205
55209
  "ZTE"
55206
55210
  ],
55207
55211
  [
55208
- p,
55212
+ f,
55209
55213
  v
55210
55214
  ]
55211
55215
  ],
@@ -55215,11 +55219,11 @@
55215
55219
  [
55216
55220
  d,
55217
55221
  [
55218
- f,
55222
+ p,
55219
55223
  "ZTE"
55220
55224
  ],
55221
55225
  [
55222
- p,
55226
+ f,
55223
55227
  b
55224
55228
  ]
55225
55229
  ],
@@ -55229,11 +55233,11 @@
55229
55233
  [
55230
55234
  d,
55231
55235
  [
55232
- f,
55236
+ p,
55233
55237
  "Swiss"
55234
55238
  ],
55235
55239
  [
55236
- p,
55240
+ f,
55237
55241
  b
55238
55242
  ]
55239
55243
  ],
@@ -55243,11 +55247,11 @@
55243
55247
  [
55244
55248
  d,
55245
55249
  [
55246
- f,
55250
+ p,
55247
55251
  "Swiss"
55248
55252
  ],
55249
55253
  [
55250
- p,
55254
+ f,
55251
55255
  v
55252
55256
  ]
55253
55257
  ],
@@ -55257,11 +55261,11 @@
55257
55261
  [
55258
55262
  d,
55259
55263
  [
55260
- f,
55264
+ p,
55261
55265
  "Zeki"
55262
55266
  ],
55263
55267
  [
55264
- p,
55268
+ f,
55265
55269
  v
55266
55270
  ]
55267
55271
  ],
@@ -55271,12 +55275,12 @@
55271
55275
  ],
55272
55276
  [
55273
55277
  [
55274
- f,
55278
+ p,
55275
55279
  "Dragon Touch"
55276
55280
  ],
55277
55281
  d,
55278
55282
  [
55279
- p,
55283
+ f,
55280
55284
  v
55281
55285
  ]
55282
55286
  ],
@@ -55286,11 +55290,11 @@
55286
55290
  [
55287
55291
  d,
55288
55292
  [
55289
- f,
55293
+ p,
55290
55294
  "Insignia"
55291
55295
  ],
55292
55296
  [
55293
- p,
55297
+ f,
55294
55298
  v
55295
55299
  ]
55296
55300
  ],
@@ -55300,11 +55304,11 @@
55300
55304
  [
55301
55305
  d,
55302
55306
  [
55303
- f,
55307
+ p,
55304
55308
  "NextBook"
55305
55309
  ],
55306
55310
  [
55307
- p,
55311
+ f,
55308
55312
  v
55309
55313
  ]
55310
55314
  ],
@@ -55313,12 +55317,12 @@
55313
55317
  ],
55314
55318
  [
55315
55319
  [
55316
- f,
55320
+ p,
55317
55321
  "Voice"
55318
55322
  ],
55319
55323
  d,
55320
55324
  [
55321
- p,
55325
+ f,
55322
55326
  b
55323
55327
  ]
55324
55328
  ],
@@ -55327,12 +55331,12 @@
55327
55331
  ],
55328
55332
  [
55329
55333
  [
55330
- f,
55334
+ p,
55331
55335
  "LvTel"
55332
55336
  ],
55333
55337
  d,
55334
55338
  [
55335
- p,
55339
+ f,
55336
55340
  b
55337
55341
  ]
55338
55342
  ],
@@ -55342,11 +55346,11 @@
55342
55346
  [
55343
55347
  d,
55344
55348
  [
55345
- f,
55349
+ p,
55346
55350
  "Essential"
55347
55351
  ],
55348
55352
  [
55349
- p,
55353
+ f,
55350
55354
  b
55351
55355
  ]
55352
55356
  ],
@@ -55356,11 +55360,11 @@
55356
55360
  [
55357
55361
  d,
55358
55362
  [
55359
- f,
55363
+ p,
55360
55364
  "Envizen"
55361
55365
  ],
55362
55366
  [
55363
- p,
55367
+ f,
55364
55368
  v
55365
55369
  ]
55366
55370
  ],
@@ -55370,11 +55374,11 @@
55370
55374
  [
55371
55375
  d,
55372
55376
  [
55373
- f,
55377
+ p,
55374
55378
  "MachSpeed"
55375
55379
  ],
55376
55380
  [
55377
- p,
55381
+ f,
55378
55382
  v
55379
55383
  ]
55380
55384
  ],
@@ -55384,11 +55388,11 @@
55384
55388
  [
55385
55389
  d,
55386
55390
  [
55387
- f,
55391
+ p,
55388
55392
  "Rotor"
55389
55393
  ],
55390
55394
  [
55391
- p,
55395
+ f,
55392
55396
  v
55393
55397
  ]
55394
55398
  ],
@@ -55398,11 +55402,11 @@
55398
55402
  [
55399
55403
  d,
55400
55404
  [
55401
- f,
55405
+ p,
55402
55406
  "Nvidia"
55403
55407
  ],
55404
55408
  [
55405
- p,
55409
+ f,
55406
55410
  v
55407
55411
  ]
55408
55412
  ],
@@ -55410,10 +55414,10 @@
55410
55414
  /(sprint) (\w+)/i
55411
55415
  ],
55412
55416
  [
55413
- f,
55417
+ p,
55414
55418
  d,
55415
55419
  [
55416
- p,
55420
+ f,
55417
55421
  b
55418
55422
  ]
55419
55423
  ],
@@ -55427,11 +55431,11 @@
55427
55431
  " "
55428
55432
  ],
55429
55433
  [
55430
- f,
55434
+ p,
55431
55435
  $
55432
55436
  ],
55433
55437
  [
55434
- p,
55438
+ f,
55435
55439
  b
55436
55440
  ]
55437
55441
  ],
@@ -55441,11 +55445,11 @@
55441
55445
  [
55442
55446
  d,
55443
55447
  [
55444
- f,
55448
+ p,
55445
55449
  L
55446
55450
  ],
55447
55451
  [
55448
- p,
55452
+ f,
55449
55453
  v
55450
55454
  ]
55451
55455
  ],
@@ -55455,11 +55459,11 @@
55455
55459
  [
55456
55460
  d,
55457
55461
  [
55458
- f,
55462
+ p,
55459
55463
  L
55460
55464
  ],
55461
55465
  [
55462
- p,
55466
+ f,
55463
55467
  b
55464
55468
  ]
55465
55469
  ],
@@ -55467,9 +55471,9 @@
55467
55471
  /smart-tv.+(samsung)/i
55468
55472
  ],
55469
55473
  [
55470
- f,
55474
+ p,
55471
55475
  [
55472
- p,
55476
+ f,
55473
55477
  w
55474
55478
  ]
55475
55479
  ],
@@ -55483,11 +55487,11 @@
55483
55487
  "SmartTV"
55484
55488
  ],
55485
55489
  [
55486
- f,
55490
+ p,
55487
55491
  O
55488
55492
  ],
55489
55493
  [
55490
- p,
55494
+ f,
55491
55495
  w
55492
55496
  ]
55493
55497
  ],
@@ -55496,11 +55500,11 @@
55496
55500
  ],
55497
55501
  [
55498
55502
  [
55499
- f,
55503
+ p,
55500
55504
  "LG"
55501
55505
  ],
55502
55506
  [
55503
- p,
55507
+ f,
55504
55508
  w
55505
55509
  ]
55506
55510
  ],
@@ -55508,13 +55512,13 @@
55508
55512
  /(apple) ?tv/i
55509
55513
  ],
55510
55514
  [
55511
- f,
55515
+ p,
55512
55516
  [
55513
55517
  d,
55514
55518
  B + " TV"
55515
55519
  ],
55516
55520
  [
55517
- p,
55521
+ f,
55518
55522
  w
55519
55523
  ]
55520
55524
  ],
@@ -55527,11 +55531,11 @@
55527
55531
  S + "cast"
55528
55532
  ],
55529
55533
  [
55530
- f,
55534
+ p,
55531
55535
  T
55532
55536
  ],
55533
55537
  [
55534
- p,
55538
+ f,
55535
55539
  w
55536
55540
  ]
55537
55541
  ],
@@ -55541,11 +55545,11 @@
55541
55545
  [
55542
55546
  d,
55543
55547
  [
55544
- f,
55548
+ p,
55545
55549
  C
55546
55550
  ],
55547
55551
  [
55548
- p,
55552
+ f,
55549
55553
  w
55550
55554
  ]
55551
55555
  ],
@@ -55556,11 +55560,11 @@
55556
55560
  [
55557
55561
  d,
55558
55562
  [
55559
- f,
55563
+ p,
55560
55564
  M
55561
55565
  ],
55562
55566
  [
55563
- p,
55567
+ f,
55564
55568
  w
55565
55569
  ]
55566
55570
  ],
@@ -55570,11 +55574,11 @@
55570
55574
  [
55571
55575
  d,
55572
55576
  [
55573
- f,
55577
+ p,
55574
55578
  A
55575
55579
  ],
55576
55580
  [
55577
- p,
55581
+ f,
55578
55582
  w
55579
55583
  ]
55580
55584
  ],
@@ -55584,11 +55588,11 @@
55584
55588
  [
55585
55589
  d,
55586
55590
  [
55587
- f,
55591
+ p,
55588
55592
  R
55589
55593
  ],
55590
55594
  [
55591
- p,
55595
+ f,
55592
55596
  w
55593
55597
  ]
55594
55598
  ],
@@ -55596,10 +55600,10 @@
55596
55600
  /Hbbtv.*(technisat) (.*);/i
55597
55601
  ],
55598
55602
  [
55599
- f,
55603
+ p,
55600
55604
  d,
55601
55605
  [
55602
- p,
55606
+ f,
55603
55607
  w
55604
55608
  ]
55605
55609
  ],
@@ -55609,7 +55613,7 @@
55609
55613
  ],
55610
55614
  [
55611
55615
  [
55612
- f,
55616
+ p,
55613
55617
  Q
55614
55618
  ],
55615
55619
  [
@@ -55617,7 +55621,7 @@
55617
55621
  Q
55618
55622
  ],
55619
55623
  [
55620
- p,
55624
+ f,
55621
55625
  w
55622
55626
  ]
55623
55627
  ],
@@ -55626,7 +55630,7 @@
55626
55630
  ],
55627
55631
  [
55628
55632
  [
55629
- p,
55633
+ f,
55630
55634
  w
55631
55635
  ]
55632
55636
  ],
@@ -55635,10 +55639,10 @@
55635
55639
  /(nintendo) ([wids3utch]+)/i
55636
55640
  ],
55637
55641
  [
55638
- f,
55642
+ p,
55639
55643
  d,
55640
55644
  [
55641
- p,
55645
+ f,
55642
55646
  g
55643
55647
  ]
55644
55648
  ],
@@ -55648,11 +55652,11 @@
55648
55652
  [
55649
55653
  d,
55650
55654
  [
55651
- f,
55655
+ p,
55652
55656
  "Nvidia"
55653
55657
  ],
55654
55658
  [
55655
- p,
55659
+ f,
55656
55660
  g
55657
55661
  ]
55658
55662
  ],
@@ -55662,11 +55666,11 @@
55662
55666
  [
55663
55667
  d,
55664
55668
  [
55665
- f,
55669
+ p,
55666
55670
  A
55667
55671
  ],
55668
55672
  [
55669
- p,
55673
+ f,
55670
55674
  g
55671
55675
  ]
55672
55676
  ],
@@ -55676,11 +55680,11 @@
55676
55680
  [
55677
55681
  d,
55678
55682
  [
55679
- f,
55683
+ p,
55680
55684
  $
55681
55685
  ],
55682
55686
  [
55683
- p,
55687
+ f,
55684
55688
  g
55685
55689
  ]
55686
55690
  ],
@@ -55688,10 +55692,10 @@
55688
55692
  /((pebble))app/i
55689
55693
  ],
55690
55694
  [
55691
- f,
55695
+ p,
55692
55696
  d,
55693
55697
  [
55694
- p,
55698
+ f,
55695
55699
  k
55696
55700
  ]
55697
55701
  ],
@@ -55701,11 +55705,11 @@
55701
55705
  [
55702
55706
  d,
55703
55707
  [
55704
- f,
55708
+ p,
55705
55709
  B
55706
55710
  ],
55707
55711
  [
55708
- p,
55712
+ f,
55709
55713
  k
55710
55714
  ]
55711
55715
  ],
@@ -55715,11 +55719,11 @@
55715
55719
  [
55716
55720
  d,
55717
55721
  [
55718
- f,
55722
+ p,
55719
55723
  T
55720
55724
  ],
55721
55725
  [
55722
- p,
55726
+ f,
55723
55727
  k
55724
55728
  ]
55725
55729
  ],
@@ -55729,11 +55733,11 @@
55729
55733
  [
55730
55734
  d,
55731
55735
  [
55732
- f,
55736
+ p,
55733
55737
  L
55734
55738
  ],
55735
55739
  [
55736
- p,
55740
+ f,
55737
55741
  k
55738
55742
  ]
55739
55743
  ],
@@ -55743,11 +55747,11 @@
55743
55747
  [
55744
55748
  d,
55745
55749
  [
55746
- f,
55750
+ p,
55747
55751
  F
55748
55752
  ],
55749
55753
  [
55750
- p,
55754
+ f,
55751
55755
  k
55752
55756
  ]
55753
55757
  ],
@@ -55755,9 +55759,9 @@
55755
55759
  /(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i
55756
55760
  ],
55757
55761
  [
55758
- f,
55762
+ p,
55759
55763
  [
55760
- p,
55764
+ f,
55761
55765
  y
55762
55766
  ]
55763
55767
  ],
@@ -55767,11 +55771,11 @@
55767
55771
  [
55768
55772
  d,
55769
55773
  [
55770
- f,
55774
+ p,
55771
55775
  C
55772
55776
  ],
55773
55777
  [
55774
- p,
55778
+ f,
55775
55779
  y
55776
55780
  ]
55777
55781
  ],
@@ -55781,7 +55785,7 @@
55781
55785
  [
55782
55786
  d,
55783
55787
  [
55784
- p,
55788
+ f,
55785
55789
  b
55786
55790
  ]
55787
55791
  ],
@@ -55791,7 +55795,7 @@
55791
55795
  [
55792
55796
  d,
55793
55797
  [
55794
- p,
55798
+ f,
55795
55799
  v
55796
55800
  ]
55797
55801
  ],
@@ -55800,7 +55804,7 @@
55800
55804
  ],
55801
55805
  [
55802
55806
  [
55803
- p,
55807
+ f,
55804
55808
  v
55805
55809
  ]
55806
55810
  ],
@@ -55809,7 +55813,7 @@
55809
55813
  ],
55810
55814
  [
55811
55815
  [
55812
- p,
55816
+ f,
55813
55817
  b
55814
55818
  ]
55815
55819
  ],
@@ -55819,7 +55823,7 @@
55819
55823
  [
55820
55824
  d,
55821
55825
  [
55822
- f,
55826
+ p,
55823
55827
  "Generic"
55824
55828
  ]
55825
55829
  ]
@@ -56070,7 +56074,7 @@
56070
56074
  return t[m] = void 0, X.call(t, g, k.cpu), t;
56071
56075
  }, this.getDevice = function() {
56072
56076
  var t = {};
56073
- return t[f] = void 0, t[d] = void 0, t[p] = void 0, X.call(t, g, k.device), y && !t[p] && w && w.mobile && (t[p] = b), y && "Macintosh" == t[d] && n && typeof n.standalone !== a && n.maxTouchPoints && n.maxTouchPoints > 2 && (t[d] = "iPad", t[p] = v), t;
56077
+ return t[p] = void 0, t[d] = void 0, t[f] = void 0, X.call(t, g, k.device), y && !t[f] && w && w.mobile && (t[f] = b), y && "Macintosh" == t[d] && n && typeof n.standalone !== a && n.maxTouchPoints && n.maxTouchPoints > 2 && (t[d] = "iPad", t[f] = v), t;
56074
56078
  }, this.getEngine = function() {
56075
56079
  var t = {};
56076
56080
  return t[u] = void 0, t[h] = void 0, X.call(t, g, k.engine), t;
@@ -56100,8 +56104,8 @@
56100
56104
  m
56101
56105
  ]), K.DEVICE = W([
56102
56106
  d,
56103
- f,
56104
56107
  p,
56108
+ f,
56105
56109
  g,
56106
56110
  b,
56107
56111
  w,
@@ -56124,9 +56128,9 @@
56124
56128
  };
56125
56129
  }
56126
56130
  }("object" == typeof window ? window : nE), nS.exports;
56127
- }(), i = new n, a = i.getBrowser(), s = i.getCPU(), c = i.getDevice(), l = i.getEngine(), d = i.getOS(), u = i.getUA(), p = function(t) {
56131
+ }(), i = new n, a = i.getBrowser(), s = i.getCPU(), c = i.getDevice(), l = i.getEngine(), d = i.getOS(), u = i.getUA(), f = function(t) {
56128
56132
  return i.setUA(t);
56129
- }, f = function(t) {
56133
+ }, p = function(t) {
56130
56134
  if (!t) return void console.error("No userAgent string was provided");
56131
56135
  var r = new n(t);
56132
56136
  return {
@@ -56149,8 +56153,8 @@
56149
56153
  engine: l,
56150
56154
  os: d,
56151
56155
  ua: u,
56152
- setUa: p,
56153
- parseUserAgent: f
56156
+ setUa: f,
56157
+ parseUserAgent: p
56154
56158
  });
56155
56159
  function m(t, r) {
56156
56160
  var o = Object.keys(t);
@@ -56369,9 +56373,9 @@
56369
56373
  }, eu = function(t) {
56370
56374
  var r = t.name;
56371
56375
  return r === $.InternetExplorer || r === $.Ie;
56372
- }, ep = function(t) {
56373
- return t.name === $.MIUI;
56374
56376
  }, ef = function(t) {
56377
+ return t.name === $.MIUI;
56378
+ }, ep = function(t) {
56375
56379
  return t.name === $.SamsungBrowser;
56376
56380
  }, eh = function(t) {
56377
56381
  return M(t.version);
@@ -56444,13 +56448,13 @@
56444
56448
  isLegacyEdge: ea(n) && !ek(s),
56445
56449
  isWindows: K(i),
56446
56450
  isMacOs: Y(i),
56447
- isMIUI: ep(n),
56448
- isSamsungBrowser: ef(n)
56451
+ isMIUI: ef(n),
56452
+ isSamsungBrowser: ep(n)
56449
56453
  };
56450
56454
  }
56451
- var eS = V(c), eE = q(c), eT = U(c), eD = Q(c), e$ = el(a) || eC(), ej = ei(a), eI = z(c) || eC(), eO = F(c), eM = N(c) || eC(), eA = W(c), eR = W(c), eL = Z(d), eF = J(d), eN = ee(d) || eC(), ez = eo(a), eV = en(a), eW = ec(a), eU = ed(a), eq = eu(a), eQ = et(d), eX = er(d), eH = eh(a), eG = em(a), eZ = eg(a), eK = X(c), eY = H(c), eJ = eb(l), e3 = ev(l), e2 = ex(u), e5 = ea(a) || ek(u), e0 = es(a), e1 = G(c), e8 = ey(), e9 = eC(), e4 = eB(), e7 = e_(), e6 = ew(), te = ek(u), tt = ea(a) && !ek(u), tr = K(d), to = Y(d), tn = ep(a), ti = ef(a);
56455
+ var eS = V(c), eE = q(c), eT = U(c), eD = Q(c), e$ = el(a) || eC(), ej = ei(a), eI = z(c) || eC(), eO = F(c), eM = N(c) || eC(), eA = W(c), eR = W(c), eL = Z(d), eF = J(d), eN = ee(d) || eC(), ez = eo(a), eV = en(a), eW = ec(a), eU = ed(a), eq = eu(a), eQ = et(d), eX = er(d), eH = eh(a), eG = em(a), eZ = eg(a), eK = X(c), eY = H(c), eJ = eb(l), e3 = ev(l), e2 = ex(u), e5 = ea(a) || ek(u), e0 = es(a), e1 = G(c), e8 = ey(), e9 = eC(), e4 = eB(), e7 = e_(), e6 = ew(), te = ek(u), tt = ea(a) && !ek(u), tr = K(d), to = Y(d), tn = ef(a), ti = ep(a);
56452
56456
  function ta(t) {
56453
- return f(t || window.navigator.userAgent);
56457
+ return p(t || window.navigator.userAgent);
56454
56458
  }
56455
56459
  return nP.AndroidView = function(r) {
56456
56460
  var n = r.renderWithFragment, i = r.children, a = y(r, [
@@ -56534,7 +56538,7 @@
56534
56538
  ]);
56535
56539
  return eF ? n ? o.createElement(React.Fragment, null, i) : o.createElement("div", a, i) : null;
56536
56540
  }, nP.browserName = eZ, nP.browserVersion = eG, nP.deviceDetect = function(t) {
56537
- var r, o, n, i, a, s, c, l, d, u, p, m, g, b, v, w, k, y, C, B, _, x, P = t ? f(t) : h, S = P.device, E = P.browser, T = P.engine, D = P.os, $ = P.ua, j = O(S.type), I = j.isBrowser, A = j.isMobile, R = j.isTablet, F = j.isSmartTV, N = j.isConsole, z = j.isWearable, V = j.isEmbedded;
56541
+ var r, o, n, i, a, s, c, l, d, u, f, m, g, b, v, w, k, y, C, B, _, x, P = t ? p(t) : h, S = P.device, E = P.browser, T = P.engine, D = P.os, $ = P.ua, j = O(S.type), I = j.isBrowser, A = j.isMobile, R = j.isTablet, F = j.isSmartTV, N = j.isConsole, z = j.isWearable, V = j.isEmbedded;
56538
56542
  if (I) {
56539
56543
  return r = I, o = E, n = T, i = D, a = $, {
56540
56544
  isBrowser: r,
@@ -56559,10 +56563,10 @@
56559
56563
  };
56560
56564
  }
56561
56565
  if (N) {
56562
- return u = N, p = T, m = D, g = $, {
56566
+ return u = N, f = T, m = D, g = $, {
56563
56567
  isConsole: u,
56564
- engineName: M(p.name),
56565
- engineVersion: M(p.version),
56568
+ engineName: M(f.name),
56569
+ engineVersion: M(f.version),
56566
56570
  osName: M(m.name),
56567
56571
  osVersion: M(m.version),
56568
56572
  userAgent: M(g)
@@ -56593,7 +56597,7 @@
56593
56597
  }
56594
56598
  }, nP.deviceType = e1, nP.engineName = eJ, nP.engineVersion = e3, nP.fullBrowserVersion = eH, nP.getSelectorsByUserAgent = function(t) {
56595
56599
  if (!t || "string" != typeof t) return void console.error("No valid user agent string was provided");
56596
- var r = f(t);
56600
+ var r = p(t);
56597
56601
  return eP({
56598
56602
  device: r.device,
56599
56603
  browser: r.browser,
@@ -56601,8 +56605,8 @@
56601
56605
  engine: r.engine,
56602
56606
  ua: r.ua
56603
56607
  });
56604
- }, nP.getUA = e2, nP.isAndroid = eL, nP.isBrowser = eA, nP.isChrome = ez, nP.isChromium = ej, nP.isConsole = eE, nP.isDesktop = eR, nP.isEdge = e5, nP.isEdgeChromium = te, nP.isElectron = e6, nP.isEmbedded = eD, nP.isFirefox = eV, nP.isIE = eq, nP.isIOS = eN, nP.isIOS13 = e8, nP.isIPad13 = e9, nP.isIPhone13 = e4, nP.isIPod13 = e7, nP.isLegacyEdge = tt, nP.isMIUI = tn, nP.isMacOs = to, nP.isMobile = eI, nP.isMobileOnly = eO, nP.isMobileSafari = e$, nP.isOpera = eU, nP.isSafari = eW, nP.isSamsungBrowser = ti, nP.isSmartTV = eS, nP.isTablet = eM, nP.isWearable = eT, nP.isWinPhone = eF, nP.isWindows = tr, nP.isYandex = e0, nP.mobileModel = eY, nP.mobileVendor = eK, nP.osName = eX, nP.osVersion = eQ, nP.parseUserAgent = f, nP.setUserAgent = function(t) {
56605
- return p(t);
56608
+ }, nP.getUA = e2, nP.isAndroid = eL, nP.isBrowser = eA, nP.isChrome = ez, nP.isChromium = ej, nP.isConsole = eE, nP.isDesktop = eR, nP.isEdge = e5, nP.isEdgeChromium = te, nP.isElectron = e6, nP.isEmbedded = eD, nP.isFirefox = eV, nP.isIE = eq, nP.isIOS = eN, nP.isIOS13 = e8, nP.isIPad13 = e9, nP.isIPhone13 = e4, nP.isIPod13 = e7, nP.isLegacyEdge = tt, nP.isMIUI = tn, nP.isMacOs = to, nP.isMobile = eI, nP.isMobileOnly = eO, nP.isMobileSafari = e$, nP.isOpera = eU, nP.isSafari = eW, nP.isSamsungBrowser = ti, nP.isSmartTV = eS, nP.isTablet = eM, nP.isWearable = eT, nP.isWinPhone = eF, nP.isWindows = tr, nP.isYandex = e0, nP.mobileModel = eY, nP.mobileVendor = eK, nP.osName = eX, nP.osVersion = eQ, nP.parseUserAgent = p, nP.setUserAgent = function(t) {
56609
+ return f(t);
56606
56610
  }, nP.useDeviceData = ta, nP.useDeviceSelectors = function(t) {
56607
56611
  var r = ta(t || window.navigator.userAgent);
56608
56612
  return [
@@ -56808,7 +56812,7 @@
56808
56812
  var nM = oX(function() {
56809
56813
  if (tW) return tV;
56810
56814
  tW = 1;
56811
- var t = 0 / 0, r = /^\s+|\s+$/g, o = /^[-+]0x[0-9a-f]+$/i, n = /^0b[01]+$/i, i = /^0o[0-7]+$/i, a = parseInt, s = "object" == typeof oQ && oQ && oQ.Object === Object && oQ, c = "object" == typeof self && self && self.Object === Object && self, l = s || c || Function("return this")(), d = Object.prototype.toString, u = Math.max, p = Math.min, f = function() {
56815
+ var t = 0 / 0, r = /^\s+|\s+$/g, o = /^[-+]0x[0-9a-f]+$/i, n = /^0b[01]+$/i, i = /^0o[0-7]+$/i, a = parseInt, s = "object" == typeof oQ && oQ && oQ.Object === Object && oQ, c = "object" == typeof self && self && self.Object === Object && self, l = s || c || Function("return this")(), d = Object.prototype.toString, u = Math.max, f = Math.min, p = function() {
56812
56816
  return l.Date.now();
56813
56817
  };
56814
56818
  function h(t) {
@@ -56824,8 +56828,8 @@
56824
56828
  }
56825
56829
  if ("string" != typeof s) return 0 === s ? s : +s;
56826
56830
  s = s.replace(r, "");
56827
- var p = n.test(s);
56828
- return p || i.test(s) ? a(s.slice(2), p ? 2 : 8) : o.test(s) ? t : +s;
56831
+ var f = n.test(s);
56832
+ return f || i.test(s) ? a(s.slice(2), f ? 2 : 8) : o.test(s) ? t : +s;
56829
56833
  }
56830
56834
  return tV = function(t, r, o) {
56831
56835
  var n, i, a, s, c, l, d = 0, g = !1, b = !1, v = !0;
@@ -56840,15 +56844,15 @@
56840
56844
  return void 0 === l || o >= r || o < 0 || b && n >= a;
56841
56845
  }
56842
56846
  function y() {
56843
- var t, o, n, i, s = f();
56847
+ var t, o, n, i, s = p();
56844
56848
  if (k(s)) return C(s);
56845
- c = setTimeout(y, (o = (t = s) - l, n = t - d, i = r - o, b ? p(i, a - n) : i));
56849
+ c = setTimeout(y, (o = (t = s) - l, n = t - d, i = r - o, b ? f(i, a - n) : i));
56846
56850
  }
56847
56851
  function C(t) {
56848
56852
  return (c = void 0, v && n) ? w(t) : (n = i = void 0, s);
56849
56853
  }
56850
56854
  function B() {
56851
- var t, o = f(), a = k(o);
56855
+ var t, o = p(), a = k(o);
56852
56856
  if (n = arguments, i = this, l = o, a) {
56853
56857
  if (void 0 === c) {
56854
56858
  return d = t = l, c = setTimeout(y, r), g ? w(t) : s;
@@ -56860,7 +56864,7 @@
56860
56864
  return B.cancel = function() {
56861
56865
  void 0 !== c && clearTimeout(c), d = 0, n = l = i = c = void 0;
56862
56866
  }, B.flush = function() {
56863
- return void 0 === c ? s : C(f());
56867
+ return void 0 === c ? s : C(p());
56864
56868
  }, B;
56865
56869
  };
56866
56870
  }()), nA = {
@@ -56871,11 +56875,11 @@
56871
56875
  var t = tq ? nA.exports : (tq = 1, nA.exports = function() {
56872
56876
  if (tU) return nR;
56873
56877
  tU = 1;
56874
- var t = "function" == typeof Symbol && Symbol.for, r = t ? Symbol.for("react.element") : 60103, o = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, i = t ? Symbol.for("react.strict_mode") : 60108, a = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, c = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, d = t ? Symbol.for("react.concurrent_mode") : 60111, u = t ? Symbol.for("react.forward_ref") : 60112, p = t ? Symbol.for("react.suspense") : 60113, f = t ? Symbol.for("react.suspense_list") : 60120, h = t ? Symbol.for("react.memo") : 60115, m = t ? Symbol.for("react.lazy") : 60116, g = t ? Symbol.for("react.block") : 60121, b = t ? Symbol.for("react.fundamental") : 60117, v = t ? Symbol.for("react.responder") : 60118, w = t ? Symbol.for("react.scope") : 60119;
56878
+ var t = "function" == typeof Symbol && Symbol.for, r = t ? Symbol.for("react.element") : 60103, o = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, i = t ? Symbol.for("react.strict_mode") : 60108, a = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, c = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, d = t ? Symbol.for("react.concurrent_mode") : 60111, u = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, p = t ? Symbol.for("react.suspense_list") : 60120, h = t ? Symbol.for("react.memo") : 60115, m = t ? Symbol.for("react.lazy") : 60116, g = t ? Symbol.for("react.block") : 60121, b = t ? Symbol.for("react.fundamental") : 60117, v = t ? Symbol.for("react.responder") : 60118, w = t ? Symbol.for("react.scope") : 60119;
56875
56879
  function k(t) {
56876
56880
  if ("object" == typeof t && null !== t) {
56877
- var f = t.$$typeof;
56878
- switch(f){
56881
+ var p = t.$$typeof;
56882
+ switch(p){
56879
56883
  case r:
56880
56884
  switch(t = t.type){
56881
56885
  case l:
@@ -56883,7 +56887,7 @@
56883
56887
  case n:
56884
56888
  case a:
56885
56889
  case i:
56886
- case p:
56890
+ case f:
56887
56891
  return t;
56888
56892
  default:
56889
56893
  switch(t = t && t.$$typeof){
@@ -56894,18 +56898,18 @@
56894
56898
  case s:
56895
56899
  return t;
56896
56900
  default:
56897
- return f;
56901
+ return p;
56898
56902
  }
56899
56903
  }
56900
56904
  case o:
56901
- return f;
56905
+ return p;
56902
56906
  }
56903
56907
  }
56904
56908
  }
56905
56909
  function y(t) {
56906
56910
  return k(t) === d;
56907
56911
  }
56908
- return nR.AsyncMode = l, nR.ConcurrentMode = d, nR.ContextConsumer = c, nR.ContextProvider = s, nR.Element = r, nR.ForwardRef = u, nR.Fragment = n, nR.Lazy = m, nR.Memo = h, nR.Portal = o, nR.Profiler = a, nR.StrictMode = i, nR.Suspense = p, nR.isAsyncMode = function(t) {
56912
+ return nR.AsyncMode = l, nR.ConcurrentMode = d, nR.ContextConsumer = c, nR.ContextProvider = s, nR.Element = r, nR.ForwardRef = u, nR.Fragment = n, nR.Lazy = m, nR.Memo = h, nR.Portal = o, nR.Profiler = a, nR.StrictMode = i, nR.Suspense = f, nR.isAsyncMode = function(t) {
56909
56913
  return y(t) || k(t) === l;
56910
56914
  }, nR.isConcurrentMode = y, nR.isContextConsumer = function(t) {
56911
56915
  return k(t) === c;
@@ -56928,9 +56932,9 @@
56928
56932
  }, nR.isStrictMode = function(t) {
56929
56933
  return k(t) === i;
56930
56934
  }, nR.isSuspense = function(t) {
56931
- return k(t) === p;
56935
+ return k(t) === f;
56932
56936
  }, nR.isValidElementType = function(t) {
56933
- return "string" == typeof t || "function" == typeof t || t === n || t === d || t === a || t === i || t === p || t === f || "object" == typeof t && null !== t && (t.$$typeof === m || t.$$typeof === h || t.$$typeof === s || t.$$typeof === c || t.$$typeof === u || t.$$typeof === b || t.$$typeof === v || t.$$typeof === w || t.$$typeof === g);
56937
+ return "string" == typeof t || "function" == typeof t || t === n || t === d || t === a || t === i || t === f || t === p || "object" == typeof t && null !== t && (t.$$typeof === m || t.$$typeof === h || t.$$typeof === s || t.$$typeof === c || t.$$typeof === u || t.$$typeof === b || t.$$typeof === v || t.$$typeof === w || t.$$typeof === g);
56934
56938
  }, nR.typeOf = k, nR;
56935
56939
  }(), nA.exports), r = {
56936
56940
  childContextTypes: !0,
@@ -56970,12 +56974,12 @@
56970
56974
  displayName: !0,
56971
56975
  propTypes: !0
56972
56976
  }, i[t.Memo] = n;
56973
- var s = Object.defineProperty, c = Object.getOwnPropertyNames, l = Object.getOwnPropertySymbols, d = Object.getOwnPropertyDescriptor, u = Object.getPrototypeOf, p = Object.prototype;
56977
+ var s = Object.defineProperty, c = Object.getOwnPropertyNames, l = Object.getOwnPropertySymbols, d = Object.getOwnPropertyDescriptor, u = Object.getPrototypeOf, f = Object.prototype;
56974
56978
  return tQ = function t(r, n, i) {
56975
56979
  if ("string" != typeof n) {
56976
- if (p) {
56977
- var f = u(n);
56978
- f && f !== p && t(r, f, i);
56980
+ if (f) {
56981
+ var p = u(n);
56982
+ p && p !== f && t(r, p, i);
56979
56983
  }
56980
56984
  var h = c(n);
56981
56985
  l && (h = h.concat(l(n)));
@@ -57132,7 +57136,7 @@
57132
57136
  else console.warn("Flashlight is not supported or not initialized.");
57133
57137
  }, [
57134
57138
  c
57135
- ]), p = reactExports.useCallback(async ()=>{
57139
+ ]), f = reactExports.useCallback(async ()=>{
57136
57140
  if (c && c.isSupported()) try {
57137
57141
  await c.turnOff(), d.current = !1;
57138
57142
  } catch (t) {
@@ -57140,15 +57144,15 @@
57140
57144
  }
57141
57145
  }, [
57142
57146
  c
57143
- ]), f = React.useMemo(()=>({
57147
+ ]), p = React.useMemo(()=>({
57144
57148
  turnOnFlashlight: u,
57145
- turnOffFlashlight: p
57149
+ turnOffFlashlight: f
57146
57150
  }), [
57147
57151
  u,
57148
- p
57152
+ f
57149
57153
  ]);
57150
57154
  return oZ.jsx(nU.Provider, {
57151
- value: f,
57155
+ value: p,
57152
57156
  children: s
57153
57157
  });
57154
57158
  }, { Errors: nQ } = ra$1, nX = dt$1.div`
@@ -57194,7 +57198,7 @@
57194
57198
  `;
57195
57199
  function nJ(r) {
57196
57200
  var s, c;
57197
- let l, { checkCameraMode: d, frontCamera: u, onClose: p, children: f, onVideoPlayed: w, flipHorizontal: k, videoSettings: y, refVideo: C, onError: B, closeButton: _, videoClassName: x, scale: P, defaultCameraId: S, onWarning: E } = r, T = reactExports.useRef(), { lang: D } = no$1.useSDKSettings(), { sendEvent: $ } = iN$1.useSDKTracking(), j = nz("closeButton.src", "ic_close.svg"), [I, O] = reactExports.useState(""), M = reactExports.useRef(!1), A = reactExports.useRef(!1), R = reactExports.useRef(!1), L = reactExports.useRef(), F = reactExports.useRef([]), N = reactExports.useRef(""), z = gB(), V = reactExports.useCallback((t)=>{
57201
+ let l, { checkCameraMode: d, frontCamera: u, onClose: f, children: p, onVideoPlayed: w, flipHorizontal: k, videoSettings: y, refVideo: C, onError: B, closeButton: _, videoClassName: x, scale: P, defaultCameraId: S, onWarning: E } = r, T = reactExports.useRef(), { lang: D } = no$1.useSDKSettings(), { sendEvent: $ } = iN$1.useSDKTracking(), j = nz("closeButton.src", "ic_close.svg"), [I, O] = reactExports.useState(""), M = reactExports.useRef(!1), A = reactExports.useRef(!1), R = reactExports.useRef(!1), L = reactExports.useRef(), F = reactExports.useRef([]), N = reactExports.useRef(""), z = gB(), V = reactExports.useCallback((t)=>{
57198
57202
  B && B(t);
57199
57203
  }, [
57200
57204
  B
@@ -57270,8 +57274,8 @@
57270
57274
  },
57271
57275
  ...o
57272
57276
  }
57273
- }, p = await navigator.mediaDevices.getUserMedia(n);
57274
- if (await U(), q(), !p) return O(z("not_supported")), V(nQ.not_supported), null;
57277
+ }, f = await navigator.mediaDevices.getUserMedia(n);
57278
+ if (await U(), q(), !f) return O(z("not_supported")), V(nQ.not_supported), null;
57275
57279
  a(performance.now(), "end"), window.tv_last_req_camera_complete = !0, c() - s() < 1600 ? $({
57276
57280
  tag: "cam_permission",
57277
57281
  event: "user_activity.cam",
@@ -57284,13 +57288,13 @@
57284
57288
  log: {}
57285
57289
  });
57286
57290
  try {
57287
- let t = p.getVideoTracks()[0].getSettings();
57288
- if (h7.addExifData("device_info.camera_label_dimension.got", `${t.width}x${t.height}`), h7.addExifData("camera_res_selected", `${t.width}x${t.height}`), "function" == typeof p.getVideoTracks()[0].getCapabilities) {
57289
- let t = p.getVideoTracks()[0].getCapabilities();
57291
+ let t = f.getVideoTracks()[0].getSettings();
57292
+ if (h7.addExifData("device_info.camera_label_dimension.got", `${t.width}x${t.height}`), h7.addExifData("camera_res_selected", `${t.width}x${t.height}`), "function" == typeof f.getVideoTracks()[0].getCapabilities) {
57293
+ let t = f.getVideoTracks()[0].getCapabilities();
57290
57294
  h7.addExifData("device_info.camera_capabilities", JSON.stringify(t));
57291
57295
  }
57292
57296
  } catch (t) {}
57293
- return p;
57297
+ return f;
57294
57298
  } catch (t) {
57295
57299
  a(performance.now(), "end"), "NotAllowedError" === t.name ? (O(z("no_permission")), V(nQ.no_permission), A.current = !0, $({
57296
57300
  tag: "cam_permission",
@@ -57382,7 +57386,7 @@
57382
57386
  if (M.current) return ()=>{};
57383
57387
  if (!navigator.mediaDevices || nT.browserName && [
57384
57388
  "facebook"
57385
- ].includes(nT.browserName.toLowerCase()) || nT.getUA.includes("Zalo iOS")) O(z("not_supported")), V(nQ.not_supported);
57389
+ ].includes(nT.browserName.toLowerCase())) O(z("not_supported")), V(nQ.not_supported);
57386
57390
  else if (o) {
57387
57391
  if (S) return X(S), ()=>{};
57388
57392
  nT.isAndroid && !1 === u ? t() : nT.isIOS && u ? r() : X();
@@ -57401,13 +57405,13 @@
57401
57405
  z
57402
57406
  ]);
57403
57407
  let H = reactExports.useCallback(()=>{
57404
- W(), p && p(), $({
57408
+ W(), f && f(), $({
57405
57409
  tag: "result",
57406
57410
  event: "user_activity.cancel",
57407
57411
  log: {}
57408
57412
  });
57409
57413
  }, [
57410
- p,
57414
+ f,
57411
57415
  W,
57412
57416
  $
57413
57417
  ]);
@@ -57470,7 +57474,7 @@
57470
57474
  className: x,
57471
57475
  scale: P
57472
57476
  }),
57473
- f,
57477
+ p,
57474
57478
  _ ? /*#__PURE__*/ React.cloneElement(_, {
57475
57479
  onClick: H,
57476
57480
  "data-testid": "close-camera"
@@ -57670,32 +57674,32 @@
57670
57674
  "left center",
57671
57675
  "left bottom"
57672
57676
  ], io = function(t, r, o, n, i) {
57673
- var a = i.offsetX, s = i.offsetY, c = 8 * !!n, l = o.split(" "), d = t.top + t.height / 2, u = t.left + t.width / 2, p = r.height, f = r.width, h = d - p / 2, m = u - f / 2, g = "", b = "0%", v = "0%";
57677
+ var a = i.offsetX, s = i.offsetY, c = 8 * !!n, l = o.split(" "), d = t.top + t.height / 2, u = t.left + t.width / 2, f = r.height, p = r.width, h = d - f / 2, m = u - p / 2, g = "", b = "0%", v = "0%";
57674
57678
  switch(l[0]){
57675
57679
  case "top":
57676
- h -= p / 2 + t.height / 2 + c, g = "rotate(180deg) translateX(50%)", b = "100%", v = "50%";
57680
+ h -= f / 2 + t.height / 2 + c, g = "rotate(180deg) translateX(50%)", b = "100%", v = "50%";
57677
57681
  break;
57678
57682
  case "bottom":
57679
- h += p / 2 + t.height / 2 + c, g = "rotate(0deg) translateY(-100%) translateX(-50%)", v = "50%";
57683
+ h += f / 2 + t.height / 2 + c, g = "rotate(0deg) translateY(-100%) translateX(-50%)", v = "50%";
57680
57684
  break;
57681
57685
  case "left":
57682
- m -= f / 2 + t.width / 2 + c, g = " rotate(90deg) translateY(50%) translateX(-25%)", v = "100%", b = "50%";
57686
+ m -= p / 2 + t.width / 2 + c, g = " rotate(90deg) translateY(50%) translateX(-25%)", v = "100%", b = "50%";
57683
57687
  break;
57684
57688
  case "right":
57685
- m += f / 2 + t.width / 2 + c, g = "rotate(-90deg) translateY(-150%) translateX(25%)", b = "50%";
57689
+ m += p / 2 + t.width / 2 + c, g = "rotate(-90deg) translateY(-150%) translateX(25%)", b = "50%";
57686
57690
  }
57687
57691
  switch(l[1]){
57688
57692
  case "top":
57689
57693
  h = t.top, b = t.height / 2 + "px";
57690
57694
  break;
57691
57695
  case "bottom":
57692
- h = t.top - p + t.height, b = p - t.height / 2 + "px";
57696
+ h = t.top - f + t.height, b = f - t.height / 2 + "px";
57693
57697
  break;
57694
57698
  case "left":
57695
57699
  m = t.left, v = t.width / 2 + "px";
57696
57700
  break;
57697
57701
  case "right":
57698
- m = t.left - f + t.width, v = f - t.width / 2 + "px";
57702
+ m = t.left - p + t.width, v = p - t.width / 2 + "px";
57699
57703
  }
57700
57704
  return h = "top" === l[0] ? h - s : h + s, {
57701
57705
  top: h,
@@ -57723,12 +57727,12 @@
57723
57727
  left: 0,
57724
57728
  top: 0,
57725
57729
  transform: "rotate(135deg)"
57726
- }, d = 0, u = ii(a), p = Array.isArray(o) ? o : [
57730
+ }, d = 0, u = ii(a), f = Array.isArray(o) ? o : [
57727
57731
  o
57728
57732
  ];
57729
- for((a || Array.isArray(o)) && (p = [].concat(p, ir)); d < p.length;){
57730
- var f = {
57731
- top: (l = io(t, r, p[d], n, {
57733
+ for((a || Array.isArray(o)) && (f = [].concat(f, ir)); d < f.length;){
57734
+ var p = {
57735
+ top: (l = io(t, r, f[d], n, {
57732
57736
  offsetX: s,
57733
57737
  offsetY: c
57734
57738
  })).top,
@@ -57736,7 +57740,7 @@
57736
57740
  width: r.width,
57737
57741
  height: r.height
57738
57742
  };
57739
- if (f.top <= u.top || f.left <= u.left || f.top + f.height >= u.top + u.height || f.left + f.width >= u.left + u.width) d++;
57743
+ if (p.top <= u.top || p.left <= u.left || p.top + p.height >= u.top + u.height || p.left + p.width >= u.left + u.width) d++;
57740
57744
  else break;
57741
57745
  }
57742
57746
  return l;
@@ -57744,7 +57748,7 @@
57744
57748
  var t = document.getElementById("popup-root");
57745
57749
  return null === t && ((t = document.createElement("div")).setAttribute("id", "popup-root"), document.body.appendChild(t)), t;
57746
57750
  }, il = /*#__PURE__*/ reactExports.forwardRef(function(r, a) {
57747
- var s = r.trigger, c = void 0 === s ? null : s, l = r.onOpen, u = void 0 === l ? function() {} : l, p = r.onClose, f = void 0 === p ? function() {} : p, h = r.defaultOpen, m = r.open, g = void 0 === m ? void 0 : m, b = r.disabled, v = void 0 !== b && b, w = r.nested, k = void 0 !== w && w, y = r.closeOnDocumentClick, C = void 0 === y || y, B = r.repositionOnResize, _ = r.closeOnEscape, x = r.on, P = void 0 === x ? [
57751
+ var s = r.trigger, c = void 0 === s ? null : s, l = r.onOpen, u = void 0 === l ? function() {} : l, f = r.onClose, p = void 0 === f ? function() {} : f, h = r.defaultOpen, m = r.open, g = void 0 === m ? void 0 : m, b = r.disabled, v = void 0 !== b && b, w = r.nested, k = void 0 !== w && w, y = r.closeOnDocumentClick, C = void 0 === y || y, B = r.repositionOnResize, _ = r.closeOnEscape, x = r.on, P = void 0 === x ? [
57748
57752
  "click"
57749
57753
  ] : x, S = r.contentStyle, E = void 0 === S ? {} : S, T = r.arrowStyle, D = void 0 === T ? {} : T, $ = r.overlayStyle, j = r.className, I = void 0 === j ? "" : j, O = r.position, M = void 0 === O ? "bottom center" : O, A = r.modal, R = void 0 !== A && A, L = r.lockScroll, F = void 0 !== L && L, N = r.arrow, z = void 0 === N || N, V = r.offsetX, W = void 0 === V ? 0 : V, U = r.offsetY, q = void 0 === U ? 0 : U, Q = r.mouseEnterDelay, X = void 0 === Q ? 100 : Q, H = r.mouseLeaveDelay, Z = void 0 === H ? 100 : H, K = r.keepTooltipInside, Y = void 0 !== K && K, J = r.children, ee = reactExports.useState(g || void 0 !== h && h), et = ee[0], er = ee[1], eo = reactExports.useRef(null), en = reactExports.useRef(null), ei = reactExports.useRef(null), ea = reactExports.useRef(null), es = reactExports.useRef("popup-" + ++is), ec = !!R || !c, el = reactExports.useRef(0);
57750
57754
  n7(function() {
@@ -57766,16 +57770,16 @@
57766
57770
  }, eu = function(t) {
57767
57771
  var r;
57768
57772
  et && !v && (er(!1), ec && (null == (r = ea.current) || r.focus()), setTimeout(function() {
57769
- return f(t);
57773
+ return p(t);
57770
57774
  }, 0));
57771
- }, ep = function(t) {
57772
- null == t || t.stopPropagation(), et ? eu(t) : ed(t);
57773
57775
  }, ef = function(t) {
57776
+ null == t || t.stopPropagation(), et ? eu(t) : ed(t);
57777
+ }, ep = function(t) {
57774
57778
  clearTimeout(el.current), el.current = setTimeout(function() {
57775
57779
  return ed(t);
57776
57780
  }, X);
57777
57781
  }, eh = function(t) {
57778
- null == t || t.preventDefault(), ep();
57782
+ null == t || t.preventDefault(), ef();
57779
57783
  }, em = function(t) {
57780
57784
  clearTimeout(el.current), el.current = setTimeout(function() {
57781
57785
  return eu(t);
@@ -57797,7 +57801,7 @@
57797
57801
  eu();
57798
57802
  },
57799
57803
  toggle: function() {
57800
- ep();
57804
+ ef();
57801
57805
  }
57802
57806
  };
57803
57807
  });
@@ -57831,7 +57835,7 @@
57831
57835
  t.stopPropagation();
57832
57836
  }
57833
57837
  };
57834
- return !R && P.indexOf("hover") >= 0 && (r.onMouseEnter = ef, r.onMouseLeave = em), r;
57838
+ return !R && P.indexOf("hover") >= 0 && (r.onMouseEnter = ep, r.onMouseLeave = em), r;
57835
57839
  }, ey = function() {
57836
57840
  return /*#__PURE__*/ React.createElement("div", Object.assign({}, ek(), {
57837
57841
  key: "C",
@@ -57878,16 +57882,16 @@
57878
57882
  P
57879
57883
  ], n = 0, i = o.length; n < i; n++)switch(o[n]){
57880
57884
  case "click":
57881
- r.onClick = ep;
57885
+ r.onClick = ef;
57882
57886
  break;
57883
57887
  case "right-click":
57884
57888
  r.onContextMenu = eh;
57885
57889
  break;
57886
57890
  case "hover":
57887
- r.onMouseEnter = ef, r.onMouseLeave = em;
57891
+ r.onMouseEnter = ep, r.onMouseLeave = em;
57888
57892
  break;
57889
57893
  case "focus":
57890
- r.onFocus = ef, r.onBlur = em;
57894
+ r.onFocus = ep, r.onBlur = em;
57891
57895
  }
57892
57896
  if ("function" == typeof c) {
57893
57897
  var a = c(et);
@@ -58154,7 +58158,7 @@
58154
58158
  }
58155
58159
  }, im = "default", ig = "error";
58156
58160
  function ib({ className: t, width: r, height: o, type: n, strokeStyles: i, strokeWidth: a, radius: s, paddingStyle: c, defaultRectStyles: l, errorRectStyles: d, paddingCornerMultiplier: u = 1.5 }) {
58157
- let f = reactExports.useMemo(()=>({
58161
+ let p = reactExports.useMemo(()=>({
58158
58162
  [im]: l,
58159
58163
  [ig]: d,
58160
58164
  ...i
@@ -58162,7 +58166,7 @@
58162
58166
  l,
58163
58167
  d,
58164
58168
  i
58165
- ]), h = s + a * u, m = f[n];
58169
+ ]), h = s + a * u, m = p[n];
58166
58170
  return oZ.jsxs("svg", {
58167
58171
  width: r,
58168
58172
  height: o,
@@ -58381,8 +58385,8 @@
58381
58385
  if (o && !a || !o && !s) return null;
58382
58386
  let { width: c, height: l } = r, d = document.createElement("canvas"), u = document.createElement("canvas");
58383
58387
  d.width = c / 2, u.width = c / 2, d.height = l, u.height = l;
58384
- let p = d.getContext("2d"), f = u.getContext("2d");
58385
- p.drawImage(r, 0, 0, c / 2, l, 0, 0, c / 2, l), f.drawImage(r, c / 2, 0, c / 2, l, 0, 0, c / 2, l);
58388
+ let f = d.getContext("2d"), p = u.getContext("2d");
58389
+ f.drawImage(r, 0, 0, c / 2, l, 0, 0, c / 2, l), p.drawImage(r, c / 2, 0, c / 2, l, 0, 0, c / 2, l);
58386
58390
  let [h, m] = await Promise.all([
58387
58391
  fb.getModelPredictions({
58388
58392
  model: t,
@@ -58423,13 +58427,13 @@
58423
58427
  return i;
58424
58428
  }, iz = (t, r)=>parseFloat(t.toFixed(r)), iV = ({ currentFrameBlurScore: t, incomingFrameBlurScore: r, currentFrameGlareScore: o, incomingFrameGlareScore: n, settings: i, blurLargeThreshold: a, blurSmallThreshold: s })=>{
58425
58429
  if (null === t) return !0;
58426
- let { enableBlurCheck: c, enableGlareCheck: l } = i, d = t?.small, u = t?.large, p = r?.small, f = r?.large;
58427
- return (!c || !(p < s) && !(f < a)) && (Math.abs(p - d) > Number.EPSILON ? p > d : Math.abs(f - u) > Number.EPSILON ? f > u : !!(l && Math.abs(n - o) > Number.EPSILON) && n > o);
58430
+ let { enableBlurCheck: c, enableGlareCheck: l } = i, d = t?.small, u = t?.large, f = r?.small, p = r?.large;
58431
+ return (!c || !(f < s) && !(p < a)) && (Math.abs(f - d) > Number.EPSILON ? f > d : Math.abs(p - u) > Number.EPSILON ? p > u : !!(l && Math.abs(n - o) > Number.EPSILON) && n > o);
58428
58432
  };
58429
58433
  function iW(t, r, o, n, i) {
58430
58434
  o && (o.strokeStyle = r, o.lineWidth = 2, t.forEach((t)=>{
58431
- let [r, a, s, c] = t, l = (r + i.x) * n, d = (a + i.y) * n, u = (s + i.x) * n, p = (c + i.y) * n;
58432
- o.strokeRect(l, d, u - l, p - d);
58435
+ let [r, a, s, c] = t, l = (r + i.x) * n, d = (a + i.y) * n, u = (s + i.x) * n, f = (c + i.y) * n;
58436
+ o.strokeRect(l, d, u - l, f - d);
58433
58437
  }));
58434
58438
  }
58435
58439
  function iU(t) {
@@ -59235,14 +59239,14 @@
59235
59239
  _drawToCanvas(t, r, o, n, i, a) {
59236
59240
  if (this._animationFrameId && cancelAnimationFrame(this._animationFrameId), !t || !a || this._stopDrawing) return;
59237
59241
  this._lastFrameTime = 0;
59238
- let { cropX: s, cropY: c, cropWidth: l, cropHeight: d } = a, u = 1e3 / i, p = (i)=>{
59242
+ let { cropX: s, cropY: c, cropWidth: l, cropHeight: d } = a, u = 1e3 / i, f = (i)=>{
59239
59243
  if (this._stopDrawing) {
59240
59244
  this._animationFrameId = null;
59241
59245
  return;
59242
59246
  }
59243
- i - this._lastFrameTime >= u && (this._lastFrameTime = i, t.drawImage(r, s, c, l, d, 0, 0, o, n)), this._animationFrameId = requestAnimationFrame(p);
59247
+ i - this._lastFrameTime >= u && (this._lastFrameTime = i, t.drawImage(r, s, c, l, d, 0, 0, o, n)), this._animationFrameId = requestAnimationFrame(f);
59244
59248
  };
59245
- this._animationFrameId = requestAnimationFrame(p);
59249
+ this._animationFrameId = requestAnimationFrame(f);
59246
59250
  }
59247
59251
  stopDrawing() {
59248
59252
  this._stopDrawing = !0, this._animationFrameId && (cancelAnimationFrame(this._animationFrameId), this._animationFrameId = null);
@@ -59252,10 +59256,10 @@
59252
59256
  this.clearVideoChunks(), this._stopDrawing = !1;
59253
59257
  let { videoFrameWidth: a, videoFrameHeight: s, videoBitrate: c, fps: l } = o, d = l || this.DEFAULT_VIDEO_FPS, u = r.cropWidth / r.cropHeight;
59254
59258
  aE(a) ? (n = a, i = a / u) : aE(s) ? (n = s * u, i = s) : (n = 400, i = 800);
59255
- let p = document.createElement("canvas");
59256
- p.width = n, p.height = i;
59257
- let f = p.getContext("2d");
59258
- if (!f) return console.error("Could not get canvas context."), {
59259
+ let f = document.createElement("canvas");
59260
+ f.width = n, f.height = i;
59261
+ let p = f.getContext("2d");
59262
+ if (!p) return console.error("Could not get canvas context."), {
59259
59263
  mediaRecorder: null
59260
59264
  };
59261
59265
  try {
@@ -59263,7 +59267,7 @@
59263
59267
  mimeType: "video/webm",
59264
59268
  videoBitsPerSecond: c
59265
59269
  }, i = nT.isIOS ? "video/mp4" : "video/webm";
59266
- if (MediaRecorder.isTypeSupported(i) && (this._stream && this._stream.getTracks().forEach((t)=>t.stop()), this._stopDrawing = !1, this._drawToCanvas(f, t, n, n / u, d, r), this._stream = p.captureStream(), o = {
59270
+ if (MediaRecorder.isTypeSupported(i) && (this._stream && this._stream.getTracks().forEach((t)=>t.stop()), this._stopDrawing = !1, this._drawToCanvas(p, t, n, n / u, d, r), this._stream = f.captureStream(), o = {
59267
59271
  mimeType: i,
59268
59272
  videoBitsPerSecond: Math.min(c, this.MAX_VIDEO_BITRATE)
59269
59273
  }), !this._stream) throw Error("Failed to create a media stream for recording.");
@@ -59318,7 +59322,7 @@
59318
59322
  }
59319
59323
  }, [
59320
59324
  i
59321
- ]), f = reactExports.useCallback(()=>{
59325
+ ]), p = reactExports.useCallback(()=>{
59322
59326
  if (s.current && r.current) try {
59323
59327
  s.current.discardRecording(), r.current = !1;
59324
59328
  } catch (t) {
@@ -59327,19 +59331,19 @@
59327
59331
  }, []);
59328
59332
  return reactExports.useEffect(()=>{
59329
59333
  let t = ()=>{
59330
- "hidden" === document.visibilityState ? f() : "visible" === document.visibilityState && c.current && l(c.current);
59334
+ "hidden" === document.visibilityState ? p() : "visible" === document.visibilityState && c.current && l(c.current);
59331
59335
  };
59332
59336
  return document.addEventListener("visibilitychange", t), ()=>{
59333
59337
  document.removeEventListener("visibilitychange", t);
59334
59338
  };
59335
59339
  }, [
59336
59340
  l,
59337
- f
59341
+ p
59338
59342
  ]), {
59339
59343
  startRecording: l,
59340
59344
  stopRecording: d,
59341
59345
  resetRecording: u,
59342
- discardRecording: f
59346
+ discardRecording: p
59343
59347
  };
59344
59348
  }, { Errors: a$ } = ra$1, aj = ()=>({
59345
59349
  imageBlob: null,
@@ -59552,22 +59556,22 @@
59552
59556
  });
59553
59557
  }
59554
59558
  let aU = /*#__PURE__*/ reactExports.forwardRef((t, r)=>{
59555
- let { description: s, usePortraitMask: l, windowAndVideoInfo: u, refVideo: f, frontSide: k, allowedCardTypes: y, settings: C, onCaptureDone: B, onUISpacingChange: x, outputEncryptionSettings: S, isShowingSpinner: E } = t, T = nt$2(), [D, F] = reactExports.useState({}), { yMessage: N, yCaptureButton: z, yToggleButton: V, yInstruction: U, yCountdown: q } = D, Q = nz("IDCapturing.captureIcon.src", "ic_camera.svg"), X = nz("IDCapturing.captureIcon.disabled.src", "ic_camera.svg"), H = nN("IDCapturing.countdown.color")({
59559
+ let { description: s, usePortraitMask: l, windowAndVideoInfo: u, refVideo: p, frontSide: k, allowedCardTypes: y, settings: C, onCaptureDone: B, onUISpacingChange: x, outputEncryptionSettings: S, isShowingSpinner: E } = t, T = nt$2(), [D, F] = reactExports.useState({}), { yMessage: N, yCaptureButton: z, yToggleButton: V, yInstruction: U, yCountdown: q } = D, Q = nz("IDCapturing.captureIcon.src", "ic_camera.svg"), X = nz("IDCapturing.captureIcon.disabled.src", "ic_camera.svg"), H = nN("IDCapturing.countdown.color")({
59556
59560
  theme: T
59557
- }), G = nz("IDCapturing.loadingIcon.src", "ic_loading.gif"), [Z, K] = reactExports.useState(""), Y = gB(), [J, ee] = reactExports.useState(null), [et, er] = reactExports.useState(""), [eo, en] = reactExports.useState(null), { showPopup: ei, popupShown: ea, popupType: es } = ad(), ec = reactExports.useContext(aO), [el, ed] = reactExports.useState(!1), eu = reactExports.useRef(()=>{}), ep = reactExports.useCallback((t)=>{
59561
+ }), G = nz("IDCapturing.loadingIcon.src", "ic_loading.gif"), [Z, K] = reactExports.useState(""), Y = gB(), [J, ee] = reactExports.useState(null), [et, er] = reactExports.useState(""), [eo, en] = reactExports.useState(null), { showPopup: ei, popupShown: ea, popupType: es } = ad(), ec = reactExports.useContext(aO), [el, ed] = reactExports.useState(!1), eu = reactExports.useRef(()=>{}), ef = reactExports.useCallback((t)=>{
59558
59562
  null === t ? er("") : er(Y(t?.code, {
59559
59563
  side: k ? Y("front") : Y("back")
59560
59564
  }));
59561
59565
  }, [
59562
59566
  Y,
59563
59567
  k
59564
- ]), ef = reactExports.useCallback(()=>{
59568
+ ]), ep = reactExports.useCallback(()=>{
59565
59569
  ee(""), eu.current();
59566
59570
  }, []), eh = reactExports.useCallback((...t)=>{
59567
59571
  ee(""), B(...t);
59568
59572
  }, [
59569
59573
  B
59570
- ]), { warmupDone: em, isPostProcessing: eg, isAutoCapturing: eb, takePictureManually: ev, restartSession: ew, resetIsProcessingImageBlobTaken: ek, isAutoCaptureModeOn: ey, onToggleAutoCaptureMode: eC, autoCaptureDuration: eB } = (({ shouldStart: t, refVideo: r, cropArea: s, settings: l, onModelErrorChange: d, frontSide: u, onDebugInfoChange: f, onAboutToTimeout: g, onSessionTimeout: k, onCaptureDone: y, outputEncryptionSettings: C, quality: B })=>{
59574
+ ]), { warmupDone: em, isPostProcessing: eg, isAutoCapturing: eb, takePictureManually: ev, restartSession: ew, resetIsProcessingImageBlobTaken: ek, isAutoCaptureModeOn: ey, onToggleAutoCaptureMode: eC, autoCaptureDuration: eB } = (({ shouldStart: t, refVideo: r, cropArea: s, settings: l, onModelErrorChange: d, frontSide: u, onDebugInfoChange: p, onAboutToTimeout: g, onSessionTimeout: k, onCaptureDone: y, outputEncryptionSettings: C, quality: B })=>{
59571
59575
  let x = reactExports.useRef(!1), [S, E] = reactExports.useState(!1), T = reactExports.useRef(()=>{}), { sendEvent: D } = iN$1.useSDKTracking(), L = reactExports.useRef(), F = reactExports.useRef(), N = reactExports.useRef(), z = reactExports.useContext(aO), { enableAntiDebug: V } = no$1.useSDKSettings(), { onErrorCallback: W } = aS(), { playVoice: U } = iJ$1.useVoicePlayer(), [q, Q] = reactExports.useState(nn(l, "enableAutoCapture")), X = reactExports.useCallback(()=>{
59572
59576
  Q((t)=>!t);
59573
59577
  }, []), { autoCaptureWaitForBestImageTimeMs: H, manualCaptureWaitForBestImageTimeMs: G } = l, Z = q ? H : G;
@@ -59608,30 +59612,30 @@
59608
59612
  l.blurLargeThresholdAuto,
59609
59613
  l.blurLargeThresholdManual,
59610
59614
  l.enableAutoCapture
59611
- ]), { isCapturing: et, refWorkingCanvas: er, stopCheckFrame: eo, checkFrame: en, warmupDone: ei, takePictureManually: ea, refAbleToRunBurstMode: es, refVirtualFrames: ec, refCardCoordinates: el, refBlurScores: ed, refGlareScores: eu, resetState: ep, resetRecordVideo: ef } = function({ isAutoCapture: t, blurSmallThreshold: r, blurLargeThreshold: s, refVideo: l, shouldStart: d, cropArea: u, settings: f, onError: m, frontSide: g, onAutoCaptureSuccess: b, quality: k, debug: y }) {
59615
+ ]), { isCapturing: et, refWorkingCanvas: er, stopCheckFrame: eo, checkFrame: en, warmupDone: ei, takePictureManually: ea, refAbleToRunBurstMode: es, refVirtualFrames: ec, refCardCoordinates: el, refBlurScores: ed, refGlareScores: eu, resetState: ef, resetRecordVideo: ep } = function({ isAutoCapture: t, blurSmallThreshold: r, blurLargeThreshold: s, refVideo: l, shouldStart: d, cropArea: u, settings: p, onError: m, frontSide: g, onAutoCaptureSuccess: b, quality: k, debug: y }) {
59612
59616
  let C = reactExports.useRef(null);
59613
59617
  null === C.current && (C.current = document.createElement("canvas"));
59614
- let B = reactExports.useRef([]), x = reactExports.useRef({}), S = reactExports.useRef(!1), E = reactExports.useRef([]), T = reactExports.useRef(!1), D = reactExports.useRef(null), [I, O] = reactExports.useState(!1), M = reactExports.useRef(aj()), A = reactExports.useRef(aI()), R = reactExports.useRef(null), L = reactExports.useRef(!1), F = reactExports.useRef(!1), N = reactExports.useRef(null), z = reactExports.useRef(!1), V = reactExports.useRef({}), { customUrls: W } = no$1.useSDKSettings(), { onErrorCallback: U } = aS(), [q, Q] = reactExports.useState(!0), X = reactExports.useRef([]), H = reactExports.useRef([]), G = reactExports.useRef(t), { allowedCards: Z } = f, K = reactExports.useRef(null), [Y, J] = reactExports.useState(!1), ee = reactExports.useRef(!1), et = reactExports.useMemo(()=>({
59615
- videoFrameWidth: f.recordVideoFrameWidth,
59616
- videoFrameHeight: f.recordVideoFrameHeight,
59617
- videoBitrate: f.recordVideoBitrate,
59618
- fps: f.recordVideoFps
59618
+ let B = reactExports.useRef([]), x = reactExports.useRef({}), S = reactExports.useRef(!1), E = reactExports.useRef([]), T = reactExports.useRef(!1), D = reactExports.useRef(null), [I, O] = reactExports.useState(!1), M = reactExports.useRef(aj()), A = reactExports.useRef(aI()), R = reactExports.useRef(null), L = reactExports.useRef(!1), F = reactExports.useRef(!1), N = reactExports.useRef(null), z = reactExports.useRef(!1), V = reactExports.useRef({}), { customUrls: W } = no$1.useSDKSettings(), { onErrorCallback: U } = aS(), [q, Q] = reactExports.useState(!0), X = reactExports.useRef([]), H = reactExports.useRef([]), G = reactExports.useRef(t), { allowedCards: Z } = p, K = reactExports.useRef(null), [Y, J] = reactExports.useState(!1), ee = reactExports.useRef(!1), et = reactExports.useMemo(()=>({
59619
+ videoFrameWidth: p.recordVideoFrameWidth,
59620
+ videoFrameHeight: p.recordVideoFrameHeight,
59621
+ videoBitrate: p.recordVideoBitrate,
59622
+ fps: p.recordVideoFps
59619
59623
  }), [
59620
- f.recordVideoBitrate,
59621
- f.recordVideoFps,
59622
- f.recordVideoFrameHeight,
59623
- f.recordVideoFrameWidth
59624
+ p.recordVideoBitrate,
59625
+ p.recordVideoFps,
59626
+ p.recordVideoFrameHeight,
59627
+ p.recordVideoFrameWidth
59624
59628
  ]), { startRecording: er, stopRecording: eo, resetRecording: en } = aD({
59625
- shouldRecord: reactExports.useMemo(()=>g ? f.enableRecordCapturingFront : f.enableRecordCapturingBack, [
59629
+ shouldRecord: reactExports.useMemo(()=>g ? p.enableRecordCapturingFront : p.enableRecordCapturingBack, [
59626
59630
  g,
59627
- f.enableRecordCapturingBack,
59628
- f.enableRecordCapturingFront
59631
+ p.enableRecordCapturingBack,
59632
+ p.enableRecordCapturingFront
59629
59633
  ])
59630
59634
  }), { startRecording: ei, stopRecording: ea, resetRecording: es } = aD({
59631
- shouldRecord: reactExports.useMemo(()=>g ? f.enableRecordFullSessionFront : f.enableRecordFullSessionBack, [
59635
+ shouldRecord: reactExports.useMemo(()=>g ? p.enableRecordFullSessionFront : p.enableRecordFullSessionBack, [
59632
59636
  g,
59633
- f.enableRecordFullSessionBack,
59634
- f.enableRecordFullSessionFront
59637
+ p.enableRecordFullSessionBack,
59638
+ p.enableRecordFullSessionFront
59635
59639
  ])
59636
59640
  }), { turnOnFlashlight: ec, turnOffFlashlight: el } = (()=>{
59637
59641
  let t = reactExports.useContext(nU);
@@ -59645,8 +59649,8 @@
59645
59649
  ]), reactExports.useEffect(()=>{
59646
59650
  let t = !1;
59647
59651
  return async function r() {
59648
- if (f && !I) {
59649
- if (f.enableIdDetection) {
59652
+ if (p && !I) {
59653
+ if (p.enableIdDetection) {
59650
59654
  let t = ((t, r)=>{
59651
59655
  if (0 === t.length) return {
59652
59656
  isValid: !1
@@ -59667,7 +59671,7 @@
59667
59671
  } : {
59668
59672
  isValid: !1
59669
59673
  };
59670
- })(Z.map((t)=>t.code), f?.cardTypeModelMapping);
59674
+ })(Z.map((t)=>t.code), p?.cardTypeModelMapping);
59671
59675
  if (!t.isValid) {
59672
59676
  U(a$.invalid_card_type_config), Q(!1), O(!0);
59673
59677
  return;
@@ -59676,7 +59680,7 @@
59676
59680
  V.current = await a_({
59677
59681
  ...W,
59678
59682
  idCardModelUrl: r
59679
- }, t.cardModel), await fY.initTensorFlow(), N.current = f.enableBlurCheck && V.current.ableToUseModel, Q(!t.forceOffDetection);
59683
+ }, t.cardModel), await fY.initTensorFlow(), N.current = p.enableBlurCheck && V.current.ableToUseModel, Q(!t.forceOffDetection);
59680
59684
  } else Q(!1), N.current = !1;
59681
59685
  t || O(!0);
59682
59686
  }
@@ -59685,7 +59689,7 @@
59685
59689
  };
59686
59690
  }, [
59687
59691
  I,
59688
- f,
59692
+ p,
59689
59693
  W,
59690
59694
  Z,
59691
59695
  U
@@ -59702,13 +59706,13 @@
59702
59706
  });
59703
59707
  }, [
59704
59708
  k
59705
- ]), ep = reactExports.useCallback(()=>{
59709
+ ]), ef = reactExports.useCallback(()=>{
59706
59710
  Y || (en(), es());
59707
59711
  }, [
59708
59712
  Y,
59709
59713
  en,
59710
59714
  es
59711
- ]), ef = reactExports.useCallback(async ()=>{
59715
+ ]), ep = reactExports.useCallback(async ()=>{
59712
59716
  let t = {
59713
59717
  capturingVideo: {
59714
59718
  blob: null
@@ -59723,18 +59727,18 @@
59723
59727
  }, [
59724
59728
  eo,
59725
59729
  ea
59726
- ]), eh = reactExports.useMemo(()=>g ? f.enableFlashlightFront : f.enableFlashlightBack, [
59730
+ ]), eh = reactExports.useMemo(()=>g ? p.enableFlashlightFront : p.enableFlashlightBack, [
59727
59731
  g,
59728
- f.enableFlashlightBack,
59729
- f.enableFlashlightFront
59730
- ]), em = reactExports.useMemo(()=>g ? f.flashlightActivationDelayFront : f.flashlightActivationDelayBack, [
59732
+ p.enableFlashlightBack,
59733
+ p.enableFlashlightFront
59734
+ ]), em = reactExports.useMemo(()=>g ? p.flashlightActivationDelayFront : p.flashlightActivationDelayBack, [
59731
59735
  g,
59732
- f.flashlightActivationDelayBack,
59733
- f.flashlightActivationDelayFront
59734
- ]), eg = reactExports.useMemo(()=>g ? f.flashlightDurationFront : f.flashlightDurationBack, [
59736
+ p.flashlightActivationDelayBack,
59737
+ p.flashlightActivationDelayFront
59738
+ ]), eg = reactExports.useMemo(()=>g ? p.flashlightDurationFront : p.flashlightDurationBack, [
59735
59739
  g,
59736
- f.flashlightDurationBack,
59737
- f.flashlightDurationFront
59740
+ p.flashlightDurationBack,
59741
+ p.flashlightDurationFront
59738
59742
  ]), eb = reactExports.useCallback(()=>{
59739
59743
  !ed.current && eh && (ed.current = !0, setTimeout(()=>{
59740
59744
  ec(eg);
@@ -59751,9 +59755,9 @@
59751
59755
  ]), ew = reactExports.useCallback(()=>{
59752
59756
  !0 === T.current && (T.current = !1);
59753
59757
  }, []), ek = reactExports.useCallback(()=>{
59754
- ep(), X.current = [], H.current = [], R.current = null, z.current = !1, ee.current = !1;
59758
+ ef(), X.current = [], H.current = [], R.current = null, z.current = !1, ee.current = !1;
59755
59759
  }, [
59756
- ep
59760
+ ef
59757
59761
  ]), ey = reactExports.useCallback(async ({ blurScore: t, detectedCard: o, glareScore: n })=>{
59758
59762
  await er({
59759
59763
  videoEl: l.current,
@@ -59766,7 +59770,7 @@
59766
59770
  incomingFrameBlurScore: t,
59767
59771
  currentFrameGlareScore: i.glareScore,
59768
59772
  incomingFrameGlareScore: n,
59769
- settings: f,
59773
+ settings: p,
59770
59774
  blurLargeThreshold: s,
59771
59775
  blurSmallThreshold: r
59772
59776
  })) {
@@ -59784,25 +59788,25 @@
59784
59788
  }
59785
59789
  i.takenAt = new Date().getTime(), i.blurScore = t, i.glareScore = n, i.detectedCard = o, i.captureType = "auto";
59786
59790
  }
59787
- f.enableBlurCheck && X.current.push(t), f.enableGlareCheck && H.current.push(n);
59791
+ p.enableBlurCheck && X.current.push(t), p.enableGlareCheck && H.current.push(n);
59788
59792
  }, [
59789
59793
  er,
59790
59794
  l,
59791
59795
  et,
59792
59796
  eb,
59793
- f,
59797
+ p,
59794
59798
  s,
59795
59799
  r,
59796
59800
  k
59797
59801
  ]), eC = reactExports.useCallback(async ({ blurScore: t, detectedCard: o, glareScore: n })=>{
59798
59802
  F.current = !0;
59799
59803
  let i = A.current;
59800
- if (f.enableBlurCheck && X.current.push(t), f.enableGlareCheck && H.current.push(n), iV({
59804
+ if (p.enableBlurCheck && X.current.push(t), p.enableGlareCheck && H.current.push(n), iV({
59801
59805
  currentFrameBlurScore: i.blurScore,
59802
59806
  currentFrameGlareScore: i.glareScore,
59803
59807
  incomingFrameBlurScore: t,
59804
59808
  incomingFrameGlareScore: n,
59805
- settings: f,
59809
+ settings: p,
59806
59810
  blurLargeThreshold: s,
59807
59811
  blurSmallThreshold: r
59808
59812
  })) {
@@ -59821,19 +59825,19 @@
59821
59825
  s,
59822
59826
  r,
59823
59827
  k,
59824
- f
59828
+ p
59825
59829
  ]), eB = reactExports.useCallback(async ()=>{
59826
- let { autoCaptureWaitForBestImageTimeMs: t } = f, r = M.current;
59830
+ let { autoCaptureWaitForBestImageTimeMs: t } = p, r = M.current;
59827
59831
  if (null !== r.imageBlob && new Date().getTime() - R.current > t) {
59828
- let t = await ef();
59832
+ let t = await ep();
59829
59833
  await ev(), await b({
59830
59834
  ...r,
59831
59835
  ...t
59832
59836
  }), J(!1), R.current = null;
59833
59837
  }
59834
59838
  }, [
59835
- f,
59836
- ef,
59839
+ p,
59840
+ ep,
59837
59841
  ev,
59838
59842
  b
59839
59843
  ]), e_ = reactExports.useCallback(()=>{
@@ -59848,7 +59852,7 @@
59848
59852
  resultAnalyzeVideoAndWindowSizes: D.current,
59849
59853
  recordVideoSettings: et
59850
59854
  }), eb(), new Promise((t)=>{
59851
- let { enableVirtualCamHashes: o, manualCaptureWaitForBestImageTimeMs: n } = f, i = A.current;
59855
+ let { enableVirtualCamHashes: o, manualCaptureWaitForBestImageTimeMs: n } = p, i = A.current;
59852
59856
  if (i.captureTime = Date.now(), N.current) J(!0), e_(), setTimeout(()=>{
59853
59857
  ex().then(async ()=>{
59854
59858
  await ev(), (i.blurScore?.small <= r || i.blurScore?.large <= s) && (i.error = a$.id_detector_error_blur);
@@ -59863,7 +59867,7 @@
59863
59867
  quality: k
59864
59868
  }).then(async (n)=>{
59865
59869
  i.imageBlob = n, i.captureTime = Date.now(), i.hash = r, o && await eu(i.detectedCard);
59866
- let a = await ef();
59870
+ let a = await ep();
59867
59871
  t({
59868
59872
  ...i,
59869
59873
  ...a
@@ -59871,7 +59875,7 @@
59871
59875
  });
59872
59876
  } else {
59873
59877
  o && await eu(i.detectedCard);
59874
- let r = await ef();
59878
+ let r = await ep();
59875
59879
  t({
59876
59880
  ...i,
59877
59881
  ...r
@@ -59898,10 +59902,10 @@
59898
59902
  l,
59899
59903
  et,
59900
59904
  eb,
59901
- f,
59905
+ p,
59902
59906
  e_,
59903
59907
  ex,
59904
- ef,
59908
+ ep,
59905
59909
  ev,
59906
59910
  r,
59907
59911
  s,
@@ -59935,10 +59939,10 @@
59935
59939
  portraitTopLeft: c,
59936
59940
  portraitBottomRight: l
59937
59941
  };
59938
- }(t, f.blurFullFaceImageRatio, r), a = function(t, r) {
59942
+ }(t, p.blurFullFaceImageRatio, r), a = function(t, r) {
59939
59943
  let { cv: o } = window;
59940
59944
  if (!o) throw Error("Opencv not found!");
59941
- let { topLeft: n, topRight: i, bottomRight: a, bottomLeft: s, maxWidth: c, maxHeight: l } = r, { portraitTopLeft: d, portraitBottomRight: u } = t, p = o.matFromArray(4, 1, o.CV_32FC2, [
59945
+ let { topLeft: n, topRight: i, bottomRight: a, bottomLeft: s, maxWidth: c, maxHeight: l } = r, { portraitTopLeft: d, portraitBottomRight: u } = t, f = o.matFromArray(4, 1, o.CV_32FC2, [
59942
59946
  n.x,
59943
59947
  n.y,
59944
59948
  i.x,
@@ -59947,7 +59951,7 @@
59947
59951
  a.y,
59948
59952
  s.x,
59949
59953
  s.y
59950
- ]), f = o.matFromArray(4, 1, o.CV_32FC2, [
59954
+ ]), p = o.matFromArray(4, 1, o.CV_32FC2, [
59951
59955
  0,
59952
59956
  0,
59953
59957
  c - 1,
@@ -59956,7 +59960,7 @@
59956
59960
  l - 1,
59957
59961
  0,
59958
59962
  l - 1
59959
- ]), h = o.getPerspectiveTransform(p, f), m = (t)=>{
59963
+ ]), h = o.getPerspectiveTransform(f, p), m = (t)=>{
59960
59964
  let r = o.matFromArray(1, 1, o.CV_32FC2, [
59961
59965
  t[0],
59962
59966
  t[1]
@@ -59970,7 +59974,7 @@
59970
59974
  Math.max(0, Math.min(i[1] * (ra$1.RESIZE_IMAGE_HEIGHT / l), l))
59971
59975
  ];
59972
59976
  }, g = m(d), b = m(u);
59973
- return p.delete(), f.delete(), h.delete(), [
59977
+ return f.delete(), p.delete(), h.delete(), [
59974
59978
  parseInt(g[0], 10),
59975
59979
  parseInt(g[1], 10),
59976
59980
  parseInt(b[0], 10),
@@ -60048,9 +60052,9 @@
60048
60052
  };
60049
60053
  }
60050
60054
  }, [
60051
- f
60055
+ p
60052
60056
  ]), e$ = reactExports.useCallback(async ({ result: t, workingCanvas: o })=>{
60053
- let n, i, { cropX: a, cropY: c, cropWidth: d, cropHeight: u, cropWidthWithoutPadding: p, cropHeightWithoutPadding: h } = D.current, { enableBlurCheck: m, enableGlareCheck: b, glareThreshold: v, isVietnameseCardFlow: k, hasFrontFace: C, hasBackFace: B, genericEnableCheckFrontFace: x, genericEnableCheckBackFace: P } = f, { blazefaceModel: S, blurDetector: E } = V.current, T = {
60057
+ let n, i, { cropX: a, cropY: c, cropWidth: d, cropHeight: u, cropWidthWithoutPadding: f, cropHeightWithoutPadding: h } = D.current, { enableBlurCheck: m, enableGlareCheck: b, glareThreshold: v, isVietnameseCardFlow: k, hasFrontFace: C, hasBackFace: B, genericEnableCheckFrontFace: x, genericEnableCheckBackFace: P } = p, { blazefaceModel: S, blurDetector: E } = V.current, T = {
60054
60058
  error: null
60055
60059
  };
60056
60060
  try {
@@ -60067,12 +60071,12 @@
60067
60071
  area: c.width * c.height
60068
60072
  },
60069
60073
  big: {
60070
- area: p * h
60074
+ area: f * h
60071
60075
  }
60072
60076
  });
60073
60077
  if (l < .5) throw Error("id_detector_card_too_small");
60074
60078
  if (l > .95) throw Error("id_detector_error_incomplete");
60075
- if (k && nn(f, "enableCardTypeCheck")) {
60079
+ if (k && nn(p, "enableCardTypeCheck")) {
60076
60080
  let r = nn(t, "card.label", ""), { isAllowed: o, cardType: n } = ((t, r)=>{
60077
60081
  let o = t.split(".")?.[0];
60078
60082
  if (o !== r[0].split(".")?.[0]) return {
@@ -60146,8 +60150,8 @@
60146
60150
  smallThreshold: r,
60147
60151
  largeThreshold: s
60148
60152
  }), u = {
60149
- small: iz(d?.[0], f.blurSmallDecimal),
60150
- large: iz(d?.[1], f.blurLargeDecimal)
60153
+ small: iz(d?.[0], p.blurSmallDecimal),
60154
+ large: iz(d?.[1], p.blurLargeDecimal)
60151
60155
  };
60152
60156
  if (eT.current = {
60153
60157
  ...eT.current,
@@ -60163,10 +60167,10 @@
60163
60167
  }
60164
60168
  if (y) {
60165
60169
  var I, O, M, A, R, L, F, N;
60166
- let r, s, p, f = nn(t, "card.label"), h = nn(t, "card.corners");
60170
+ let r, s, f, p = nn(t, "card.label"), h = nn(t, "card.corners");
60167
60171
  eT.current = {
60168
60172
  ...eT.current,
60169
- label: f,
60173
+ label: p,
60170
60174
  corner_size: h?.length
60171
60175
  }, p_.drawDebugCanvas(eE.current, eT.current);
60172
60176
  let m = i$ / o.width, g = eS.current.getContext("2d");
@@ -60178,7 +60182,7 @@
60178
60182
  o.strokeRect(s, c, l - s, d - c);
60179
60183
  }(O[0], "black", I, R), s = M.filter((t)=>"small" === t.lapType), s.length > 0 && s.forEach((t)=>{
60180
60184
  iW(t.bboxes, "blue", I, R, r);
60181
- }), p = M.filter((t)=>"large" === t.lapType), p.length > 0 && p.forEach((t)=>{
60185
+ }), f = M.filter((t)=>"large" === t.lapType), f.length > 0 && f.forEach((t)=>{
60182
60186
  iW(t.bboxes, "green", I, R, r);
60183
60187
  }), L = A.map((t)=>t.location), F = I, N = R, F && (F.strokeStyle = "red", F.lineWidth = 2, L.forEach((t)=>{
60184
60188
  let r = t.x * N, o = t.y * N;
@@ -60187,7 +60191,7 @@
60187
60191
  }
60188
60192
  return T;
60189
60193
  }, [
60190
- f,
60194
+ p,
60191
60195
  y,
60192
60196
  l,
60193
60197
  Z,
@@ -60196,13 +60200,13 @@
60196
60200
  s,
60197
60201
  eD
60198
60202
  ]), ej = reactExports.useCallback(async ()=>{
60199
- if (!f || !I || T.current) return;
60203
+ if (!p || !I || T.current) return;
60200
60204
  M.current = aj(), A.current = aI();
60201
- let { enableVirtualCamHashes: t } = f, { idCardModel: r, ableToUseModel: o } = V.current, n = D.current, i = l.current;
60205
+ let { enableVirtualCamHashes: t } = p, { idCardModel: r, ableToUseModel: o } = V.current, n = D.current, i = l.current;
60202
60206
  T.current = !0;
60203
60207
  let { cropX: a, cropY: s, cropWidth: c, cropHeight: d } = n, u = C.current;
60204
60208
  u.width = c, u.height = d;
60205
- let p = u.getContext("2d"), h = async ()=>{
60209
+ let f = u.getContext("2d"), h = async ()=>{
60206
60210
  if (!1 === T.current) return;
60207
60211
  await ei({
60208
60212
  videoEl: l.current,
@@ -60210,11 +60214,11 @@
60210
60214
  recordVideoSettings: et
60211
60215
  });
60212
60216
  let n = K.current;
60213
- p.drawImage(i, a, s, c, d, 0, 0, c, d);
60217
+ f.drawImage(i, a, s, c, d, 0, 0, c, d);
60214
60218
  let g = performance.now();
60215
60219
  if (z.current = !1, q && o) {
60216
60220
  let o = await r.predict(u);
60217
- !f?.trackCardCoordinates || A.current.imageBlob || M.current.imageBlob || E.current.push(((t)=>{
60221
+ !p?.trackCardCoordinates || A.current.imageBlob || M.current.imageBlob || E.current.push(((t)=>{
60218
60222
  let r = nn(t, "card.corners");
60219
60223
  if (r && Array.isArray(r) && r.length > 0) {
60220
60224
  let { x: t, y: o } = nn(r, "[0].location");
@@ -60243,7 +60247,7 @@
60243
60247
  };
60244
60248
  K.current = window.requestAnimationFrame(h);
60245
60249
  }, [
60246
- f,
60250
+ p,
60247
60251
  I,
60248
60252
  l,
60249
60253
  ei,
@@ -60296,7 +60300,7 @@
60296
60300
  refBlurScores: X,
60297
60301
  refGlareScores: H,
60298
60302
  resetState: ek,
60299
- resetRecordVideo: ep
60303
+ resetRecordVideo: ef
60300
60304
  };
60301
60305
  }({
60302
60306
  isAutoCapture: q,
@@ -60314,17 +60318,17 @@
60314
60318
  });
60315
60319
  reactExports.useContext(aO);
60316
60320
  let eh = reactExports.useCallback(()=>{
60317
- ef(), eo(), k();
60321
+ ep(), eo(), k();
60318
60322
  }, [
60319
60323
  eo,
60320
- ef,
60324
+ ep,
60321
60325
  k
60322
60326
  ]), { resumeTimer: em, pauseTimer: eg } = ((t)=>{
60323
- let { interruptible: r = !0, totalTime: i, maxRetriesSettings: s, onAboutToTimeout: c, onTimeout: l, shouldStart: d, onError: u } = t, p = reactExports.useRef(new pT({
60327
+ let { interruptible: r = !0, totalTime: i, maxRetriesSettings: s, onAboutToTimeout: c, onTimeout: l, shouldStart: d, onError: u } = t, f = reactExports.useRef(new pT({
60324
60328
  totalTime: i,
60325
60329
  interruptible: r
60326
60330
  }));
60327
- reactExports.useEffect(()=>p.current.on("tick", ({ remainTime: t })=>{
60331
+ reactExports.useEffect(()=>f.current.on("tick", ({ remainTime: t })=>{
60328
60332
  t >= 0 && t <= i / 3 && "function" == typeof c && c({
60329
60333
  curTimeLeft: t
60330
60334
  });
@@ -60333,24 +60337,24 @@
60333
60337
  c,
60334
60338
  i,
60335
60339
  r
60336
- ]), reactExports.useEffect(()=>p.current.on("reset", ({ attemptCount: t })=>{
60337
- r && p.current.pause(), l(), s?.enable && t >= s?.total && u(ra$1.Errors.max_retry_reached);
60340
+ ]), reactExports.useEffect(()=>f.current.on("reset", ({ attemptCount: t })=>{
60341
+ r && f.current.pause(), l(), s?.enable && t >= s?.total && u(ra$1.Errors.max_retry_reached);
60338
60342
  }), [
60339
60343
  l,
60340
60344
  u,
60341
60345
  s?.enable,
60342
60346
  s?.total,
60343
60347
  r
60344
- ]), reactExports.useEffect(()=>d ? p.current.start() : ()=>{}, [
60348
+ ]), reactExports.useEffect(()=>d ? f.current.start() : ()=>{}, [
60345
60349
  d
60346
60350
  ]);
60347
- let f = reactExports.useCallback(()=>{
60348
- p.current.resume();
60351
+ let p = reactExports.useCallback(()=>{
60352
+ f.current.resume();
60349
60353
  }, []);
60350
60354
  return {
60351
- resumeTimer: f,
60355
+ resumeTimer: p,
60352
60356
  pauseTimer: reactExports.useCallback(()=>{
60353
- p.current.pause();
60357
+ f.current.pause();
60354
60358
  }, [])
60355
60359
  };
60356
60360
  })({
@@ -60364,24 +60368,24 @@
60364
60368
  }), eb = reactExports.useCallback(()=>{
60365
60369
  x.current = !1;
60366
60370
  }, []), ev = reactExports.useCallback(async ()=>{
60367
- eb(), em(), ep(), E(!1), U(u ? "keep_front_id_fit_border" : "keep_back_id_fit_border"), await Promise.all([
60371
+ eb(), em(), ef(), E(!1), U(u ? "keep_front_id_fit_border" : "keep_back_id_fit_border"), await Promise.all([
60368
60372
  en()
60369
60373
  ]);
60370
60374
  }, [
60371
60375
  eb,
60372
- ep,
60376
+ ef,
60373
60377
  U,
60374
60378
  u,
60375
60379
  en,
60376
60380
  em
60377
60381
  ]), ew = reactExports.useCallback(async (t = {})=>{
60378
- let r, { imageBlob: o, error: n, detectedCard: i, captureTime: a, captureCount: s, captureDuration: c, captureType: d, hash: p, blurScore: f, glareScore: h, fullVideo: m, capturingVideo: g } = t;
60382
+ let r, { imageBlob: o, error: n, detectedCard: i, captureTime: a, captureCount: s, captureDuration: c, captureType: d, hash: f, blurScore: p, glareScore: h, fullVideo: m, capturingVideo: g } = t;
60379
60383
  if (x.current) return;
60380
60384
  x.current = !0, E(!0), eo(), eg(), Y(null);
60381
60385
  let v = l?.enableVirtualCamHashes, w = l?.enableGlareCheck, k = l?.enableBlurCheck, B = {};
60382
- if (v && null !== p) {
60386
+ if (v && null !== f) {
60383
60387
  let t = [
60384
- p,
60388
+ f,
60385
60389
  ...ec.current
60386
60390
  ];
60387
60391
  t.length > 0 && (B = t.reduce((t, r, o)=>(t[`hash${o + 1}`] = r, t), {}));
@@ -60390,7 +60394,7 @@
60390
60394
  h7.addExifData("user_action", {
60391
60395
  start_id_card: F.current,
60392
60396
  end_id_card: Date.now()
60393
- }), h7.addExifData("id_detection_settings.blur_check.large_threshold", ee), h7.addExifData("id_detection_settings.blur_check.small_threshold", J), h7.addExifData("capture_time", a), h7.addExifData("type", i?.label), v && h7.addExifData("v_cam", B), h7.addExifData("capture_count", s), h7.addExifData("capture_duration", c), h7.addExifData("capture_type", d), _ && h7.addExifData("card_tracking", S), k && (h7.addExifData("model_score.blurry_score", f), h7.addExifData("blur_score_frames", JSON.stringify(ed.current))), w && (h7.addExifData("model_score.glare_score", h), h7.addExifData("glare_score_frames", JSON.stringify(eu.current)));
60397
+ }), h7.addExifData("id_detection_settings.blur_check.large_threshold", ee), h7.addExifData("id_detection_settings.blur_check.small_threshold", J), h7.addExifData("capture_time", a), h7.addExifData("type", i?.label), v && h7.addExifData("v_cam", B), h7.addExifData("capture_count", s), h7.addExifData("capture_duration", c), h7.addExifData("capture_type", d), _ && h7.addExifData("card_tracking", S), k && (h7.addExifData("model_score.blurry_score", p), h7.addExifData("blur_score_frames", JSON.stringify(ed.current))), w && (h7.addExifData("model_score.glare_score", h), h7.addExifData("glare_score_frames", JSON.stringify(eu.current)));
60394
60398
  let T = await h7.writeCurrentExif({
60395
60399
  imageData: {
60396
60400
  blob: o
@@ -60528,14 +60532,14 @@
60528
60532
  };
60529
60533
  })({
60530
60534
  shouldStart: !0,
60531
- refVideo: f,
60535
+ refVideo: p,
60532
60536
  cropArea: eo,
60533
60537
  settings: C,
60534
- onModelErrorChange: ep,
60538
+ onModelErrorChange: ef,
60535
60539
  frontSide: k,
60536
60540
  allowedCardTypes: y,
60537
60541
  onDebugInfoChange: K,
60538
- onSessionTimeout: ef,
60542
+ onSessionTimeout: ep,
60539
60543
  onCaptureDone: eh,
60540
60544
  onAboutToTimeout: reactExports.useCallback(({ curTimeLeft: t })=>{
60541
60545
  ee(Y("remaining_time", {
@@ -60564,9 +60568,9 @@
60564
60568
  }), { showCaptureButtonInAuto: eS = !0, showHoldStillProgress: eE = !1, showAutoCaptureToggle: eT } = C ?? {};
60565
60569
  reactExports.useEffect(()=>{
60566
60570
  if (u) {
60567
- let t, r, o, n, i, a, s, { videoAreaWidth: c, videoAreaHeight: d, lostX: p, lostY: f, clientHeight: h } = u;
60568
- l ? i = .7 * (a = d - 165) : a = Math.floor(Math.min((i = nT.isMobile ? c - 40 : Math.floor(.4 * c)) / 1.5, h - 2 * f - 80 - 100)), n = (t = (s = f + 140) - 70) + 30, o = eT ? s + a + 20 : s + a, r = s + a + 135, en({
60569
- x: Math.floor((c - i) / 2) + p,
60571
+ let t, r, o, n, i, a, s, { videoAreaWidth: c, videoAreaHeight: d, lostX: f, lostY: p, clientHeight: h } = u;
60572
+ l ? i = .7 * (a = d - 165) : a = Math.floor(Math.min((i = nT.isMobile ? c - 40 : Math.floor(.4 * c)) / 1.5, h - 2 * p - 80 - 100)), n = (t = (s = p + 140) - 70) + 30, o = eT ? s + a + 20 : s + a, r = s + a + 135, en({
60573
+ x: Math.floor((c - i) / 2) + f,
60570
60574
  y: s,
60571
60575
  width: i,
60572
60576
  height: a,
@@ -61036,8 +61040,8 @@
61036
61040
  Object.keys(l || {}).forEach(function(t) {
61037
61041
  l[t] = i[t] || l[t];
61038
61042
  });
61039
- var a = "attemptBoth" === l.inversionAttempts || "invertFirst" === l.inversionAttempts, s = "onlyInvert" === l.inversionAttempts || "invertFirst" === l.inversionAttempts, d = n.binarize(t, r, o, a), u = d.binarized, p = d.inverted, f = c(s ? p : u);
61040
- return f || "attemptBoth" !== l.inversionAttempts && "invertFirst" !== l.inversionAttempts || (f = c(s ? u : p)), f;
61043
+ var a = "attemptBoth" === l.inversionAttempts || "invertFirst" === l.inversionAttempts, s = "onlyInvert" === l.inversionAttempts || "invertFirst" === l.inversionAttempts, d = n.binarize(t, r, o, a), u = d.binarized, f = d.inverted, p = c(s ? f : u);
61044
+ return p || "attemptBoth" !== l.inversionAttempts && "invertFirst" !== l.inversionAttempts || (p = c(s ? u : f)), p;
61041
61045
  }
61042
61046
  d.default = d, r.default = d;
61043
61047
  },
@@ -61058,10 +61062,10 @@
61058
61062
  r.binarize = function(t, r, o, a) {
61059
61063
  if (t.length !== r * o * 4) throw Error("Malformed data passed to binarizer.");
61060
61064
  for(var s = new i(r, o), c = 0; c < r; c++)for(var l = 0; l < o; l++){
61061
- var d = t[(l * r + c) * 4 + 0], u = t[(l * r + c) * 4 + 1], p = t[(l * r + c) * 4 + 2];
61062
- s.set(c, l, .2126 * d + .7152 * u + .0722 * p);
61065
+ var d = t[(l * r + c) * 4 + 0], u = t[(l * r + c) * 4 + 1], f = t[(l * r + c) * 4 + 2];
61066
+ s.set(c, l, .2126 * d + .7152 * u + .0722 * f);
61063
61067
  }
61064
- for(var f = Math.ceil(r / 8), h = Math.ceil(o / 8), m = new i(f, h), g = 0; g < h; g++)for(var b = 0; b < f; b++){
61068
+ for(var p = Math.ceil(r / 8), h = Math.ceil(o / 8), m = new i(p, h), g = 0; g < h; g++)for(var b = 0; b < p; b++){
61065
61069
  for(var v = 0, w = 1 / 0, k = 0, l = 0; l < 8; l++)for(var c = 0; c < 8; c++){
61066
61070
  var y = s.get(8 * b + c, 8 * g + l);
61067
61071
  v += y, w = Math.min(w, y), k = Math.max(k, y);
@@ -61075,8 +61079,8 @@
61075
61079
  }
61076
61080
  var _ = n.BitMatrix.createEmpty(r, o), x = null;
61077
61081
  a && (x = n.BitMatrix.createEmpty(r, o));
61078
- for(var g = 0; g < h; g++)for(var b = 0; b < f; b++){
61079
- for(var P, S, E, T, D = (P = b, S = f - 3, P < 2 ? 2 : P > S ? S : P), $ = (E = g, T = h - 3, E < 2 ? 2 : E > T ? T : E), v = 0, j = -2; j <= 2; j++)for(var I = -2; I <= 2; I++)v += m.get(D + j, $ + I);
61082
+ for(var g = 0; g < h; g++)for(var b = 0; b < p; b++){
61083
+ for(var P, S, E, T, D = (P = b, S = p - 3, P < 2 ? 2 : P > S ? S : P), $ = (E = g, T = h - 3, E < 2 ? 2 : E > T ? T : E), v = 0, j = -2; j <= 2; j++)for(var I = -2; I <= 2; I++)v += m.get(D + j, $ + I);
61080
61084
  for(var O = v / 25, j = 0; j < 8; j++)for(var I = 0; I < 8; I++){
61081
61085
  var c = 8 * b + j, l = 8 * g + I, M = s.get(c, l);
61082
61086
  _.set(c, l, M <= O), a && x.set(c, l, !(M <= O));
@@ -61357,16 +61361,16 @@
61357
61361
  for(var l = 0, d = 5; d >= 0; d--)for(var u = i - 9; u >= i - 11; u--){
61358
61362
  r = t.get(u, d), l = l << 1 | r;
61359
61363
  }
61360
- for(var p = 0, u = 5; u >= 0; u--)for(var d = i - 9; d >= i - 11; d--){
61361
- o = t.get(u, d), p = p << 1 | o;
61364
+ for(var f = 0, u = 5; u >= 0; u--)for(var d = i - 9; d >= i - 11; d--){
61365
+ o = t.get(u, d), f = f << 1 | o;
61362
61366
  }
61363
- for(var f = 1 / 0, h = 0, m = s.VERSIONS; h < m.length; h++){
61367
+ for(var p = 1 / 0, h = 0, m = s.VERSIONS; h < m.length; h++){
61364
61368
  var g = m[h];
61365
- if (g.infoBits === l || g.infoBits === p) return g;
61369
+ if (g.infoBits === l || g.infoBits === f) return g;
61366
61370
  var b = c(l, g.infoBits);
61367
- b < f && (n = g, f = b), (b = c(p, g.infoBits)) < f && (n = g, f = b);
61371
+ b < p && (n = g, p = b), (b = c(f, g.infoBits)) < p && (n = g, p = b);
61368
61372
  }
61369
- if (f <= 3) return n;
61373
+ if (p <= 3) return n;
61370
61374
  }(t);
61371
61375
  if (!r) return null;
61372
61376
  var o = function(t) {
@@ -61376,19 +61380,19 @@
61376
61380
  for(var d = 7; d >= 0; d--){
61377
61381
  6 !== d && (o = t.get(8, d), a = a << 1 | o);
61378
61382
  }
61379
- for(var u = t.height, p = 0, d = u - 1; d >= u - 7; d--){
61380
- n = t.get(8, d), p = p << 1 | n;
61383
+ for(var u = t.height, f = 0, d = u - 1; d >= u - 7; d--){
61384
+ n = t.get(8, d), f = f << 1 | n;
61381
61385
  }
61382
61386
  for(var s = u - 8; s < u; s++){
61383
- i = t.get(s, 8), p = p << 1 | i;
61387
+ i = t.get(s, 8), f = f << 1 | i;
61384
61388
  }
61385
- for(var f = 1 / 0, h = null, m = 0; m < l.length; m++){
61389
+ for(var p = 1 / 0, h = null, m = 0; m < l.length; m++){
61386
61390
  var g = l[m], b = g.bits, v = g.formatInfo;
61387
- if (b === a || b === p) return v;
61391
+ if (b === a || b === f) return v;
61388
61392
  var w = c(a, b);
61389
- w < f && (h = v, f = w), a !== p && (w = c(p, b)) < f && (h = v, f = w);
61393
+ w < p && (h = v, p = w), a !== f && (w = c(f, b)) < p && (h = v, p = w);
61390
61394
  }
61391
- return f <= 3 ? h : null;
61395
+ return p <= 3 ? h : null;
61392
61396
  }(t);
61393
61397
  if (!o) return null;
61394
61398
  var u = function(t, r, o) {
@@ -61405,10 +61409,10 @@
61405
61409
  d.codewords.push(t.shift());
61406
61410
  }
61407
61411
  if (n.ecBlocks.length > 1) {
61408
- for(var u = n.ecBlocks[0].numBlocks, p = n.ecBlocks[1].numBlocks, c = 0; c < p; c++)i[u + c].codewords.push(t.shift());
61412
+ for(var u = n.ecBlocks[0].numBlocks, f = n.ecBlocks[1].numBlocks, c = 0; c < f; c++)i[u + c].codewords.push(t.shift());
61409
61413
  }
61410
- for(; t.length > 0;)for(var f = 0; f < i.length; f++){
61411
- var d = i[f];
61414
+ for(; t.length > 0;)for(var p = 0; p < i.length; p++){
61415
+ var d = i[p];
61412
61416
  d.codewords.push(t.shift());
61413
61417
  }
61414
61418
  return i;
@@ -61423,11 +61427,11 @@
61423
61427
  }
61424
61428
  }
61425
61429
  return o.setRegion(6, 9, 1, r - 17, !0), o.setRegion(9, 6, r - 17, 1, !0), t.versionNumber > 6 && (o.setRegion(r - 11, 0, 3, 6, !0), o.setRegion(0, r - 11, 6, 3, !0)), o;
61426
- }(r), c = [], l = 0, u = 0, p = !0, f = a - 1; f > 0; f -= 2){
61427
- 6 === f && f--;
61430
+ }(r), c = [], l = 0, u = 0, f = !0, p = a - 1; p > 0; p -= 2){
61431
+ 6 === p && p--;
61428
61432
  for(var h = 0; h < a; h++){
61429
- for(var m = p ? a - 1 - h : h, g = 0; g < 2; g++){
61430
- var b = f - g;
61433
+ for(var m = f ? a - 1 - h : h, g = 0; g < 2; g++){
61434
+ var b = p - g;
61431
61435
  if (!s.get(b, m)) {
61432
61436
  u++;
61433
61437
  var v = t.get(b, m);
@@ -61438,20 +61442,20 @@
61438
61442
  }
61439
61443
  }
61440
61444
  }
61441
- p = !p;
61445
+ f = !f;
61442
61446
  }
61443
61447
  return c;
61444
61448
  }(t, r, o), r, o.errorCorrectionLevel);
61445
61449
  if (!u) return null;
61446
- for(var p = new Uint8ClampedArray(u.reduce(function(t, r) {
61450
+ for(var f = new Uint8ClampedArray(u.reduce(function(t, r) {
61447
61451
  return t + r.numDataCodewords;
61448
- }, 0)), f = 0, h = 0; h < u.length; h++){
61452
+ }, 0)), p = 0, h = 0; h < u.length; h++){
61449
61453
  var m = u[h], g = a.decode(m.codewords, m.codewords.length - m.numDataCodewords);
61450
61454
  if (!g) return null;
61451
- for(var b = 0; b < m.numDataCodewords; b++)p[f++] = g[b];
61455
+ for(var b = 0; b < m.numDataCodewords; b++)f[p++] = g[b];
61452
61456
  }
61453
61457
  try {
61454
- return i.decode(p, r.versionNumber);
61458
+ return i.decode(f, r.versionNumber);
61455
61459
  } catch (t) {
61456
61460
  return null;
61457
61461
  }
@@ -61518,23 +61522,23 @@
61518
61522
  ":"
61519
61523
  ];
61520
61524
  r.decode = function(t, r) {
61521
- for(var o, n, i, u, p = new c.BitStream(t), f = r <= 9 ? 0 : r <= 26 ? 1 : 2, h = {
61525
+ for(var o, n, i, u, f = new c.BitStream(t), p = r <= 9 ? 0 : r <= 26 ? 1 : 2, h = {
61522
61526
  text: "",
61523
61527
  bytes: [],
61524
61528
  chunks: [],
61525
61529
  version: r
61526
- }; p.available() >= 4;){
61527
- var m = p.readBits(4);
61530
+ }; f.available() >= 4;){
61531
+ var m = f.readBits(4);
61528
61532
  if (m === s.Terminator) return h;
61529
- if (m === s.ECI) 0 === p.readBits(1) ? h.chunks.push({
61533
+ if (m === s.ECI) 0 === f.readBits(1) ? h.chunks.push({
61530
61534
  type: a.ECI,
61531
- assignmentNumber: p.readBits(7)
61532
- }) : 0 === p.readBits(1) ? h.chunks.push({
61535
+ assignmentNumber: f.readBits(7)
61536
+ }) : 0 === f.readBits(1) ? h.chunks.push({
61533
61537
  type: a.ECI,
61534
- assignmentNumber: p.readBits(14)
61535
- }) : 0 === p.readBits(1) ? h.chunks.push({
61538
+ assignmentNumber: f.readBits(14)
61539
+ }) : 0 === f.readBits(1) ? h.chunks.push({
61536
61540
  type: a.ECI,
61537
- assignmentNumber: p.readBits(21)
61541
+ assignmentNumber: f.readBits(21)
61538
61542
  }) : h.chunks.push({
61539
61543
  type: a.ECI,
61540
61544
  assignmentNumber: -1
@@ -61565,7 +61569,7 @@
61565
61569
  bytes: o,
61566
61570
  text: n
61567
61571
  };
61568
- }(p, f);
61572
+ }(f, p);
61569
61573
  h.text += g.text, (o = h.bytes).push.apply(o, g.bytes), h.chunks.push({
61570
61574
  type: a.Numeric,
61571
61575
  text: g.text
@@ -61588,7 +61592,7 @@
61588
61592
  bytes: o,
61589
61593
  text: n
61590
61594
  };
61591
- }(p, f);
61595
+ }(f, p);
61592
61596
  h.text += b.text, (n = h.bytes).push.apply(n, b.bytes), h.chunks.push({
61593
61597
  type: a.Alphanumeric,
61594
61598
  text: b.text
@@ -61612,7 +61616,7 @@
61612
61616
  bytes: o,
61613
61617
  text: n
61614
61618
  };
61615
- }(p, f);
61619
+ }(f, p);
61616
61620
  h.text += v.text, (i = h.bytes).push.apply(i, v.bytes), h.chunks.push({
61617
61621
  type: a.Byte,
61618
61622
  bytes: v.bytes,
@@ -61632,7 +61636,7 @@
61632
61636
  bytes: o,
61633
61637
  text: n
61634
61638
  };
61635
- }(p, f);
61639
+ }(f, p);
61636
61640
  h.text += w.text, (u = h.bytes).push.apply(u, w.bytes), h.chunks.push({
61637
61641
  type: a.Kanji,
61638
61642
  bytes: w.bytes,
@@ -61640,7 +61644,7 @@
61640
61644
  });
61641
61645
  }
61642
61646
  }
61643
- if (0 === p.available() || 0 === p.readBits(p.available())) return h;
61647
+ if (0 === f.available() || 0 === f.readBits(f.available())) return h;
61644
61648
  };
61645
61649
  },
61646
61650
  function(t, r, o) {
@@ -68726,7 +68730,7 @@
68726
68730
  c[c.length - 1 - d] = u, 0 !== u && (l = !0);
68727
68731
  }
68728
68732
  if (!l) return o;
68729
- var p = new i.default(a, c), f = function(t, r, o, n) {
68733
+ var f = new i.default(a, c), p = function(t, r, o, n) {
68730
68734
  r.degree() < o.degree() && (r = (i = [
68731
68735
  o,
68732
68736
  r
@@ -68735,11 +68739,11 @@
68735
68739
  var d = a, u = c;
68736
68740
  if (a = s, c = l, a.isZero()) return null;
68737
68741
  s = d;
68738
- for(var p = t.zero, f = a.getCoefficient(a.degree()), h = t.inverse(f); s.degree() >= a.degree() && !s.isZero();){
68742
+ for(var f = t.zero, p = a.getCoefficient(a.degree()), h = t.inverse(p); s.degree() >= a.degree() && !s.isZero();){
68739
68743
  var m = s.degree() - a.degree(), g = t.multiply(s.getCoefficient(s.degree()), h);
68740
- p = p.addOrSubtract(t.buildMonomial(m, g)), s = s.addOrSubtract(a.multiplyByMonomial(m, g));
68744
+ f = f.addOrSubtract(t.buildMonomial(m, g)), s = s.addOrSubtract(a.multiplyByMonomial(m, g));
68741
68745
  }
68742
- if (l = p.multiplyPoly(c).addOrSubtract(u), s.degree() >= a.degree()) return null;
68746
+ if (l = f.multiplyPoly(c).addOrSubtract(u), s.degree() >= a.degree()) return null;
68743
68747
  }
68744
68748
  var b = l.getCoefficient(0);
68745
68749
  if (0 === b) return null;
@@ -68748,8 +68752,8 @@
68748
68752
  l.multiply(v),
68749
68753
  s.multiply(v)
68750
68754
  ];
68751
- }(a, a.buildMonomial(r, 1), p, r);
68752
- if (null === f) return null;
68755
+ }(a, a.buildMonomial(r, 1), f, r);
68756
+ if (null === p) return null;
68753
68757
  var h = function(t, r) {
68754
68758
  var o = r.degree();
68755
68759
  if (1 === o) return [
@@ -68757,7 +68761,7 @@
68757
68761
  ];
68758
68762
  for(var n = Array(o), i = 0, a = 1; a < t.size && i < o; a++)0 === r.evaluateAt(a) && (n[i] = t.inverse(a), i++);
68759
68763
  return i !== o ? null : n;
68760
- }(a, f[0]);
68764
+ }(a, p[0]);
68761
68765
  if (null == h) return null;
68762
68766
  for(var m = function(t, r, o) {
68763
68767
  for(var i = o.length, a = Array(i), s = 0; s < i; s++){
@@ -68765,7 +68769,7 @@
68765
68769
  a[s] = t.multiply(r.evaluateAt(c), t.inverse(l)), 0 !== t.generatorBase && (a[s] = t.multiply(a[s], c));
68766
68770
  }
68767
68771
  return a;
68768
- }(a, f[1], h), g = 0; g < h.length; g++){
68772
+ }(a, p[1], h), g = 0; g < h.length; g++){
68769
68773
  var b = o.length - 1 - a.log(h[g]);
68770
68774
  if (b < 0) return null;
68771
68775
  o[b] = n.addOrSubtractGF(o[b], m[g]);
@@ -71246,14 +71250,14 @@
71246
71250
  a32: t.y,
71247
71251
  a33: 1
71248
71252
  };
71249
- var s = r.x - o.x, c = n.x - o.x, l = r.y - o.y, d = n.y - o.y, u = s * d - c * l, p = (i * d - c * a) / u, f = (s * a - i * l) / u;
71253
+ var s = r.x - o.x, c = n.x - o.x, l = r.y - o.y, d = n.y - o.y, u = s * d - c * l, f = (i * d - c * a) / u, p = (s * a - i * l) / u;
71250
71254
  return {
71251
- a11: r.x - t.x + p * r.x,
71252
- a12: r.y - t.y + p * r.y,
71253
- a13: p,
71254
- a21: n.x - t.x + f * n.x,
71255
- a22: n.y - t.y + f * n.y,
71256
- a23: f,
71255
+ a11: r.x - t.x + f * r.x,
71256
+ a12: r.y - t.y + f * r.y,
71257
+ a13: f,
71258
+ a21: n.x - t.x + p * n.x,
71259
+ a22: n.y - t.y + p * n.y,
71260
+ a23: p,
71257
71261
  a31: t.x,
71258
71262
  a32: t.y,
71259
71263
  a33: 1
@@ -71282,7 +71286,7 @@
71282
71286
  a31: c.a21 * c.a32 - c.a22 * c.a31,
71283
71287
  a32: c.a12 * c.a31 - c.a11 * c.a32,
71284
71288
  a33: c.a11 * c.a22 - c.a12 * c.a21
71285
- }), p = (l = i(r.topLeft, r.topRight, r.alignmentPattern, r.bottomLeft), d = u, {
71289
+ }), f = (l = i(r.topLeft, r.topRight, r.alignmentPattern, r.bottomLeft), d = u, {
71286
71290
  a11: l.a11 * d.a11 + l.a21 * d.a12 + l.a31 * d.a13,
71287
71291
  a12: l.a12 * d.a11 + l.a22 * d.a12 + l.a32 * d.a13,
71288
71292
  a13: l.a13 * d.a11 + l.a23 * d.a12 + l.a33 * d.a13,
@@ -71292,18 +71296,18 @@
71292
71296
  a31: l.a11 * d.a31 + l.a21 * d.a32 + l.a31 * d.a33,
71293
71297
  a32: l.a12 * d.a31 + l.a22 * d.a32 + l.a32 * d.a33,
71294
71298
  a33: l.a13 * d.a31 + l.a23 * d.a32 + l.a33 * d.a33
71295
- }), f = n.BitMatrix.createEmpty(r.dimension, r.dimension), h = function(t, r) {
71296
- var o = p.a13 * t + p.a23 * r + p.a33;
71299
+ }), p = n.BitMatrix.createEmpty(r.dimension, r.dimension), h = function(t, r) {
71300
+ var o = f.a13 * t + f.a23 * r + f.a33;
71297
71301
  return {
71298
- x: (p.a11 * t + p.a21 * r + p.a31) / o,
71299
- y: (p.a12 * t + p.a22 * r + p.a32) / o
71302
+ x: (f.a11 * t + f.a21 * r + f.a31) / o,
71303
+ y: (f.a12 * t + f.a22 * r + f.a32) / o
71300
71304
  };
71301
71305
  }, m = 0; m < r.dimension; m++)for(var g = 0; g < r.dimension; g++){
71302
71306
  var b = h(g + .5, m + .5);
71303
- f.set(g, m, t.get(Math.floor(b.x), Math.floor(b.y)));
71307
+ p.set(g, m, t.get(Math.floor(b.x), Math.floor(b.y)));
71304
71308
  }
71305
71309
  return {
71306
- matrix: f,
71310
+ matrix: p,
71307
71311
  mappingFunction: h
71308
71312
  };
71309
71313
  };
@@ -71328,15 +71332,15 @@
71328
71332
  }
71329
71333
  ], u = Math.abs(r.y - t.y) > Math.abs(r.x - t.x);
71330
71334
  u ? (a = Math.floor(t.y), s = Math.floor(t.x), c = Math.floor(r.y), l = Math.floor(r.x)) : (a = Math.floor(t.x), s = Math.floor(t.y), c = Math.floor(r.x), l = Math.floor(r.y));
71331
- for(var p = Math.abs(c - a), f = Math.abs(l - s), h = Math.floor(-p / 2), m = a < c ? 1 : -1, g = s < l ? 1 : -1, b = !0, v = a, w = s; v !== c + m; v += m){
71335
+ for(var f = Math.abs(c - a), p = Math.abs(l - s), h = Math.floor(-f / 2), m = a < c ? 1 : -1, g = s < l ? 1 : -1, b = !0, v = a, w = s; v !== c + m; v += m){
71332
71336
  var k = u ? w : v, y = u ? v : w;
71333
71337
  if (o.get(k, y) !== b && (b = !b, d.push({
71334
71338
  x: k,
71335
71339
  y: y
71336
71340
  }), d.length === i + 1)) break;
71337
- if ((h += f) > 0) {
71341
+ if ((h += p) > 0) {
71338
71342
  if (w === l) break;
71339
- w += g, h -= p;
71343
+ w += g, h -= f;
71340
71344
  }
71341
71345
  }
71342
71346
  for(var C = [], B = 0; B < i; B++)d[B] && d[B + 1] ? C.push(n(d[B], d[B + 1])) : C.push(0);
@@ -71372,7 +71376,7 @@
71372
71376
  }, l = s(t, a, o, r.length), d = {
71373
71377
  x: Math.min(o.width, t.x + t.y) + 1,
71374
71378
  y: Math.min(o.height, t.y + t.x) + 1
71375
- }, u = s(t, d, o, r.length), p = c(n, r), f = c(i, r), h = c(l, r), m = c(u, r), g = Math.sqrt(p.error * p.error + f.error * f.error + h.error * h.error + m.error * m.error), b = (p.averageSize + f.averageSize + h.averageSize + m.averageSize) / 4, v = (Math.pow(p.averageSize - b, 2) + Math.pow(f.averageSize - b, 2) + Math.pow(h.averageSize - b, 2) + Math.pow(m.averageSize - b, 2)) / b;
71379
+ }, u = s(t, d, o, r.length), f = c(n, r), p = c(i, r), h = c(l, r), m = c(u, r), g = Math.sqrt(f.error * f.error + p.error * p.error + h.error * h.error + m.error * m.error), b = (f.averageSize + p.averageSize + h.averageSize + m.averageSize) / 4, v = (Math.pow(f.averageSize - b, 2) + Math.pow(p.averageSize - b, 2) + Math.pow(h.averageSize - b, 2) + Math.pow(m.averageSize - b, 2)) / b;
71376
71380
  return g + v;
71377
71381
  } catch (t) {
71378
71382
  return 1 / 0;
@@ -71405,16 +71409,16 @@
71405
71409
  dimension: l,
71406
71410
  moduleSize: c
71407
71411
  };
71408
- }(a, o, c, t)).dimension, p = d.moduleSize;
71412
+ }(a, o, c, t)).dimension, f = d.moduleSize;
71409
71413
  } catch (t) {
71410
71414
  return null;
71411
71415
  }
71412
- var d, u, p, f = {
71416
+ var d, u, f, p = {
71413
71417
  x: o.x - a.x + c.x,
71414
71418
  y: o.y - a.y + c.y
71415
- }, h = (n(a, c) + n(a, o)) / 2 / p, m = 1 - 3 / h, g = {
71416
- x: a.x + m * (f.x - a.x),
71417
- y: a.y + m * (f.y - a.y)
71419
+ }, h = (n(a, c) + n(a, o)) / 2 / f, m = 1 - 3 / h, g = {
71420
+ x: a.x + m * (p.x - a.x),
71421
+ y: a.y + m * (p.y - a.y)
71418
71422
  }, b = r.map(function(r) {
71419
71423
  var o = (r.top.startX + r.top.endX + r.bottom.startX + r.bottom.endX) / 4, a = (r.top.y + r.bottom.y + 1) / 2;
71420
71424
  if (t.get(Math.floor(o), Math.floor(a))) {
@@ -71452,7 +71456,7 @@
71452
71456
  };
71453
71457
  }
71454
71458
  r.locate = function(t) {
71455
- for(var r, o, a, s, c, p, f, h, m, g, b, v, w, k = [], y = [], C = [], B = [], _ = function(r) {
71459
+ for(var r, o, a, s, c, f, p, h, m, g, b, v, w, k = [], y = [], C = [], B = [], _ = function(r) {
71456
71460
  for(var o = 0, n = !1, a = [
71457
71461
  0,
71458
71462
  0,
@@ -71470,21 +71474,21 @@
71470
71474
  a[4],
71471
71475
  o
71472
71476
  ], o = 1, n = c;
71473
- var l = i(a) / 7, d = Math.abs(a[0] - l) < l && Math.abs(a[1] - l) < l && Math.abs(a[2] - 3 * l) < 3 * l && Math.abs(a[3] - l) < l && Math.abs(a[4] - l) < l && !c, u = i(a.slice(-3)) / 3, p = Math.abs(a[2] - u) < u && Math.abs(a[3] - u) < u && Math.abs(a[4] - u) < u && c;
71477
+ var l = i(a) / 7, d = Math.abs(a[0] - l) < l && Math.abs(a[1] - l) < l && Math.abs(a[2] - 3 * l) < 3 * l && Math.abs(a[3] - l) < l && Math.abs(a[4] - l) < l && !c, u = i(a.slice(-3)) / 3, f = Math.abs(a[2] - u) < u && Math.abs(a[3] - u) < u && Math.abs(a[4] - u) < u && c;
71474
71478
  if (d) {
71475
- var f = s - a[3] - a[4], h = f - a[2], m = {
71479
+ var p = s - a[3] - a[4], h = p - a[2], m = {
71476
71480
  startX: h,
71477
- endX: f,
71481
+ endX: p,
71478
71482
  y: r
71479
71483
  }, g = y.filter(function(t) {
71480
- return h >= t.bottom.startX && h <= t.bottom.endX || f >= t.bottom.startX && h <= t.bottom.endX || h <= t.bottom.startX && f >= t.bottom.endX && a[2] / (t.bottom.endX - t.bottom.startX) < 1.5 && a[2] / (t.bottom.endX - t.bottom.startX) > .5;
71484
+ return h >= t.bottom.startX && h <= t.bottom.endX || p >= t.bottom.startX && h <= t.bottom.endX || h <= t.bottom.startX && p >= t.bottom.endX && a[2] / (t.bottom.endX - t.bottom.startX) < 1.5 && a[2] / (t.bottom.endX - t.bottom.startX) > .5;
71481
71485
  });
71482
71486
  g.length > 0 ? g[0].bottom = m : y.push({
71483
71487
  top: m,
71484
71488
  bottom: m
71485
71489
  });
71486
71490
  }
71487
- if (p) {
71491
+ if (f) {
71488
71492
  var b = s - a[4], v = b - a[3], m = {
71489
71493
  startX: v,
71490
71494
  y: r,
@@ -71578,14 +71582,14 @@
71578
71582
  r,
71579
71583
  o,
71580
71584
  a
71581
- ])[0], m = c[1], g = c[2]) : (h = (p = [
71585
+ ])[0], m = c[1], g = c[2]) : (h = (f = [
71582
71586
  r,
71583
71587
  a,
71584
71588
  o
71585
- ])[0], m = p[1], g = p[2]), (g.x - m.x) * (h.y - m.y) - (g.y - m.y) * (h.x - m.x) < 0 && (h = (f = [
71589
+ ])[0], m = f[1], g = f[2]), (g.x - m.x) * (h.y - m.y) - (g.y - m.y) * (h.x - m.x) < 0 && (h = (p = [
71586
71590
  g,
71587
71591
  h
71588
- ])[0], g = f[1]), {
71592
+ ])[0], g = p[1]), {
71589
71593
  bottomLeft: h,
71590
71594
  topLeft: m,
71591
71595
  topRight: g
@@ -71752,6 +71756,15 @@
71752
71756
  text-align: center;
71753
71757
  font-size: 20px;
71754
71758
  font-weight: 600;
71759
+ `; dt$1.div`
71760
+ width: 100%;
71761
+ height: 100%;
71762
+ opacity: ${({ $showChildren: t })=>+!!t};
71763
+ `;
71764
+ dt$1.div`
71765
+ text-align: center;
71766
+ font-size: 20px;
71767
+ font-weight: 600;
71755
71768
  `; dt$1.div`
71756
71769
  width: 100%;
71757
71770
  height: 100%;
@@ -71759,7 +71772,7 @@
71759
71772
  `;
71760
71773
  ({
71761
71774
  onOrientationChange: PropTypes.func,
71762
- shouldUnmount: PropTypes.bool
71775
+ unmountOnHidden: PropTypes.bool
71763
71776
  });
71764
71777
  ({
71765
71778
  allowedCardTypes: PropTypes.arrayOf(PropTypes.string),
@@ -71777,16 +71790,16 @@
71777
71790
  scannerTypeCons: PropTypes.shape({}).isRequired,
71778
71791
  customTexts: PropTypes.shape({})
71779
71792
  });
71780
- let { IDCardSide: sL, IDCardType: sF, Errors: sN } = ra$1;
71781
- iI.ID_CARD, ra$1.IDCardSide.FRONT, sF.VN, iI.ID_CARD, ra$1.IDCardSide.BACK, sF.VN, iI.QR_CODE;
71782
- let sz = [
71793
+ let { IDCardSide: sU, IDCardType: sq, Errors: sQ } = ra$1;
71794
+ iI.ID_CARD, ra$1.IDCardSide.FRONT, sq.VN, iI.ID_CARD, ra$1.IDCardSide.BACK, sq.VN, iI.QR_CODE;
71795
+ let sX = [
71783
71796
  {
71784
71797
  scannerType: iI.ID_CARD,
71785
71798
  title: "Chụp mặt trước",
71786
71799
  description: "Căn chỉnh giấy tờ khớp với khung h\xecnh",
71787
71800
  titleIcon: "id_card_front.svg",
71788
71801
  cardSide: ra$1.IDCardSide.FRONT,
71789
- cardType: sF.VN,
71802
+ cardType: sq.VN,
71790
71803
  enableConfirmPopup: !1
71791
71804
  },
71792
71805
  {
@@ -71795,25 +71808,25 @@
71795
71808
  description: "Căn chỉnh giấy tờ khớp với khung h\xecnh",
71796
71809
  titleIcon: "id_card_back.svg",
71797
71810
  cardSide: ra$1.IDCardSide.BACK,
71798
- cardType: sF.VN,
71811
+ cardType: sq.VN,
71799
71812
  enableConfirmPopup: !1
71800
71813
  }
71801
71814
  ];
71802
- function sV() {
71803
- if (rh) return rf;
71815
+ function sH() {
71816
+ if (rh) return rp;
71804
71817
  rh = 1;
71805
71818
  var t = o9();
71806
- return rf = function() {
71819
+ return rp = function() {
71807
71820
  try {
71808
71821
  var r = t(Object, "defineProperty");
71809
71822
  return r({}, "", {}), r;
71810
71823
  } catch (t) {}
71811
71824
  }();
71812
71825
  }
71813
- function sW() {
71826
+ function sG() {
71814
71827
  if (rg) return rm;
71815
71828
  rg = 1;
71816
- var t = sV();
71829
+ var t = sH();
71817
71830
  return rm = function(r, o, n) {
71818
71831
  "__proto__" == o && t ? t(r, o, {
71819
71832
  configurable: !0,
@@ -71823,26 +71836,26 @@
71823
71836
  }) : r[o] = n;
71824
71837
  };
71825
71838
  }
71826
- function sU() {
71839
+ function sZ() {
71827
71840
  if (rv) return rb;
71828
71841
  rv = 1;
71829
- var t = sW(), r = o7();
71842
+ var t = sG(), r = o7();
71830
71843
  return rb = function(o, n, i) {
71831
71844
  (void 0 === i || r(o[n], i)) && (void 0 !== i || n in o) || t(o, n, i);
71832
71845
  };
71833
71846
  }
71834
- var sq = {
71847
+ var sK = {
71835
71848
  exports: {}
71836
71849
  };
71837
- sq.exports;
71838
- function sQ() {
71850
+ sK.exports;
71851
+ function sY() {
71839
71852
  return rR ? rA : (rR = 1, rA = (rM ? rO : (rM = 1, rO = function(t, r) {
71840
71853
  return function(o) {
71841
71854
  return t(r(o));
71842
71855
  };
71843
71856
  }))(Object.getPrototypeOf, Object));
71844
71857
  }
71845
- function sX() {
71858
+ function sJ() {
71846
71859
  if (rF) return rL;
71847
71860
  rF = 1;
71848
71861
  var t = Object.prototype;
@@ -71851,7 +71864,7 @@
71851
71864
  return r === ("function" == typeof o && o.prototype || t);
71852
71865
  };
71853
71866
  }
71854
- function sH() {
71867
+ function s3() {
71855
71868
  if (rq) return rU;
71856
71869
  rq = 1;
71857
71870
  var t = function() {
@@ -71868,41 +71881,41 @@
71868
71881
  return r(t) && n.call(t, "callee") && !i.call(t, "callee");
71869
71882
  };
71870
71883
  }
71871
- function sG() {
71884
+ function s2() {
71872
71885
  return rX ? rQ : (rX = 1, rQ = function(t) {
71873
71886
  return "number" == typeof t && t > -1 && t % 1 == 0 && t <= 0x1fffffffffffff;
71874
71887
  });
71875
71888
  }
71876
- function sZ() {
71889
+ function s5() {
71877
71890
  if (rG) return rH;
71878
71891
  rG = 1;
71879
- var t = o8(), r = sG();
71892
+ var t = o8(), r = s2();
71880
71893
  return rH = function(o) {
71881
71894
  return null != o && r(o.length) && !t(o);
71882
71895
  };
71883
71896
  }
71884
- var sK = {
71897
+ var s0 = {
71885
71898
  exports: {}
71886
71899
  };
71887
- function sY() {
71900
+ function s1() {
71888
71901
  var t, r, o, n, i, a, s, c;
71889
- if (r3) return sK.exports;
71890
- return r3 = 1, t = sK, r = sK.exports, o = oJ(), n = rJ ? rY : (rJ = 1, rY = function() {
71902
+ if (r3) return s0.exports;
71903
+ return r3 = 1, t = s0, r = s0.exports, o = oJ(), n = rJ ? rY : (rJ = 1, rY = function() {
71891
71904
  return !1;
71892
- }), c = (s = (a = (i = r && !r.nodeType && r) && t && !t.nodeType && t) && a.exports === i ? o.Buffer : void 0) ? s.isBuffer : void 0, t.exports = c || n, sK.exports;
71905
+ }), c = (s = (a = (i = r && !r.nodeType && r) && t && !t.nodeType && t) && a.exports === i ? o.Buffer : void 0) ? s.isBuffer : void 0, t.exports = c || n, s0.exports;
71893
71906
  }
71894
- sK.exports;
71895
- var sJ = {
71907
+ s0.exports;
71908
+ var s8 = {
71896
71909
  exports: {}
71897
71910
  };
71898
- sJ.exports;
71899
- function s3() {
71911
+ s8.exports;
71912
+ function s9() {
71900
71913
  if (r6) return r7;
71901
71914
  r6 = 1;
71902
71915
  var t = function() {
71903
71916
  if (r1) return r0;
71904
71917
  r1 = 1;
71905
- var t = o2(), r = sG(), o = o5(), n = {};
71918
+ var t = o2(), r = s2(), o = o5(), n = {};
71906
71919
  return n["[object Float32Array]"] = n["[object Float64Array]"] = n["[object Int8Array]"] = n["[object Int16Array]"] = n["[object Int32Array]"] = n["[object Uint8Array]"] = n["[object Uint8ClampedArray]"] = n["[object Uint16Array]"] = n["[object Uint32Array]"] = !0, n["[object Arguments]"] = n["[object Array]"] = n["[object ArrayBuffer]"] = n["[object Boolean]"] = n["[object DataView]"] = n["[object Date]"] = n["[object Error]"] = n["[object Function]"] = n["[object Map]"] = n["[object Number]"] = n["[object Object]"] = n["[object RegExp]"] = n["[object Set]"] = n["[object String]"] = n["[object WeakMap]"] = !1, r0 = function(i) {
71907
71920
  return o(i) && r(i.length) && !!n[t(i)];
71908
71921
  };
@@ -71912,25 +71925,25 @@
71912
71925
  };
71913
71926
  }), o = function() {
71914
71927
  var t, r, o, n, i, a;
71915
- if (r4) return sJ.exports;
71916
- return r4 = 1, t = sJ, r = sJ.exports, o = oY(), a = (i = (n = r && !r.nodeType && r) && t && !t.nodeType && t) && i.exports === n && o.process, t.exports = function() {
71928
+ if (r4) return s8.exports;
71929
+ return r4 = 1, t = s8, r = s8.exports, o = oY(), a = (i = (n = r && !r.nodeType && r) && t && !t.nodeType && t) && i.exports === n && o.process, t.exports = function() {
71917
71930
  try {
71918
71931
  var t = i && i.require && i.require("util").types;
71919
71932
  if (t) return t;
71920
71933
  return a && a.binding && a.binding("util");
71921
71934
  } catch (t) {}
71922
- }(), sJ.exports;
71935
+ }(), s8.exports;
71923
71936
  }(), n = o && o.isTypedArray;
71924
71937
  return r7 = n ? r(n) : t;
71925
71938
  }
71926
- function s2() {
71939
+ function s4() {
71927
71940
  return ot ? oe : (ot = 1, oe = function(t, r) {
71928
71941
  if ("constructor" !== r || "function" != typeof t[r]) {
71929
71942
  if ("__proto__" != r) return t[r];
71930
71943
  }
71931
71944
  });
71932
71945
  }
71933
- function s5() {
71946
+ function s7() {
71934
71947
  if (ol) return oc;
71935
71948
  ol = 1;
71936
71949
  var t = /^(?:0|[1-9]\d*)$/;
@@ -71939,7 +71952,7 @@
71939
71952
  return !!(o = null == o ? 0x1fffffffffffff : o) && ("number" == n || "symbol" != n && t.test(r)) && r > -1 && r % 1 == 0 && r < o;
71940
71953
  };
71941
71954
  }
71942
- function s0() {
71955
+ function s6() {
71943
71956
  if (ob) return og;
71944
71957
  ob = 1;
71945
71958
  var t = function() {
@@ -71948,16 +71961,16 @@
71948
71961
  var t = os ? oa : (os = 1, oa = function(t, r) {
71949
71962
  for(var o = -1, n = Array(t); ++o < t;)n[o] = r(o);
71950
71963
  return n;
71951
- }), r = sH(), o = oK(), n = sY(), i = s5(), a = s3(), s = Object.prototype.hasOwnProperty;
71964
+ }), r = s3(), o = oK(), n = s1(), i = s7(), a = s9(), s = Object.prototype.hasOwnProperty;
71952
71965
  return od = function(c, l) {
71953
- var d = o(c), u = !d && r(c), p = !d && !u && n(c), f = !d && !u && !p && a(c), h = d || u || p || f, m = h ? t(c.length, String) : [], g = m.length;
71954
- for(var b in c)(l || s.call(c, b)) && !(h && ("length" == b || p && ("offset" == b || "parent" == b) || f && ("buffer" == b || "byteLength" == b || "byteOffset" == b) || i(b, g))) && m.push(b);
71966
+ var d = o(c), u = !d && r(c), f = !d && !u && n(c), p = !d && !u && !f && a(c), h = d || u || f || p, m = h ? t(c.length, String) : [], g = m.length;
71967
+ for(var b in c)(l || s.call(c, b)) && !(h && ("length" == b || f && ("offset" == b || "parent" == b) || p && ("buffer" == b || "byteLength" == b || "byteOffset" == b) || i(b, g))) && m.push(b);
71955
71968
  return m;
71956
71969
  };
71957
71970
  }(), r = function() {
71958
71971
  if (om) return oh;
71959
71972
  om = 1;
71960
- var t = o1(), r = sX(), o = of ? op : (of = 1, op = function(t) {
71973
+ var t = o1(), r = sJ(), o = op ? of : (op = 1, of = function(t) {
71961
71974
  var r = [];
71962
71975
  if (null != t) for(var o in Object(t))r.push(o);
71963
71976
  return r;
@@ -71968,12 +71981,12 @@
71968
71981
  for(var c in i)"constructor" == c && (a || !n.call(i, c)) || s.push(c);
71969
71982
  return s;
71970
71983
  };
71971
- }(), o = sZ();
71984
+ }(), o = s5();
71972
71985
  return og = function(n) {
71973
71986
  return o(n) ? t(n, !0) : r(n);
71974
71987
  };
71975
71988
  }
71976
- function s1() {
71989
+ function ce() {
71977
71990
  return ox ? o_ : (ox = 1, o_ = function(t) {
71978
71991
  return t;
71979
71992
  });
@@ -71985,8 +71998,8 @@
71985
71998
  if (oB) return oC;
71986
71999
  oB = 1;
71987
72000
  var t = function() {
71988
- if (rp) return ru;
71989
- rp = 1;
72001
+ if (rf) return ru;
72002
+ rf = 1;
71990
72003
  var t = ne(), r = function() {
71991
72004
  if (rr) return rt;
71992
72005
  rr = 1;
@@ -72023,7 +72036,7 @@
72023
72036
  this.size = o.size;
72024
72037
  }
72025
72038
  return s.prototype.clear = r, s.prototype.delete = o, s.prototype.get = n, s.prototype.has = i, s.prototype.set = a, ru = s;
72026
- }(), r = sU(), o = rC ? ry : (rC = 1, ry = (rk ? rw : (rk = 1, rw = function(t) {
72039
+ }(), r = sZ(), o = rC ? ry : (rC = 1, ry = (rk ? rw : (rk = 1, rw = function(t) {
72027
72040
  return function(r, o, n) {
72028
72041
  for(var i = -1, a = Object(r), s = n(r), c = s.length; c--;){
72029
72042
  var l = s[t ? c : ++i];
@@ -72034,14 +72047,14 @@
72034
72047
  }))()), n = function() {
72035
72048
  if (oy) return ok;
72036
72049
  oy = 1;
72037
- var t = sU(), r = function() {
72050
+ var t = sZ(), r = function() {
72038
72051
  var t, r, o, n, i, a, s;
72039
- if (rB) return sq.exports;
72040
- return rB = 1, t = sq, r = sq.exports, o = oJ(), s = (a = (i = (n = r && !r.nodeType && r) && t && !t.nodeType && t) && i.exports === n ? o.Buffer : void 0) ? a.allocUnsafe : void 0, t.exports = function(t, r) {
72052
+ if (rB) return sK.exports;
72053
+ return rB = 1, t = sK, r = sK.exports, o = oJ(), s = (a = (i = (n = r && !r.nodeType && r) && t && !t.nodeType && t) && i.exports === n ? o.Buffer : void 0) ? a.allocUnsafe : void 0, t.exports = function(t, r) {
72041
72054
  if (r) return t.slice();
72042
72055
  var o = t.length, n = s ? s(o) : new t.constructor(o);
72043
72056
  return t.copy(n), n;
72044
- }, sq.exports;
72057
+ }, sK.exports;
72045
72058
  }(), o = function() {
72046
72059
  if (rT) return rE;
72047
72060
  rT = 1;
@@ -72079,21 +72092,21 @@
72079
72092
  return o.prototype = void 0, i;
72080
72093
  };
72081
72094
  }();
72082
- }(), r = sQ(), o = sX();
72095
+ }(), r = sY(), o = sJ();
72083
72096
  return rN = function(n) {
72084
72097
  return "function" != typeof n.constructor || o(n) ? {} : t(r(n));
72085
72098
  };
72086
- }(), a = sH(), s = oK(), c = function() {
72099
+ }(), a = s3(), s = oK(), c = function() {
72087
72100
  if (rK) return rZ;
72088
72101
  rK = 1;
72089
- var t = sZ(), r = o5();
72102
+ var t = s5(), r = o5();
72090
72103
  return rZ = function(o) {
72091
72104
  return r(o) && t(o);
72092
72105
  };
72093
- }(), l = sY(), d = o8(), u = o1(), p = function() {
72106
+ }(), l = s1(), d = o8(), u = o1(), f = function() {
72094
72107
  if (r5) return r2;
72095
72108
  r5 = 1;
72096
- var t = o2(), r = sQ(), o = o5(), n = Object.prototype, i = Function.prototype.toString, a = n.hasOwnProperty, s = i.call(Object);
72109
+ var t = o2(), r = sY(), o = o5(), n = Object.prototype, i = Function.prototype.toString, a = n.hasOwnProperty, s = i.call(Object);
72097
72110
  return r2 = function(n) {
72098
72111
  if (!o(n) || "[object Object]" != t(n)) return !1;
72099
72112
  var c = r(n);
@@ -72101,7 +72114,7 @@
72101
72114
  var l = a.call(c, "constructor") && c.constructor;
72102
72115
  return "function" == typeof l && l instanceof l && i.call(l) == s;
72103
72116
  };
72104
- }(), f = s3(), h = s2(), m = function() {
72117
+ }(), p = s9(), h = s4(), m = function() {
72105
72118
  if (ow) return ov;
72106
72119
  ow = 1;
72107
72120
  var t = function() {
@@ -72110,12 +72123,12 @@
72110
72123
  var t = function() {
72111
72124
  if (oo) return or;
72112
72125
  oo = 1;
72113
- var t = sW(), r = o7(), o = Object.prototype.hasOwnProperty;
72126
+ var t = sG(), r = o7(), o = Object.prototype.hasOwnProperty;
72114
72127
  return or = function(n, i, a) {
72115
72128
  var s = n[i];
72116
72129
  o.call(n, i) && r(s, a) && (void 0 !== a || i in n) || t(n, i, a);
72117
72130
  };
72118
- }(), r = sW();
72131
+ }(), r = sG();
72119
72132
  return on = function(o, n, i, a) {
72120
72133
  var s = !i;
72121
72134
  i || (i = {});
@@ -72125,7 +72138,7 @@
72125
72138
  }
72126
72139
  return i;
72127
72140
  };
72128
- }(), r = s0();
72141
+ }(), r = s6();
72129
72142
  return ov = function(o) {
72130
72143
  return t(o, r(o));
72131
72144
  };
@@ -72135,17 +72148,17 @@
72135
72148
  if (x) return void t(g, v, x);
72136
72149
  var P = y ? y(B, _, v + "", g, b, C) : void 0, S = void 0 === P;
72137
72150
  if (S) {
72138
- var E = s(_), T = !E && l(_), D = !E && !T && f(_);
72139
- P = _, E || T || D ? s(B) ? P = B : c(B) ? P = n(B) : T ? (S = !1, P = r(_, !0)) : D ? (S = !1, P = o(_, !0)) : P = [] : p(_) || a(_) ? (P = B, a(B) ? P = m(B) : (!u(B) || d(B)) && (P = i(_))) : S = !1;
72151
+ var E = s(_), T = !E && l(_), D = !E && !T && p(_);
72152
+ P = _, E || T || D ? s(B) ? P = B : c(B) ? P = n(B) : T ? (S = !1, P = r(_, !0)) : D ? (S = !1, P = o(_, !0)) : P = [] : f(_) || a(_) ? (P = B, a(B) ? P = m(B) : (!u(B) || d(B)) && (P = i(_))) : S = !1;
72140
72153
  }
72141
72154
  S && (C.set(_, P), k(P, _, w, y, C), C.delete(_)), t(g, v, P);
72142
72155
  };
72143
- }(), i = o1(), a = s0(), s = s2();
72144
- return oC = function c(l, d, u, p, f) {
72156
+ }(), i = o1(), a = s6(), s = s4();
72157
+ return oC = function c(l, d, u, f, p) {
72145
72158
  l !== d && o(d, function(o, a) {
72146
- if (f || (f = new t), i(o)) n(l, d, a, u, c, p, f);
72159
+ if (p || (p = new t), i(o)) n(l, d, a, u, c, f, p);
72147
72160
  else {
72148
- var h = p ? p(s(l, a), o, a + "", l, d, f) : void 0;
72161
+ var h = f ? f(s(l, a), o, a + "", l, d, p) : void 0;
72149
72162
  void 0 === h && (h = o), r(l, a, h);
72150
72163
  }
72151
72164
  }, a);
@@ -72157,7 +72170,7 @@
72157
72170
  var t = function() {
72158
72171
  if (oF) return oL;
72159
72172
  oF = 1;
72160
- var t = s1(), r = function() {
72173
+ var t = ce(), r = function() {
72161
72174
  if (oT) return oE;
72162
72175
  oT = 1;
72163
72176
  var t = oS ? oP : (oS = 1, oP = function(t, r, o) {
@@ -72191,7 +72204,7 @@
72191
72204
  return function() {
72192
72205
  return t;
72193
72206
  };
72194
- }), r = sV(), o = s1();
72207
+ }), r = sH(), o = ce();
72195
72208
  return oj = r ? function(o, n) {
72196
72209
  return r(o, "toString", {
72197
72210
  configurable: !0,
@@ -72223,7 +72236,7 @@
72223
72236
  }(), r = function() {
72224
72237
  if (oz) return oN;
72225
72238
  oz = 1;
72226
- var t = o7(), r = sZ(), o = s5(), n = o1();
72239
+ var t = o7(), r = s5(), o = s7(), n = o1();
72227
72240
  return oN = function(i, a, s) {
72228
72241
  if (!n(s)) return !1;
72229
72242
  var c = typeof a;
@@ -72244,7 +72257,7 @@
72244
72257
  t(r, o, n);
72245
72258
  });
72246
72259
  }();
72247
- let s8 = {
72260
+ let ct = {
72248
72261
  data: {
72249
72262
  country: "vn",
72250
72263
  settings: {
@@ -72395,12 +72408,12 @@
72395
72408
  }
72396
72409
  }
72397
72410
  };
72398
- let { DesignToken: s9 } = ra$1;
72399
- s9.Color.separators.secondary, s9.Color.semantic.error[400], s9.Color.content.primary, s9.Typography.h5.fontSize, s9.Typography.h5.fontWeight, s9.Typography.h5.lineHeight, s9.Color.content.primary, s9.Typography.h6.fontSize, s9.FontWeight["semi-bold"], s9.Color.background.secondary, s9.BorderWidth.base, s9.Color.separators.tertiary, s9.Color.content.primary, s9.Typography.h6.fontSize, s9.FontWeight["semi-bold"], s9.Color.background.secondary, s9.BorderWidth.base, s9.Color.separators.tertiary, s9.Color.content["on-bg-color"], s9.Typography.label.fontSize, s9.Typography.label.fontWeight, s9.Color.blue[900], s9.Color.content["on-bg-color"], s9.Typography.label.fontSize, s9.Typography.label.fontWeight, s9.Color.semantic.error[400], s9.Typography.body.fontSize, s9.Typography.body.fontWeight, s9.Color.blue[900], s9.Color.blue[100], s9.Color.blue[900], s9.Typography.body.fontSize, s9.FontWeight["semi-bold"];
72400
- let { DesignToken: s4 } = ra$1;
72401
- ra$1.DesignToken.Typography.h5, ra$1.DesignToken.Color.content.primary, s4.Color.semantic.error[400], s4.Typography.body.fontSize, s4.Typography.body.fontWeight, s4.Color.semantic.error[400], s4.Typography.body.fontSize, s4.Typography.body.fontWeight, s4.Color.blue[900], s4.Color.neutral[300], s4.Color.semantic.error[400], s4.Color.content.primary, s4.Typography.body.fontSize, s4.Typography.body.fontWeight, s4.Color.blue[900], s4.Color.separators.tertiary;
72402
- let { DesignToken: s7 } = ra$1;
72403
- s7.Color.content["on-bg-color"], s7.Typography.label.fontSize, s7.Typography.label.fontWeight, ra$1.DesignToken.Spacing.base, ra$1.DesignToken.Spacing.base, ra$1.DesignToken.Color.base.white, ra$1.DesignToken.CornerRadius.sm, ra$1.DesignToken.Color.mask[70], ra$1.DesignToken.Typography.h6, ra$1.DesignToken.FontWeight["semi-bold"], ra$1.DesignToken.Color.content.primary, ra$1.DesignToken.Typography.body, ra$1.DesignToken.Color.content.secondary, ra$1.DesignToken.Typography.body, ra$1.DesignToken.Color.base.white, ra$1.DesignToken.Color.base.blue, ra$1.DesignToken.CornerRadius.xs, ra$1.DesignToken.Height["3xl"], ra$1.DesignToken.Typography.body, ra$1.DesignToken.Color.content.primary, ra$1.DesignToken.Color.background.tertiary, ra$1.DesignToken.CornerRadius.xs, ra$1.DesignToken.Height["3xl"], PropTypes.shape({}), PropTypes.shape({}), PropTypes.func, PropTypes.shape({}), PropTypes.func, PropTypes.func, PropTypes.func, PropTypes.arrayOf(PropTypes.shape({
72411
+ let { DesignToken: cr } = ra$1;
72412
+ cr.Color.separators.secondary, cr.Color.semantic.error[400], cr.Color.content.primary, cr.Typography.h5.fontSize, cr.Typography.h5.fontWeight, cr.Typography.h5.lineHeight, cr.Color.content.primary, cr.Typography.h6.fontSize, cr.FontWeight["semi-bold"], cr.Color.background.secondary, cr.BorderWidth.base, cr.Color.separators.tertiary, cr.Color.content.primary, cr.Typography.h6.fontSize, cr.FontWeight["semi-bold"], cr.Color.background.secondary, cr.BorderWidth.base, cr.Color.separators.tertiary, cr.Color.content["on-bg-color"], cr.Typography.label.fontSize, cr.Typography.label.fontWeight, cr.Color.blue[900], cr.Color.content["on-bg-color"], cr.Typography.label.fontSize, cr.Typography.label.fontWeight, cr.Color.semantic.error[400], cr.Typography.body.fontSize, cr.Typography.body.fontWeight, cr.Color.blue[900], cr.Color.blue[100], cr.Color.blue[900], cr.Typography.body.fontSize, cr.FontWeight["semi-bold"];
72413
+ let { DesignToken: co } = ra$1;
72414
+ ra$1.DesignToken.Typography.h5, ra$1.DesignToken.Color.content.primary, co.Color.semantic.error[400], co.Typography.body.fontSize, co.Typography.body.fontWeight, co.Color.semantic.error[400], co.Typography.body.fontSize, co.Typography.body.fontWeight, co.Color.blue[900], co.Color.neutral[300], co.Color.semantic.error[400], co.Color.content.primary, co.Typography.body.fontSize, co.Typography.body.fontWeight, co.Color.blue[900], co.Color.separators.tertiary;
72415
+ let { DesignToken: cn } = ra$1;
72416
+ cn.Color.content["on-bg-color"], cn.Typography.label.fontSize, cn.Typography.label.fontWeight, ra$1.DesignToken.Spacing.base, ra$1.DesignToken.Spacing.base, ra$1.DesignToken.Color.base.white, ra$1.DesignToken.CornerRadius.sm, ra$1.DesignToken.Color.mask[70], ra$1.DesignToken.Typography.h6, ra$1.DesignToken.FontWeight["semi-bold"], ra$1.DesignToken.Color.content.primary, ra$1.DesignToken.Typography.body, ra$1.DesignToken.Color.content.secondary, ra$1.DesignToken.Typography.body, ra$1.DesignToken.Color.base.white, ra$1.DesignToken.Color.base.blue, ra$1.DesignToken.CornerRadius.xs, ra$1.DesignToken.Height["3xl"], ra$1.DesignToken.Typography.body, ra$1.DesignToken.Color.content.primary, ra$1.DesignToken.Color.background.tertiary, ra$1.DesignToken.CornerRadius.xs, ra$1.DesignToken.Height["3xl"], PropTypes.shape({}), PropTypes.shape({}), PropTypes.func, PropTypes.shape({}), PropTypes.func, PropTypes.func, PropTypes.func, PropTypes.arrayOf(PropTypes.shape({
72404
72417
  scannerType: PropTypes.string
72405
72418
  })), PropTypes.func, PropTypes.shape({}), PropTypes.string, PropTypes.bool, PropTypes.arrayOf(PropTypes.string), PropTypes.shape({});
72406
72419
 
@@ -76617,8 +76630,7 @@
76617
76630
  if (refVideoPlayed.current) return ()=>{};
76618
76631
  if (!navigator.mediaDevices || libExports.browserName && [
76619
76632
  'facebook'
76620
- ].includes(libExports.browserName.toLowerCase()) || libExports.getUA.includes('Zalo iOS') // to avoid live broadcast screen on Zalo webview
76621
- ) {
76633
+ ].includes(libExports.browserName.toLowerCase())) {
76622
76634
  setErrorMsg(t('not_supported'));
76623
76635
  onError(Errors$9.not_supported);
76624
76636
  } else if (videoEl) {
@@ -86891,7 +86903,7 @@
86891
86903
  table-layout: auto;
86892
86904
  border-collapse: collapse;
86893
86905
  `;
86894
- const ChildrenWrapper$1 = dt$1.div`
86906
+ const ChildrenWrapper$2 = dt$1.div`
86895
86907
  position: relative;
86896
86908
  `;
86897
86909
  const rows = Array.from(Array(3).keys());
@@ -86923,7 +86935,7 @@
86923
86935
  height: isCenteredCell ? height : 'auto',
86924
86936
  ...!isCenteredCell ? surroundStyle : {}
86925
86937
  },
86926
- children: isCenteredCell ? /*#__PURE__*/ jsxRuntimeExports.jsx(ChildrenWrapper$1, {
86938
+ children: isCenteredCell ? /*#__PURE__*/ jsxRuntimeExports.jsx(ChildrenWrapper$2, {
86927
86939
  style: {
86928
86940
  width: cellWidth,
86929
86941
  height
@@ -88743,6 +88755,97 @@
88743
88755
  };
88744
88756
  };
88745
88757
 
88758
+ /**
88759
+ * Custom hook to delay rendering when transitioning from hidden to visible state.
88760
+ * Useful for waiting for browser dimension updates after orientation changes.
88761
+ *
88762
+ * @param params - Hook parameters
88763
+ * @param params.isVisible - Whether the component is currently visible
88764
+ * @param params.enableDelay - Whether to apply delay logic for show transitions
88765
+ * @param params.delayMs - Delay in milliseconds before showing (default: 500)
88766
+ * @returns Delayed visibility state
88767
+ */ function useDelayedRender({ isVisible, enableDelay, delayMs = 500 }) {
88768
+ const [isVisibleDelayed, setIsVisibleDelayed] = reactExports.useState(isVisible);
88769
+ const prevIsVisibleRef = reactExports.useRef(isVisible);
88770
+ const timeoutRef = reactExports.useRef(null);
88771
+ reactExports.useEffect(()=>{
88772
+ const prevIsVisible = prevIsVisibleRef.current;
88773
+ // When delay is disabled, always sync immediately
88774
+ if (!enableDelay) {
88775
+ setIsVisibleDelayed(isVisible);
88776
+ prevIsVisibleRef.current = isVisible;
88777
+ return undefined;
88778
+ }
88779
+ // Handle transitions when delay is enabled
88780
+ const isTransitionToShow = !prevIsVisible && isVisible;
88781
+ const isTransitionToHide = prevIsVisible && !isVisible;
88782
+ if (isTransitionToShow) {
88783
+ // Delay showing when transitioning from hidden to visible
88784
+ timeoutRef.current = setTimeout(()=>{
88785
+ setIsVisibleDelayed(true);
88786
+ }, delayMs);
88787
+ } else if (isTransitionToHide) {
88788
+ // Immediately hide and cancel pending show
88789
+ if (timeoutRef.current) {
88790
+ clearTimeout(timeoutRef.current);
88791
+ timeoutRef.current = null;
88792
+ }
88793
+ setIsVisibleDelayed(false);
88794
+ }
88795
+ prevIsVisibleRef.current = isVisible;
88796
+ return ()=>{
88797
+ if (timeoutRef.current) {
88798
+ clearTimeout(timeoutRef.current);
88799
+ }
88800
+ };
88801
+ }, [
88802
+ isVisible,
88803
+ enableDelay,
88804
+ delayMs
88805
+ ]);
88806
+ return isVisibleDelayed;
88807
+ }
88808
+
88809
+ const PopupContent$1 = dt$1.div`
88810
+ text-align: center;
88811
+ font-size: 20px;
88812
+ font-weight: 600;
88813
+ `;
88814
+ const ChildrenWrapper$1 = dt$1.div`
88815
+ width: 100%;
88816
+ height: 100%;
88817
+ opacity: ${({ $showChildren })=>$showChildren ? 1 : 0};
88818
+ `;
88819
+ const defaultPreferredOrientations = [
88820
+ MODE.PORTRAIT,
88821
+ MODE.DESKTOP
88822
+ ];
88823
+ function OrientationDetectionV2({ onOrientationChange = noop$1, unmountOnHidden = false, remountDelayMs = 500, preferredOrientations = defaultPreferredOrientations, children }) {
88824
+ const t = gB();
88825
+ const { curOrientation } = useDetectOrientation(onOrientationChange);
88826
+ const hasCorrectOrientation = preferredOrientations.includes(curOrientation);
88827
+ const isVisible = useDelayedRender({
88828
+ isVisible: hasCorrectOrientation,
88829
+ enableDelay: unmountOnHidden,
88830
+ delayMs: remountDelayMs
88831
+ });
88832
+ const shouldMountChildrenOnDom = unmountOnHidden ? isVisible : true;
88833
+ return /*#__PURE__*/ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, {
88834
+ children: [
88835
+ !preferredOrientations.includes(curOrientation) && /*#__PURE__*/ jsxRuntimeExports.jsx(PopupComponent, {
88836
+ open: true,
88837
+ children: /*#__PURE__*/ jsxRuntimeExports.jsx(PopupContent$1, {
88838
+ children: t('wrong_orientation')
88839
+ })
88840
+ }),
88841
+ shouldMountChildrenOnDom && /*#__PURE__*/ jsxRuntimeExports.jsx(ChildrenWrapper$1, {
88842
+ $showChildren: hasCorrectOrientation,
88843
+ children: children
88844
+ })
88845
+ ]
88846
+ });
88847
+ }
88848
+
88746
88849
  const PopupContent = dt$1.div`
88747
88850
  text-align: center;
88748
88851
  font-size: 20px;
@@ -88754,7 +88857,7 @@
88754
88857
  opacity: ${({ showChildren })=>showChildren ? 1 : 0};
88755
88858
  `;
88756
88859
  // eslint-disable-next-line react/require-default-props
88757
- function OrientationDetection({ onOrientationChange, shouldUnmount, children }) {
88860
+ function OrientationDetectionV1({ onOrientationChange, unmountOnHidden, children }) {
88758
88861
  const t = gB();
88759
88862
  const { curOrientation } = useDetectOrientation(onOrientationChange);
88760
88863
  const shouldShowChildren = curOrientation === MODE.PORTRAIT || curOrientation === MODE.DESKTOP;
@@ -88766,22 +88869,35 @@
88766
88869
  children: t('wrong_orientation')
88767
88870
  })
88768
88871
  }),
88769
- (shouldUnmount ? shouldShowChildren : true) && /*#__PURE__*/ jsxRuntimeExports.jsx(ChildrenWrapper, {
88872
+ (unmountOnHidden ? shouldShowChildren : true) && /*#__PURE__*/ jsxRuntimeExports.jsx(ChildrenWrapper, {
88770
88873
  showChildren: shouldShowChildren,
88771
88874
  children: children
88772
88875
  })
88773
88876
  ]
88774
88877
  });
88775
88878
  }
88776
- OrientationDetection.defaultProps = {
88879
+ OrientationDetectionV1.defaultProps = {
88777
88880
  onOrientationChange: ()=>{},
88778
- shouldUnmount: false
88881
+ unmountOnHidden: false
88779
88882
  };
88780
- OrientationDetection.propTypes = {
88883
+ OrientationDetectionV1.propTypes = {
88781
88884
  onOrientationChange: PropTypes.func,
88782
- shouldUnmount: PropTypes.bool
88885
+ unmountOnHidden: PropTypes.bool
88783
88886
  };
88784
88887
 
88888
+ function OrientationDetection({ version = 'v1', children, ...rest }) {
88889
+ if (version === 'v2') {
88890
+ return /*#__PURE__*/ jsxRuntimeExports.jsx(OrientationDetectionV2, {
88891
+ ...rest,
88892
+ children: children
88893
+ });
88894
+ }
88895
+ return /*#__PURE__*/ jsxRuntimeExports.jsx(OrientationDetectionV1, {
88896
+ ...rest,
88897
+ children: children
88898
+ });
88899
+ }
88900
+
88785
88901
  const useEkycSession = ()=>{
88786
88902
  const [sessionId, setSessionId] = reactExports.useState(Date.now());
88787
88903
  const updateSessionId = reactExports.useCallback(()=>{
@@ -113503,7 +113619,7 @@
113503
113619
  };
113504
113620
  };
113505
113621
 
113506
- const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk.platform/0.0.0-beta.20260102-120556/assets";
113622
+ const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk.platform/0.0.0-beta.20260106-111700/assets";
113507
113623
  class TVWebSDK extends gU {
113508
113624
  constructor(props){
113509
113625
  super({
@@ -113522,8 +113638,8 @@
113522
113638
  exports.SDK = TVWebSDK;
113523
113639
  exports.SDKAdapter = gV;
113524
113640
  exports.ScannerType = iI;
113525
- exports.defaultClientSettings = s8;
113526
- exports.defaultReadIDCardSteps = sz;
113641
+ exports.defaultClientSettings = ct;
113642
+ exports.defaultReadIDCardSteps = sX;
113527
113643
  exports.getSDKVersion = nB$1;
113528
113644
 
113529
113645
  }));