@tsocial/tvweb-sdk 5.38.3 → 5.38.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/esm/{chunk-0da5ca80.js → chunk-4ba29034.js} +1 -1
- package/build/esm/{chunk-93ad2e94.js → chunk-5232d933.js} +1 -1
- package/build/esm/{chunk-5a4684bb.js → chunk-5510f102.js} +1 -1
- package/build/esm/{chunk-39590709.js → chunk-570905cb.js} +1 -1
- package/build/esm/{chunk-abc9d931.js → chunk-66453960.js} +163 -151
- package/build/esm/{chunk-6633ffde.js → chunk-718c6bbe.js} +1 -1
- package/build/esm/{chunk-85504064.js → chunk-7b4af7bc.js} +1 -1
- package/build/esm/{chunk-dbd45d78.js → chunk-8295b31d.js} +1 -1
- package/build/esm/{chunk-804b51ae.js → chunk-8b522635.js} +1 -1
- package/build/esm/{chunk-412186c9.js → chunk-91fdcc39.js} +1 -1
- package/build/esm/{chunk-bf273baf.js → chunk-9d2df04f.js} +1 -1
- package/build/esm/{chunk-39bd8f09.js → chunk-9fd54d50.js} +1 -1
- package/build/esm/{chunk-68a33382.js → chunk-a2b371b3.js} +35 -33
- package/build/esm/{chunk-8eff00f2.js → chunk-b6640bda.js} +1 -1
- package/build/esm/{chunk-2c071949.js → chunk-be242238.js} +1 -1
- package/build/esm/{chunk-e1e2700f.js → chunk-d51c5685.js} +1 -1
- package/build/esm/{chunk-5b66da4d.js → chunk-e68eb8a3.js} +1 -1
- package/build/esm/{chunk-b0d9736a.js → chunk-f0b91c22.js} +1 -1
- package/build/esm/{chunk-776149f4.js → chunk-fbb15c5b.js} +1 -1
- package/build/esm/chunk-fbc578b8.js +1 -0
- package/build/esm/tvweb-sdk.esm.min.js +1 -1
- package/build/tvweb-sdk.cjs.min.js +447 -433
- package/build/tvweb-sdk.standalone.js +450 -401
- package/build/tvweb-sdk.standalone.min.js +447 -433
- package/package.json +5 -5
- package/build/esm/chunk-05fa8f5c.js +0 -1
|
@@ -1186,7 +1186,7 @@
|
|
|
1186
1186
|
strokeWidth: 1
|
|
1187
1187
|
};
|
|
1188
1188
|
|
|
1189
|
-
var f="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",m$1="active",y$1="data-styled-version",v$1="6.1.12",g="/*!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$2(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(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(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);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),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$1&&(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$1),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(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);},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(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(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$2(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$2(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(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(14);if(re$2(e)){var o=e(n);return o}if(Array.isArray(e)||"object"!=typeof e)throw he(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$2(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,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(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)}
|
|
1189
|
+
var f="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",m$1="active",y$1="data-styled-version",v$1="6.1.12",g="/*!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$2="function"==typeof Symbol&&Symbol.for,Y$2=G$2?Symbol.for("react.memo"):60115,W$1=G$2?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$1=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$1(e,c,l);}catch(e){}}}}return e}function re$2(e){return "function"==typeof e}function se$2(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(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(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);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),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$1&&(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$1),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(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);},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(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(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$2(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$2(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(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(14);if(re$2(e)){var o=e(n);return o}if(Array.isArray(e)||"object"!=typeof e)throw he(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$2=new Set;function it$2(e,r,s){var i=se$2(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$2.has(b)||!A$1.has(S)||(st$2.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,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(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)}
|
|
1190
1190
|
|
|
1191
1191
|
var reactDom = {exports: {}};
|
|
1192
1192
|
|
|
@@ -2289,7 +2289,7 @@
|
|
|
2289
2289
|
_.unable_to_load_model.code,
|
|
2290
2290
|
_.no_permission.code
|
|
2291
2291
|
];
|
|
2292
|
-
var q, z, K$1, H, G, Q, W, $, Z
|
|
2292
|
+
var q, z, K$1, H, G$1, Q, W, $, Z, X, Y$1, J$1, ee$1, et$1, er$1, en$1, ei$1, ea$1, eo$1, es$1, ec$1, el$1, eu$1, ed$1, ef$1, eh$1, ep$1, eg$1, em$1, ey$1, ev$1, e_$1, eb$1, eC$1, ex$1, ew$1, eS$1, ek$1, eE$1, eB$1, eA$1, eI$1, eT$1, eP$1, eR$1, eD$1, eN$1, eL$1, eO$1, eU$1, eM$1, eV$1, eF$1, ej$1, eq$1, ez$1, eK$1, eH$1, eG$1, eQ$1, eW$1, e$$1, eZ$1, eX$1, eY$1, eJ$1, e0$1, e1$1, e2$1, e4$1, e3$1, e5$1, e6$1, e8$1, e9$1, e7$1, te$1, tt$1, tr$1, tn$1, ti$1, ta$1, to$1, ts$1, tc$1, tl$1, tu$1, td$1, tf$1, th$1, tp$1, tg$1, tm$1, ty$1, tv$1, t_$1, tb$1, tC$1, tx$1, tw$1, tS$1, tk$1, tE$1, tB$1, tA$1, tI$1, tT$1, tP$1, tR$1, tD$1, tN$1, tL$1, tO$1, tU$1, tM$1, tV$1, tF$1, tj$1, tq$1, tz$1, tK$1, tH$1, tG$1, tQ$1, tW$1, t$$1, tZ$1, tX$1, tY$1, tJ$1, t0$1, t1$1, t2$1, t4$1, t3$1, t5$1, t6$1, t8$1, t9$1, t7$1, re$1, rt$1, rr$1, rn$1, ri$1, ra$1, ro$1, rs$1, rc$1, rl$1, ru$1, rd$1, rf$1, rh$1, rp$1, rg$1, rm$1, ry$1, rv$1, r_$1, rb$1, rC$1, rx$1, rw$1, rS$1, rk$1, rE$1, rB$1, rA$1, rI$1, rT$1, rP$1, rR$1, rD$1, rN$1, rL$1, rO$1, rU$1, rM$1, rV$1, rF$1, rj$1, rq$1, rz$1, rK$1, rH$1, rG$1, rQ$1, rW$1, r$$1, rZ$1, rX$1, rY$1, rJ$1, r0$1, r1$1, r2$1, r4$1, r3$1, r5$1, r6$1, r8$1, r9$1, r7$1, ne$1, nt$1, nr$1, nn$1, ni$1, na$1, no$1, ns$1, nc$1, nl$1, nu$1, nd$1, nf$1, nh$1, np$1, ng$1, nm$1, ny$1, nv$1, n_$1, nb$1, nC$1, nx$1, nw$1, nS$1, nk$1, nE$1, nB$1, nA$1, nI$1, nT$1, nP$1, nR$1, nD$1, nN$1, nL$1, nO$1, nU$1, nM$1, nV$1, nF$1, nj$1, nq$1, nz$1, nK$1, nH$1, nG$1, nQ$1, nW$1, n$$1, nZ$1, nX$1, nY, nJ$1, n0$1, n1$1, n2, n4$1, n3, n5$1, n6$1, n8$1, n9$1, n7$1, ie$1, it$1, ir$1, ii$1, ia$1, io$1, is$1, ic$1, il$1, iu$1, id$1, ih$1, ip$1, ig$1, im$1, iy, iv$1, i_$1, ib$1, iC$1, ix, iw$1, iS$1, ik$1, iE, iB$1, iA$1, iI$1, iT$1, iP$1, iR$1, iD$1, iN$1, iL$1, iO$1, iU$1, iM$1, iV$1, iF$1, ij$1, iq$1, iz$1, iK, iH, iG$1, iQ$1, iW$1, i$$1, iZ, iX$1, iY$1, iJ$1, i0, i1$1, i2, i4$1, i3$1, 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$1, ah, ap$1, ag$1, am, ay$1, av$1, a_$1, ab$1, aC$1, ax$1, aw$1, aS$1, ak$1, aE$1, aB$1, aA$1, aI$1, aT$1, aP$1, aR$1, aD$1, aN$1, aL$1, aO$1, aU$1, aM$1, aV$1, aF$1, aj$1, aq$1, az$1, aK$1, aH$1, aG$1, aQ$1, aW$1, a$$1, aZ$1, aX$1, aY$1, aJ$1, a0$1, a1$1, a2$1, a4$1, a3$1, a5$1, a6$1, a8$1, a9$1, a7$1, 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, og$1, om$1, oy$1, ov$1, o_$1, ob$1, oC$1, ox$1, ow$1, oS$1, ok$1, oE$1, oB$1, oA$1, oI$1, oT$1, oP$1, oR$1, oD$1, oN$1, oL$1, oO$1, oU, oM$1, oV$1, oF$1, oj$1, oq$1, oz$1, oK$1, oH$1, oG$1, oQ$1, oW$1, o$$1, oZ$1, oX$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$1, st$1, sr, sn, si, sa, so, ss$1, sc = Object.freeze({
|
|
2293
2293
|
__proto__: null,
|
|
2294
2294
|
AlertErrors: m,
|
|
2295
2295
|
BillingErrors: v,
|
|
@@ -3122,8 +3122,8 @@
|
|
|
3122
3122
|
var sd = {
|
|
3123
3123
|
exports: {}
|
|
3124
3124
|
}, sf = {}, sh = Q ? sd.exports : (Q = 1, sd.exports = function() {
|
|
3125
|
-
if (G) return sf;
|
|
3126
|
-
G = 1;
|
|
3125
|
+
if (G$1) return sf;
|
|
3126
|
+
G$1 = 1;
|
|
3127
3127
|
var e = 60103;
|
|
3128
3128
|
if (sf.Fragment = 60107, "function" == typeof Symbol && Symbol.for) {
|
|
3129
3129
|
var t = Symbol.for;
|
|
@@ -3151,7 +3151,7 @@
|
|
|
3151
3151
|
return sf.jsx = o, sf.jsxs = o, sf;
|
|
3152
3152
|
}(), sd.exports);
|
|
3153
3153
|
function sp() {
|
|
3154
|
-
return X ? Z
|
|
3154
|
+
return X ? Z : (X = 1, Z = function(e, t) {
|
|
3155
3155
|
return e === t || e != e && t != t;
|
|
3156
3156
|
});
|
|
3157
3157
|
}
|
|
@@ -3213,17 +3213,17 @@
|
|
|
3213
3213
|
}
|
|
3214
3214
|
return a.prototype.clear = e, a.prototype.delete = t, a.prototype.get = r, a.prototype.has = n, a.prototype.set = i, ec$1 = a;
|
|
3215
3215
|
}
|
|
3216
|
-
function sy
|
|
3216
|
+
function sy() {
|
|
3217
3217
|
return e_$1 ? ev$1 : (e_$1 = 1, ev$1 = "object" == typeof sl && sl && sl.Object === Object && sl);
|
|
3218
3218
|
}
|
|
3219
|
-
function sv
|
|
3219
|
+
function sv() {
|
|
3220
3220
|
if (eC$1) return eb$1;
|
|
3221
3221
|
eC$1 = 1;
|
|
3222
|
-
var e = sy
|
|
3222
|
+
var e = sy(), t = "object" == typeof self && self && self.Object === Object && self;
|
|
3223
3223
|
return eb$1 = e || t || Function("return this")();
|
|
3224
3224
|
}
|
|
3225
3225
|
function s_() {
|
|
3226
|
-
return ew$1 ? ex$1 : (ew$1 = 1, ex$1 = sv
|
|
3226
|
+
return ew$1 ? ex$1 : (ew$1 = 1, ex$1 = sv().Symbol);
|
|
3227
3227
|
}
|
|
3228
3228
|
function sb() {
|
|
3229
3229
|
if (eI$1) return eA$1;
|
|
@@ -3294,7 +3294,7 @@
|
|
|
3294
3294
|
var e = sx(), t = function() {
|
|
3295
3295
|
if (eU$1) return eO$1;
|
|
3296
3296
|
eU$1 = 1;
|
|
3297
|
-
var e, t = eL$1 ? eN$1 : (eL$1 = 1, eN$1 = sv
|
|
3297
|
+
var e, t = eL$1 ? eN$1 : (eL$1 = 1, eN$1 = sv()["__core-js_shared__"]), r = (e = /[^.]+$/.exec(t && t.keys && t.keys.IE_PROTO || "")) ? "Symbol(src)_1." + e : "";
|
|
3298
3298
|
return eO$1 = function(e) {
|
|
3299
3299
|
return !!r && r in e;
|
|
3300
3300
|
};
|
|
@@ -3310,16 +3310,16 @@
|
|
|
3310
3310
|
return e(i) ? i : void 0;
|
|
3311
3311
|
};
|
|
3312
3312
|
}
|
|
3313
|
-
function sk() {
|
|
3313
|
+
function sk$1() {
|
|
3314
3314
|
if (eQ$1) return eG$1;
|
|
3315
3315
|
eQ$1 = 1;
|
|
3316
3316
|
var e = sS();
|
|
3317
|
-
return eG$1 = e(sv
|
|
3317
|
+
return eG$1 = e(sv(), "Map");
|
|
3318
3318
|
}
|
|
3319
3319
|
function sE() {
|
|
3320
3320
|
return e$$1 ? eW$1 : (e$$1 = 1, eW$1 = sS()(Object, "create"));
|
|
3321
3321
|
}
|
|
3322
|
-
function sB() {
|
|
3322
|
+
function sB$1() {
|
|
3323
3323
|
if (tn$1) return tr$1;
|
|
3324
3324
|
tn$1 = 1;
|
|
3325
3325
|
var e = tt$1 ? te$1 : (tt$1 = 1, te$1 = function(e) {
|
|
@@ -3387,7 +3387,7 @@
|
|
|
3387
3387
|
}
|
|
3388
3388
|
}
|
|
3389
3389
|
return a.prototype.clear = e, a.prototype.delete = t, a.prototype.get = r, a.prototype.has = n, a.prototype.set = i, e6$1 = a;
|
|
3390
|
-
}(), t = sm(), r = sk();
|
|
3390
|
+
}(), t = sm(), r = sk$1();
|
|
3391
3391
|
return e9$1 = function() {
|
|
3392
3392
|
this.size = 0, this.__data__ = {
|
|
3393
3393
|
hash: new e,
|
|
@@ -3398,7 +3398,7 @@
|
|
|
3398
3398
|
}(), t = function() {
|
|
3399
3399
|
if (ta$1) return ti$1;
|
|
3400
3400
|
ta$1 = 1;
|
|
3401
|
-
var e = sB();
|
|
3401
|
+
var e = sB$1();
|
|
3402
3402
|
return ti$1 = function(t) {
|
|
3403
3403
|
var r = e(this, t).delete(t);
|
|
3404
3404
|
return this.size -= !!r, r;
|
|
@@ -3406,21 +3406,21 @@
|
|
|
3406
3406
|
}(), r = function() {
|
|
3407
3407
|
if (ts$1) return to$1;
|
|
3408
3408
|
ts$1 = 1;
|
|
3409
|
-
var e = sB();
|
|
3409
|
+
var e = sB$1();
|
|
3410
3410
|
return to$1 = function(t) {
|
|
3411
3411
|
return e(this, t).get(t);
|
|
3412
3412
|
};
|
|
3413
3413
|
}(), n = function() {
|
|
3414
3414
|
if (tl$1) return tc$1;
|
|
3415
3415
|
tl$1 = 1;
|
|
3416
|
-
var e = sB();
|
|
3416
|
+
var e = sB$1();
|
|
3417
3417
|
return tc$1 = function(t) {
|
|
3418
3418
|
return e(this, t).has(t);
|
|
3419
3419
|
};
|
|
3420
3420
|
}(), i = function() {
|
|
3421
3421
|
if (td$1) return tu$1;
|
|
3422
3422
|
td$1 = 1;
|
|
3423
|
-
var e = sB();
|
|
3423
|
+
var e = sB$1();
|
|
3424
3424
|
return tu$1 = function(t, r) {
|
|
3425
3425
|
var n = e(this, t), i = n.size;
|
|
3426
3426
|
return n.set(t, r), this.size += +(n.size != i), this;
|
|
@@ -3455,7 +3455,7 @@
|
|
|
3455
3455
|
}), a = function() {
|
|
3456
3456
|
if (tg$1) return tp$1;
|
|
3457
3457
|
tg$1 = 1;
|
|
3458
|
-
var e = sm(), t = sk(), r = sA();
|
|
3458
|
+
var e = sm(), t = sk$1(), r = sA();
|
|
3459
3459
|
return tp$1 = function(n, i) {
|
|
3460
3460
|
var a = this.__data__;
|
|
3461
3461
|
if (a instanceof e) {
|
|
@@ -3475,7 +3475,7 @@
|
|
|
3475
3475
|
}
|
|
3476
3476
|
return o.prototype.clear = t, o.prototype.delete = r, o.prototype.get = n, o.prototype.has = i, o.prototype.set = a, tm$1 = o;
|
|
3477
3477
|
}
|
|
3478
|
-
function sT
|
|
3478
|
+
function sT() {
|
|
3479
3479
|
if (t_$1) return tv$1;
|
|
3480
3480
|
t_$1 = 1;
|
|
3481
3481
|
var e = sS();
|
|
@@ -3489,7 +3489,7 @@
|
|
|
3489
3489
|
function sP() {
|
|
3490
3490
|
if (tC$1) return tb$1;
|
|
3491
3491
|
tC$1 = 1;
|
|
3492
|
-
var e = sT
|
|
3492
|
+
var e = sT();
|
|
3493
3493
|
return tb$1 = function(t, r, n) {
|
|
3494
3494
|
"__proto__" == r && e ? e(t, r, {
|
|
3495
3495
|
configurable: !0,
|
|
@@ -3507,20 +3507,20 @@
|
|
|
3507
3507
|
(void 0 === i || t(r[n], i)) && (void 0 !== i || n in r) || e(r, n, i);
|
|
3508
3508
|
};
|
|
3509
3509
|
}
|
|
3510
|
-
var sD = {
|
|
3510
|
+
var sD$1 = {
|
|
3511
3511
|
exports: {}
|
|
3512
3512
|
};
|
|
3513
3513
|
function sN() {
|
|
3514
3514
|
var e, t, r, n, i, a, o;
|
|
3515
|
-
if (tA$1) return sD.exports;
|
|
3516
|
-
return tA$1 = 1, e = sD, t = sD.exports, r = sv
|
|
3515
|
+
if (tA$1) return sD$1.exports;
|
|
3516
|
+
return tA$1 = 1, e = sD$1, t = sD$1.exports, r = sv(), o = (a = (i = (n = t && !t.nodeType && t) && e && !e.nodeType && e) && i.exports === n ? r.Buffer : void 0) ? a.allocUnsafe : void 0, e.exports = function(e, t) {
|
|
3517
3517
|
if (t) return e.slice();
|
|
3518
3518
|
var r = e.length, n = o ? o(r) : new e.constructor(r);
|
|
3519
3519
|
return e.copy(n), n;
|
|
3520
|
-
}, sD.exports;
|
|
3520
|
+
}, sD$1.exports;
|
|
3521
3521
|
}
|
|
3522
3522
|
function sL() {
|
|
3523
|
-
return tT$1 ? tI$1 : (tT$1 = 1, tI$1 = sv
|
|
3523
|
+
return tT$1 ? tI$1 : (tT$1 = 1, tI$1 = sv().Uint8Array);
|
|
3524
3524
|
}
|
|
3525
3525
|
function sO() {
|
|
3526
3526
|
if (tR$1) return tP$1;
|
|
@@ -3547,7 +3547,7 @@
|
|
|
3547
3547
|
return t;
|
|
3548
3548
|
});
|
|
3549
3549
|
}
|
|
3550
|
-
sD.exports;
|
|
3550
|
+
sD$1.exports;
|
|
3551
3551
|
function sV() {
|
|
3552
3552
|
return tF$1 ? tV$1 : (tF$1 = 1, tV$1 = function(e, t) {
|
|
3553
3553
|
return function(r) {
|
|
@@ -3633,7 +3633,7 @@
|
|
|
3633
3633
|
function s$() {
|
|
3634
3634
|
var e, t, r, n, i, a, o, s;
|
|
3635
3635
|
if (t7$1) return sW.exports;
|
|
3636
|
-
return t7$1 = 1, e = sW, t = sW.exports, r = sv
|
|
3636
|
+
return t7$1 = 1, e = sW, t = sW.exports, r = sv(), n = t9$1 ? t8$1 : (t9$1 = 1, t8$1 = function() {
|
|
3637
3637
|
return !1;
|
|
3638
3638
|
}), s = (o = (a = (i = t && !t.nodeType && t) && e && !e.nodeType && e) && a.exports === i ? r.Buffer : void 0) ? o.isBuffer : void 0, e.exports = s || n, sW.exports;
|
|
3639
3639
|
}
|
|
@@ -3663,7 +3663,7 @@
|
|
|
3663
3663
|
function sJ() {
|
|
3664
3664
|
var e, t, r, n, i, a;
|
|
3665
3665
|
if (ro$1) return sY.exports;
|
|
3666
|
-
return ro$1 = 1, e = sY, t = sY.exports, r = sy
|
|
3666
|
+
return ro$1 = 1, e = sY, t = sY.exports, r = sy(), a = (i = (n = t && !t.nodeType && t) && e && !e.nodeType && e) && i.exports === n && r.process, e.exports = function() {
|
|
3667
3667
|
try {
|
|
3668
3668
|
var e = i && i.require && i.require("util").types;
|
|
3669
3669
|
if (e) return e;
|
|
@@ -3809,7 +3809,7 @@
|
|
|
3809
3809
|
}, a);
|
|
3810
3810
|
};
|
|
3811
3811
|
}
|
|
3812
|
-
function s9
|
|
3812
|
+
function s9() {
|
|
3813
3813
|
return rN$1 ? rD$1 : (rN$1 = 1, rD$1 = function(e) {
|
|
3814
3814
|
return e;
|
|
3815
3815
|
});
|
|
@@ -3832,7 +3832,7 @@
|
|
|
3832
3832
|
function ce$1() {
|
|
3833
3833
|
if (rW$1) return rQ$1;
|
|
3834
3834
|
rW$1 = 1;
|
|
3835
|
-
var e = s9
|
|
3835
|
+
var e = s9(), t = function() {
|
|
3836
3836
|
if (rM$1) return rU$1;
|
|
3837
3837
|
rM$1 = 1;
|
|
3838
3838
|
var e = s7$1(), t = Math.max;
|
|
@@ -3854,7 +3854,7 @@
|
|
|
3854
3854
|
return function() {
|
|
3855
3855
|
return e;
|
|
3856
3856
|
};
|
|
3857
|
-
}), t = sT
|
|
3857
|
+
}), t = sT(), r = s9();
|
|
3858
3858
|
return rj$1 = t ? function(r, n) {
|
|
3859
3859
|
return t(r, "toString", {
|
|
3860
3860
|
configurable: !0,
|
|
@@ -15929,7 +15929,7 @@
|
|
|
15929
15929
|
});
|
|
15930
15930
|
}(cu$1.exports, cd$1), cu$1.exports;
|
|
15931
15931
|
}()), ch$1 = new Uint8Array(16), cp$1 = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i, cg$1 = [], cm$1 = 0; cm$1 < 256; ++cm$1)cg$1.push((cm$1 + 256).toString(16).substr(1));
|
|
15932
|
-
function cy(e, t, r) {
|
|
15932
|
+
function cy$1(e, t, r) {
|
|
15933
15933
|
var n = (e = e || {}).random || (e.rng || function() {
|
|
15934
15934
|
if (!r2$1 && !(r2$1 = "undefined" != typeof crypto && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || "undefined" != typeof msCrypto && "function" == typeof msCrypto.getRandomValues && msCrypto.getRandomValues.bind(msCrypto))) throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
15935
15935
|
return r2$1(ch$1);
|
|
@@ -16023,22 +16023,22 @@
|
|
|
16023
16023
|
if (nE$1) return nk$1;
|
|
16024
16024
|
nE$1 = 1;
|
|
16025
16025
|
var e = sS();
|
|
16026
|
-
return nk$1 = e(sv
|
|
16027
|
-
}(), t = sk(), r = function() {
|
|
16026
|
+
return nk$1 = e(sv(), "DataView");
|
|
16027
|
+
}(), t = sk$1(), r = function() {
|
|
16028
16028
|
if (nA$1) return nB$1;
|
|
16029
16029
|
nA$1 = 1;
|
|
16030
16030
|
var e = sS();
|
|
16031
|
-
return nB$1 = e(sv
|
|
16031
|
+
return nB$1 = e(sv(), "Promise");
|
|
16032
16032
|
}(), n = function() {
|
|
16033
16033
|
if (nT$1) return nI$1;
|
|
16034
16034
|
nT$1 = 1;
|
|
16035
16035
|
var e = sS();
|
|
16036
|
-
return nI$1 = e(sv
|
|
16036
|
+
return nI$1 = e(sv(), "Set");
|
|
16037
16037
|
}(), i = function() {
|
|
16038
16038
|
if (nR$1) return nP$1;
|
|
16039
16039
|
nR$1 = 1;
|
|
16040
16040
|
var e = sS();
|
|
16041
|
-
return nP$1 = e(sv
|
|
16041
|
+
return nP$1 = e(sv(), "WeakMap");
|
|
16042
16042
|
}(), a = sb(), o = sw(), s = "[object Map]", c = "[object Promise]", l = "[object Set]", u = "[object WeakMap]", d = "[object DataView]", f = o(e), h = o(t), p = o(r), g = o(n), m = o(i), y = a;
|
|
16043
16043
|
return (e && y(new e(new ArrayBuffer(1))) != d || t && y(new t) != s || r && y(r.resolve()) != c || n && y(new n) != l || i && y(new i) != u) && (y = function(e) {
|
|
16044
16044
|
var t = a(e), r = "[object Object]" == t ? e.constructor : void 0, n = r ? o(r) : "";
|
|
@@ -19065,7 +19065,7 @@
|
|
|
19065
19065
|
}, cB;
|
|
19066
19066
|
}();
|
|
19067
19067
|
function cP() {
|
|
19068
|
-
return "5.38.
|
|
19068
|
+
return "5.38.5";
|
|
19069
19069
|
}
|
|
19070
19070
|
function cR() {
|
|
19071
19071
|
return {
|
|
@@ -21772,7 +21772,7 @@
|
|
|
21772
21772
|
e
|
|
21773
21773
|
];
|
|
21774
21774
|
}), r;
|
|
21775
|
-
}), a = iQ$1 ? iG : (iQ$1 = 1, iG = function(e) {
|
|
21775
|
+
}), a = iQ$1 ? iG$1 : (iQ$1 = 1, iG$1 = function(e) {
|
|
21776
21776
|
var t = -1, r = Array(e.size);
|
|
21777
21777
|
return e.forEach(function(e) {
|
|
21778
21778
|
r[++t] = e;
|
|
@@ -21811,10 +21811,10 @@
|
|
|
21811
21811
|
return !1;
|
|
21812
21812
|
};
|
|
21813
21813
|
}(), n = function() {
|
|
21814
|
-
if (iX$1) return iZ
|
|
21814
|
+
if (iX$1) return iZ;
|
|
21815
21815
|
iX$1 = 1;
|
|
21816
21816
|
var e = cS(), t = Object.prototype.hasOwnProperty;
|
|
21817
|
-
return iZ
|
|
21817
|
+
return iZ = function(r, n, i, a, o, s) {
|
|
21818
21818
|
var c = 1 & i, l = e(r), u = l.length;
|
|
21819
21819
|
if (u != e(n).length && !c) return !1;
|
|
21820
21820
|
for(var d = u; d--;){
|
|
@@ -21930,7 +21930,7 @@
|
|
|
21930
21930
|
let e = cF("tv:user-id");
|
|
21931
21931
|
if (e) t = e;
|
|
21932
21932
|
else {
|
|
21933
|
-
let e = cy();
|
|
21933
|
+
let e = cy$1();
|
|
21934
21934
|
t = e, cV(e, "tv:user-id");
|
|
21935
21935
|
}
|
|
21936
21936
|
}
|
|
@@ -22075,7 +22075,7 @@
|
|
|
22075
22075
|
btn_try_again: "Thử lại",
|
|
22076
22076
|
remaining_time: "C\xf2n lại: <%= x %> gi\xe2y",
|
|
22077
22077
|
upload_button_label: "Tải l\xean",
|
|
22078
|
-
upload_invalid_file_type: "Vui l\xf2ng chọn ảnh JPEG",
|
|
22078
|
+
upload_invalid_file_type: "Vui l\xf2ng chọn ảnh JPEG hoặc PNG",
|
|
22079
22079
|
upload_processing_failed: "Kh\xf4ng thể xử l\xfd ảnh. Vui l\xf2ng thử lại.",
|
|
22080
22080
|
image_preview_unavailable: "Kh\xf4ng thể hiển thị ảnh xem trước",
|
|
22081
22081
|
front_card_title: "Chụp mặt trước",
|
|
@@ -22179,7 +22179,7 @@
|
|
|
22179
22179
|
btn_try_again: "Try again",
|
|
22180
22180
|
remaining_time: "Remaining: <%= x %> second(s)",
|
|
22181
22181
|
upload_button_label: "Upload",
|
|
22182
|
-
upload_invalid_file_type: "Please choose a JPEG image",
|
|
22182
|
+
upload_invalid_file_type: "Please choose a JPEG or PNG image",
|
|
22183
22183
|
upload_processing_failed: "Could not process the image. Please try again.",
|
|
22184
22184
|
image_preview_unavailable: "Image preview unavailable",
|
|
22185
22185
|
front_card_title: "Front of ID",
|
|
@@ -22283,7 +22283,7 @@
|
|
|
22283
22283
|
btn_try_again: "Intente de nuevo",
|
|
22284
22284
|
remaining_time: "Restante: <%= x %> segundos",
|
|
22285
22285
|
upload_button_label: "Cargar",
|
|
22286
|
-
upload_invalid_file_type: "Por favor, elige una imagen JPEG",
|
|
22286
|
+
upload_invalid_file_type: "Por favor, elige una imagen JPEG o PNG",
|
|
22287
22287
|
upload_processing_failed: "No se pudo procesar la imagen. Por favor, intente de nuevo.",
|
|
22288
22288
|
image_preview_unavailable: "Vista previa de la imagen no disponible",
|
|
22289
22289
|
front_card_title: "Frente de la identificacion",
|
|
@@ -22387,7 +22387,7 @@
|
|
|
22387
22387
|
btn_try_again: "Try again",
|
|
22388
22388
|
remaining_time: "Remaining: <%= x %> second(s)",
|
|
22389
22389
|
upload_button_label: "Upload",
|
|
22390
|
-
upload_invalid_file_type: "Please choose a JPEG image",
|
|
22390
|
+
upload_invalid_file_type: "Please choose a JPEG or PNG image",
|
|
22391
22391
|
upload_processing_failed: "Could not process the image. Please try again.",
|
|
22392
22392
|
image_preview_unavailable: "Image preview unavailable",
|
|
22393
22393
|
front_card_title: "Front of ID",
|
|
@@ -22637,35 +22637,34 @@
|
|
|
22637
22637
|
function l6(e, t) {
|
|
22638
22638
|
let r = l8();
|
|
22639
22639
|
return (l6 = function(e, t) {
|
|
22640
|
-
return r[e -=
|
|
22640
|
+
return r[e -= 258];
|
|
22641
22641
|
})(e, t);
|
|
22642
22642
|
}
|
|
22643
22643
|
function l8() {
|
|
22644
22644
|
let e = [
|
|
22645
|
+
"ssRdXLZEX8",
|
|
22646
|
+
"1000848OZPuUQ",
|
|
22647
|
+
"137936Jjnyvi",
|
|
22648
|
+
"13qzwSvP",
|
|
22649
|
+
"ZIzj0CAQYI",
|
|
22650
|
+
"ytJdcsPxrD",
|
|
22645
22651
|
"44P0rKKsZK",
|
|
22646
|
-
"
|
|
22647
|
-
"
|
|
22652
|
+
"58322XaHoQq",
|
|
22653
|
+
"189nCQURn",
|
|
22648
22654
|
"cDQgAE9h6Z",
|
|
22649
|
-
"
|
|
22650
|
-
"
|
|
22651
|
-
"
|
|
22652
|
-
"
|
|
22653
|
-
"
|
|
22654
|
-
"Mjci1ul8mm",
|
|
22655
|
-
"5267088cfiBtj",
|
|
22655
|
+
"3059301306",
|
|
22656
|
+
"1705990NgtHsv",
|
|
22657
|
+
"820YSdsst",
|
|
22658
|
+
"22777ItlElI",
|
|
22659
|
+
"94dokYSZ",
|
|
22656
22660
|
"MFkwEwYHKo",
|
|
22661
|
+
"0301070342",
|
|
22662
|
+
"900SAhsys",
|
|
22663
|
+
"4PErhmY",
|
|
22664
|
+
"296178IjUOdi",
|
|
22665
|
+
"2a8648ce3d",
|
|
22657
22666
|
"000",
|
|
22658
|
-
"
|
|
22659
|
-
"D9EKOWS+U4",
|
|
22660
|
-
"2745777vSmWXY",
|
|
22661
|
-
"3d02010608",
|
|
22662
|
-
"ssRdXLZEX8",
|
|
22663
|
-
"MfPrcYTM70",
|
|
22664
|
-
"6BgdjEW",
|
|
22665
|
-
"KA==",
|
|
22666
|
-
"4314410sjoVYQ",
|
|
22667
|
-
"1778350yctlbb",
|
|
22668
|
-
"0301070342"
|
|
22667
|
+
"1454643SPGnsa"
|
|
22669
22668
|
];
|
|
22670
22669
|
return (l8 = function() {
|
|
22671
22670
|
return e;
|
|
@@ -22673,13 +22672,13 @@
|
|
|
22673
22672
|
}
|
|
22674
22673
|
let l9 = l6, l7 = l6, ue = l8();
|
|
22675
22674
|
for(;;)try {
|
|
22676
|
-
if (
|
|
22675
|
+
if (parseInt(l7(277)) / 1 * (parseInt(l7(278)) / 2) + -parseInt(l7(263)) / 3 * (parseInt(l7(259)) / 4) + parseInt(l7(275)) / 5 + parseInt(l7(260)) / 6 * (parseInt(l7(272)) / 7) + parseInt(l7(266)) / 8 * (-parseInt(l7(258)) / 9) + parseInt(l7(276)) / 10 * (parseInt(l7(271)) / 11) + parseInt(l7(265)) / 12 * (-parseInt(l7(267)) / 13) === 886797) break;
|
|
22677
22676
|
ue.push(ue.shift());
|
|
22678
22677
|
} catch (e) {
|
|
22679
22678
|
ue.push(ue.shift());
|
|
22680
22679
|
}
|
|
22681
|
-
l9(
|
|
22682
|
-
let ut = l9(
|
|
22680
|
+
l9(274), l9(261), l9(280), l9(262);
|
|
22681
|
+
let ut = l9(279) + l9(268) + "KoZIzj0DAQ" + l9(273) + "DepBO8t60S" + l9(269) + "+faHkP3QC3" + l9(270) + "Mjci1ul8mmD9EKOWS+U4MfPrcYTM70" + l9(264) + "KA==";
|
|
22683
22682
|
function ur(e) {
|
|
22684
22683
|
let t = atob(e), r = new Uint8Array(t.length);
|
|
22685
22684
|
for(let e = 0; e < t.length; e++)r[e] = t.charCodeAt(e);
|
|
@@ -26725,7 +26724,7 @@
|
|
|
26725
26724
|
return this.getKey().getPublicKey();
|
|
26726
26725
|
}, e.prototype.getPublicKeyB64 = function() {
|
|
26727
26726
|
return this.getKey().getPublicBaseKeyB64();
|
|
26728
|
-
}, e.version = "5.38.
|
|
26727
|
+
}, e.version = "5.38.4", e;
|
|
26729
26728
|
}();
|
|
26730
26729
|
let fx = [
|
|
26731
26730
|
"-",
|
|
@@ -27305,7 +27304,7 @@
|
|
|
27305
27304
|
}), n = await window.crypto.subtle.importKey("raw", r, "AES-GCM", !0, [
|
|
27306
27305
|
"encrypt",
|
|
27307
27306
|
"decrypt"
|
|
27308
|
-
]), i = await window.crypto.subtle.exportKey("raw", n), a = cy().replace(/-/g, ""), o = new TextEncoder().encode(a), s = await fA(i, o);
|
|
27307
|
+
]), i = await window.crypto.subtle.exportKey("raw", n), a = cy$1().replace(/-/g, ""), o = new TextEncoder().encode(a), s = await fA(i, o);
|
|
27309
27308
|
if (!s) throw Error("Failed to combine keys");
|
|
27310
27309
|
let c = await fB(e, s), l = await fE(a);
|
|
27311
27310
|
if (c && "object" == typeof c && "hex" in c) return `${c.hex}::${l}`;
|
|
@@ -29464,7 +29463,7 @@
|
|
|
29464
29463
|
face_brightness_score: "null",
|
|
29465
29464
|
face_qualify_score: "null"
|
|
29466
29465
|
}
|
|
29467
|
-
}, t = cy().replace(/-/g, ""), e$1 || (e$1 = fq(i)), r = dQ(e$1.encrypt(t));
|
|
29466
|
+
}, t = cy$1().replace(/-/g, ""), e$1 || (e$1 = fq(i)), r = dQ(e$1.encrypt(t));
|
|
29468
29467
|
};
|
|
29469
29468
|
var fX = Object.freeze({
|
|
29470
29469
|
__proto__: null,
|
|
@@ -29504,7 +29503,7 @@
|
|
|
29504
29503
|
start_id_card: i,
|
|
29505
29504
|
end_id_card: a
|
|
29506
29505
|
}
|
|
29507
|
-
}, t = cy().replace(/-/g, ""), e$1 || (e$1 = fq(o)), r = dQ(e$1.encrypt(t));
|
|
29506
|
+
}, t = cy$1().replace(/-/g, ""), e$1 || (e$1 = fq(o)), r = dQ(e$1.encrypt(t));
|
|
29508
29507
|
},
|
|
29509
29508
|
uint8ToBinaryString: fM,
|
|
29510
29509
|
writeCurrentExif: fQ,
|
|
@@ -29914,13 +29913,13 @@
|
|
|
29914
29913
|
let h_ = (e)=>{
|
|
29915
29914
|
if (e <= 0) return [];
|
|
29916
29915
|
let t = [];
|
|
29917
|
-
for(let r = 0; r < e; r++)t.push(cy());
|
|
29916
|
+
for(let r = 0; r < e; r++)t.push(cy$1());
|
|
29918
29917
|
return t;
|
|
29919
29918
|
};
|
|
29920
29919
|
var hb = Object.freeze({
|
|
29921
29920
|
__proto__: null,
|
|
29922
29921
|
createBatchUUID: h_,
|
|
29923
|
-
createSingleUUID: ()=>cy()
|
|
29922
|
+
createSingleUUID: ()=>cy$1()
|
|
29924
29923
|
});
|
|
29925
29924
|
let hC = (e)=>{
|
|
29926
29925
|
let { customTexts: t = {}, customErrors: r, customInstructions: n, customMessages: i, language: a = "vi" } = e ?? {}, o = {
|
|
@@ -34026,8 +34025,8 @@
|
|
|
34026
34025
|
return "\\" + e[t];
|
|
34027
34026
|
};
|
|
34028
34027
|
}(), a = gg(), o = ct$1(), s = cv$1(), c = gm(), l = function() {
|
|
34029
|
-
if (st) return se$1;
|
|
34030
|
-
st = 1;
|
|
34028
|
+
if (st$1) return se$1;
|
|
34029
|
+
st$1 = 1;
|
|
34031
34030
|
var e = function() {
|
|
34032
34031
|
if (o5$1) return o3$1;
|
|
34033
34032
|
o5$1 = 1;
|
|
@@ -34188,7 +34187,7 @@
|
|
|
34188
34187
|
}, gS = ()=>URL.createObjectURL(new Blob([
|
|
34189
34188
|
'\'use strict\';(function(){function T(a,b){let c=[],d="";b=a.readBits([8,16,16][b]);for(let d=0;d<b;d++){let b=a.readBits(8);c.push(b)}try{d+=decodeURIComponent(c.map(a=>`%${("0"+a.toString(16)).substr(-2)}`).join(""))}catch(e){}return{bytes:c,text:d}}function U(a,b){a=new V(a);let c=9>=b?0:26>=b?1:2;for(b={text:"",bytes:[],chunks:[],version:b};4<=a.available();){var d=a.readBits(4);if(d===t.Terminator)return b;if(d===t.ECI)0===a.readBits(1)?b.chunks.push({type:r.ECI,assignmentNumber:a.readBits(7)}):\n0===a.readBits(1)?b.chunks.push({type:r.ECI,assignmentNumber:a.readBits(14)}):0===a.readBits(1)?b.chunks.push({type:r.ECI,assignmentNumber:a.readBits(21)}):b.chunks.push({type:r.ECI,assignmentNumber:-1});else if(d===t.Numeric){var e=a;d=[];for(var f="",g=e.readBits([10,12,14][c]);3<=g;){var h=e.readBits(10);if(1E3<=h)throw Error("Invalid numeric value above 999");var k=Math.floor(h/100),n=Math.floor(h/10)%10;h%=10;d.push(48+k,48+n,48+h);f+=k.toString()+n.toString()+h.toString();g-=3}if(2===g){g=e.readBits(7);\nif(100<=g)throw Error("Invalid numeric value above 99");e=Math.floor(g/10);g%=10;d.push(48+e,48+g);f+=e.toString()+g.toString()}else if(1===g){e=e.readBits(4);if(10<=e)throw Error("Invalid numeric value above 9");d.push(48+e);f+=e.toString()}d={bytes:d,text:f};b.text+=d.text;b.bytes.push(...d.bytes);b.chunks.push({type:r.Numeric,text:d.text})}else if(d===t.Alphanumeric){e=a;d=[];f="";for(g=e.readBits([9,11,13][c]);2<=g;)n=e.readBits(11),k=Math.floor(n/45),n%=45,d.push(B[k].charCodeAt(0),B[n].charCodeAt(0)),\nf+=B[k]+B[n],g-=2;1===g&&(e=e.readBits(6),d.push(B[e].charCodeAt(0)),f+=B[e]);d={bytes:d,text:f};b.text+=d.text;b.bytes.push(...d.bytes);b.chunks.push({type:r.Alphanumeric,text:d.text})}else if(d===t.Byte)d=T(a,c),b.text+=d.text,b.bytes.push(...d.bytes),b.chunks.push({type:r.Byte,bytes:d.bytes,text:d.text});else if(d===t.Kanji){f=a;d=[];e=f.readBits([8,10,12][c]);for(g=0;g<e;g++)k=f.readBits(13),k=Math.floor(k/192)<<8|k%192,k=7936>k?k+33088:k+49472,d.push(k>>8,k&255);f=(new TextDecoder("shift-jis")).decode(Uint8Array.from(d));\nd={bytes:d,text:f};b.text+=d.text;b.bytes.push(...d.bytes);b.chunks.push({type:r.Kanji,bytes:d.bytes,text:d.text})}else d===t.StructuredAppend&&b.chunks.push({type:r.StructuredAppend,currentSequence:a.readBits(4),totalSequence:a.readBits(4),parity:a.readBits(8)})}if(0===a.available()||0===a.readBits(a.available()))return b}function J(a,b){return a^b}function W(a,b,c,d){b.degree()<c.degree()&&([b,c]=[c,b]);let e=a.zero;for(var f=a.one;c.degree()>=d/2;){var g=b;let d=e;b=c;e=f;if(b.isZero())return null;\nc=g;f=a.zero;g=b.getCoefficient(b.degree());for(g=a.inverse(g);c.degree()>=b.degree()&&!c.isZero();){let d=c.degree()-b.degree(),e=a.multiply(c.getCoefficient(c.degree()),g);f=f.addOrSubtract(a.buildMonomial(d,e));c=c.addOrSubtract(b.multiplyByMonomial(d,e))}f=f.multiplyPoly(e).addOrSubtract(d);if(c.degree()>=b.degree())return null}d=f.getCoefficient(0);if(0===d)return null;a=a.inverse(d);return[f.multiply(a),c.multiply(a)]}function X(a,b){let c=new Uint8ClampedArray(a.length);c.set(a);a=new Y(285,\n256,0);var d=new w(a,c),e=new Uint8ClampedArray(b),f=!1;for(var g=0;g<b;g++){var h=d.evaluateAt(a.exp(g+a.generatorBase));e[e.length-1-g]=h;0!==h&&(f=!0)}if(!f)return c;d=new w(a,e);d=W(a,a.buildMonomial(b,1),d,b);if(null===d)return null;b=d[0];g=b.degree();if(1===g)b=[b.getCoefficient(1)];else{e=Array(g);f=0;for(h=1;h<a.size&&f<g;h++)0===b.evaluateAt(h)&&(e[f]=a.inverse(h),f++);b=f!==g?null:e}if(null==b)return null;d=d[1];e=b.length;f=Array(e);for(g=0;g<e;g++){h=a.inverse(b[g]);let c=1;for(let d=\n0;d<e;d++)g!==d&&(c=a.multiply(c,J(1,a.multiply(b[d],h))));f[g]=a.multiply(d.evaluateAt(h),a.inverse(c));0!==a.generatorBase&&(f[g]=a.multiply(f[g],h))}d=f;for(e=0;e<b.length;e++){f=c.length-1-a.log(b[e]);if(0>f)return null;c[f]^=d[e]}return c}function E(a,b){a^=b;for(b=0;a;)b++,a&=a-1;return b}function C(a,b){return b<<1|a}function Z(a,b,c){c=aa[c.dataMask];let d=a.height;var e=17+4*b.versionNumber,f=A.createEmpty(e,e);f.setRegion(0,0,9,9,!0);f.setRegion(e-8,0,8,9,!0);f.setRegion(0,e-8,9,8,!0);for(var g of b.alignmentPatternCenters)for(var h of b.alignmentPatternCenters)6===\ng&&6===h||6===g&&h===e-7||g===e-7&&6===h||f.setRegion(g-2,h-2,5,5,!0);f.setRegion(6,9,1,e-17,!0);f.setRegion(9,6,e-17,1,!0);6<b.versionNumber&&(f.setRegion(e-11,0,3,6,!0),f.setRegion(0,e-11,6,3,!0));b=f;g=[];e=h=0;f=!0;for(let k=d-1;0<k;k-=2){6===k&&k--;for(let n=0;n<d;n++){let m=f?d-1-n:n;for(let d=0;2>d;d++){let f=k-d;if(!b.get(f,m)){e++;let b=a.get(f,m);c({y:m,x:f})&&(b=!b);h=h<<1|b;8===e&&(g.push(h),h=e=0)}}}f=!f}return g}function ba(a){var b=a.height,c=Math.floor((b-17)/4);if(6>=c)return K[c-\n1];c=0;for(var d=5;0<=d;d--)for(var e=b-9;e>=b-11;e--)c=C(a.get(e,d),c);d=0;for(e=5;0<=e;e--)for(let c=b-9;c>=b-11;c--)d=C(a.get(e,c),d);a=Infinity;let f;for(let e of K){if(e.infoBits===c||e.infoBits===d)return e;b=E(c,e.infoBits);b<a&&(f=e,a=b);b=E(d,e.infoBits);b<a&&(f=e,a=b)}if(3>=a)return f}function ca(a){let b=0;for(var c=0;8>=c;c++)6!==c&&(b=C(a.get(c,8),b));for(c=7;0<=c;c--)6!==c&&(b=C(a.get(8,c),b));var d=a.height;c=0;for(var e=d-1;e>=d-7;e--)c=C(a.get(8,e),c);for(e=d-8;e<d;e++)c=C(a.get(e,\n8),c);a=Infinity;d=null;for(let {bits:f,formatInfo:g}of da){if(f===b||f===c)return g;e=E(b,f);e<a&&(d=g,a=e);b!==c&&(e=E(c,f),e<a&&(d=g,a=e))}return 3>=a?d:null}function ea(a,b,c){let d=b.errorCorrectionLevels[c],e=[],f=0;d.ecBlocks.forEach(a=>{for(let b=0;b<a.numBlocks;b++)e.push({numDataCodewords:a.dataCodewordsPerBlock,codewords:[]}),f+=a.dataCodewordsPerBlock+d.ecCodewordsPerBlock});if(a.length<f)return null;a=a.slice(0,f);b=d.ecBlocks[0].dataCodewordsPerBlock;for(c=0;c<b;c++)for(var g of e)g.codewords.push(a.shift());\nif(1<d.ecBlocks.length)for(g=d.ecBlocks[0].numBlocks,b=d.ecBlocks[1].numBlocks,c=0;c<b;c++)e[g+c].codewords.push(a.shift());for(;0<a.length;)for(let b of e)b.codewords.push(a.shift());return e}function L(a){let b=ba(a);if(!b)return null;var c=ca(a);if(!c)return null;a=Z(a,b,c);var d=ea(a,b,c.errorCorrectionLevel);if(!d)return null;c=d.reduce((a,b)=>a+b.numDataCodewords,0);c=new Uint8ClampedArray(c);a=0;for(let b of d){d=X(b.codewords,b.codewords.length-b.numDataCodewords);if(!d)return null;for(let e=\n0;e<b.numDataCodewords;e++)c[a++]=d[e]}try{return U(c,b.versionNumber)}catch(e){return null}}function M(a,b,c,d){var e=a.x-b.x+c.x-d.x;let f=a.y-b.y+c.y-d.y;if(0===e&&0===f)return{a11:b.x-a.x,a12:b.y-a.y,a13:0,a21:c.x-b.x,a22:c.y-b.y,a23:0,a31:a.x,a32:a.y,a33:1};{let h=b.x-c.x;var g=d.x-c.x;let k=b.y-c.y,n=d.y-c.y;c=h*n-g*k;g=(e*n-g*f)/c;e=(h*f-e*k)/c;return{a11:b.x-a.x+g*b.x,a12:b.y-a.y+g*b.y,a13:g,a21:d.x-a.x+e*d.x,a22:d.y-a.y+e*d.y,a23:e,a31:a.x,a32:a.y,a33:1}}}function fa(a,b,c,d){a=M(a,b,c,d);\nreturn{a11:a.a22*a.a33-a.a23*a.a32,a12:a.a13*a.a32-a.a12*a.a33,a13:a.a12*a.a23-a.a13*a.a22,a21:a.a23*a.a31-a.a21*a.a33,a22:a.a11*a.a33-a.a13*a.a31,a23:a.a13*a.a21-a.a11*a.a23,a31:a.a21*a.a32-a.a22*a.a31,a32:a.a12*a.a31-a.a11*a.a32,a33:a.a11*a.a22-a.a12*a.a21}}function ha(a,b){var c=fa({x:3.5,y:3.5},{x:b.dimension-3.5,y:3.5},{x:b.dimension-6.5,y:b.dimension-6.5},{x:3.5,y:b.dimension-3.5}),d=M(b.topLeft,b.topRight,b.alignmentPattern,b.bottomLeft),e=d.a11*c.a11+d.a21*c.a12+d.a31*c.a13,f=d.a12*c.a11+\nd.a22*c.a12+d.a32*c.a13,g=d.a13*c.a11+d.a23*c.a12+d.a33*c.a13,h=d.a11*c.a21+d.a21*c.a22+d.a31*c.a23,k=d.a12*c.a21+d.a22*c.a22+d.a32*c.a23,n=d.a13*c.a21+d.a23*c.a22+d.a33*c.a23,m=d.a11*c.a31+d.a21*c.a32+d.a31*c.a33,l=d.a12*c.a31+d.a22*c.a32+d.a32*c.a33,p=d.a13*c.a31+d.a23*c.a32+d.a33*c.a33;c=A.createEmpty(b.dimension,b.dimension);d=(a,b)=>{const c=g*a+n*b+p;return{x:(e*a+h*b+m)/c,y:(f*a+k*b+l)/c}};for(let e=0;e<b.dimension;e++)for(let f=0;f<b.dimension;f++){let b=d(f+.5,e+.5);c.set(f,e,a.get(Math.floor(b.x),\nMath.floor(b.y)))}return{matrix:c,mappingFunction:d}}function x(a){return a.reduce((a,c)=>a+c)}function ia(a,b,c){let d=y(a,b),e=y(b,c),f=y(a,c),g,h,k;e>=d&&e>=f?[g,h,k]=[b,a,c]:f>=e&&f>=d?[g,h,k]=[a,b,c]:[g,h,k]=[a,c,b];0>(k.x-h.x)*(g.y-h.y)-(k.y-h.y)*(g.x-h.x)&&([g,k]=[k,g]);return{bottomLeft:g,topLeft:h,topRight:k}}function ja(a,b,c,d){d=(x(z(a,c,d,5))/7+x(z(a,b,d,5))/7+x(z(c,a,d,5))/7+x(z(b,a,d,5))/7)/4;if(1>d)throw Error("Invalid module size");b=Math.round(y(a,b)/d);a=Math.round(y(a,c)/d);a=\nMath.floor((b+a)/2)+7;switch(a%4){case 0:a++;break;case 2:a--}return{dimension:a,moduleSize:d}}function N(a,b,c,d){let e=[{x:Math.floor(a.x),y:Math.floor(a.y)}];var f=Math.abs(b.y-a.y)>Math.abs(b.x-a.x);if(f){var g=Math.floor(a.y);var h=Math.floor(a.x);a=Math.floor(b.y);b=Math.floor(b.x)}else g=Math.floor(a.x),h=Math.floor(a.y),a=Math.floor(b.x),b=Math.floor(b.y);let k=Math.abs(a-g),n=Math.abs(b-h),m=Math.floor(-k/2),l=g<a?1:-1,p=h<b?1:-1,q=!0;for(let v=g,u=h;v!==a+l;v+=l){g=f?u:v;h=f?v:u;if(c.get(g,\nh)!==q&&(q=!q,e.push({x:g,y:h}),e.length===d+1))break;m+=n;if(0<m){if(u===b)break;u+=p;m-=k}}c=[];for(f=0;f<d;f++)e[f]&&e[f+1]?c.push(y(e[f],e[f+1])):c.push(0);return c}function z(a,b,c,d){let e=b.y-a.y,f=b.x-a.x;b=N(a,b,c,Math.ceil(d/2));a=N(a,{x:a.x-f,y:a.y-e},c,Math.ceil(d/2));c=b.shift()+a.shift()-1;return a.concat(c).concat(...b)}function F(a,b){let c=x(a)/x(b),d=0;b.forEach((b,f)=>{d+=Math.pow(a[f]-b*c,2)});return{averageSize:c,error:d}}function O(a,b,c){try{let d=z(a,{x:-1,y:a.y},c,b.length),\ne=z(a,{x:a.x,y:-1},c,b.length),f=z(a,{x:Math.max(0,a.x-a.y)-1,y:Math.max(0,a.y-a.x)-1},c,b.length),g=z(a,{x:Math.min(c.width,a.x+a.y)+1,y:Math.min(c.height,a.y+a.x)+1},c,b.length),h=F(d,b),k=F(e,b),n=F(f,b),m=F(g,b),l=(h.averageSize+k.averageSize+n.averageSize+m.averageSize)/4;return Math.sqrt(h.error*h.error+k.error*k.error+n.error*n.error+m.error*m.error)+(Math.pow(h.averageSize-l,2)+Math.pow(k.averageSize-l,2)+Math.pow(n.averageSize-l,2)+Math.pow(m.averageSize-l,2))/l}catch(d){return Infinity}}\nfunction H(a,b){for(var c=Math.round(b.x);a.get(c,Math.round(b.y));)c--;for(var d=Math.round(b.x);a.get(d,Math.round(b.y));)d++;c=(c+d)/2;for(d=Math.round(b.y);a.get(Math.round(c),d);)d--;for(b=Math.round(b.y);a.get(Math.round(c),b);)b++;return{x:c,y:(d+b)/2}}function ka(a){var b=[],c=[];let d=[];var e=[];for(let m=0;m<=a.height;m++){var f=0,g=!1;let l=[0,0,0,0,0];for(let b=-1;b<=a.width;b++){var h=a.get(b,m);if(h===g)f++;else{l=[l[1],l[2],l[3],l[4],f];f=1;g=h;var k=x(l)/7;k=Math.abs(l[0]-k)<k&&Math.abs(l[1]-\nk)<k&&Math.abs(l[2]-3*k)<3*k&&Math.abs(l[3]-k)<k&&Math.abs(l[4]-k)<k&&!h;var n=x(l.slice(-3))/3;h=Math.abs(l[2]-n)<n&&Math.abs(l[3]-n)<n&&Math.abs(l[4]-n)<n&&h;if(k){let a=b-l[3]-l[4],d=a-l[2];k={startX:d,endX:a,y:m};n=c.filter(b=>d>=b.bottom.startX&&d<=b.bottom.endX||a>=b.bottom.startX&&d<=b.bottom.endX||d<=b.bottom.startX&&a>=b.bottom.endX&&1.5>l[2]/(b.bottom.endX-b.bottom.startX)&&.5<l[2]/(b.bottom.endX-b.bottom.startX));0<n.length?n[0].bottom=k:c.push({top:k,bottom:k})}if(h){let a=b-l[4],c=a-\nl[3];h={startX:c,y:m,endX:a};k=e.filter(b=>c>=b.bottom.startX&&c<=b.bottom.endX||a>=b.bottom.startX&&c<=b.bottom.endX||c<=b.bottom.startX&&a>=b.bottom.endX&&1.5>l[2]/(b.bottom.endX-b.bottom.startX)&&.5<l[2]/(b.bottom.endX-b.bottom.startX));0<k.length?k[0].bottom=h:e.push({top:h,bottom:h})}}}b.push(...c.filter(a=>a.bottom.y!==m&&2<=a.bottom.y-a.top.y));c=c.filter(a=>a.bottom.y===m);d.push(...e.filter(a=>a.bottom.y!==m));e=e.filter(a=>a.bottom.y===m)}b.push(...c.filter(a=>2<=a.bottom.y-a.top.y));d.push(...e);\nc=[];for(var m of b)2>m.bottom.y-m.top.y||(b=(m.top.startX+m.top.endX+m.bottom.startX+m.bottom.endX)/4,e=(m.top.y+m.bottom.y+1)/2,a.get(Math.round(b),Math.round(e))&&(f=[m.top.endX-m.top.startX,m.bottom.endX-m.bottom.startX,m.bottom.y-m.top.y+1],f=x(f)/f.length,g=O({x:Math.round(b),y:Math.round(e)},[1,1,3,1,1],a),c.push({score:g,x:b,y:e,size:f})));if(3>c.length)return null;c.sort((a,b)=>a.score-b.score);m=[];for(b=0;b<Math.min(c.length,5);++b){e=c[b];f=[];for(var l of c)l!==e&&f.push(Object.assign(Object.assign({},\nl),{score:l.score+Math.pow(l.size-e.size,2)/e.size}));f.sort((a,b)=>a.score-b.score);m.push({points:[e,f[0],f[1]],score:e.score+f[0].score+f[1].score})}m.sort((a,b)=>a.score-b.score);let {topRight:p,topLeft:q,bottomLeft:v}=ia(...m[0].points);m=P(a,d,p,q,v);l=[];m&&l.push({alignmentPattern:{x:m.alignmentPattern.x,y:m.alignmentPattern.y},bottomLeft:{x:v.x,y:v.y},dimension:m.dimension,topLeft:{x:q.x,y:q.y},topRight:{x:p.x,y:p.y}});m=H(a,p);b=H(a,q);c=H(a,v);(a=P(a,d,m,b,c))&&l.push({alignmentPattern:{x:a.alignmentPattern.x,\ny:a.alignmentPattern.y},bottomLeft:{x:c.x,y:c.y},topLeft:{x:b.x,y:b.y},topRight:{x:m.x,y:m.y},dimension:a.dimension});return 0===l.length?null:l}function P(a,b,c,d,e){let f,g;try{({dimension:f,moduleSize:g}=ja(d,c,e,a))}catch(m){return null}var h=c.x-d.x+e.x,k=c.y-d.y+e.y;c=(y(d,e)+y(d,c))/2/g;e=1-3/c;let n={x:d.x+e*(h-d.x),y:d.y+e*(k-d.y)};b=b.map(b=>{const c=(b.top.startX+b.top.endX+b.bottom.startX+b.bottom.endX)/4;b=(b.top.y+b.bottom.y+1)/2;if(a.get(Math.floor(c),Math.floor(b))){var d=O({x:Math.floor(c),\ny:Math.floor(b)},[1,1,1],a)+y({x:c,y:b},n);return{x:c,y:b,score:d}}}).filter(a=>!!a).sort((a,b)=>a.score-b.score);return{alignmentPattern:15<=c&&b.length?b[0]:n,dimension:f}}function Q(a){var b=ka(a);if(!b)return null;for(let e of b){b=ha(a,e);var c=b.matrix;if(null==c)c=null;else{var d=L(c);if(d)c=d;else{for(d=0;d<c.width;d++)for(let a=d+1;a<c.height;a++)c.get(d,a)!==c.get(a,d)&&(c.set(d,a,!c.get(d,a)),c.set(a,d,!c.get(a,d)));c=L(c)}}if(c)return{binaryData:c.bytes,data:c.text,chunks:c.chunks,version:c.version,\nlocation:{topRightCorner:b.mappingFunction(e.dimension,0),topLeftCorner:b.mappingFunction(0,0),bottomRightCorner:b.mappingFunction(e.dimension,e.dimension),bottomLeftCorner:b.mappingFunction(0,e.dimension),topRightFinderPattern:e.topRight,topLeftFinderPattern:e.topLeft,bottomLeftFinderPattern:e.bottomLeft,bottomRightAlignmentPattern:e.alignmentPattern},matrix:b.matrix}}return null}function R(a,b){Object.keys(b).forEach(c=>{a[c]=b[c]})}function I(a,b,c,d={}){let e=Object.create(null);R(e,la);R(e,d);\nd="onlyInvert"===e.inversionAttempts||"invertFirst"===e.inversionAttempts;var f="attemptBoth"===e.inversionAttempts||d;var g=e.greyScaleWeights,h=e.canOverwriteImage,k=b*c;if(a.length!==4*k)throw Error("Malformed data passed to binarizer.");var n=0;if(h){var m=new Uint8ClampedArray(a.buffer,n,k);n+=k}m=new S(b,c,m);if(g.useIntegerApproximation)for(var l=0;l<c;l++)for(var p=0;p<b;p++){var q=4*(l*b+p);m.set(p,l,g.red*a[q]+g.green*a[q+1]+g.blue*a[q+2]+128>>8)}else for(l=0;l<c;l++)for(p=0;p<b;p++)q=4*\n(l*b+p),m.set(p,l,g.red*a[q]+g.green*a[q+1]+g.blue*a[q+2]);g=Math.ceil(b/8);l=Math.ceil(c/8);p=g*l;if(h){var v=new Uint8ClampedArray(a.buffer,n,p);n+=p}v=new S(g,l,v);for(p=0;p<l;p++)for(q=0;q<g;q++){var u=Infinity,r=0;for(var t=0;8>t;t++)for(let a=0;8>a;a++){let b=m.get(8*q+a,8*p+t);u=Math.min(u,b);r=Math.max(r,b)}t=(u+r)/2;t=Math.min(255,1.11*t);24>=r-u&&(t=u/2,0<p&&0<q&&(r=(v.get(q,p-1)+2*v.get(q-1,p)+v.get(q-1,p-1))/4,u<r&&(t=r)));v.set(q,p,t)}h?(p=new Uint8ClampedArray(a.buffer,n,k),n+=k,p=new A(p,\nb)):p=A.createEmpty(b,c);q=null;f&&(h?(a=new Uint8ClampedArray(a.buffer,n,k),q=new A(a,b)):q=A.createEmpty(b,c));for(b=0;b<l;b++)for(a=0;a<g;a++){c=g-3;c=2>a?2:a>c?c:a;h=l-3;h=2>b?2:b>h?h:b;k=0;for(n=-2;2>=n;n++)for(u=-2;2>=u;u++)k+=v.get(c+n,h+u);c=k/25;for(h=0;8>h;h++)for(k=0;8>k;k++)n=8*a+h,u=8*b+k,r=m.get(n,u),p.set(n,u,r<=c),f&&q.set(n,u,!(r<=c))}f=f?{binarized:p,inverted:q}:{binarized:p};let {binarized:w,inverted:x}=f;(f=Q(d?x:w))||"attemptBoth"!==e.inversionAttempts&&"invertFirst"!==e.inversionAttempts||\n(f=Q(d?w:x));return f}class A{constructor(a,b){this.width=b;this.height=a.length/b;this.data=a}static createEmpty(a,b){return new A(new Uint8ClampedArray(a*b),a)}get(a,b){return 0>a||a>=this.width||0>b||b>=this.height?!1:!!this.data[b*this.width+a]}set(a,b,c){this.data[b*this.width+a]=c?1:0}setRegion(a,b,c,d,e){for(let f=b;f<b+d;f++)for(let b=a;b<a+c;b++)this.set(b,f,!!e)}}class S{constructor(a,b,c){this.width=a;a*=b;if(c&&c.length!==a)throw Error("Wrong buffer size");this.data=c||new Uint8ClampedArray(a)}get(a,\nb){return this.data[b*this.width+a]}set(a,b,c){this.data[b*this.width+a]=c}}class V{constructor(a){this.bitOffset=this.byteOffset=0;this.bytes=a}readBits(a){if(1>a||32<a||a>this.available())throw Error("Cannot read "+a.toString()+" bits");var b=0;if(0<this.bitOffset){b=8-this.bitOffset;var c=a<b?a:b;b-=c;b=(this.bytes[this.byteOffset]&255>>8-c<<b)>>b;a-=c;this.bitOffset+=c;8===this.bitOffset&&(this.bitOffset=0,this.byteOffset++)}if(0<a){for(;8<=a;)b=b<<8|this.bytes[this.byteOffset]&255,this.byteOffset++,\na-=8;0<a&&(c=8-a,b=b<<a|(this.bytes[this.byteOffset]&255>>c<<c)>>c,this.bitOffset+=a)}return b}available(){return 8*(this.bytes.length-this.byteOffset)-this.bitOffset}}var r;(function(a){a.Numeric="numeric";a.Alphanumeric="alphanumeric";a.Byte="byte";a.Kanji="kanji";a.ECI="eci";a.StructuredAppend="structuredappend"})(r||(r={}));var t;(function(a){a[a.Terminator=0]="Terminator";a[a.Numeric=1]="Numeric";a[a.Alphanumeric=2]="Alphanumeric";a[a.Byte=4]="Byte";a[a.Kanji=8]="Kanji";a[a.ECI=7]="ECI";a[a.StructuredAppend=\n3]="StructuredAppend"})(t||(t={}));let B="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:".split("");class w{constructor(a,b){if(0===b.length)throw Error("No coefficients.");this.field=a;let c=b.length;if(1<c&&0===b[0]){let d=1;for(;d<c&&0===b[d];)d++;if(d===c)this.coefficients=a.zero.coefficients;else for(this.coefficients=new Uint8ClampedArray(c-d),a=0;a<this.coefficients.length;a++)this.coefficients[a]=b[d+a]}else this.coefficients=b}degree(){return this.coefficients.length-1}isZero(){return 0===\nthis.coefficients[0]}getCoefficient(a){return this.coefficients[this.coefficients.length-1-a]}addOrSubtract(a){if(this.isZero())return a;if(a.isZero())return this;let b=this.coefficients;a=a.coefficients;b.length>a.length&&([b,a]=[a,b]);let c=new Uint8ClampedArray(a.length),d=a.length-b.length;for(var e=0;e<d;e++)c[e]=a[e];for(e=d;e<a.length;e++)c[e]=b[e-d]^a[e];return new w(this.field,c)}multiply(a){if(0===a)return this.field.zero;if(1===a)return this;let b=this.coefficients.length,c=new Uint8ClampedArray(b);\nfor(let d=0;d<b;d++)c[d]=this.field.multiply(this.coefficients[d],a);return new w(this.field,c)}multiplyPoly(a){if(this.isZero()||a.isZero())return this.field.zero;let b=this.coefficients,c=b.length;a=a.coefficients;let d=a.length,e=new Uint8ClampedArray(c+d-1);for(let h=0;h<c;h++){let c=b[h];for(let b=0;b<d;b++){var f=h+b,g=this.field.multiply(c,a[b]);e[f]=e[h+b]^g}}return new w(this.field,e)}multiplyByMonomial(a,b){if(0>a)throw Error("Invalid degree less than 0");if(0===b)return this.field.zero;\nlet c=this.coefficients.length;a=new Uint8ClampedArray(c+a);for(let d=0;d<c;d++)a[d]=this.field.multiply(this.coefficients[d],b);return new w(this.field,a)}evaluateAt(a){let b=0;if(0===a)return this.getCoefficient(0);let c=this.coefficients.length;if(1===a)return this.coefficients.forEach(a=>{b^=a}),b;b=this.coefficients[0];for(let d=1;d<c;d++)b=J(this.field.multiply(a,b),this.coefficients[d]);return b}}class Y{constructor(a,b,c){this.primitive=a;this.size=b;this.generatorBase=c;this.expTable=Array(this.size);\nthis.logTable=Array(this.size);a=1;for(b=0;b<this.size;b++)this.expTable[b]=a,a*=2,a>=this.size&&(a=(a^this.primitive)&this.size-1);for(a=0;a<this.size-1;a++)this.logTable[this.expTable[a]]=a;this.zero=new w(this,Uint8ClampedArray.from([0]));this.one=new w(this,Uint8ClampedArray.from([1]))}multiply(a,b){return 0===a||0===b?0:this.expTable[(this.logTable[a]+this.logTable[b])%(this.size-1)]}inverse(a){if(0===a)throw Error("Can\'t invert 0");return this.expTable[this.size-this.logTable[a]-1]}buildMonomial(a,\nb){if(0>a)throw Error("Invalid monomial degree less than 0");if(0===b)return this.zero;a=new Uint8ClampedArray(a+1);a[0]=b;return new w(this,a)}log(a){if(0===a)throw Error("Can\'t take log(0)");return this.logTable[a]}exp(a){return this.expTable[a]}}let K=[{infoBits:null,versionNumber:1,alignmentPatternCenters:[],errorCorrectionLevels:[{ecCodewordsPerBlock:7,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:19}]},{ecCodewordsPerBlock:10,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:16}]},{ecCodewordsPerBlock:13,\necBlocks:[{numBlocks:1,dataCodewordsPerBlock:13}]},{ecCodewordsPerBlock:17,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:9}]}]},{infoBits:null,versionNumber:2,alignmentPatternCenters:[6,18],errorCorrectionLevels:[{ecCodewordsPerBlock:10,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:34}]},{ecCodewordsPerBlock:16,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:28}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:22}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:16}]}]},\n{infoBits:null,versionNumber:3,alignmentPatternCenters:[6,22],errorCorrectionLevels:[{ecCodewordsPerBlock:15,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:55}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:44}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:17}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:13}]}]},{infoBits:null,versionNumber:4,alignmentPatternCenters:[6,26],errorCorrectionLevels:[{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:1,\ndataCodewordsPerBlock:80}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:32}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:24}]},{ecCodewordsPerBlock:16,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:9}]}]},{infoBits:null,versionNumber:5,alignmentPatternCenters:[6,30],errorCorrectionLevels:[{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:108}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:43}]},{ecCodewordsPerBlock:18,\necBlocks:[{numBlocks:2,dataCodewordsPerBlock:15},{numBlocks:2,dataCodewordsPerBlock:16}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:11},{numBlocks:2,dataCodewordsPerBlock:12}]}]},{infoBits:null,versionNumber:6,alignmentPatternCenters:[6,34],errorCorrectionLevels:[{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:68}]},{ecCodewordsPerBlock:16,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:27}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:19}]},\n{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:15}]}]},{infoBits:31892,versionNumber:7,alignmentPatternCenters:[6,22,38],errorCorrectionLevels:[{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:78}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:31}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:14},{numBlocks:4,dataCodewordsPerBlock:15}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:13},\n{numBlocks:1,dataCodewordsPerBlock:14}]}]},{infoBits:34236,versionNumber:8,alignmentPatternCenters:[6,24,42],errorCorrectionLevels:[{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:97}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:38},{numBlocks:2,dataCodewordsPerBlock:39}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:18},{numBlocks:2,dataCodewordsPerBlock:19}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:14},\n{numBlocks:2,dataCodewordsPerBlock:15}]}]},{infoBits:39577,versionNumber:9,alignmentPatternCenters:[6,26,46],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:36},{numBlocks:2,dataCodewordsPerBlock:37}]},{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:16},{numBlocks:4,dataCodewordsPerBlock:17}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:12},\n{numBlocks:4,dataCodewordsPerBlock:13}]}]},{infoBits:42195,versionNumber:10,alignmentPatternCenters:[6,28,50],errorCorrectionLevels:[{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:68},{numBlocks:2,dataCodewordsPerBlock:69}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:43},{numBlocks:1,dataCodewordsPerBlock:44}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:19},{numBlocks:2,dataCodewordsPerBlock:20}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:6,\ndataCodewordsPerBlock:15},{numBlocks:2,dataCodewordsPerBlock:16}]}]},{infoBits:48118,versionNumber:11,alignmentPatternCenters:[6,30,54],errorCorrectionLevels:[{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:81}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:50},{numBlocks:4,dataCodewordsPerBlock:51}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:22},{numBlocks:4,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:3,\ndataCodewordsPerBlock:12},{numBlocks:8,dataCodewordsPerBlock:13}]}]},{infoBits:51042,versionNumber:12,alignmentPatternCenters:[6,32,58],errorCorrectionLevels:[{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:92},{numBlocks:2,dataCodewordsPerBlock:93}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:36},{numBlocks:2,dataCodewordsPerBlock:37}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:20},{numBlocks:6,dataCodewordsPerBlock:21}]},\n{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:14},{numBlocks:4,dataCodewordsPerBlock:15}]}]},{infoBits:55367,versionNumber:13,alignmentPatternCenters:[6,34,62],errorCorrectionLevels:[{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:107}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:37},{numBlocks:1,dataCodewordsPerBlock:38}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:20},{numBlocks:4,dataCodewordsPerBlock:21}]},\n{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:11},{numBlocks:4,dataCodewordsPerBlock:12}]}]},{infoBits:58893,versionNumber:14,alignmentPatternCenters:[6,26,46,66],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:115},{numBlocks:1,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:40},{numBlocks:5,dataCodewordsPerBlock:41}]},{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:16},\n{numBlocks:5,dataCodewordsPerBlock:17}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:12},{numBlocks:5,dataCodewordsPerBlock:13}]}]},{infoBits:63784,versionNumber:15,alignmentPatternCenters:[6,26,48,70],errorCorrectionLevels:[{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:87},{numBlocks:1,dataCodewordsPerBlock:88}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:41},{numBlocks:5,dataCodewordsPerBlock:42}]},{ecCodewordsPerBlock:30,\necBlocks:[{numBlocks:5,dataCodewordsPerBlock:24},{numBlocks:7,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:12},{numBlocks:7,dataCodewordsPerBlock:13}]}]},{infoBits:68472,versionNumber:16,alignmentPatternCenters:[6,26,50,74],errorCorrectionLevels:[{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:98},{numBlocks:1,dataCodewordsPerBlock:99}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:45},{numBlocks:3,dataCodewordsPerBlock:46}]},\n{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:19},{numBlocks:2,dataCodewordsPerBlock:20}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:15},{numBlocks:13,dataCodewordsPerBlock:16}]}]},{infoBits:70749,versionNumber:17,alignmentPatternCenters:[6,30,54,78],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:107},{numBlocks:5,dataCodewordsPerBlock:108}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:46},\n{numBlocks:1,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:22},{numBlocks:15,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:14},{numBlocks:17,dataCodewordsPerBlock:15}]}]},{infoBits:76311,versionNumber:18,alignmentPatternCenters:[6,30,56,82],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:120},{numBlocks:1,dataCodewordsPerBlock:121}]},{ecCodewordsPerBlock:26,\necBlocks:[{numBlocks:9,dataCodewordsPerBlock:43},{numBlocks:4,dataCodewordsPerBlock:44}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:22},{numBlocks:1,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:14},{numBlocks:19,dataCodewordsPerBlock:15}]}]},{infoBits:79154,versionNumber:19,alignmentPatternCenters:[6,30,58,86],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:113},{numBlocks:4,\ndataCodewordsPerBlock:114}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:44},{numBlocks:11,dataCodewordsPerBlock:45}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:21},{numBlocks:4,dataCodewordsPerBlock:22}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:9,dataCodewordsPerBlock:13},{numBlocks:16,dataCodewordsPerBlock:14}]}]},{infoBits:84390,versionNumber:20,alignmentPatternCenters:[6,34,62,90],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:3,\ndataCodewordsPerBlock:107},{numBlocks:5,dataCodewordsPerBlock:108}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:41},{numBlocks:13,dataCodewordsPerBlock:42}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:24},{numBlocks:5,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:15},{numBlocks:10,dataCodewordsPerBlock:16}]}]},{infoBits:87683,versionNumber:21,alignmentPatternCenters:[6,28,50,72,94],errorCorrectionLevels:[{ecCodewordsPerBlock:28,\necBlocks:[{numBlocks:4,dataCodewordsPerBlock:116},{numBlocks:4,dataCodewordsPerBlock:117}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:42}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:22},{numBlocks:6,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:16},{numBlocks:6,dataCodewordsPerBlock:17}]}]},{infoBits:92361,versionNumber:22,alignmentPatternCenters:[6,26,50,74,98],errorCorrectionLevels:[{ecCodewordsPerBlock:28,\necBlocks:[{numBlocks:2,dataCodewordsPerBlock:111},{numBlocks:7,dataCodewordsPerBlock:112}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:24},{numBlocks:16,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:34,dataCodewordsPerBlock:13}]}]},{infoBits:96236,versionNumber:23,alignmentPatternCenters:[6,30,54,74,102],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:4,\ndataCodewordsPerBlock:121},{numBlocks:5,dataCodewordsPerBlock:122}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:47},{numBlocks:14,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:24},{numBlocks:14,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:16,dataCodewordsPerBlock:15},{numBlocks:14,dataCodewordsPerBlock:16}]}]},{infoBits:102084,versionNumber:24,alignmentPatternCenters:[6,28,54,80,106],errorCorrectionLevels:[{ecCodewordsPerBlock:30,\necBlocks:[{numBlocks:6,dataCodewordsPerBlock:117},{numBlocks:4,dataCodewordsPerBlock:118}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:45},{numBlocks:14,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:24},{numBlocks:16,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:30,dataCodewordsPerBlock:16},{numBlocks:2,dataCodewordsPerBlock:17}]}]},{infoBits:102881,versionNumber:25,alignmentPatternCenters:[6,\n32,58,84,110],errorCorrectionLevels:[{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:106},{numBlocks:4,dataCodewordsPerBlock:107}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:47},{numBlocks:13,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:24},{numBlocks:22,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:22,dataCodewordsPerBlock:15},{numBlocks:13,dataCodewordsPerBlock:16}]}]},\n{infoBits:110507,versionNumber:26,alignmentPatternCenters:[6,30,58,86,114],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:114},{numBlocks:2,dataCodewordsPerBlock:115}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:46},{numBlocks:4,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:28,dataCodewordsPerBlock:22},{numBlocks:6,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:33,dataCodewordsPerBlock:16},\n{numBlocks:4,dataCodewordsPerBlock:17}]}]},{infoBits:110734,versionNumber:27,alignmentPatternCenters:[6,34,62,90,118],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:122},{numBlocks:4,dataCodewordsPerBlock:123}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:22,dataCodewordsPerBlock:45},{numBlocks:3,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:23},{numBlocks:26,dataCodewordsPerBlock:24}]},{ecCodewordsPerBlock:30,\necBlocks:[{numBlocks:12,dataCodewordsPerBlock:15},{numBlocks:28,dataCodewordsPerBlock:16}]}]},{infoBits:117786,versionNumber:28,alignmentPatternCenters:[6,26,50,74,98,122],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:117},{numBlocks:10,dataCodewordsPerBlock:118}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:45},{numBlocks:23,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:24},{numBlocks:31,\ndataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:15},{numBlocks:31,dataCodewordsPerBlock:16}]}]},{infoBits:119615,versionNumber:29,alignmentPatternCenters:[6,30,54,78,102,126],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:116},{numBlocks:7,dataCodewordsPerBlock:117}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:21,dataCodewordsPerBlock:45},{numBlocks:7,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,\necBlocks:[{numBlocks:1,dataCodewordsPerBlock:23},{numBlocks:37,dataCodewordsPerBlock:24}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:15},{numBlocks:26,dataCodewordsPerBlock:16}]}]},{infoBits:126325,versionNumber:30,alignmentPatternCenters:[6,26,52,78,104,130],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:115},{numBlocks:10,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:47},\n{numBlocks:10,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:24},{numBlocks:25,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:23,dataCodewordsPerBlock:15},{numBlocks:25,dataCodewordsPerBlock:16}]}]},{infoBits:127568,versionNumber:31,alignmentPatternCenters:[6,30,56,82,108,134],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:13,dataCodewordsPerBlock:115},{numBlocks:3,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,\necBlocks:[{numBlocks:2,dataCodewordsPerBlock:46},{numBlocks:29,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:42,dataCodewordsPerBlock:24},{numBlocks:1,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:23,dataCodewordsPerBlock:15},{numBlocks:28,dataCodewordsPerBlock:16}]}]},{infoBits:133589,versionNumber:32,alignmentPatternCenters:[6,34,60,86,112,138],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:115}]},\n{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:46},{numBlocks:23,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:24},{numBlocks:35,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:15},{numBlocks:35,dataCodewordsPerBlock:16}]}]},{infoBits:136944,versionNumber:33,alignmentPatternCenters:[6,30,58,86,114,142],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:115},\n{numBlocks:1,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:14,dataCodewordsPerBlock:46},{numBlocks:21,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:29,dataCodewordsPerBlock:24},{numBlocks:19,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:15},{numBlocks:46,dataCodewordsPerBlock:16}]}]},{infoBits:141498,versionNumber:34,alignmentPatternCenters:[6,34,62,90,118,146],errorCorrectionLevels:[{ecCodewordsPerBlock:30,\necBlocks:[{numBlocks:13,dataCodewordsPerBlock:115},{numBlocks:6,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:14,dataCodewordsPerBlock:46},{numBlocks:23,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:44,dataCodewordsPerBlock:24},{numBlocks:7,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:59,dataCodewordsPerBlock:16},{numBlocks:1,dataCodewordsPerBlock:17}]}]},{infoBits:145311,versionNumber:35,alignmentPatternCenters:[6,\n30,54,78,102,126,150],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:121},{numBlocks:7,dataCodewordsPerBlock:122}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:47},{numBlocks:26,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:39,dataCodewordsPerBlock:24},{numBlocks:14,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:22,dataCodewordsPerBlock:15},{numBlocks:41,dataCodewordsPerBlock:16}]}]},\n{infoBits:150283,versionNumber:36,alignmentPatternCenters:[6,24,50,76,102,128,154],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:121},{numBlocks:14,dataCodewordsPerBlock:122}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:47},{numBlocks:34,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:46,dataCodewordsPerBlock:24},{numBlocks:10,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:2,\ndataCodewordsPerBlock:15},{numBlocks:64,dataCodewordsPerBlock:16}]}]},{infoBits:152622,versionNumber:37,alignmentPatternCenters:[6,28,54,80,106,132,158],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:122},{numBlocks:4,dataCodewordsPerBlock:123}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:29,dataCodewordsPerBlock:46},{numBlocks:14,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:49,dataCodewordsPerBlock:24},{numBlocks:10,dataCodewordsPerBlock:25}]},\n{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:24,dataCodewordsPerBlock:15},{numBlocks:46,dataCodewordsPerBlock:16}]}]},{infoBits:158308,versionNumber:38,alignmentPatternCenters:[6,32,58,84,110,136,162],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:122},{numBlocks:18,dataCodewordsPerBlock:123}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:13,dataCodewordsPerBlock:46},{numBlocks:32,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:48,\ndataCodewordsPerBlock:24},{numBlocks:14,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:42,dataCodewordsPerBlock:15},{numBlocks:32,dataCodewordsPerBlock:16}]}]},{infoBits:161089,versionNumber:39,alignmentPatternCenters:[6,26,54,82,110,138,166],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:20,dataCodewordsPerBlock:117},{numBlocks:4,dataCodewordsPerBlock:118}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:40,dataCodewordsPerBlock:47},{numBlocks:7,dataCodewordsPerBlock:48}]},\n{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:43,dataCodewordsPerBlock:24},{numBlocks:22,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:15},{numBlocks:67,dataCodewordsPerBlock:16}]}]},{infoBits:167017,versionNumber:40,alignmentPatternCenters:[6,30,58,86,114,142,170],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:118},{numBlocks:6,dataCodewordsPerBlock:119}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:18,\ndataCodewordsPerBlock:47},{numBlocks:31,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:34,dataCodewordsPerBlock:24},{numBlocks:34,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:20,dataCodewordsPerBlock:15},{numBlocks:61,dataCodewordsPerBlock:16}]}]}],da=[{bits:21522,formatInfo:{errorCorrectionLevel:1,dataMask:0}},{bits:20773,formatInfo:{errorCorrectionLevel:1,dataMask:1}},{bits:24188,formatInfo:{errorCorrectionLevel:1,dataMask:2}},{bits:23371,formatInfo:{errorCorrectionLevel:1,\ndataMask:3}},{bits:17913,formatInfo:{errorCorrectionLevel:1,dataMask:4}},{bits:16590,formatInfo:{errorCorrectionLevel:1,dataMask:5}},{bits:20375,formatInfo:{errorCorrectionLevel:1,dataMask:6}},{bits:19104,formatInfo:{errorCorrectionLevel:1,dataMask:7}},{bits:30660,formatInfo:{errorCorrectionLevel:0,dataMask:0}},{bits:29427,formatInfo:{errorCorrectionLevel:0,dataMask:1}},{bits:32170,formatInfo:{errorCorrectionLevel:0,dataMask:2}},{bits:30877,formatInfo:{errorCorrectionLevel:0,dataMask:3}},{bits:26159,\nformatInfo:{errorCorrectionLevel:0,dataMask:4}},{bits:25368,formatInfo:{errorCorrectionLevel:0,dataMask:5}},{bits:27713,formatInfo:{errorCorrectionLevel:0,dataMask:6}},{bits:26998,formatInfo:{errorCorrectionLevel:0,dataMask:7}},{bits:5769,formatInfo:{errorCorrectionLevel:3,dataMask:0}},{bits:5054,formatInfo:{errorCorrectionLevel:3,dataMask:1}},{bits:7399,formatInfo:{errorCorrectionLevel:3,dataMask:2}},{bits:6608,formatInfo:{errorCorrectionLevel:3,dataMask:3}},{bits:1890,formatInfo:{errorCorrectionLevel:3,\ndataMask:4}},{bits:597,formatInfo:{errorCorrectionLevel:3,dataMask:5}},{bits:3340,formatInfo:{errorCorrectionLevel:3,dataMask:6}},{bits:2107,formatInfo:{errorCorrectionLevel:3,dataMask:7}},{bits:13663,formatInfo:{errorCorrectionLevel:2,dataMask:0}},{bits:12392,formatInfo:{errorCorrectionLevel:2,dataMask:1}},{bits:16177,formatInfo:{errorCorrectionLevel:2,dataMask:2}},{bits:14854,formatInfo:{errorCorrectionLevel:2,dataMask:3}},{bits:9396,formatInfo:{errorCorrectionLevel:2,dataMask:4}},{bits:8579,formatInfo:{errorCorrectionLevel:2,\ndataMask:5}},{bits:11994,formatInfo:{errorCorrectionLevel:2,dataMask:6}},{bits:11245,formatInfo:{errorCorrectionLevel:2,dataMask:7}}],aa=[a=>0===(a.y+a.x)%2,a=>0===a.y%2,a=>0===a.x%3,a=>0===(a.y+a.x)%3,a=>0===(Math.floor(a.y/2)+Math.floor(a.x/3))%2,a=>0===a.x*a.y%2+a.x*a.y%3,a=>0===(a.y*a.x%2+a.y*a.x%3)%2,a=>0===((a.y+a.x)%2+a.y*a.x%3)%2],y=(a,b)=>Math.sqrt(Math.pow(b.x-a.x,2)+Math.pow(b.y-a.y,2)),la={inversionAttempts:"attemptBoth",greyScaleWeights:{red:.2126,green:.7152,blue:.0722,useIntegerApproximation:!1},\ncanOverwriteImage:!0};I.default=I;let G="dontInvert",D={red:77,green:150,blue:29,useIntegerApproximation:!0};self.onmessage=a=>{let b=a.data.data;switch(a.data.type){case "decode":a=I(b.data,b.width,b.height,{inversionAttempts:G,greyScaleWeights:D});self.postMessage({type:"qrResult",data:a?a.data:null});break;case "grayscaleWeights":D.red=b.red;D.green=b.green;D.blue=b.blue;D.useIntegerApproximation=b.useIntegerApproximation;break;case "inversionMode":switch(b){case "original":G="dontInvert";break;\ncase "invert":G="onlyInvert";break;case "both":G="attemptBoth";break;default:throw Error("Invalid inversion mode");}break;case "close":self.close()}}})()\n\n'
|
|
34190
34189
|
]));
|
|
34191
|
-
var gk = su(sa
|
|
34190
|
+
var gk = su(sa ? si : (sa = 1, si = function(e, t, r, n, i, a, o, s) {
|
|
34192
34191
|
if (!e) {
|
|
34193
34192
|
var c;
|
|
34194
34193
|
if (void 0 === t) c = Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");
|
|
@@ -34207,7 +34206,7 @@
|
|
|
34207
34206
|
}
|
|
34208
34207
|
throw c.framesToPop = 1, c;
|
|
34209
34208
|
}
|
|
34210
|
-
})), gE = su(ss ? so : (ss = 1, so = function() {}));
|
|
34209
|
+
})), gE = su(ss$1 ? so : (ss$1 = 1, so = function() {}));
|
|
34211
34210
|
let gB = cR();
|
|
34212
34211
|
let gA = class gA {
|
|
34213
34212
|
#e;
|
|
@@ -34579,19 +34578,19 @@
|
|
|
34579
34578
|
});
|
|
34580
34579
|
};
|
|
34581
34580
|
|
|
34582
|
-
var
|
|
34581
|
+
var G, K, Y, J, ee, et, er, eo, en, ei, ea, es, ec, el, ed, eu, ep, ef, eh, em, eg, eb, ew, ev, ek, ey, eC, eB, e_, ex, eP, eS, eE, eT, eD, e$, eI, eM, ej, eO, eR, eA, eL, eF, ez, eN, eV, eW, eU, eq, eQ, eX, eH, eZ, eG, eK, eY, eJ, e3, e2, e5, e0, e1, e8, e9, e4, e6, e7, te, tt, tr, to, tn, ti, ta, ts, tc, tl, td, tu, tp, tf, th, tm, tg, tb, tw, tv, tk, ty, tC, tB, t_, tx, tP, tS, tE, tT, tD, t$, tI, tM, tj, tO, tR, tA, tL, tF, tz, tN, tV, tW, tU, tq, tQ, tX, tH, tZ, tG, tK, tY, tJ, t3, t2, t5, t0, t1, t8, t9, t4, t6, t7, re, rt, rr, ro, rn, ri, ra, rs, rc, rl, rd, ru, rp, rf, rh, rm, rg, rb, rw, rv, rk, ry, rC, rB, r_, rx, rP, rS, rE, rT, rD, r$, rI, rM, rj, rO, rR, rA, rL, rF, rz, rN, rV, rW, rU, rq, rQ, rX, rH, rZ, rG, rK, rY, rJ, r3, r2, r5, r0, r1, r8, r9, r4, r6, r7, oe, ot, or, oo, on, oi, oa, os, oc, ol, od, ou, op, of, oh, om, og, ob, ow, ov, ok, oy, oC, oB, o_, ox, oP, oS, oE, oT, oD, o$, oI, oM, oj, oO, oR, oA, oL, oF, oz, oN, oV, oW, oq, oQ = "undefined" != typeof globalThis ? globalThis : "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof self ? self : {};
|
|
34583
34582
|
function oX(t) {
|
|
34584
34583
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
34585
34584
|
}
|
|
34586
34585
|
var oH = {
|
|
34587
34586
|
exports: {}
|
|
34588
|
-
},
|
|
34589
|
-
if (
|
|
34590
|
-
|
|
34587
|
+
}, oZ = {}, oG = K ? oH.exports : (K = 1, oH.exports = function() {
|
|
34588
|
+
if (G) return oZ;
|
|
34589
|
+
G = 1;
|
|
34591
34590
|
var r = 60103;
|
|
34592
|
-
if (
|
|
34591
|
+
if (oZ.Fragment = 60107, "function" == typeof Symbol && Symbol.for) {
|
|
34593
34592
|
var o = Symbol.for;
|
|
34594
|
-
r = o("react.element"),
|
|
34593
|
+
r = o("react.element"), oZ.Fragment = o("react.fragment");
|
|
34595
34594
|
}
|
|
34596
34595
|
var n = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = Object.prototype.hasOwnProperty, a = {
|
|
34597
34596
|
key: !0,
|
|
@@ -34612,7 +34611,7 @@
|
|
|
34612
34611
|
_owner: n.current
|
|
34613
34612
|
};
|
|
34614
34613
|
}
|
|
34615
|
-
return
|
|
34614
|
+
return oZ.jsx = s, oZ.jsxs = s, oZ;
|
|
34616
34615
|
}(), oH.exports);
|
|
34617
34616
|
function oK() {
|
|
34618
34617
|
return J ? Y : (J = 1, Y = Array.isArray);
|
|
@@ -34730,7 +34729,7 @@
|
|
|
34730
34729
|
return eO ? ej : (eO = 1, ej = o9()(Object, "create"));
|
|
34731
34730
|
}
|
|
34732
34731
|
function o6() {
|
|
34733
|
-
return eK ?
|
|
34732
|
+
return eK ? eG : (eK = 1, eG = function(t, r) {
|
|
34734
34733
|
return t === r || t != t && r != r;
|
|
34735
34734
|
});
|
|
34736
34735
|
}
|
|
@@ -34746,7 +34745,7 @@
|
|
|
34746
34745
|
function ne() {
|
|
34747
34746
|
if (e7) return e6;
|
|
34748
34747
|
e7 = 1;
|
|
34749
|
-
var t =
|
|
34748
|
+
var t = eZ ? eH : (eZ = 1, eH = function() {
|
|
34750
34749
|
this.__data__ = [], this.size = 0;
|
|
34751
34750
|
}), r = function() {
|
|
34752
34751
|
if (e2) return e3;
|
|
@@ -35409,7 +35408,7 @@
|
|
|
35409
35408
|
for(var n = 0; n < r[o].length; n++)if (U(r[o][n], t)) return "?" === o ? void 0 : o;
|
|
35410
35409
|
} else if (U(r[o], t)) return "?" === o ? void 0 : o;
|
|
35411
35410
|
return t;
|
|
35412
|
-
},
|
|
35411
|
+
}, Z = {
|
|
35413
35412
|
ME: "4.90",
|
|
35414
35413
|
"NT 3.11": "NT3.51",
|
|
35415
35414
|
"NT 4.0": "NT4.0",
|
|
@@ -35427,7 +35426,7 @@
|
|
|
35427
35426
|
"NT 10.0"
|
|
35428
35427
|
],
|
|
35429
35428
|
RT: "ARM"
|
|
35430
|
-
},
|
|
35429
|
+
}, G = {
|
|
35431
35430
|
browser: [
|
|
35432
35431
|
[
|
|
35433
35432
|
/\b(?:crmo|crios)\/([\w\.]+)/i
|
|
@@ -37357,7 +37356,7 @@
|
|
|
37357
37356
|
[
|
|
37358
37357
|
h,
|
|
37359
37358
|
H,
|
|
37360
|
-
|
|
37359
|
+
Z
|
|
37361
37360
|
]
|
|
37362
37361
|
],
|
|
37363
37362
|
[
|
|
@@ -37369,7 +37368,7 @@
|
|
|
37369
37368
|
[
|
|
37370
37369
|
h,
|
|
37371
37370
|
H,
|
|
37372
|
-
|
|
37371
|
+
Z
|
|
37373
37372
|
],
|
|
37374
37373
|
[
|
|
37375
37374
|
u,
|
|
@@ -37537,7 +37536,7 @@
|
|
|
37537
37536
|
]
|
|
37538
37537
|
}, K = function(t, r) {
|
|
37539
37538
|
if (typeof t === s && (r = t, t = void 0), !(this instanceof K)) return new K(t, r).getResult();
|
|
37540
|
-
var n = typeof o !== a && o.navigator ? o.navigator : void 0, g = t || (n && n.userAgent ? n.userAgent : ""), v = n && n.userAgentData ? n.userAgentData : void 0, k = r ? V(
|
|
37539
|
+
var n = typeof o !== a && o.navigator ? o.navigator : void 0, g = t || (n && n.userAgent ? n.userAgent : ""), v = n && n.userAgentData ? n.userAgentData : void 0, k = r ? V(G, r) : G, y = n && n.userAgent == g;
|
|
37541
37540
|
return this.getBrowser = function() {
|
|
37542
37541
|
var t, r = {};
|
|
37543
37542
|
return r[u] = void 0, r[h] = void 0, X.call(r, g, k.browser), r[l] = typeof (t = r[h]) === c ? t.replace(/[^\d\.]/g, "").split(".")[0] : void 0, y && n && n.brave && typeof n.brave.isBrave == i && (r[u] = "Brave"), r;
|
|
@@ -37809,9 +37808,9 @@
|
|
|
37809
37808
|
return O(t.vendor);
|
|
37810
37809
|
}, H = function(t) {
|
|
37811
37810
|
return O(t.model);
|
|
37812
|
-
}, G = function(t) {
|
|
37813
|
-
return O(t.type, "browser");
|
|
37814
37811
|
}, Z = function(t) {
|
|
37812
|
+
return O(t.type, "browser");
|
|
37813
|
+
}, G = function(t) {
|
|
37815
37814
|
return t.name === I.Android;
|
|
37816
37815
|
}, K = function(t) {
|
|
37817
37816
|
return t.name === I.Windows;
|
|
@@ -37890,7 +37889,7 @@
|
|
|
37890
37889
|
isTablet: z(o) || eC(),
|
|
37891
37890
|
isBrowser: W(o),
|
|
37892
37891
|
isDesktop: W(o),
|
|
37893
|
-
isAndroid:
|
|
37892
|
+
isAndroid: G(i),
|
|
37894
37893
|
isWinPhone: J(i),
|
|
37895
37894
|
isIOS: ee(i) || eC(),
|
|
37896
37895
|
isChrome: eo(n),
|
|
@@ -37910,7 +37909,7 @@
|
|
|
37910
37909
|
getUA: ex(s),
|
|
37911
37910
|
isEdge: ea(n) || ek(s),
|
|
37912
37911
|
isYandex: es(n),
|
|
37913
|
-
deviceType:
|
|
37912
|
+
deviceType: Z(o),
|
|
37914
37913
|
isIOS13: ey(),
|
|
37915
37914
|
isIPad13: eC(),
|
|
37916
37915
|
isIPhone13: eB(),
|
|
@@ -37924,7 +37923,7 @@
|
|
|
37924
37923
|
isSamsungBrowser: ef(n)
|
|
37925
37924
|
};
|
|
37926
37925
|
}
|
|
37927
|
-
var eS = V(c), eE = q(c), eT = U(c), eD = Q(c), e$ = el(a) || eC(), eI = ei(a), eM = N(c) || eC(), ej = F(c), eO = z(c) || eC(), eR = W(c), eA = W(c), eL =
|
|
37926
|
+
var eS = V(c), eE = q(c), eT = U(c), eD = Q(c), e$ = el(a) || eC(), eI = ei(a), eM = N(c) || eC(), ej = F(c), eO = z(c) || eC(), eR = W(c), eA = W(c), eL = G(d), eF = J(d), ez = ee(d) || eC(), eN = eo(a), eV = en(a), eW = ec(a), eU = ed(a), eq = eu(a), eQ = et(d), eX = er(d), eH = eh(a), eZ = em(a), eG = eg(a), eK = X(c), eY = H(c), eJ = eb(l), e3 = ew(l), e2 = ex(u), e5 = ea(a) || ek(u), e0 = es(a), e1 = Z(c), e8 = ey(), e9 = eC(), e4 = eB(), e6 = e_(), e7 = ev(), te = ek(u), tt = ea(a) && !ek(u), tr = K(d), to = Y(d), tn = ep(a), ti = ef(a);
|
|
37928
37927
|
function ta(t) {
|
|
37929
37928
|
return f(t || window.navigator.userAgent);
|
|
37930
37929
|
}
|
|
@@ -38009,7 +38008,7 @@
|
|
|
38009
38008
|
"children"
|
|
38010
38009
|
]);
|
|
38011
38010
|
return eF ? n ? o.createElement(React.Fragment, null, i) : o.createElement("div", a, i) : null;
|
|
38012
|
-
}, nP.browserName =
|
|
38011
|
+
}, nP.browserName = eG, nP.browserVersion = eZ, nP.deviceDetect = function(t) {
|
|
38013
38012
|
var r, o, n, i, a, s, c, l, d, u, p, m, g, b, w, v, k, y, C, B, _, x, P = t ? f(t) : h, S = P.device, E = P.browser, T = P.engine, D = P.os, $ = P.ua, I = j(S.type), M = I.isBrowser, R = I.isMobile, A = I.isTablet, F = I.isSmartTV, z = I.isConsole, N = I.isWearable, V = I.isEmbedded;
|
|
38014
38013
|
if (M) {
|
|
38015
38014
|
return r = M, o = E, n = T, i = D, a = $, {
|
|
@@ -38234,24 +38233,24 @@
|
|
|
38234
38233
|
].keys());
|
|
38235
38234
|
function nj(t) {
|
|
38236
38235
|
let { children: r, x: o, y: n, width: i, height: a, className: s, surroundStyle: c } = t;
|
|
38237
|
-
return
|
|
38236
|
+
return oG.jsx(nD, {
|
|
38238
38237
|
className: s,
|
|
38239
|
-
children:
|
|
38240
|
-
children: nI.map((t, s)=>
|
|
38238
|
+
children: oG.jsx("tbody", {
|
|
38239
|
+
children: nI.map((t, s)=>oG.jsx("tr", {
|
|
38241
38240
|
style: {
|
|
38242
38241
|
height: 0 === s ? n : "auto"
|
|
38243
38242
|
},
|
|
38244
38243
|
"data-testid": "row",
|
|
38245
38244
|
children: nM.map((t, n)=>{
|
|
38246
38245
|
let l = 1 === s && 1 === n, d = "auto";
|
|
38247
|
-
return l ? d = i : 0 === n && (d = o),
|
|
38246
|
+
return l ? d = i : 0 === n && (d = o), oG.jsx("td", {
|
|
38248
38247
|
"data-testid": l ? "centeredCell" : "cell",
|
|
38249
38248
|
style: {
|
|
38250
38249
|
width: d,
|
|
38251
38250
|
height: l ? a : "auto",
|
|
38252
38251
|
...!l ? c : {}
|
|
38253
38252
|
},
|
|
38254
|
-
children: l ?
|
|
38253
|
+
children: l ? oG.jsx(n$, {
|
|
38255
38254
|
style: {
|
|
38256
38255
|
width: d,
|
|
38257
38256
|
height: a
|
|
@@ -38623,7 +38622,7 @@
|
|
|
38623
38622
|
u,
|
|
38624
38623
|
p
|
|
38625
38624
|
]);
|
|
38626
|
-
return
|
|
38625
|
+
return oG.jsx(nU.Provider, {
|
|
38627
38626
|
value: f,
|
|
38628
38627
|
children: s
|
|
38629
38628
|
});
|
|
@@ -38643,7 +38642,7 @@
|
|
|
38643
38642
|
${(t)=>t.flipHorizontal && `
|
|
38644
38643
|
transform: scale(${-1 * t.scale}, ${+t.scale});
|
|
38645
38644
|
`}
|
|
38646
|
-
`,
|
|
38645
|
+
`, nZ = dt$1.div`
|
|
38647
38646
|
cursor: pointer;
|
|
38648
38647
|
text-align: center;
|
|
38649
38648
|
width: 50px;
|
|
@@ -38651,7 +38650,7 @@
|
|
|
38651
38650
|
img {
|
|
38652
38651
|
width: 100%;
|
|
38653
38652
|
}
|
|
38654
|
-
`,
|
|
38653
|
+
`, nG = dt$1(nZ)`
|
|
38655
38654
|
z-index: ${2e3};
|
|
38656
38655
|
position: fixed;
|
|
38657
38656
|
cursor: pointer;
|
|
@@ -38662,6 +38661,11 @@
|
|
|
38662
38661
|
display: ${nz("closeButton.display")};
|
|
38663
38662
|
width: ${nz("closeButton.width")};
|
|
38664
38663
|
height: ${nz("closeButton.height")};
|
|
38664
|
+
// Optional theme-controlled hit-area padding. Defaults to '0', so clients that
|
|
38665
|
+
// don't set closeButton.padding render exactly as before. content-box ensures
|
|
38666
|
+
// the padding grows the tap target without shrinking the icon.
|
|
38667
|
+
box-sizing: content-box;
|
|
38668
|
+
padding: ${nz("closeButton.padding", "0")};
|
|
38665
38669
|
`, nK = dt$1.div`
|
|
38666
38670
|
z-index: ${1020};
|
|
38667
38671
|
position: absolute;
|
|
@@ -38911,20 +38915,20 @@
|
|
|
38911
38915
|
c
|
|
38912
38916
|
]), reactExports.useEffect(()=>()=>{
|
|
38913
38917
|
l.current && (l.current.getTracks().forEach((t)=>t.stop()), l.current = null);
|
|
38914
|
-
}, []),
|
|
38918
|
+
}, []), oG.jsx(nq, {
|
|
38915
38919
|
videoElement: C.current,
|
|
38916
|
-
children:
|
|
38920
|
+
children: oG.jsxs(nX, {
|
|
38917
38921
|
id: `tv-camera-${T.current}`,
|
|
38918
38922
|
checkCameraMode: d,
|
|
38919
38923
|
children: [
|
|
38920
38924
|
(()=>{
|
|
38921
38925
|
if (!M) return null;
|
|
38922
38926
|
let t = N("no_permission");
|
|
38923
|
-
return M === t && nT.isIOS ?
|
|
38927
|
+
return M === t && nT.isIOS ? oG.jsxs(nK, {
|
|
38924
38928
|
children: [
|
|
38925
38929
|
M,
|
|
38926
38930
|
" ",
|
|
38927
|
-
|
|
38931
|
+
oG.jsx("button", {
|
|
38928
38932
|
onClick: ()=>{
|
|
38929
38933
|
window.location.reload();
|
|
38930
38934
|
},
|
|
@@ -38934,11 +38938,11 @@
|
|
|
38934
38938
|
}[D]
|
|
38935
38939
|
})
|
|
38936
38940
|
]
|
|
38937
|
-
}) :
|
|
38941
|
+
}) : oG.jsx(nK, {
|
|
38938
38942
|
children: M
|
|
38939
38943
|
});
|
|
38940
38944
|
})(),
|
|
38941
|
-
|
|
38945
|
+
oG.jsx(nH, {
|
|
38942
38946
|
ref: C,
|
|
38943
38947
|
playsInline: !0,
|
|
38944
38948
|
muted: !0,
|
|
@@ -38950,10 +38954,10 @@
|
|
|
38950
38954
|
_ ? /*#__PURE__*/ React.cloneElement(_, {
|
|
38951
38955
|
onClick: H,
|
|
38952
38956
|
"data-testid": "close-camera"
|
|
38953
|
-
}) :
|
|
38957
|
+
}) : oG.jsx(nG, {
|
|
38954
38958
|
onClick: H,
|
|
38955
38959
|
"data-testid": "close-camera",
|
|
38956
|
-
children:
|
|
38960
|
+
children: oG.jsx("img", {
|
|
38957
38961
|
src: I,
|
|
38958
38962
|
alt: ""
|
|
38959
38963
|
})
|
|
@@ -39222,7 +39226,7 @@
|
|
|
39222
39226
|
}, il = /*#__PURE__*/ reactExports.forwardRef(function(r, a) {
|
|
39223
39227
|
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, w = void 0 !== b && b, v = r.nested, k = void 0 !== v && v, y = r.closeOnDocumentClick, C = void 0 === y || y, B = r.repositionOnResize, _ = r.closeOnEscape, x = r.on, P = void 0 === x ? [
|
|
39224
39228
|
"click"
|
|
39225
|
-
] : x, S = r.contentStyle, E = void 0 === S ? {} : S, T = r.arrowStyle, D = void 0 === T ? {} : T, $ = r.overlayStyle, I = r.className, M = void 0 === I ? "" : I, j = r.position, O = void 0 === j ? "bottom center" : j, R = r.modal, A = void 0 !== R && R, L = r.lockScroll, F = void 0 !== L && L, z = r.arrow, N = void 0 === z || z, 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,
|
|
39229
|
+
] : x, S = r.contentStyle, E = void 0 === S ? {} : S, T = r.arrowStyle, D = void 0 === T ? {} : T, $ = r.overlayStyle, I = r.className, M = void 0 === I ? "" : I, j = r.position, O = void 0 === j ? "bottom center" : j, R = r.modal, A = void 0 !== R && R, L = r.lockScroll, F = void 0 !== L && L, z = r.arrow, N = void 0 === z || z, 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, G = 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 = !!A || !c, el = reactExports.useRef(0);
|
|
39226
39230
|
n6(function() {
|
|
39227
39231
|
return et ? (ea.current = document.activeElement, ev(), ew(), eg()) : eb(), function() {
|
|
39228
39232
|
clearTimeout(el.current);
|
|
@@ -39255,7 +39259,7 @@
|
|
|
39255
39259
|
}, em = function(t) {
|
|
39256
39260
|
clearTimeout(el.current), el.current = setTimeout(function() {
|
|
39257
39261
|
return eu(t);
|
|
39258
|
-
},
|
|
39262
|
+
}, G);
|
|
39259
39263
|
}, eg = function() {
|
|
39260
39264
|
ec && F && (document.getElementsByTagName("body")[0].style.overflow = "hidden");
|
|
39261
39265
|
}, eb = function() {
|
|
@@ -39414,9 +39418,9 @@
|
|
|
39414
39418
|
top: 0;
|
|
39415
39419
|
bottom: 0
|
|
39416
39420
|
}
|
|
39417
|
-
`, iu = 2e3, ip = ({ open: t = !1, children: r = null, overlayStyle: o = {}, ...n })=>t ?
|
|
39421
|
+
`, iu = 2e3, ip = ({ open: t = !1, children: r = null, overlayStyle: o = {}, ...n })=>t ? oG.jsxs(oG.Fragment, {
|
|
39418
39422
|
children: [
|
|
39419
|
-
|
|
39423
|
+
oG.jsx(il, {
|
|
39420
39424
|
overlayStyle: {
|
|
39421
39425
|
...o,
|
|
39422
39426
|
zIndex: iu
|
|
@@ -39428,7 +39432,7 @@
|
|
|
39428
39432
|
...n,
|
|
39429
39433
|
children: r
|
|
39430
39434
|
}),
|
|
39431
|
-
|
|
39435
|
+
oG.jsx(id, {})
|
|
39432
39436
|
]
|
|
39433
39437
|
}) : null, ih = {
|
|
39434
39438
|
IDCapturing: {
|
|
@@ -39656,12 +39660,12 @@
|
|
|
39656
39660
|
d,
|
|
39657
39661
|
i
|
|
39658
39662
|
]), h = s + a * u, m = f[n];
|
|
39659
|
-
return
|
|
39663
|
+
return oG.jsxs("svg", {
|
|
39660
39664
|
width: r,
|
|
39661
39665
|
height: o,
|
|
39662
39666
|
className: t,
|
|
39663
39667
|
children: [
|
|
39664
|
-
|
|
39668
|
+
oG.jsx("rect", {
|
|
39665
39669
|
x: a / 2,
|
|
39666
39670
|
y: a / 2,
|
|
39667
39671
|
rx: s,
|
|
@@ -39670,19 +39674,19 @@
|
|
|
39670
39674
|
height: o - a,
|
|
39671
39675
|
style: m
|
|
39672
39676
|
}),
|
|
39673
|
-
|
|
39677
|
+
oG.jsx("path", {
|
|
39674
39678
|
d: `M0,${h} Q0,0 ${h},0 L0,0 Z`,
|
|
39675
39679
|
style: c
|
|
39676
39680
|
}),
|
|
39677
|
-
|
|
39681
|
+
oG.jsx("path", {
|
|
39678
39682
|
d: `M0,${o - h} Q0,${o} ${h},${o} L0,${o} Z`,
|
|
39679
39683
|
style: c
|
|
39680
39684
|
}),
|
|
39681
|
-
|
|
39685
|
+
oG.jsx("path", {
|
|
39682
39686
|
d: `M${r - h},${o} Q${r},${o} ${r},${o - h} L${r},${o} Z`,
|
|
39683
39687
|
style: c
|
|
39684
39688
|
}),
|
|
39685
|
-
|
|
39689
|
+
oG.jsx("path", {
|
|
39686
39690
|
d: `M${r - h},0 Q${r},0 ${r},${h} L${r},0 Z`,
|
|
39687
39691
|
style: c
|
|
39688
39692
|
})
|
|
@@ -39960,7 +39964,7 @@
|
|
|
39960
39964
|
position: absolute;
|
|
39961
39965
|
top: 0;
|
|
39962
39966
|
left: 0;
|
|
39963
|
-
`,
|
|
39967
|
+
`, iG = dt$1.div`
|
|
39964
39968
|
${ik}
|
|
39965
39969
|
${iD}
|
|
39966
39970
|
`; dt$1.img`
|
|
@@ -40141,16 +40145,16 @@
|
|
|
40141
40145
|
theme: o
|
|
40142
40146
|
})
|
|
40143
40147
|
});
|
|
40144
|
-
return
|
|
40148
|
+
return oG.jsxs(iG, {
|
|
40145
40149
|
width: n,
|
|
40146
40150
|
height: i,
|
|
40147
40151
|
children: [
|
|
40148
|
-
|
|
40152
|
+
oG.jsx(iX, {
|
|
40149
40153
|
src: a === ig ? d : l,
|
|
40150
40154
|
width: n,
|
|
40151
40155
|
height: i
|
|
40152
40156
|
}),
|
|
40153
|
-
|
|
40157
|
+
oG.jsx(iQ, {
|
|
40154
40158
|
type: a,
|
|
40155
40159
|
...s,
|
|
40156
40160
|
...u
|
|
@@ -40189,10 +40193,10 @@
|
|
|
40189
40193
|
padding: 10px;
|
|
40190
40194
|
`, ao = ({ contentStyle: t = {} })=>{
|
|
40191
40195
|
let { lang: r, warmupMessage: o } = cl$1.useSDKSettings(), n = gv(), i = o ? o?.[r] : n("warmup_intro");
|
|
40192
|
-
return
|
|
40196
|
+
return oG.jsx(ip, {
|
|
40193
40197
|
open: !0,
|
|
40194
40198
|
contentStyle: t,
|
|
40195
|
-
children:
|
|
40199
|
+
children: oG.jsx(ar, {
|
|
40196
40200
|
className: "warmup-message",
|
|
40197
40201
|
children: i
|
|
40198
40202
|
})
|
|
@@ -40253,15 +40257,15 @@
|
|
|
40253
40257
|
cursor: pointer;
|
|
40254
40258
|
`, ad = ({ onOk: t = ()=>{}, maxSessionTime: r = 30 })=>{
|
|
40255
40259
|
let o = gv();
|
|
40256
|
-
return
|
|
40260
|
+
return oG.jsxs(as, {
|
|
40257
40261
|
children: [
|
|
40258
|
-
|
|
40262
|
+
oG.jsx(ac, {
|
|
40259
40263
|
className: "popup-message",
|
|
40260
40264
|
children: o("timeout_instruction", {
|
|
40261
40265
|
x: r
|
|
40262
40266
|
})
|
|
40263
40267
|
}),
|
|
40264
|
-
|
|
40268
|
+
oG.jsx(al, {
|
|
40265
40269
|
className: "popup-button",
|
|
40266
40270
|
onClick: t,
|
|
40267
40271
|
children: o("btn_ok")
|
|
@@ -40295,18 +40299,18 @@
|
|
|
40295
40299
|
if (tJ) return tY;
|
|
40296
40300
|
tJ = 1;
|
|
40297
40301
|
var t = function() {
|
|
40298
|
-
if (tK) return
|
|
40302
|
+
if (tK) return tG;
|
|
40299
40303
|
tK = 1;
|
|
40300
40304
|
var t = function() {
|
|
40301
|
-
if (
|
|
40302
|
-
|
|
40305
|
+
if (tZ) return tH;
|
|
40306
|
+
tZ = 1;
|
|
40303
40307
|
var t = /\s/;
|
|
40304
40308
|
return tH = function(r) {
|
|
40305
40309
|
for(var o = r.length; o-- && t.test(r.charAt(o)););
|
|
40306
40310
|
return o;
|
|
40307
40311
|
};
|
|
40308
40312
|
}(), r = /^\s+/;
|
|
40309
|
-
return
|
|
40313
|
+
return tG = function(o) {
|
|
40310
40314
|
return o ? o.slice(0, t(o) + 1).replace(r, "") : o;
|
|
40311
40315
|
};
|
|
40312
40316
|
}(), r = o1(), o = o0(), n = 0 / 0, i = /^[-+]0x[0-9a-f]+$/i, a = /^0b[01]+$/i, s = /^0o[0-7]+$/i, c = parseInt;
|
|
@@ -40925,15 +40929,15 @@
|
|
|
40925
40929
|
input:checked + &:before {
|
|
40926
40930
|
transform: translateX(28px);
|
|
40927
40931
|
}
|
|
40928
|
-
`, aF = ({ checked: t, onChange: r, disabled: o = !1 })=>
|
|
40932
|
+
`, aF = ({ checked: t, onChange: r, disabled: o = !1 })=>oG.jsxs(aA, {
|
|
40929
40933
|
$disabled: o,
|
|
40930
40934
|
children: [
|
|
40931
|
-
|
|
40935
|
+
oG.jsx("input", {
|
|
40932
40936
|
type: "checkbox",
|
|
40933
40937
|
checked: t,
|
|
40934
40938
|
onChange: r
|
|
40935
40939
|
}),
|
|
40936
|
-
|
|
40940
|
+
oG.jsx(aL, {
|
|
40937
40941
|
className: "slider"
|
|
40938
40942
|
})
|
|
40939
40943
|
]
|
|
@@ -40968,7 +40972,7 @@
|
|
|
40968
40972
|
circleDuration: i - a,
|
|
40969
40973
|
checkmarkDuration: a
|
|
40970
40974
|
});
|
|
40971
|
-
return
|
|
40975
|
+
return oG.jsxs(aW, {
|
|
40972
40976
|
width: "56",
|
|
40973
40977
|
height: "56",
|
|
40974
40978
|
viewBox: "0 0 56 56",
|
|
@@ -40978,17 +40982,17 @@
|
|
|
40978
40982
|
$circleDuration: s,
|
|
40979
40983
|
$checkmarkDuration: c,
|
|
40980
40984
|
children: [
|
|
40981
|
-
|
|
40985
|
+
oG.jsxs("g", {
|
|
40982
40986
|
filter: "url(#auto_capture_blur)",
|
|
40983
40987
|
children: [
|
|
40984
|
-
|
|
40988
|
+
oG.jsx("rect", {
|
|
40985
40989
|
width: "56",
|
|
40986
40990
|
height: "56",
|
|
40987
40991
|
rx: "28",
|
|
40988
40992
|
fill: "#0F172A",
|
|
40989
40993
|
fillOpacity: "0.25"
|
|
40990
40994
|
}),
|
|
40991
|
-
|
|
40995
|
+
oG.jsx("circle", {
|
|
40992
40996
|
cx: "28",
|
|
40993
40997
|
cy: "28",
|
|
40994
40998
|
r: "21",
|
|
@@ -40996,7 +41000,7 @@
|
|
|
40996
41000
|
strokeWidth: "2.5",
|
|
40997
41001
|
onAnimationEnd: t
|
|
40998
41002
|
}),
|
|
40999
|
-
|
|
41003
|
+
oG.jsx("path", {
|
|
41000
41004
|
d: "M19.25 29.9908L22.925 34.499C23.049 34.6527 23.2079 34.7777 23.3897 34.8645C23.5716 34.9512 23.7717 34.9976 23.975 34.9999C24.175 35.0022 24.373 34.9618 24.5547 34.8819C24.7363 34.8019 24.897 34.6842 25.025 34.5375L36.75 21",
|
|
41001
41005
|
stroke: "white",
|
|
41002
41006
|
strokeWidth: "2.5",
|
|
@@ -41007,8 +41011,8 @@
|
|
|
41007
41011
|
})
|
|
41008
41012
|
]
|
|
41009
41013
|
}),
|
|
41010
|
-
|
|
41011
|
-
children:
|
|
41014
|
+
oG.jsx("defs", {
|
|
41015
|
+
children: oG.jsxs("filter", {
|
|
41012
41016
|
id: "auto_capture_blur",
|
|
41013
41017
|
x: "-16",
|
|
41014
41018
|
y: "-16",
|
|
@@ -41017,20 +41021,20 @@
|
|
|
41017
41021
|
filterUnits: "userSpaceOnUse",
|
|
41018
41022
|
colorInterpolationFilters: "sRGB",
|
|
41019
41023
|
children: [
|
|
41020
|
-
|
|
41024
|
+
oG.jsx("feFlood", {
|
|
41021
41025
|
floodOpacity: "0",
|
|
41022
41026
|
result: "BackgroundImageFix"
|
|
41023
41027
|
}),
|
|
41024
|
-
|
|
41028
|
+
oG.jsx("feGaussianBlur", {
|
|
41025
41029
|
in: "BackgroundImageFix",
|
|
41026
41030
|
stdDeviation: "8"
|
|
41027
41031
|
}),
|
|
41028
|
-
|
|
41032
|
+
oG.jsx("feComposite", {
|
|
41029
41033
|
in2: "SourceAlpha",
|
|
41030
41034
|
operator: "in",
|
|
41031
41035
|
result: "effect1_backgroundBlur_1052_2357"
|
|
41032
41036
|
}),
|
|
41033
|
-
|
|
41037
|
+
oG.jsx("feBlend", {
|
|
41034
41038
|
mode: "normal",
|
|
41035
41039
|
in: "SourceGraphic",
|
|
41036
41040
|
in2: "effect1_backgroundBlur_1052_2357",
|
|
@@ -41043,17 +41047,17 @@
|
|
|
41043
41047
|
});
|
|
41044
41048
|
};
|
|
41045
41049
|
function aq({ color: t = "#E84848" }) {
|
|
41046
|
-
return
|
|
41050
|
+
return oG.jsx("div", {
|
|
41047
41051
|
style: {
|
|
41048
41052
|
marginRight: sc.DesignToken.Spacing["2xs"]
|
|
41049
41053
|
},
|
|
41050
|
-
children:
|
|
41054
|
+
children: oG.jsxs("svg", {
|
|
41051
41055
|
width: "25",
|
|
41052
41056
|
height: "24",
|
|
41053
41057
|
viewBox: "0 0 25 24",
|
|
41054
41058
|
fill: "none",
|
|
41055
41059
|
children: [
|
|
41056
|
-
|
|
41060
|
+
oG.jsx("mask", {
|
|
41057
41061
|
id: "mask0_7690_10172",
|
|
41058
41062
|
style: {
|
|
41059
41063
|
maskType: "alpha"
|
|
@@ -41063,16 +41067,16 @@
|
|
|
41063
41067
|
y: "0",
|
|
41064
41068
|
width: "25",
|
|
41065
41069
|
height: "24",
|
|
41066
|
-
children:
|
|
41070
|
+
children: oG.jsx("rect", {
|
|
41067
41071
|
x: "0.5",
|
|
41068
41072
|
width: "24",
|
|
41069
41073
|
height: "24",
|
|
41070
41074
|
fill: "#D9D9D9"
|
|
41071
41075
|
})
|
|
41072
41076
|
}),
|
|
41073
|
-
|
|
41077
|
+
oG.jsx("g", {
|
|
41074
41078
|
mask: "url(#mask0_7690_10172)",
|
|
41075
|
-
children:
|
|
41079
|
+
children: oG.jsx("path", {
|
|
41076
41080
|
d: "M13.25 11.6962V7.75C13.25 7.5375 13.1781 7.35933 13.0343 7.2155C12.8904 7.07183 12.7122 7 12.4998 7C12.2871 7 12.109 7.07183 11.9655 7.2155C11.8218 7.35933 11.75 7.5375 11.75 7.75V11.927C11.75 12.0447 11.7718 12.1587 11.8155 12.269C11.859 12.3793 11.9276 12.4813 12.0213 12.575L15.4462 16C15.5846 16.1385 15.7586 16.2093 15.9682 16.2125C16.1779 16.2157 16.3552 16.1448 16.5 16C16.6448 15.8552 16.7172 15.6795 16.7172 15.473C16.7172 15.2667 16.6448 15.0911 16.5 14.9462L13.25 11.6962ZM12.5017 21.5C11.1877 21.5 9.95267 21.2507 8.7965 20.752C7.64033 20.2533 6.63467 19.5766 5.7795 18.7218C4.92433 17.8669 4.24725 16.8617 3.74825 15.706C3.24942 14.5503 3 13.3156 3 12.0017C3 10.6877 3.24933 9.45267 3.748 8.2965C4.24667 7.14033 4.92342 6.13467 5.77825 5.2795C6.63308 4.42433 7.63833 3.74725 8.794 3.24825C9.94967 2.74942 11.1844 2.5 12.4983 2.5C13.8123 2.5 15.0473 2.74933 16.2035 3.248C17.3597 3.74667 18.3653 4.42342 19.2205 5.27825C20.0757 6.13308 20.7528 7.13833 21.2518 8.294C21.7506 9.44967 22 10.6844 22 11.9983C22 13.3123 21.7507 14.5473 21.252 15.7035C20.7533 16.8597 20.0766 17.8653 19.2218 18.7205C18.3669 19.5757 17.3617 20.2528 16.206 20.7518C15.0503 21.2506 13.8156 21.5 12.5017 21.5ZM12.5 20C14.7167 20 16.6042 19.2208 18.1625 17.6625C19.7208 16.1042 20.5 14.2167 20.5 12C20.5 9.78333 19.7208 7.89583 18.1625 6.3375C16.6042 4.77917 14.7167 4 12.5 4C10.2833 4 8.39583 4.77917 6.8375 6.3375C5.27917 7.89583 4.5 9.78333 4.5 12C4.5 14.2167 5.27917 16.1042 6.8375 17.6625C8.39583 19.2208 10.2833 20 12.5 20Z",
|
|
41077
41081
|
fill: t
|
|
41078
41082
|
})
|
|
@@ -41120,7 +41124,7 @@
|
|
|
41120
41124
|
width: 32px;
|
|
41121
41125
|
height: 32px;
|
|
41122
41126
|
display: block;
|
|
41123
|
-
`, aH = ({ onClick: t, label: r, disabled: o = !1, yButtonRow: n, bottomOffset: i })=>
|
|
41127
|
+
`, aH = ({ onClick: t, label: r, disabled: o = !1, yButtonRow: n, bottomOffset: i })=>oG.jsx(aQ, {
|
|
41124
41128
|
type: "button",
|
|
41125
41129
|
onClick: t,
|
|
41126
41130
|
disabled: o,
|
|
@@ -41128,23 +41132,23 @@
|
|
|
41128
41132
|
"data-testid": "id-upload-button",
|
|
41129
41133
|
$yButtonRow: n,
|
|
41130
41134
|
$bottomOffset: i,
|
|
41131
|
-
children:
|
|
41135
|
+
children: oG.jsx(aX, {
|
|
41132
41136
|
viewBox: "0 0 32 32",
|
|
41133
41137
|
fill: "none",
|
|
41134
41138
|
xmlns: "http://www.w3.org/2000/svg",
|
|
41135
41139
|
"aria-hidden": "true",
|
|
41136
|
-
children:
|
|
41140
|
+
children: oG.jsx("path", {
|
|
41137
41141
|
d: "M7.07684 27.3334C6.40328 27.3334 5.83317 27.1001 5.3665 26.6334C4.89984 26.1668 4.6665 25.5966 4.6665 24.9231V7.0771C4.6665 6.40354 4.89984 5.83343 5.3665 5.36676C5.83317 4.9001 6.40328 4.66676 7.07684 4.66676H16.6665C17.0341 4.66676 17.3153 4.81587 17.5102 5.11409C17.7051 5.41254 17.7418 5.73865 17.6205 6.09243C17.5263 6.44465 17.4592 6.79465 17.4192 7.14243C17.379 7.49021 17.3588 7.84021 17.3588 8.19243C17.3588 10.3891 18.1387 12.2481 19.6985 13.7694C21.2583 15.2908 23.1365 16.0215 25.3332 15.9618C25.4425 15.9618 25.5587 15.9583 25.6818 15.9514C25.8049 15.9445 25.9212 15.9274 26.0305 15.9001C26.3707 15.8641 26.6728 15.9513 26.9368 16.1618C27.2011 16.372 27.3332 16.6403 27.3332 16.9668V24.9231C27.3332 25.5966 27.0998 26.1668 26.6332 26.6334C26.1665 27.1001 25.5964 27.3334 24.9228 27.3334H7.07684ZM10.2052 22.3334H21.8972C22.1383 22.3334 22.3169 22.224 22.4332 22.0051C22.5494 21.7864 22.5314 21.5745 22.3792 21.3694L19.1998 17.1104C19.0749 16.9498 18.9143 16.8694 18.7178 16.8694C18.5212 16.8694 18.3605 16.9498 18.2358 17.1104L14.9742 21.3591L12.7895 18.5591C12.6648 18.4069 12.5063 18.3308 12.3138 18.3308C12.1216 18.3308 11.9631 18.4112 11.8382 18.5721L9.73584 21.3694C9.57517 21.5745 9.55295 21.7864 9.66917 22.0051C9.78539 22.224 9.96406 22.3334 10.2052 22.3334ZM24.4282 12.9051C24.2366 12.7138 24.1408 12.4762 24.1408 12.1924V7.16409L22.3638 8.8821C22.1792 9.06676 21.9506 9.16254 21.6782 9.16943C21.4055 9.1761 21.17 9.08032 20.9715 8.8821C20.7871 8.69743 20.6948 8.46543 20.6948 8.1861C20.6948 7.90654 20.7871 7.67443 20.9715 7.48976L24.2845 4.1771C24.4092 4.05221 24.5429 3.96076 24.6858 3.90276C24.8285 3.84454 24.9802 3.81543 25.1408 3.81543C25.3015 3.81543 25.4511 3.84454 25.5895 3.90276C25.7279 3.96076 25.8596 4.05221 25.9845 4.1771L29.2972 7.48976C29.4818 7.67443 29.5776 7.9031 29.5845 8.17576C29.5912 8.44843 29.4954 8.68387 29.2972 8.8821C29.1125 9.06676 28.8805 9.1591 28.6012 9.1591C28.3216 9.1591 28.0895 9.06676 27.9048 8.8821L26.1408 7.16409V12.1924C26.1408 12.4762 26.0451 12.7138 25.8535 12.9051C25.6622 13.0967 25.4246 13.1924 25.1408 13.1924C24.8571 13.1924 24.6195 13.0967 24.4282 12.9051Z",
|
|
41138
41142
|
fill: "currentColor"
|
|
41139
41143
|
})
|
|
41140
41144
|
})
|
|
41141
|
-
}),
|
|
41145
|
+
}), aZ = (t, r)=>{
|
|
41142
41146
|
let o = Math.min(1, 1280 / Math.max(t, r));
|
|
41143
41147
|
return {
|
|
41144
41148
|
width: Math.max(1, Math.round(t * o)),
|
|
41145
41149
|
height: Math.max(1, Math.round(r * o))
|
|
41146
41150
|
};
|
|
41147
|
-
},
|
|
41151
|
+
}, aG = (t)=>{
|
|
41148
41152
|
t.width = 0, t.height = 0;
|
|
41149
41153
|
};
|
|
41150
41154
|
async function aK({ canvas: t, qrModel: r }) {
|
|
@@ -41152,10 +41156,10 @@
|
|
|
41152
41156
|
return await r.detectAndDecode(o);
|
|
41153
41157
|
}
|
|
41154
41158
|
let aY = (t, r)=>{
|
|
41155
|
-
let { width: o, height: n } = t, i = r.getContext("2d"), a = o / 2, s = n / 2, { width: c, height: l } =
|
|
41159
|
+
let { width: o, height: n } = t, i = r.getContext("2d"), a = o / 2, s = n / 2, { width: c, height: l } = aZ(a, s);
|
|
41156
41160
|
r.width = c, r.height = l, i.drawImage(t, o / 2, 0, a, s, 0, 0, c, l);
|
|
41157
41161
|
}, aJ = (t, r)=>{
|
|
41158
|
-
let { width: o, height: n } = t, i = r.getContext("2d"), { width: a, height: s } =
|
|
41162
|
+
let { width: o, height: n } = t, i = r.getContext("2d"), { width: a, height: s } = aZ(o, n);
|
|
41159
41163
|
r.width = a, r.height = s, i.drawImage(t, 0, 0, a, s);
|
|
41160
41164
|
}, a3 = async ({ blob: t, outputEncryptionSettings: r, cardSide: o, results: n, readFrom: i })=>{
|
|
41161
41165
|
let a, s = await fX.writeMergedExif({
|
|
@@ -41192,7 +41196,7 @@
|
|
|
41192
41196
|
if (!await new Promise((r)=>{
|
|
41193
41197
|
let o = URL.createObjectURL(t), n = new Image;
|
|
41194
41198
|
n.onload = function() {
|
|
41195
|
-
let { width: t, height: i } =
|
|
41199
|
+
let { width: t, height: i } = aZ(n.width, n.height);
|
|
41196
41200
|
u.width = t, u.height = i, u.getContext("2d").drawImage(n, 0, 0, t, i), URL.revokeObjectURL(o), r(!0);
|
|
41197
41201
|
}, n.onerror = function() {
|
|
41198
41202
|
URL.revokeObjectURL(o), r(!1);
|
|
@@ -41201,7 +41205,7 @@
|
|
|
41201
41205
|
let p = u.getContext("2d"), { width: f, height: h } = u, m = "raw" === d ? (t)=>i.detectAndDecodeRaw(t) : (t)=>i.detectAndDecode(t).then((t)=>t ? [
|
|
41202
41206
|
t
|
|
41203
41207
|
] : []), g = await Promise.all(s.map((t)=>m((({ x: t, y: r, w: o, h: n })=>p.getImageData(Math.round(t * f), Math.round(r * h), Math.round(o * f), Math.round(n * h)))(t))));
|
|
41204
|
-
|
|
41208
|
+
aG(u);
|
|
41205
41209
|
let b = l(g.flat().filter(c));
|
|
41206
41210
|
return b && 0 !== b.length ? a3({
|
|
41207
41211
|
blob: t,
|
|
@@ -41226,7 +41230,7 @@
|
|
|
41226
41230
|
canvas: s,
|
|
41227
41231
|
qrModel: i
|
|
41228
41232
|
});
|
|
41229
|
-
return (
|
|
41233
|
+
return (aG(s), c) ? a3({
|
|
41230
41234
|
blob: t,
|
|
41231
41235
|
outputEncryptionSettings: r,
|
|
41232
41236
|
cardSide: o,
|
|
@@ -41235,19 +41239,19 @@
|
|
|
41235
41239
|
],
|
|
41236
41240
|
readFrom: "image"
|
|
41237
41241
|
}) : null;
|
|
41238
|
-
}, a0 = async (t)=>{
|
|
41242
|
+
}, a0 = (t)=>!!t && ("image/png" === t.type || /\.png$/i.test(t.name || "")), a1 = async (t)=>{
|
|
41239
41243
|
try {
|
|
41240
41244
|
return (await createImageBitmap(t)).close(), !0;
|
|
41241
41245
|
} catch {
|
|
41242
41246
|
return !1;
|
|
41243
41247
|
}
|
|
41244
|
-
},
|
|
41248
|
+
}, a8 = async (t, r = .92)=>{
|
|
41245
41249
|
let o = await createImageBitmap(t), n = document.createElement("canvas");
|
|
41246
41250
|
try {
|
|
41247
41251
|
n.width = o.width, n.height = o.height;
|
|
41248
41252
|
let i = n.getContext("2d");
|
|
41249
41253
|
if (!i) throw Error("reEncodeToJpeg: failed to get 2D canvas context");
|
|
41250
|
-
i.drawImage(o, 0, 0), o.close();
|
|
41254
|
+
i.fillStyle = "#ffffff", i.fillRect(0, 0, n.width, n.height), i.drawImage(o, 0, 0), o.close();
|
|
41251
41255
|
let a = await new Promise((t)=>{
|
|
41252
41256
|
n.toBlob(t, "image/jpeg", r);
|
|
41253
41257
|
});
|
|
@@ -41261,20 +41265,22 @@
|
|
|
41261
41265
|
} finally{
|
|
41262
41266
|
o.close(), n.width = 0, n.height = 0;
|
|
41263
41267
|
}
|
|
41264
|
-
},
|
|
41268
|
+
}, a9 = async ({ file: t, settings: r, outputEncryptionSettings: o, startTime: n })=>{
|
|
41265
41269
|
let i;
|
|
41266
41270
|
r?.enableExifData && (fX.addExifData("image_source", "upload"), fX.addExifData("user_action.start_id_card", n), fX.addExifData("user_action.end_id_card", Date.now()), fX.addExifData("upload_meta.original_name", t.name), fX.addExifData("upload_meta.original_size", t.size), fX.addExifData("upload_meta.mime_type", t.type));
|
|
41267
|
-
let a =
|
|
41271
|
+
let a = t;
|
|
41272
|
+
a0(t) && (a = await a8(t));
|
|
41273
|
+
let s = await fX.writeMergedExif({
|
|
41268
41274
|
imageData: {
|
|
41269
|
-
blob:
|
|
41275
|
+
blob: a
|
|
41270
41276
|
},
|
|
41271
41277
|
enableExifData: r?.enableExifData
|
|
41272
41278
|
});
|
|
41273
|
-
if (!await
|
|
41274
|
-
let
|
|
41275
|
-
|
|
41279
|
+
if (!await a1(s)) try {
|
|
41280
|
+
let t = await a8(a);
|
|
41281
|
+
s = await fX.writeMergedExif({
|
|
41276
41282
|
imageData: {
|
|
41277
|
-
blob:
|
|
41283
|
+
blob: t
|
|
41278
41284
|
},
|
|
41279
41285
|
enableExifData: r?.enableExifData
|
|
41280
41286
|
});
|
|
@@ -41282,14 +41288,14 @@
|
|
|
41282
41288
|
console.warn("buildUploadImage: canvas re-encode failed, keeping original blob", t);
|
|
41283
41289
|
}
|
|
41284
41290
|
return o?.key && (i = await fI.encrypt({
|
|
41285
|
-
blob:
|
|
41291
|
+
blob: s,
|
|
41286
41292
|
key: o.key
|
|
41287
41293
|
})), {
|
|
41288
|
-
blob:
|
|
41294
|
+
blob: s,
|
|
41289
41295
|
encrypted: i,
|
|
41290
41296
|
detectedCard: null
|
|
41291
41297
|
};
|
|
41292
|
-
},
|
|
41298
|
+
}, a4 = async ({ blob: t, settings: r, outputEncryptionSettings: o, cardSide: n })=>{
|
|
41293
41299
|
if (!r?.enableScanQrViaImage) return null;
|
|
41294
41300
|
let i = o ?? null, a = n ?? "front";
|
|
41295
41301
|
return r?.isVietnameseCardFlow ? a5(t, i, a) : r?.cardQRConfig ? a2({
|
|
@@ -41298,9 +41304,11 @@
|
|
|
41298
41304
|
cardSide: a,
|
|
41299
41305
|
cardQRConfig: r.cardQRConfig
|
|
41300
41306
|
}) : a5(t, i, a, aJ);
|
|
41301
|
-
},
|
|
41307
|
+
}, a6 = "undefined" != typeof window && "undefined" != typeof HTMLInputElement && "oncancel" in HTMLInputElement.prototype, a7 = dt$1.button`
|
|
41302
41308
|
position: fixed;
|
|
41303
|
-
|
|
41309
|
+
// Above the scan card alert (BASE_Z_INDEX + 20) so the toast stays readable when the two
|
|
41310
|
+
// overlap — e.g. a multi-line card alert extending down into a multi-line toast.
|
|
41311
|
+
z-index: ${1021};
|
|
41304
41312
|
left: 50%;
|
|
41305
41313
|
|
|
41306
41314
|
max-width: calc(100% - ${nz("IDUploadErrorToast.maxWidthInset")});
|
|
@@ -41327,7 +41335,7 @@
|
|
|
41327
41335
|
);
|
|
41328
41336
|
transform: translateX(-50%);
|
|
41329
41337
|
`}
|
|
41330
|
-
`,
|
|
41338
|
+
`, se = ({ uploadFromDevice: t, uploadFlowAPI: r, scanControl: s, isCaptureInFlight: c, shouldShowSpinner: l, yButtonRow: d, bottomOffset: u })=>{
|
|
41331
41339
|
let p = gv(), f = !!t?.enable, { inputRef: h, handleUploadClick: b, handleFileChange: w, handleInputCancel: v, isProcessing: k, errorCode: y, dismissError: C } = (({ enabled: t, enableConfirmPopup: r, uploadFlowAPI: s, scanControl: c })=>{
|
|
41332
41340
|
let l = reactExports.useRef(null), [d, u] = reactExports.useState(!1), [p, f] = reactExports.useState(null), { sendEvent: h } = lL.useSDKTracking();
|
|
41333
41341
|
reactExports.useEffect(()=>{
|
|
@@ -41342,7 +41350,7 @@
|
|
|
41342
41350
|
tag: "id_upload",
|
|
41343
41351
|
event: "upload_button_clicked",
|
|
41344
41352
|
log: {}
|
|
41345
|
-
}), c.setUploadInProgress(!0),
|
|
41353
|
+
}), c.setUploadInProgress(!0), a6 && c.pauseScan(), l.current?.click());
|
|
41346
41354
|
}, [
|
|
41347
41355
|
t,
|
|
41348
41356
|
d,
|
|
@@ -41364,8 +41372,9 @@
|
|
|
41364
41372
|
handleFileChange: reactExports.useCallback(async (t)=>{
|
|
41365
41373
|
let o = t.target?.files?.[0];
|
|
41366
41374
|
if (t.target && (t.target.value = ""), o) {
|
|
41375
|
+
var n;
|
|
41367
41376
|
let t;
|
|
41368
|
-
if (!((t = o) && ("image/jpeg" === t.type || /\.jpe?g$/i.test(t.name || "")))) {
|
|
41377
|
+
if (!((t = n = o) && ("image/jpeg" === t.type || /\.jpe?g$/i.test(t.name || "")) || a0(n))) {
|
|
41369
41378
|
h({
|
|
41370
41379
|
tag: "id_upload",
|
|
41371
41380
|
event: "upload_file_invalid",
|
|
@@ -41385,19 +41394,19 @@
|
|
|
41385
41394
|
}
|
|
41386
41395
|
}), u(!0), s.setShouldShowSpinner(!0);
|
|
41387
41396
|
try {
|
|
41388
|
-
let t = await
|
|
41397
|
+
let t = await a9({
|
|
41389
41398
|
file: o,
|
|
41390
41399
|
settings: s.settings,
|
|
41391
41400
|
outputEncryptionSettings: s.outputEncryptionSettings,
|
|
41392
41401
|
startTime: Date.now()
|
|
41393
|
-
}), n = await
|
|
41402
|
+
}), n = await a4({
|
|
41394
41403
|
blob: t.blob,
|
|
41395
41404
|
settings: s.settings,
|
|
41396
41405
|
outputEncryptionSettings: s.outputEncryptionSettings,
|
|
41397
41406
|
cardSide: s.stepConfig?.cardSide
|
|
41398
41407
|
});
|
|
41399
41408
|
if (r) {
|
|
41400
|
-
|
|
41409
|
+
a6 || c.pauseScan(), s.commitUploaded({
|
|
41401
41410
|
image: t,
|
|
41402
41411
|
qrScannedResult: n
|
|
41403
41412
|
});
|
|
@@ -41434,7 +41443,7 @@
|
|
|
41434
41443
|
]),
|
|
41435
41444
|
handleInputCancel: w,
|
|
41436
41445
|
isProcessing: d,
|
|
41437
|
-
supportsInputCancelEvent:
|
|
41446
|
+
supportsInputCancelEvent: a6,
|
|
41438
41447
|
errorCode: p,
|
|
41439
41448
|
dismissError: g
|
|
41440
41449
|
};
|
|
@@ -41452,9 +41461,9 @@
|
|
|
41452
41461
|
v
|
|
41453
41462
|
]), !f) return null;
|
|
41454
41463
|
let B = p("upload_button_label"), _ = y ? p(y) : "";
|
|
41455
|
-
return
|
|
41464
|
+
return oG.jsxs(oG.Fragment, {
|
|
41456
41465
|
children: [
|
|
41457
|
-
y &&
|
|
41466
|
+
y && oG.jsx(a7, {
|
|
41458
41467
|
type: "button",
|
|
41459
41468
|
onClick: C,
|
|
41460
41469
|
"aria-live": "polite",
|
|
@@ -41464,17 +41473,17 @@
|
|
|
41464
41473
|
$bottomOffset: u,
|
|
41465
41474
|
children: _
|
|
41466
41475
|
}),
|
|
41467
|
-
|
|
41476
|
+
oG.jsx(aH, {
|
|
41468
41477
|
onClick: b,
|
|
41469
41478
|
label: B,
|
|
41470
41479
|
disabled: l || k || c,
|
|
41471
41480
|
yButtonRow: d,
|
|
41472
41481
|
bottomOffset: u
|
|
41473
41482
|
}),
|
|
41474
|
-
|
|
41483
|
+
oG.jsx("input", {
|
|
41475
41484
|
ref: h,
|
|
41476
41485
|
type: "file",
|
|
41477
|
-
accept: "image/jpeg",
|
|
41486
|
+
accept: "image/jpeg,image/png",
|
|
41478
41487
|
onChange: w,
|
|
41479
41488
|
style: {
|
|
41480
41489
|
display: "none"
|
|
@@ -41484,26 +41493,30 @@
|
|
|
41484
41493
|
})
|
|
41485
41494
|
]
|
|
41486
41495
|
});
|
|
41487
|
-
},
|
|
41488
|
-
let { description: s, usePortraitMask: l, windowAndVideoInfo: u, refVideo: f, frontSide: k, allowedCardTypes: y, settings: B, onCaptureDone: _, onUISpacingChange: S, outputEncryptionSettings: E, isShowingSpinner: T, uploadFromDevice: D, uploadFlowAPI: F } = t, z = nt$2(), [N, V] = reactExports.useState({}), { yMessage: U, yButtonRow: q, yToggleButton: Q, yInstruction: X, yCountdown: H } = N,
|
|
41496
|
+
}, st = /*#__PURE__*/ reactExports.forwardRef((t, r)=>{
|
|
41497
|
+
let { description: s, usePortraitMask: l, windowAndVideoInfo: u, refVideo: f, frontSide: k, allowedCardTypes: y, settings: B, onCaptureDone: _, onUISpacingChange: S, outputEncryptionSettings: E, isShowingSpinner: T, uploadFromDevice: D, uploadFlowAPI: F } = t, z = nt$2(), [N, V] = reactExports.useState({}), { yMessage: U, yButtonRow: q, yToggleButton: Q, yInstruction: X, yCountdown: H } = N, Z = nN("IDCapturing.captureIcon.src", "ic_camera.svg"), G = nN("IDCapturing.captureIcon.disabled.src", "ic_camera.svg"), K = nz("IDCapturing.countdown.color")({
|
|
41489
41498
|
theme: z
|
|
41490
|
-
}), Y = nN("IDCapturing.loadingIcon.src", "ic_loading.gif"), [J, ee] = reactExports.useState(""), et = gv(), [er, eo] = reactExports.useState(null), [en, ei] = reactExports.useState(""), [ea, es] = reactExports.useState(null), { showPopup:
|
|
41491
|
-
null === t
|
|
41492
|
-
|
|
41493
|
-
|
|
41499
|
+
}), Y = nN("IDCapturing.loadingIcon.src", "ic_loading.gif"), [J, ee] = reactExports.useState(""), et = gv(), [er, eo] = reactExports.useState(null), [en, ei] = reactExports.useState(""), [ea, es] = reactExports.useState(""), [ec, el] = reactExports.useState(null), { showPopup: ed, popupShown: eu, popupType: ep } = au(), ef = reactExports.useContext(aR), [eh, em] = reactExports.useState(!1), eg = reactExports.useRef(()=>{}), eb = reactExports.useCallback((t)=>{
|
|
41500
|
+
if (null === t) ei(""), es("");
|
|
41501
|
+
else {
|
|
41502
|
+
let r = t?.code;
|
|
41503
|
+
es(r || ""), ei(et(r, {
|
|
41504
|
+
side: k ? et("front") : et("back")
|
|
41505
|
+
}));
|
|
41506
|
+
}
|
|
41494
41507
|
}, [
|
|
41495
41508
|
et,
|
|
41496
41509
|
k
|
|
41497
|
-
]),
|
|
41498
|
-
eo(""),
|
|
41499
|
-
}, []),
|
|
41510
|
+
]), ew = reactExports.useCallback(()=>{
|
|
41511
|
+
eo(""), eg.current();
|
|
41512
|
+
}, []), ev = reactExports.useCallback((...t)=>{
|
|
41500
41513
|
eo(""), _(...t);
|
|
41501
41514
|
}, [
|
|
41502
41515
|
_
|
|
41503
|
-
]), { warmupDone:
|
|
41504
|
-
let S = reactExports.useRef(!1), E = reactExports.useRef(!1), [T, D] = reactExports.useState(!1), L = reactExports.useRef(()=>{}), { sendEvent: F } = lL.useSDKTracking(), z = reactExports.useRef(), N = reactExports.useRef(), V = reactExports.useRef(), W = reactExports.useContext(aR), { enableAntiDebug: U } = cl$1.useSDKSettings(), { onErrorCallback: q } = aT(), { playVoice: Q } = l1.useVoicePlayer(), [X, H] = reactExports.useState(nn(l, "enableAutoCapture")),
|
|
41516
|
+
]), { warmupDone: ek, isPostProcessing: ey, isAutoCapturing: eC, isProcessing: eB, takePictureManually: e_, restartSession: ex, resetIsProcessingImageBlobTaken: eP, isAutoCaptureModeOn: eS, onToggleAutoCaptureMode: eE, autoCaptureDuration: eT, pauseScan: eD, resumeScan: e$, setUploadInProgress: eI } = (({ shouldStart: t, refVideo: r, cropArea: s, settings: l, onModelErrorChange: d, frontSide: u, onDebugInfoChange: f, onAboutToTimeout: g, onSessionTimeout: k, onCaptureDone: y, outputEncryptionSettings: B, quality: _ })=>{
|
|
41517
|
+
let S = reactExports.useRef(!1), E = reactExports.useRef(!1), [T, D] = reactExports.useState(!1), L = reactExports.useRef(()=>{}), { sendEvent: F } = lL.useSDKTracking(), z = reactExports.useRef(), N = reactExports.useRef(), V = reactExports.useRef(), W = reactExports.useContext(aR), { enableAntiDebug: U } = cl$1.useSDKSettings(), { onErrorCallback: q } = aT(), { playVoice: Q } = l1.useVoicePlayer(), [X, H] = reactExports.useState(nn(l, "enableAutoCapture")), Z = reactExports.useCallback(()=>{
|
|
41505
41518
|
H((t)=>!t);
|
|
41506
|
-
}, []), { autoCaptureWaitForBestImageTimeMs:
|
|
41519
|
+
}, []), { autoCaptureWaitForBestImageTimeMs: G, manualCaptureWaitForBestImageTimeMs: K } = l, Y = X ? G : K;
|
|
41507
41520
|
reactExports.useEffect(()=>{
|
|
41508
41521
|
U && dM.enableAntiDebug();
|
|
41509
41522
|
}, [
|
|
@@ -41544,7 +41557,7 @@
|
|
|
41544
41557
|
]), { isCapturing: eo, refWorkingCanvas: en, stopCheckFrame: ei, checkFrame: ea, resumeCheckFrame: es, warmupDone: ec, takePictureManually: el, refAbleToRunBurstMode: ed, refVirtualFrames: eu, refCardCoordinates: ep, refBlurScores: ef, refGlareScores: eh, resetState: em, resetRecordVideo: eg, getQRDebugInfo: eb } = 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 }) {
|
|
41545
41558
|
let B = reactExports.useRef(null);
|
|
41546
41559
|
null === B.current && (B.current = document.createElement("canvas"));
|
|
41547
|
-
let _ = reactExports.useRef([]), S = reactExports.useRef({}), E = reactExports.useRef(!1), T = reactExports.useRef([]), D = reactExports.useRef(!1), M = reactExports.useRef(null), [j, O] = reactExports.useState(!1), R = reactExports.useRef(aj()), A = reactExports.useRef(aO()), L = reactExports.useRef(null), F = reactExports.useRef(!1), z = reactExports.useRef(!1), N = reactExports.useRef(null), V = reactExports.useRef(!1), W = reactExports.useRef({}), { customUrls: U } = cl$1.useSDKSettings(), { onErrorCallback: q } = aT(), [Q, X] = reactExports.useState(!0), H = reactExports.useRef([]),
|
|
41560
|
+
let _ = reactExports.useRef([]), S = reactExports.useRef({}), E = reactExports.useRef(!1), T = reactExports.useRef([]), D = reactExports.useRef(!1), M = reactExports.useRef(null), [j, O] = reactExports.useState(!1), R = reactExports.useRef(aj()), A = reactExports.useRef(aO()), L = reactExports.useRef(null), F = reactExports.useRef(!1), z = reactExports.useRef(!1), N = reactExports.useRef(null), V = reactExports.useRef(!1), W = reactExports.useRef({}), { customUrls: U } = cl$1.useSDKSettings(), { onErrorCallback: q } = aT(), [Q, X] = reactExports.useState(!0), H = reactExports.useRef([]), Z = reactExports.useRef([]), G = reactExports.useRef(t), { allowedCards: K } = f, Y = reactExports.useRef(null), [J, ee] = reactExports.useState(!1), et = reactExports.useRef(!1), { scanFrame: er, reset: eo, getScannedResult: en, getDebugInfo: ei } = function({ cardQRConfig: t, quality: r }) {
|
|
41548
41561
|
let n = reactExports.useRef(new Set), i = reactExports.useRef(null), s = reactExports.useRef(!1), c = reactExports.useRef(!1), l = reactExports.useRef(0), d = reactExports.useCallback(()=>{
|
|
41549
41562
|
n.current = new Set, i.current = null, s.current = !1, c.current = !1, l.current = 0;
|
|
41550
41563
|
}, []), u = reactExports.useCallback((o, a)=>{
|
|
@@ -41986,7 +41999,7 @@
|
|
|
41986
41999
|
K,
|
|
41987
42000
|
q
|
|
41988
42001
|
]), reactExports.useEffect(()=>{
|
|
41989
|
-
|
|
42002
|
+
G.current = t;
|
|
41990
42003
|
}, [
|
|
41991
42004
|
t
|
|
41992
42005
|
]);
|
|
@@ -42047,7 +42060,7 @@
|
|
|
42047
42060
|
]), eE = reactExports.useCallback(()=>{
|
|
42048
42061
|
!0 === D.current && (D.current = !1);
|
|
42049
42062
|
}, []), eT = reactExports.useCallback(()=>{
|
|
42050
|
-
ey(), H.current = [],
|
|
42063
|
+
ey(), H.current = [], Z.current = [], L.current = null, V.current = !1, et.current = !1, eo();
|
|
42051
42064
|
}, [
|
|
42052
42065
|
ey,
|
|
42053
42066
|
eo
|
|
@@ -42081,7 +42094,7 @@
|
|
|
42081
42094
|
}
|
|
42082
42095
|
a.takenAt = new Date().getTime(), a.blurScore = t, a.glareScore = n, a.detectedCard = o, a.captureType = "auto", a.runtime = i, a.qrScannedResults = en();
|
|
42083
42096
|
}
|
|
42084
|
-
f.enableBlurCheck && H.current.push(t), f.enableGlareCheck &&
|
|
42097
|
+
f.enableBlurCheck && H.current.push(t), f.enableGlareCheck && Z.current.push(n);
|
|
42085
42098
|
}, [
|
|
42086
42099
|
eu,
|
|
42087
42100
|
l,
|
|
@@ -42095,7 +42108,7 @@
|
|
|
42095
42108
|
]), e$ = reactExports.useCallback(async ({ blurScore: t, detectedCard: o, glareScore: n, runtime: i })=>{
|
|
42096
42109
|
z.current = !0;
|
|
42097
42110
|
let a = A.current;
|
|
42098
|
-
if (f.enableBlurCheck && H.current.push(t), f.enableGlareCheck &&
|
|
42111
|
+
if (f.enableBlurCheck && H.current.push(t), f.enableGlareCheck && Z.current.push(n), iW({
|
|
42099
42112
|
currentFrameBlurScore: a.blurScore,
|
|
42100
42113
|
currentFrameGlareScore: a.glareScore,
|
|
42101
42114
|
incomingFrameBlurScore: t,
|
|
@@ -42291,7 +42304,7 @@
|
|
|
42291
42304
|
detectedCard: n.detectedCard,
|
|
42292
42305
|
glareScore: n.glareScore,
|
|
42293
42306
|
runtime: n.runtime
|
|
42294
|
-
}),
|
|
42307
|
+
}), G.current && (et.current || (et.current = !0, ee(!0)), await eD({
|
|
42295
42308
|
blurScore: n.blurScore,
|
|
42296
42309
|
detectedCard: n.detectedCard,
|
|
42297
42310
|
glareScore: n.glareScore,
|
|
@@ -42365,7 +42378,7 @@
|
|
|
42365
42378
|
refVirtualFrames: _,
|
|
42366
42379
|
refCardCoordinates: T,
|
|
42367
42380
|
refBlurScores: H,
|
|
42368
|
-
refGlareScores:
|
|
42381
|
+
refGlareScores: Z,
|
|
42369
42382
|
resetState: eT,
|
|
42370
42383
|
resetRecordVideo: ey,
|
|
42371
42384
|
getQRDebugInfo: ei
|
|
@@ -42634,7 +42647,7 @@
|
|
|
42634
42647
|
restartSession: eC,
|
|
42635
42648
|
resetIsProcessingImageBlobTaken: ey,
|
|
42636
42649
|
isAutoCaptureModeOn: X,
|
|
42637
|
-
onToggleAutoCaptureMode:
|
|
42650
|
+
onToggleAutoCaptureMode: Z,
|
|
42638
42651
|
autoCaptureDuration: Y,
|
|
42639
42652
|
pauseScan: e_,
|
|
42640
42653
|
resumeScan: ex,
|
|
@@ -42643,14 +42656,14 @@
|
|
|
42643
42656
|
})({
|
|
42644
42657
|
shouldStart: !0,
|
|
42645
42658
|
refVideo: f,
|
|
42646
|
-
cropArea:
|
|
42659
|
+
cropArea: ec,
|
|
42647
42660
|
settings: B,
|
|
42648
|
-
onModelErrorChange:
|
|
42661
|
+
onModelErrorChange: eb,
|
|
42649
42662
|
frontSide: k,
|
|
42650
42663
|
allowedCardTypes: y,
|
|
42651
42664
|
onDebugInfoChange: ee,
|
|
42652
|
-
onSessionTimeout:
|
|
42653
|
-
onCaptureDone:
|
|
42665
|
+
onSessionTimeout: ew,
|
|
42666
|
+
onCaptureDone: ev,
|
|
42654
42667
|
onAboutToTimeout: reactExports.useCallback(({ curTimeLeft: t })=>{
|
|
42655
42668
|
eo(et("remaining_time", {
|
|
42656
42669
|
x: t
|
|
@@ -42659,43 +42672,43 @@
|
|
|
42659
42672
|
et
|
|
42660
42673
|
]),
|
|
42661
42674
|
outputEncryptionSettings: E
|
|
42662
|
-
}),
|
|
42663
|
-
pauseScan:
|
|
42664
|
-
resumeScan:
|
|
42665
|
-
setUploadInProgress:
|
|
42666
|
-
restartSession:
|
|
42675
|
+
}), eM = reactExports.useMemo(()=>({
|
|
42676
|
+
pauseScan: eD,
|
|
42677
|
+
resumeScan: e$,
|
|
42678
|
+
setUploadInProgress: eI,
|
|
42679
|
+
restartSession: ex
|
|
42667
42680
|
}), [
|
|
42668
|
-
eE,
|
|
42669
|
-
eT,
|
|
42670
42681
|
eD,
|
|
42671
|
-
|
|
42672
|
-
|
|
42673
|
-
|
|
42682
|
+
e$,
|
|
42683
|
+
eI,
|
|
42684
|
+
ex
|
|
42685
|
+
]), ej = reactExports.useCallback(()=>{
|
|
42686
|
+
ed({
|
|
42674
42687
|
popupType: null
|
|
42675
|
-
}),
|
|
42688
|
+
}), eP();
|
|
42676
42689
|
}, [
|
|
42677
|
-
|
|
42678
|
-
|
|
42679
|
-
]),
|
|
42680
|
-
|
|
42690
|
+
ed,
|
|
42691
|
+
eP
|
|
42692
|
+
]), eO = reactExports.useCallback(async ()=>{
|
|
42693
|
+
em(!1), ej(), await ex();
|
|
42681
42694
|
}, [
|
|
42682
|
-
|
|
42683
|
-
|
|
42695
|
+
ej,
|
|
42696
|
+
ex
|
|
42684
42697
|
]);
|
|
42685
|
-
|
|
42686
|
-
let
|
|
42698
|
+
eg.current = eO;
|
|
42699
|
+
let eR = nz("IDCapturing.backgroundColor")({
|
|
42687
42700
|
theme: z
|
|
42688
|
-
}), { showCaptureButtonInAuto:
|
|
42701
|
+
}), { showCaptureButtonInAuto: eA = !0, showHoldStillProgress: eL = !1, showAutoCaptureToggle: eF } = B ?? {}, ez = Math.ceil((eT ?? 0) / 1e3);
|
|
42689
42702
|
reactExports.useEffect(()=>{
|
|
42690
42703
|
if (u) {
|
|
42691
42704
|
let t, r, o, n, i, a, s, { videoAreaWidth: c, videoAreaHeight: d, lostX: p, lostY: f, clientHeight: h } = u;
|
|
42692
|
-
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 =
|
|
42705
|
+
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 = eF ? s + a + 20 : s + a, r = s + a + 135, el({
|
|
42693
42706
|
x: Math.floor((c - i) / 2) + p,
|
|
42694
42707
|
y: s,
|
|
42695
42708
|
width: i,
|
|
42696
42709
|
height: a,
|
|
42697
42710
|
surroundStyle: {
|
|
42698
|
-
backgroundColor:
|
|
42711
|
+
backgroundColor: eR
|
|
42699
42712
|
}
|
|
42700
42713
|
});
|
|
42701
42714
|
let m = {
|
|
@@ -42713,135 +42726,137 @@
|
|
|
42713
42726
|
u,
|
|
42714
42727
|
l,
|
|
42715
42728
|
S,
|
|
42716
|
-
|
|
42717
|
-
|
|
42729
|
+
eR,
|
|
42730
|
+
eF
|
|
42718
42731
|
]);
|
|
42719
|
-
let
|
|
42720
|
-
eo(""), await
|
|
42732
|
+
let eN = reactExports.useCallback(async ()=>{
|
|
42733
|
+
eo(""), await e_();
|
|
42721
42734
|
}, [
|
|
42722
|
-
|
|
42735
|
+
e_
|
|
42723
42736
|
]);
|
|
42724
42737
|
reactExports.useImperativeHandle(r, ()=>({
|
|
42725
|
-
restartSession:
|
|
42738
|
+
restartSession: eO
|
|
42726
42739
|
}), [
|
|
42727
|
-
|
|
42740
|
+
eO
|
|
42728
42741
|
]);
|
|
42729
|
-
let
|
|
42730
|
-
return
|
|
42742
|
+
let eV = eC && ey || T || !en;
|
|
42743
|
+
return oG.jsxs(oG.Fragment, {
|
|
42731
42744
|
children: [
|
|
42732
|
-
!
|
|
42733
|
-
|
|
42745
|
+
!ek && oG.jsx(ao, {}),
|
|
42746
|
+
ef && oG.jsx(i1, {
|
|
42734
42747
|
children: JSON.stringify(J, null, 2)
|
|
42735
42748
|
}),
|
|
42736
|
-
|
|
42737
|
-
children:
|
|
42749
|
+
eL && !eC && ey && oG.jsx(iJ, {
|
|
42750
|
+
children: oG.jsx("img", {
|
|
42738
42751
|
src: Y,
|
|
42739
42752
|
alt: "loading icon"
|
|
42740
42753
|
})
|
|
42741
42754
|
}),
|
|
42742
|
-
!
|
|
42743
|
-
children:
|
|
42755
|
+
!eL && (eC || ey) && oG.jsx(iJ, {
|
|
42756
|
+
children: oG.jsx("img", {
|
|
42744
42757
|
src: Y,
|
|
42745
42758
|
alt: "loading icon"
|
|
42746
42759
|
})
|
|
42747
42760
|
}),
|
|
42748
|
-
|
|
42749
|
-
x: `${
|
|
42750
|
-
y: `${
|
|
42751
|
-
width: `${
|
|
42752
|
-
height: `${
|
|
42753
|
-
surroundStyle:
|
|
42754
|
-
children:
|
|
42755
|
-
width:
|
|
42756
|
-
height:
|
|
42757
|
-
type:
|
|
42761
|
+
ec && oG.jsx(n5, {
|
|
42762
|
+
x: `${ec.x}px`,
|
|
42763
|
+
y: `${ec.y}px`,
|
|
42764
|
+
width: `${ec.width}px`,
|
|
42765
|
+
height: `${ec.height}px`,
|
|
42766
|
+
surroundStyle: ec.surroundStyle,
|
|
42767
|
+
children: oG.jsx(i7, {
|
|
42768
|
+
width: ec.width,
|
|
42769
|
+
height: ec.height,
|
|
42770
|
+
type: eV ? im : ig
|
|
42758
42771
|
})
|
|
42759
42772
|
}),
|
|
42760
|
-
!
|
|
42773
|
+
!eC && en && oG.jsxs(ae, {
|
|
42761
42774
|
y: `${X}px`,
|
|
42762
42775
|
children: [
|
|
42763
|
-
|
|
42776
|
+
oG.jsx("div", {
|
|
42764
42777
|
style: {
|
|
42765
42778
|
height: 56,
|
|
42766
42779
|
width: 56
|
|
42767
42780
|
}
|
|
42768
42781
|
}),
|
|
42769
|
-
|
|
42782
|
+
oG.jsx(at, {
|
|
42783
|
+
"data-testid": "id-instruction",
|
|
42784
|
+
"data-error-code": ea,
|
|
42770
42785
|
children: hs.getStringWithLineBreak(en)
|
|
42771
42786
|
})
|
|
42772
42787
|
]
|
|
42773
42788
|
}),
|
|
42774
|
-
|
|
42789
|
+
eL && eC && oG.jsxs(ae, {
|
|
42775
42790
|
y: `${X + 45}px`,
|
|
42776
42791
|
children: [
|
|
42777
|
-
|
|
42778
|
-
duration:
|
|
42792
|
+
oG.jsx(aU, {
|
|
42793
|
+
duration: eT,
|
|
42779
42794
|
onCircleAnimationEnd: ()=>{
|
|
42780
|
-
|
|
42795
|
+
em(!0);
|
|
42781
42796
|
}
|
|
42782
42797
|
}),
|
|
42783
|
-
|
|
42784
|
-
$isDone:
|
|
42785
|
-
children:
|
|
42786
|
-
x:
|
|
42798
|
+
oG.jsx(at, {
|
|
42799
|
+
$isDone: eh,
|
|
42800
|
+
children: eh ? et("id_capture.instruction.capturing_done") : et("id_capture.instruction.hold_still", {
|
|
42801
|
+
x: ez
|
|
42787
42802
|
})
|
|
42788
42803
|
})
|
|
42789
42804
|
]
|
|
42790
42805
|
}),
|
|
42791
|
-
|
|
42806
|
+
eF && oG.jsxs(i6, {
|
|
42792
42807
|
y: `${Q}px`,
|
|
42793
42808
|
children: [
|
|
42794
|
-
|
|
42809
|
+
oG.jsx("span", {
|
|
42795
42810
|
children: et("toggle_id_capture_mode")
|
|
42796
42811
|
}),
|
|
42797
|
-
|
|
42798
|
-
checked:
|
|
42799
|
-
disabled:
|
|
42800
|
-
onChange:
|
|
42812
|
+
oG.jsx(aF, {
|
|
42813
|
+
checked: eS,
|
|
42814
|
+
disabled: eC || ey || T,
|
|
42815
|
+
onChange: eE
|
|
42801
42816
|
})
|
|
42802
42817
|
]
|
|
42803
42818
|
}),
|
|
42804
|
-
(!
|
|
42805
|
-
onClick:
|
|
42819
|
+
(!eS || eA) && oG.jsx(iY, {
|
|
42820
|
+
onClick: eN,
|
|
42806
42821
|
y: `${q}px`,
|
|
42807
|
-
disabled: B?.disableCaptureButtonIfAlert && en ||
|
|
42808
|
-
children: en ?
|
|
42809
|
-
src: Z,
|
|
42810
|
-
alt: "capture button disabled"
|
|
42811
|
-
}) : oZ.jsx("img", {
|
|
42822
|
+
disabled: B?.disableCaptureButtonIfAlert && en || eC || ey || T,
|
|
42823
|
+
children: en ? oG.jsx("img", {
|
|
42812
42824
|
src: G,
|
|
42825
|
+
alt: "capture button disabled"
|
|
42826
|
+
}) : oG.jsx("img", {
|
|
42827
|
+
src: Z,
|
|
42813
42828
|
alt: "capture button enabled"
|
|
42814
42829
|
})
|
|
42815
42830
|
}),
|
|
42816
|
-
|
|
42831
|
+
oG.jsx(i8, {
|
|
42817
42832
|
y: `${U}px`,
|
|
42818
42833
|
children: s
|
|
42819
42834
|
}),
|
|
42820
|
-
er &&
|
|
42835
|
+
er && oG.jsxs(i9, {
|
|
42821
42836
|
y: `${H}px`,
|
|
42822
42837
|
children: [
|
|
42823
|
-
|
|
42838
|
+
oG.jsx(aq, {
|
|
42824
42839
|
color: K
|
|
42825
42840
|
}),
|
|
42826
|
-
|
|
42841
|
+
oG.jsx(i4, {
|
|
42827
42842
|
className: "message",
|
|
42828
42843
|
y: `${H}px`,
|
|
42829
42844
|
children: er
|
|
42830
42845
|
}, er)
|
|
42831
42846
|
]
|
|
42832
42847
|
}),
|
|
42833
|
-
|
|
42834
|
-
open:
|
|
42835
|
-
children:
|
|
42836
|
-
onOk:
|
|
42848
|
+
oG.jsx(ip, {
|
|
42849
|
+
open: eu,
|
|
42850
|
+
children: ep === ap && oG.jsx(ad, {
|
|
42851
|
+
onOk: eO,
|
|
42837
42852
|
maxSessionTime: B?.idCardSessionTime
|
|
42838
42853
|
})
|
|
42839
42854
|
}),
|
|
42840
|
-
|
|
42855
|
+
oG.jsx(se, {
|
|
42841
42856
|
uploadFromDevice: D,
|
|
42842
42857
|
uploadFlowAPI: F,
|
|
42843
|
-
scanControl:
|
|
42844
|
-
isCaptureInFlight:
|
|
42858
|
+
scanControl: eM,
|
|
42859
|
+
isCaptureInFlight: eB,
|
|
42845
42860
|
shouldShowSpinner: T,
|
|
42846
42861
|
yButtonRow: q,
|
|
42847
42862
|
bottomOffset: 10
|
|
@@ -42849,7 +42864,7 @@
|
|
|
42849
42864
|
]
|
|
42850
42865
|
});
|
|
42851
42866
|
});
|
|
42852
|
-
|
|
42867
|
+
st.propTypes = {
|
|
42853
42868
|
usePortraitMask: PropTypes.bool,
|
|
42854
42869
|
description: PropTypes.string,
|
|
42855
42870
|
windowAndVideoInfo: PropTypes.shape({}),
|
|
@@ -42866,7 +42881,7 @@
|
|
|
42866
42881
|
enableConfirmPopup: PropTypes.bool
|
|
42867
42882
|
}),
|
|
42868
42883
|
uploadFlowAPI: PropTypes.shape({})
|
|
42869
|
-
},
|
|
42884
|
+
}, st.defaultProps = {
|
|
42870
42885
|
usePortraitMask: !1,
|
|
42871
42886
|
description: "",
|
|
42872
42887
|
windowAndVideoInfo: {},
|
|
@@ -42905,13 +42920,13 @@
|
|
|
42905
42920
|
margin: ${nz("popup.title.margin")};
|
|
42906
42921
|
padding: ${nz("popup.title.padding")};
|
|
42907
42922
|
text-align: ${nz("popup.title.textAlign")};
|
|
42908
|
-
`; let
|
|
42923
|
+
`; let ss = dt$1.div`
|
|
42909
42924
|
color: ${nz(({ $type: t })=>`QRStep.guidelinePopup.${t}.color`)};
|
|
42910
42925
|
font-size: ${nz(({ $type: t })=>`QRStep.guidelinePopup.${t}.fontSize`)};
|
|
42911
42926
|
font-weight: ${nz(({ $type: t })=>`QRStep.guidelinePopup.${t}.fontWeight`)};
|
|
42912
42927
|
text-align: ${nz(({ $type: t })=>`QRStep.guidelinePopup.${t}.textAlign`)};
|
|
42913
42928
|
line-height: ${nz(({ $type: t })=>`QRStep.guidelinePopup.${t}.lineHeight`)};
|
|
42914
|
-
`; dt$1(
|
|
42929
|
+
`; dt$1(ss)`
|
|
42915
42930
|
white-space: nowrap;
|
|
42916
42931
|
`; dt$1(ai)``; dt$1.div`
|
|
42917
42932
|
display: flex;
|
|
@@ -42971,7 +42986,7 @@
|
|
|
42971
42986
|
left: 50%;
|
|
42972
42987
|
top: ${({ $top: t })=>`${t}px`};
|
|
42973
42988
|
transform: translateX(-50%);
|
|
42974
|
-
`; let
|
|
42989
|
+
`; let sk = dt$1.div`
|
|
42975
42990
|
text-align: ${nz("QRStep.scanCountdown.textAlign")};
|
|
42976
42991
|
font-size: ${nz("QRStep.scanCountdown.fontSize")};
|
|
42977
42992
|
font-weight: ${nz("QRStep.scanCountdown.fontWeight")};
|
|
@@ -42980,20 +42995,20 @@
|
|
|
42980
42995
|
background: ${nz("QRStep.scanCountdown.backgroundColor")};
|
|
42981
42996
|
color: ${nz("QRStep.scanCountdown.color")};
|
|
42982
42997
|
`;
|
|
42983
|
-
dt$1(
|
|
42998
|
+
dt$1(sk)`
|
|
42984
42999
|
position: absolute;
|
|
42985
43000
|
margin: auto;
|
|
42986
43001
|
top: ${({ $y: t })=>t};
|
|
42987
43002
|
z-index: ${1020};
|
|
42988
43003
|
`;
|
|
42989
|
-
var
|
|
43004
|
+
var sC = {
|
|
42990
43005
|
exports: {}
|
|
42991
43006
|
};
|
|
42992
|
-
|
|
42993
|
-
var
|
|
43007
|
+
sC.exports;
|
|
43008
|
+
var sB = function() {
|
|
42994
43009
|
var t;
|
|
42995
|
-
if (re) return
|
|
42996
|
-
return re = 1, t =
|
|
43010
|
+
if (re) return sC.exports;
|
|
43011
|
+
return re = 1, t = sC, t.exports = function() {
|
|
42997
43012
|
return function(t) {
|
|
42998
43013
|
var r = {};
|
|
42999
43014
|
function o(n) {
|
|
@@ -53774,8 +53789,8 @@
|
|
|
53774
53789
|
};
|
|
53775
53790
|
}
|
|
53776
53791
|
]).default;
|
|
53777
|
-
}(),
|
|
53778
|
-
}(); oX(
|
|
53792
|
+
}(), sC.exports;
|
|
53793
|
+
}(); oX(sB);
|
|
53779
53794
|
({
|
|
53780
53795
|
windowAndVideoInfo: PropTypes.shape({}),
|
|
53781
53796
|
onUISpacingChange: PropTypes.func,
|
|
@@ -53789,13 +53804,13 @@
|
|
|
53789
53804
|
onCaptureDone: PropTypes.func,
|
|
53790
53805
|
outputEncryptionSettings: PropTypes.shape({})
|
|
53791
53806
|
});
|
|
53792
|
-
let
|
|
53807
|
+
let sD = "SUCCESS"; dt$1.div`
|
|
53793
53808
|
font-weight: normal;
|
|
53794
53809
|
`; dt$1.div`
|
|
53795
53810
|
height: 2px;
|
|
53796
53811
|
width: 100%;
|
|
53797
53812
|
background: ${({ theme: t, $type: r })=>{
|
|
53798
|
-
let o = nz(`QRStep.resultText.${r ===
|
|
53813
|
+
let o = nz(`QRStep.resultText.${r === sD ? "success" : "error"}.mainColor`)({
|
|
53799
53814
|
theme: t
|
|
53800
53815
|
});
|
|
53801
53816
|
return lt$1`linear-gradient(to right, ${o}00, ${o}ff, ${o}00)`;
|
|
@@ -53804,7 +53819,7 @@
|
|
|
53804
53819
|
width: 22px;
|
|
53805
53820
|
height: 22px;
|
|
53806
53821
|
border-radius: 50%;
|
|
53807
|
-
background: ${({ theme: t, $type: r })=>nz(`QRStep.resultText.${r ===
|
|
53822
|
+
background: ${({ theme: t, $type: r })=>nz(`QRStep.resultText.${r === sD ? "success" : "error"}.mainColor`)({
|
|
53808
53823
|
theme: t
|
|
53809
53824
|
})};
|
|
53810
53825
|
|
|
@@ -53820,7 +53835,7 @@
|
|
|
53820
53835
|
align-items: center;
|
|
53821
53836
|
margin: 10px 0;
|
|
53822
53837
|
${({ $type: t, theme: r })=>{
|
|
53823
|
-
let o = t ===
|
|
53838
|
+
let o = t === sD ? "success" : "error";
|
|
53824
53839
|
return lt$1`
|
|
53825
53840
|
color: ${nz(`QRStep.resultText.${o}.textColor`)({
|
|
53826
53841
|
theme: r
|
|
@@ -53934,16 +53949,16 @@
|
|
|
53934
53949
|
scannerTypeCons: PropTypes.shape({}).isRequired,
|
|
53935
53950
|
customTexts: PropTypes.shape({})
|
|
53936
53951
|
});
|
|
53937
|
-
let { IDCardSide:
|
|
53938
|
-
iM.ID_CARD, sc.IDCardSide.FRONT,
|
|
53939
|
-
let
|
|
53952
|
+
let { IDCardSide: s4, IDCardType: s6, Errors: s7 } = sc;
|
|
53953
|
+
iM.ID_CARD, sc.IDCardSide.FRONT, s6.VN, iM.ID_CARD, sc.IDCardSide.BACK, s6.VN, iM.QR_CODE;
|
|
53954
|
+
let ce = [
|
|
53940
53955
|
{
|
|
53941
53956
|
scannerType: iM.ID_CARD,
|
|
53942
53957
|
title: "Chụp mặt trước",
|
|
53943
53958
|
description: "Căn chỉnh giấy tờ khớp với khung h\xecnh",
|
|
53944
53959
|
titleIcon: "id_card_front.svg",
|
|
53945
53960
|
cardSide: sc.IDCardSide.FRONT,
|
|
53946
|
-
cardType:
|
|
53961
|
+
cardType: s6.VN,
|
|
53947
53962
|
enableConfirmPopup: !1
|
|
53948
53963
|
},
|
|
53949
53964
|
{
|
|
@@ -53952,11 +53967,11 @@
|
|
|
53952
53967
|
description: "Căn chỉnh giấy tờ khớp với khung h\xecnh",
|
|
53953
53968
|
titleIcon: "id_card_back.svg",
|
|
53954
53969
|
cardSide: sc.IDCardSide.BACK,
|
|
53955
|
-
cardType:
|
|
53970
|
+
cardType: s6.VN,
|
|
53956
53971
|
enableConfirmPopup: !1
|
|
53957
53972
|
}
|
|
53958
53973
|
];
|
|
53959
|
-
function
|
|
53974
|
+
function ct() {
|
|
53960
53975
|
if (rh) return rf;
|
|
53961
53976
|
rh = 1;
|
|
53962
53977
|
var t = o9();
|
|
@@ -53967,10 +53982,10 @@
|
|
|
53967
53982
|
} catch (t) {}
|
|
53968
53983
|
}();
|
|
53969
53984
|
}
|
|
53970
|
-
function
|
|
53985
|
+
function cr() {
|
|
53971
53986
|
if (rg) return rm;
|
|
53972
53987
|
rg = 1;
|
|
53973
|
-
var t =
|
|
53988
|
+
var t = ct();
|
|
53974
53989
|
return rm = function(r, o, n) {
|
|
53975
53990
|
"__proto__" == o && t ? t(r, o, {
|
|
53976
53991
|
configurable: !0,
|
|
@@ -53980,26 +53995,26 @@
|
|
|
53980
53995
|
}) : r[o] = n;
|
|
53981
53996
|
};
|
|
53982
53997
|
}
|
|
53983
|
-
function
|
|
53998
|
+
function co() {
|
|
53984
53999
|
if (rw) return rb;
|
|
53985
54000
|
rw = 1;
|
|
53986
|
-
var t =
|
|
54001
|
+
var t = cr(), r = o6();
|
|
53987
54002
|
return rb = function(o, n, i) {
|
|
53988
54003
|
(void 0 === i || r(o[n], i)) && (void 0 !== i || n in o) || t(o, n, i);
|
|
53989
54004
|
};
|
|
53990
54005
|
}
|
|
53991
|
-
var
|
|
54006
|
+
var cn = {
|
|
53992
54007
|
exports: {}
|
|
53993
54008
|
};
|
|
53994
|
-
|
|
53995
|
-
function
|
|
54009
|
+
cn.exports;
|
|
54010
|
+
function ci() {
|
|
53996
54011
|
return rA ? rR : (rA = 1, rR = (rO ? rj : (rO = 1, rj = function(t, r) {
|
|
53997
54012
|
return function(o) {
|
|
53998
54013
|
return t(r(o));
|
|
53999
54014
|
};
|
|
54000
54015
|
}))(Object.getPrototypeOf, Object));
|
|
54001
54016
|
}
|
|
54002
|
-
function
|
|
54017
|
+
function ca() {
|
|
54003
54018
|
if (rF) return rL;
|
|
54004
54019
|
rF = 1;
|
|
54005
54020
|
var t = Object.prototype;
|
|
@@ -54008,7 +54023,7 @@
|
|
|
54008
54023
|
return r === ("function" == typeof o && o.prototype || t);
|
|
54009
54024
|
};
|
|
54010
54025
|
}
|
|
54011
|
-
function
|
|
54026
|
+
function cs() {
|
|
54012
54027
|
if (rq) return rU;
|
|
54013
54028
|
rq = 1;
|
|
54014
54029
|
var t = function() {
|
|
@@ -54025,41 +54040,41 @@
|
|
|
54025
54040
|
return r(t) && n.call(t, "callee") && !i.call(t, "callee");
|
|
54026
54041
|
};
|
|
54027
54042
|
}
|
|
54028
|
-
function
|
|
54043
|
+
function cc() {
|
|
54029
54044
|
return rX ? rQ : (rX = 1, rQ = function(t) {
|
|
54030
54045
|
return "number" == typeof t && t > -1 && t % 1 == 0 && t <= 0x1fffffffffffff;
|
|
54031
54046
|
});
|
|
54032
54047
|
}
|
|
54033
|
-
function
|
|
54034
|
-
if (
|
|
54035
|
-
|
|
54036
|
-
var t = o8(), r =
|
|
54048
|
+
function cl() {
|
|
54049
|
+
if (rZ) return rH;
|
|
54050
|
+
rZ = 1;
|
|
54051
|
+
var t = o8(), r = cc();
|
|
54037
54052
|
return rH = function(o) {
|
|
54038
54053
|
return null != o && r(o.length) && !t(o);
|
|
54039
54054
|
};
|
|
54040
54055
|
}
|
|
54041
|
-
var
|
|
54056
|
+
var cd = {
|
|
54042
54057
|
exports: {}
|
|
54043
54058
|
};
|
|
54044
|
-
function
|
|
54059
|
+
function cu() {
|
|
54045
54060
|
var t, r, o, n, i, a, s, c;
|
|
54046
|
-
if (r3) return
|
|
54047
|
-
return r3 = 1, t =
|
|
54061
|
+
if (r3) return cd.exports;
|
|
54062
|
+
return r3 = 1, t = cd, r = cd.exports, o = oJ(), n = rJ ? rY : (rJ = 1, rY = function() {
|
|
54048
54063
|
return !1;
|
|
54049
|
-
}), 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,
|
|
54064
|
+
}), 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, cd.exports;
|
|
54050
54065
|
}
|
|
54051
|
-
|
|
54052
|
-
var
|
|
54066
|
+
cd.exports;
|
|
54067
|
+
var cp = {
|
|
54053
54068
|
exports: {}
|
|
54054
54069
|
};
|
|
54055
|
-
|
|
54056
|
-
function
|
|
54070
|
+
cp.exports;
|
|
54071
|
+
function cf() {
|
|
54057
54072
|
if (r7) return r6;
|
|
54058
54073
|
r7 = 1;
|
|
54059
54074
|
var t = function() {
|
|
54060
54075
|
if (r1) return r0;
|
|
54061
54076
|
r1 = 1;
|
|
54062
|
-
var t = o2(), r =
|
|
54077
|
+
var t = o2(), r = cc(), o = o5(), n = {};
|
|
54063
54078
|
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) {
|
|
54064
54079
|
return o(i) && r(i.length) && !!n[t(i)];
|
|
54065
54080
|
};
|
|
@@ -54069,25 +54084,25 @@
|
|
|
54069
54084
|
};
|
|
54070
54085
|
}), o = function() {
|
|
54071
54086
|
var t, r, o, n, i, a;
|
|
54072
|
-
if (r4) return
|
|
54073
|
-
return r4 = 1, t =
|
|
54087
|
+
if (r4) return cp.exports;
|
|
54088
|
+
return r4 = 1, t = cp, r = cp.exports, o = oY(), a = (i = (n = r && !r.nodeType && r) && t && !t.nodeType && t) && i.exports === n && o.process, t.exports = function() {
|
|
54074
54089
|
try {
|
|
54075
54090
|
var t = i && i.require && i.require("util").types;
|
|
54076
54091
|
if (t) return t;
|
|
54077
54092
|
return a && a.binding && a.binding("util");
|
|
54078
54093
|
} catch (t) {}
|
|
54079
|
-
}(),
|
|
54094
|
+
}(), cp.exports;
|
|
54080
54095
|
}(), n = o && o.isTypedArray;
|
|
54081
54096
|
return r6 = n ? r(n) : t;
|
|
54082
54097
|
}
|
|
54083
|
-
function
|
|
54098
|
+
function ch() {
|
|
54084
54099
|
return ot ? oe : (ot = 1, oe = function(t, r) {
|
|
54085
54100
|
if ("constructor" !== r || "function" != typeof t[r]) {
|
|
54086
54101
|
if ("__proto__" != r) return t[r];
|
|
54087
54102
|
}
|
|
54088
54103
|
});
|
|
54089
54104
|
}
|
|
54090
|
-
function
|
|
54105
|
+
function cm() {
|
|
54091
54106
|
if (ol) return oc;
|
|
54092
54107
|
ol = 1;
|
|
54093
54108
|
var t = /^(?:0|[1-9]\d*)$/;
|
|
@@ -54096,7 +54111,7 @@
|
|
|
54096
54111
|
return !!(o = null == o ? 0x1fffffffffffff : o) && ("number" == n || "symbol" != n && t.test(r)) && r > -1 && r % 1 == 0 && r < o;
|
|
54097
54112
|
};
|
|
54098
54113
|
}
|
|
54099
|
-
function
|
|
54114
|
+
function cg() {
|
|
54100
54115
|
if (ob) return og;
|
|
54101
54116
|
ob = 1;
|
|
54102
54117
|
var t = function() {
|
|
@@ -54105,7 +54120,7 @@
|
|
|
54105
54120
|
var t = os ? oa : (os = 1, oa = function(t, r) {
|
|
54106
54121
|
for(var o = -1, n = Array(t); ++o < t;)n[o] = r(o);
|
|
54107
54122
|
return n;
|
|
54108
|
-
}), r =
|
|
54123
|
+
}), r = cs(), o = oK(), n = cu(), i = cm(), a = cf(), s = Object.prototype.hasOwnProperty;
|
|
54109
54124
|
return od = function(c, l) {
|
|
54110
54125
|
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;
|
|
54111
54126
|
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);
|
|
@@ -54114,7 +54129,7 @@
|
|
|
54114
54129
|
}(), r = function() {
|
|
54115
54130
|
if (om) return oh;
|
|
54116
54131
|
om = 1;
|
|
54117
|
-
var t = o1(), r =
|
|
54132
|
+
var t = o1(), r = ca(), o = of ? op : (of = 1, op = function(t) {
|
|
54118
54133
|
var r = [];
|
|
54119
54134
|
if (null != t) for(var o in Object(t))r.push(o);
|
|
54120
54135
|
return r;
|
|
@@ -54125,12 +54140,12 @@
|
|
|
54125
54140
|
for(var c in i)"constructor" == c && (a || !n.call(i, c)) || s.push(c);
|
|
54126
54141
|
return s;
|
|
54127
54142
|
};
|
|
54128
|
-
}(), o =
|
|
54143
|
+
}(), o = cl();
|
|
54129
54144
|
return og = function(n) {
|
|
54130
54145
|
return o(n) ? t(n, !0) : r(n);
|
|
54131
54146
|
};
|
|
54132
54147
|
}
|
|
54133
|
-
function
|
|
54148
|
+
function cb() {
|
|
54134
54149
|
return ox ? o_ : (ox = 1, o_ = function(t) {
|
|
54135
54150
|
return t;
|
|
54136
54151
|
});
|
|
@@ -54180,7 +54195,7 @@
|
|
|
54180
54195
|
this.size = o.size;
|
|
54181
54196
|
}
|
|
54182
54197
|
return s.prototype.clear = r, s.prototype.delete = o, s.prototype.get = n, s.prototype.has = i, s.prototype.set = a, ru = s;
|
|
54183
|
-
}(), r =
|
|
54198
|
+
}(), r = co(), o = rC ? ry : (rC = 1, ry = (rk ? rv : (rk = 1, rv = function(t) {
|
|
54184
54199
|
return function(r, o, n) {
|
|
54185
54200
|
for(var i = -1, a = Object(r), s = n(r), c = s.length; c--;){
|
|
54186
54201
|
var l = s[t ? c : ++i];
|
|
@@ -54191,14 +54206,14 @@
|
|
|
54191
54206
|
}))()), n = function() {
|
|
54192
54207
|
if (oy) return ok;
|
|
54193
54208
|
oy = 1;
|
|
54194
|
-
var t =
|
|
54209
|
+
var t = co(), r = function() {
|
|
54195
54210
|
var t, r, o, n, i, a, s;
|
|
54196
|
-
if (rB) return
|
|
54197
|
-
return rB = 1, t =
|
|
54211
|
+
if (rB) return cn.exports;
|
|
54212
|
+
return rB = 1, t = cn, r = cn.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) {
|
|
54198
54213
|
if (r) return t.slice();
|
|
54199
54214
|
var o = t.length, n = s ? s(o) : new t.constructor(o);
|
|
54200
54215
|
return t.copy(n), n;
|
|
54201
|
-
},
|
|
54216
|
+
}, cn.exports;
|
|
54202
54217
|
}(), o = function() {
|
|
54203
54218
|
if (rT) return rE;
|
|
54204
54219
|
rT = 1;
|
|
@@ -54236,21 +54251,21 @@
|
|
|
54236
54251
|
return o.prototype = void 0, i;
|
|
54237
54252
|
};
|
|
54238
54253
|
}();
|
|
54239
|
-
}(), r =
|
|
54254
|
+
}(), r = ci(), o = ca();
|
|
54240
54255
|
return rz = function(n) {
|
|
54241
54256
|
return "function" != typeof n.constructor || o(n) ? {} : t(r(n));
|
|
54242
54257
|
};
|
|
54243
|
-
}(), a =
|
|
54244
|
-
if (rK) return
|
|
54258
|
+
}(), a = cs(), s = oK(), c = function() {
|
|
54259
|
+
if (rK) return rG;
|
|
54245
54260
|
rK = 1;
|
|
54246
|
-
var t =
|
|
54247
|
-
return
|
|
54261
|
+
var t = cl(), r = o5();
|
|
54262
|
+
return rG = function(o) {
|
|
54248
54263
|
return r(o) && t(o);
|
|
54249
54264
|
};
|
|
54250
|
-
}(), l =
|
|
54265
|
+
}(), l = cu(), d = o8(), u = o1(), p = function() {
|
|
54251
54266
|
if (r5) return r2;
|
|
54252
54267
|
r5 = 1;
|
|
54253
|
-
var t = o2(), r =
|
|
54268
|
+
var t = o2(), r = ci(), o = o5(), n = Object.prototype, i = Function.prototype.toString, a = n.hasOwnProperty, s = i.call(Object);
|
|
54254
54269
|
return r2 = function(n) {
|
|
54255
54270
|
if (!o(n) || "[object Object]" != t(n)) return !1;
|
|
54256
54271
|
var c = r(n);
|
|
@@ -54258,7 +54273,7 @@
|
|
|
54258
54273
|
var l = a.call(c, "constructor") && c.constructor;
|
|
54259
54274
|
return "function" == typeof l && l instanceof l && i.call(l) == s;
|
|
54260
54275
|
};
|
|
54261
|
-
}(), f =
|
|
54276
|
+
}(), f = cf(), h = ch(), m = function() {
|
|
54262
54277
|
if (ov) return ow;
|
|
54263
54278
|
ov = 1;
|
|
54264
54279
|
var t = function() {
|
|
@@ -54267,12 +54282,12 @@
|
|
|
54267
54282
|
var t = function() {
|
|
54268
54283
|
if (oo) return or;
|
|
54269
54284
|
oo = 1;
|
|
54270
|
-
var t =
|
|
54285
|
+
var t = cr(), r = o6(), o = Object.prototype.hasOwnProperty;
|
|
54271
54286
|
return or = function(n, i, a) {
|
|
54272
54287
|
var s = n[i];
|
|
54273
54288
|
o.call(n, i) && r(s, a) && (void 0 !== a || i in n) || t(n, i, a);
|
|
54274
54289
|
};
|
|
54275
|
-
}(), r =
|
|
54290
|
+
}(), r = cr();
|
|
54276
54291
|
return on = function(o, n, i, a) {
|
|
54277
54292
|
var s = !i;
|
|
54278
54293
|
i || (i = {});
|
|
@@ -54282,7 +54297,7 @@
|
|
|
54282
54297
|
}
|
|
54283
54298
|
return i;
|
|
54284
54299
|
};
|
|
54285
|
-
}(), r =
|
|
54300
|
+
}(), r = cg();
|
|
54286
54301
|
return ow = function(o) {
|
|
54287
54302
|
return t(o, r(o));
|
|
54288
54303
|
};
|
|
@@ -54297,7 +54312,7 @@
|
|
|
54297
54312
|
}
|
|
54298
54313
|
S && (C.set(_, P), k(P, _, v, y, C), C.delete(_)), t(g, w, P);
|
|
54299
54314
|
};
|
|
54300
|
-
}(), i = o1(), a =
|
|
54315
|
+
}(), i = o1(), a = cg(), s = ch();
|
|
54301
54316
|
return oC = function c(l, d, u, p, f) {
|
|
54302
54317
|
l !== d && o(d, function(o, a) {
|
|
54303
54318
|
if (f || (f = new t), i(o)) n(l, d, a, u, c, p, f);
|
|
@@ -54314,7 +54329,7 @@
|
|
|
54314
54329
|
var t = function() {
|
|
54315
54330
|
if (oF) return oL;
|
|
54316
54331
|
oF = 1;
|
|
54317
|
-
var t =
|
|
54332
|
+
var t = cb(), r = function() {
|
|
54318
54333
|
if (oT) return oE;
|
|
54319
54334
|
oT = 1;
|
|
54320
54335
|
var t = oS ? oP : (oS = 1, oP = function(t, r, o) {
|
|
@@ -54348,7 +54363,7 @@
|
|
|
54348
54363
|
return function() {
|
|
54349
54364
|
return t;
|
|
54350
54365
|
};
|
|
54351
|
-
}), r =
|
|
54366
|
+
}), r = ct(), o = cb();
|
|
54352
54367
|
return oI = r ? function(o, n) {
|
|
54353
54368
|
return r(o, "toString", {
|
|
54354
54369
|
configurable: !0,
|
|
@@ -54380,7 +54395,7 @@
|
|
|
54380
54395
|
}(), r = function() {
|
|
54381
54396
|
if (oN) return oz;
|
|
54382
54397
|
oN = 1;
|
|
54383
|
-
var t = o6(), r =
|
|
54398
|
+
var t = o6(), r = cl(), o = cm(), n = o1();
|
|
54384
54399
|
return oz = function(i, a, s) {
|
|
54385
54400
|
if (!n(s)) return !1;
|
|
54386
54401
|
var c = typeof a;
|
|
@@ -54401,7 +54416,7 @@
|
|
|
54401
54416
|
t(r, o, n);
|
|
54402
54417
|
});
|
|
54403
54418
|
}();
|
|
54404
|
-
let
|
|
54419
|
+
let cw = {
|
|
54405
54420
|
data: {
|
|
54406
54421
|
country: "vn",
|
|
54407
54422
|
settings: {
|
|
@@ -54553,12 +54568,12 @@
|
|
|
54553
54568
|
}
|
|
54554
54569
|
}
|
|
54555
54570
|
};
|
|
54556
|
-
let { DesignToken: cw } = sc;
|
|
54557
|
-
cw.Color.separators.secondary, cw.Color.semantic.error[400], cw.Color.content.primary, cw.Typography.h5.fontSize, cw.Typography.h5.fontWeight, cw.Typography.h5.lineHeight, cw.Color.content.primary, cw.Typography.h6.fontSize, cw.FontWeight["semi-bold"], cw.Color.background.secondary, cw.BorderWidth.base, cw.Color.separators.tertiary, cw.Color.content.primary, cw.Typography.h6.fontSize, cw.FontWeight["semi-bold"], cw.Color.background.secondary, cw.BorderWidth.base, cw.Color.separators.tertiary, cw.Color.content["on-bg-color"], cw.Typography.label.fontSize, cw.Typography.label.fontWeight, cw.Color.blue[900], cw.Color.content["on-bg-color"], cw.Typography.label.fontSize, cw.Typography.label.fontWeight, cw.Color.semantic.error[400], cw.Typography.body.fontSize, cw.Typography.body.fontWeight, cw.Color.blue[900], cw.Color.blue[100], cw.Color.blue[900], cw.Typography.body.fontSize, cw.FontWeight["semi-bold"];
|
|
54558
54571
|
let { DesignToken: cv } = sc;
|
|
54559
|
-
|
|
54572
|
+
cv.Color.separators.secondary, cv.Color.semantic.error[400], cv.Color.content.primary, cv.Typography.h5.fontSize, cv.Typography.h5.fontWeight, cv.Typography.h5.lineHeight, cv.Color.content.primary, cv.Typography.h6.fontSize, cv.FontWeight["semi-bold"], cv.Color.background.secondary, cv.BorderWidth.base, cv.Color.separators.tertiary, cv.Color.content.primary, cv.Typography.h6.fontSize, cv.FontWeight["semi-bold"], cv.Color.background.secondary, cv.BorderWidth.base, cv.Color.separators.tertiary, cv.Color.content["on-bg-color"], cv.Typography.label.fontSize, cv.Typography.label.fontWeight, cv.Color.blue[900], cv.Color.content["on-bg-color"], cv.Typography.label.fontSize, cv.Typography.label.fontWeight, cv.Color.semantic.error[400], cv.Typography.body.fontSize, cv.Typography.body.fontWeight, cv.Color.blue[900], cv.Color.blue[100], cv.Color.blue[900], cv.Typography.body.fontSize, cv.FontWeight["semi-bold"];
|
|
54560
54573
|
let { DesignToken: ck } = sc;
|
|
54561
|
-
|
|
54574
|
+
sc.DesignToken.Typography.h5, sc.DesignToken.Color.content.primary, ck.Color.semantic.error[400], ck.Typography.body.fontSize, ck.Typography.body.fontWeight, ck.Color.semantic.error[400], ck.Typography.body.fontSize, ck.Typography.body.fontWeight, ck.Color.blue[900], ck.Color.neutral[300], ck.Color.semantic.error[400], ck.Color.content.primary, ck.Typography.body.fontSize, ck.Typography.body.fontWeight, ck.Color.blue[900], ck.Color.separators.tertiary;
|
|
54575
|
+
let { DesignToken: cy } = sc;
|
|
54576
|
+
cy.Color.content["on-bg-color"], cy.Typography.label.fontSize, cy.Typography.label.fontWeight, sc.DesignToken.Spacing.base, sc.DesignToken.Spacing.base, sc.DesignToken.Color.base.white, sc.DesignToken.CornerRadius.sm, sc.DesignToken.Color.mask[70], sc.DesignToken.Typography.h6, sc.DesignToken.FontWeight["semi-bold"], sc.DesignToken.Color.content.primary, sc.DesignToken.Typography.body, sc.DesignToken.Color.content.secondary, sc.DesignToken.Typography.body, sc.DesignToken.Color.base.white, sc.DesignToken.Color.base.blue, sc.DesignToken.CornerRadius.xs, sc.DesignToken.Height["3xl"], sc.DesignToken.Typography.body, sc.DesignToken.Color.content.primary, sc.DesignToken.Color.background.tertiary, sc.DesignToken.CornerRadius.xs, sc.DesignToken.Height["3xl"], PropTypes.shape({}), PropTypes.shape({}), PropTypes.func, PropTypes.shape({}), PropTypes.func, PropTypes.func, PropTypes.func, PropTypes.arrayOf(PropTypes.shape({
|
|
54562
54577
|
scannerType: PropTypes.string
|
|
54563
54578
|
})), PropTypes.func, PropTypes.shape({}), PropTypes.string, PropTypes.bool, PropTypes.arrayOf(PropTypes.string), PropTypes.shape({}), PropTypes.shape({
|
|
54564
54579
|
enable: PropTypes.bool,
|
|
@@ -58461,6 +58476,11 @@
|
|
|
58461
58476
|
display: ${getTheme('closeButton.display')};
|
|
58462
58477
|
width: ${getTheme('closeButton.width')};
|
|
58463
58478
|
height: ${getTheme('closeButton.height')};
|
|
58479
|
+
// Optional theme-controlled hit-area padding. Defaults to '0', so clients that
|
|
58480
|
+
// don't set closeButton.padding render exactly as before. content-box ensures
|
|
58481
|
+
// the padding grows the tap target without shrinking the icon.
|
|
58482
|
+
box-sizing: content-box;
|
|
58483
|
+
padding: ${getTheme('closeButton.padding', '0')};
|
|
58464
58484
|
`;
|
|
58465
58485
|
const Error$1 = dt$1.div`
|
|
58466
58486
|
z-index: ${BASE_Z_INDEX + 20};
|
|
@@ -62354,7 +62374,7 @@
|
|
|
62354
62374
|
};
|
|
62355
62375
|
};
|
|
62356
62376
|
|
|
62357
|
-
const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk/5.38.
|
|
62377
|
+
const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk/5.38.5/assets";
|
|
62358
62378
|
class TVWebSDK extends gA {
|
|
62359
62379
|
constructor(props){
|
|
62360
62380
|
super({
|
|
@@ -69798,6 +69818,11 @@
|
|
|
69798
69818
|
};
|
|
69799
69819
|
|
|
69800
69820
|
const isJpegFile = (file)=>Boolean(file) && (file.type === 'image/jpeg' || /\.jpe?g$/i.test(file.name || ''));
|
|
69821
|
+
const isPngFile = (file)=>Boolean(file) && (file.type === 'image/png' || /\.png$/i.test(file.name || ''));
|
|
69822
|
+
// File types the upload-from-device picker accepts. JPEG passes through as-is; PNG is
|
|
69823
|
+
// transcoded to JPEG in buildUploadImage before any downstream processing (EXIF writer
|
|
69824
|
+
// and the upload API are JPEG-only).
|
|
69825
|
+
const isSupportedUploadFile = (file)=>isJpegFile(file) || isPngFile(file);
|
|
69801
69826
|
// Probe whether a blob can be decoded by the browser's image decoder (the same one used
|
|
69802
69827
|
// by <img>). On Samsung Android the picker sometimes returns HEIC/MPO files mislabeled
|
|
69803
69828
|
// as image/jpeg — those make it past isJpegFile() but fail to render in the confirm
|
|
@@ -69811,11 +69836,12 @@
|
|
|
69811
69836
|
return false;
|
|
69812
69837
|
}
|
|
69813
69838
|
};
|
|
69814
|
-
// Re-encode a picker-supplied file through canvas → JPEG.
|
|
69815
|
-
//
|
|
69816
|
-
//
|
|
69817
|
-
//
|
|
69818
|
-
//
|
|
69839
|
+
// Re-encode a picker-supplied file through canvas → JPEG. Two callers: the PNG transcode
|
|
69840
|
+
// path in buildUploadImage (iPhone screenshots and other PNG sources), and the fallback
|
|
69841
|
+
// when the original blob isn't displayable as an image (HEIC/MPO/etc. mislabeled as
|
|
69842
|
+
// image/jpeg). Throws if createImageBitmap can't decode the file at all (truly broken input).
|
|
69843
|
+
// Note: this strips the original EXIF metadata. Acceptable for both callers — PNG carries
|
|
69844
|
+
// no EXIF piexif can read, and the SDK's own EXIF payload is written *after* conversion.
|
|
69819
69845
|
const reEncodeToJpeg = async (file, quality = 0.92)=>{
|
|
69820
69846
|
const bitmap = await createImageBitmap(file);
|
|
69821
69847
|
const canvas = document.createElement('canvas');
|
|
@@ -69826,6 +69852,10 @@
|
|
|
69826
69852
|
if (!ctx) {
|
|
69827
69853
|
throw new Error('reEncodeToJpeg: failed to get 2D canvas context');
|
|
69828
69854
|
}
|
|
69855
|
+
// JPEG has no alpha channel — flatten any transparency (PNG screenshots/exports) onto
|
|
69856
|
+
// white instead of the canvas default, which encodes as black. No-op for opaque sources.
|
|
69857
|
+
ctx.fillStyle = '#ffffff';
|
|
69858
|
+
ctx.fillRect(0, 0, canvas.width, canvas.height);
|
|
69829
69859
|
ctx.drawImage(bitmap, 0, 0);
|
|
69830
69860
|
// Drop the bitmap before the toBlob await — the canvas has its own copy now and
|
|
69831
69861
|
// there's no point holding another ~48MB worth of pixels through JPEG encoding.
|
|
@@ -69860,9 +69890,19 @@
|
|
|
69860
69890
|
fX.addExifData('upload_meta.original_size', file.size);
|
|
69861
69891
|
fX.addExifData('upload_meta.mime_type', file.type);
|
|
69862
69892
|
}
|
|
69893
|
+
// PNG (e.g. iPhone screenshots) must become real JPEG bytes before anything downstream:
|
|
69894
|
+
// writeMergedExif is piexif-based (JPEG-only — fed PNG it silently drops our EXIF payload)
|
|
69895
|
+
// and api.js labels the blob image/jpeg unconditionally. Deliberately not wrapped in
|
|
69896
|
+
// try/catch: if the PNG can't be decoded/encoded we must NOT fall through and send PNG
|
|
69897
|
+
// bytes mislabeled as JPEG — the throw lands in handleFileChange's catch, which surfaces
|
|
69898
|
+
// the recoverable upload_processing_failed toast.
|
|
69899
|
+
let normalizedFile = file;
|
|
69900
|
+
if (isPngFile(file)) {
|
|
69901
|
+
normalizedFile = await reEncodeToJpeg(file);
|
|
69902
|
+
}
|
|
69863
69903
|
let blobWithExif = await fX.writeMergedExif({
|
|
69864
69904
|
imageData: {
|
|
69865
|
-
blob:
|
|
69905
|
+
blob: normalizedFile
|
|
69866
69906
|
},
|
|
69867
69907
|
enableExifData: settings?.enableExifData
|
|
69868
69908
|
});
|
|
@@ -69875,7 +69915,7 @@
|
|
|
69875
69915
|
// the original bytes to the server for it to validate.
|
|
69876
69916
|
if (!await isBlobDisplayable(blobWithExif)) {
|
|
69877
69917
|
try {
|
|
69878
|
-
const reEncoded = await reEncodeToJpeg(
|
|
69918
|
+
const reEncoded = await reEncodeToJpeg(normalizedFile);
|
|
69879
69919
|
blobWithExif = await fX.writeMergedExif({
|
|
69880
69920
|
imageData: {
|
|
69881
69921
|
blob: reEncoded
|
|
@@ -69987,7 +70027,7 @@
|
|
|
69987
70027
|
// Reset the input value so picking the same file again still fires `change`.
|
|
69988
70028
|
if (e.target) e.target.value = '';
|
|
69989
70029
|
if (!file) return;
|
|
69990
|
-
if (!
|
|
70030
|
+
if (!isSupportedUploadFile(file)) {
|
|
69991
70031
|
sendEvent({
|
|
69992
70032
|
tag: 'id_upload',
|
|
69993
70033
|
event: 'upload_file_invalid',
|
|
@@ -70112,7 +70152,9 @@
|
|
|
70112
70152
|
// camera mask shifts.
|
|
70113
70153
|
const ErrorToast = dt$1.button`
|
|
70114
70154
|
position: fixed;
|
|
70115
|
-
|
|
70155
|
+
// Above the scan card alert (BASE_Z_INDEX + 20) so the toast stays readable when the two
|
|
70156
|
+
// overlap — e.g. a multi-line card alert extending down into a multi-line toast.
|
|
70157
|
+
z-index: ${BASE_Z_INDEX + 21};
|
|
70116
70158
|
left: 50%;
|
|
70117
70159
|
|
|
70118
70160
|
max-width: calc(100% - ${getTheme('IDUploadErrorToast.maxWidthInset')});
|
|
@@ -70192,7 +70234,7 @@
|
|
|
70192
70234
|
/*#__PURE__*/ jsxRuntimeExports.jsx("input", {
|
|
70193
70235
|
ref: inputRef,
|
|
70194
70236
|
type: "file",
|
|
70195
|
-
accept: "image/jpeg",
|
|
70237
|
+
accept: "image/jpeg,image/png",
|
|
70196
70238
|
onChange: handleFileChange,
|
|
70197
70239
|
style: {
|
|
70198
70240
|
display: 'none'
|
|
@@ -70219,6 +70261,9 @@
|
|
|
70219
70261
|
const t = gv();
|
|
70220
70262
|
const [countdownMessage, setCountdownMessage] = reactExports.useState(null);
|
|
70221
70263
|
const [errorMessage, setErrorMessage] = reactExports.useState('');
|
|
70264
|
+
// Raw (untranslated) guidance code, surfaced to the DOM as data-error-code so
|
|
70265
|
+
// automated tests can assert on a stable code instead of localized copy.
|
|
70266
|
+
const [errorCode, setErrorCode] = reactExports.useState('');
|
|
70222
70267
|
const [cropArea, setCropArea] = reactExports.useState(null);
|
|
70223
70268
|
const { showPopup, popupShown, popupType } = useShowPopup();
|
|
70224
70269
|
const debug = useDebug();
|
|
@@ -70230,9 +70275,11 @@
|
|
|
70230
70275
|
const handleOnError = reactExports.useCallback((error)=>{
|
|
70231
70276
|
if (error === null) {
|
|
70232
70277
|
setErrorMessage('');
|
|
70278
|
+
setErrorCode('');
|
|
70233
70279
|
} else {
|
|
70234
|
-
const
|
|
70235
|
-
|
|
70280
|
+
const code = error?.code;
|
|
70281
|
+
setErrorCode(code || '');
|
|
70282
|
+
setErrorMessage(t(code, {
|
|
70236
70283
|
side: frontSide ? t('front') : t('back')
|
|
70237
70284
|
}));
|
|
70238
70285
|
}
|
|
@@ -70424,6 +70471,8 @@
|
|
|
70424
70471
|
}
|
|
70425
70472
|
}),
|
|
70426
70473
|
/*#__PURE__*/ jsxRuntimeExports.jsx(InstructionText, {
|
|
70474
|
+
"data-testid": "id-instruction",
|
|
70475
|
+
"data-error-code": errorCode,
|
|
70427
70476
|
children: hs.getStringWithLineBreak(errorMessage)
|
|
70428
70477
|
})
|
|
70429
70478
|
]
|
|
@@ -95068,8 +95117,8 @@
|
|
|
95068
95117
|
exports.SDK = TVWebSDK;
|
|
95069
95118
|
exports.SDKAdapter = gT;
|
|
95070
95119
|
exports.ScannerType = iM;
|
|
95071
|
-
exports.defaultClientSettings =
|
|
95072
|
-
exports.defaultReadIDCardSteps =
|
|
95120
|
+
exports.defaultClientSettings = cw;
|
|
95121
|
+
exports.defaultReadIDCardSteps = ce;
|
|
95073
95122
|
exports.getSDKVersion = cP;
|
|
95074
95123
|
|
|
95075
95124
|
}));
|