@tsocial/tvweb-sdk.lotte 5.34.2 → 5.34.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/tvweb-sdk.lotte.cjs.min.js +170 -154
- package/build/tvweb-sdk.lotte.esm.min.js +170 -154
- package/build/tvweb-sdk.lotte.standalone.js +742 -630
- package/build/tvweb-sdk.lotte.standalone.min.js +172 -156
- package/package.json +5 -5
|
@@ -15996,7 +15996,7 @@
|
|
|
15996
15996
|
strokeWidth: 1
|
|
15997
15997
|
};
|
|
15998
15998
|
|
|
15999
|
-
var f="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",m="active",y$1="data-styled-version",v$1="6.1.12",g$1="/*!sc*/\n",S$1="undefined"!=typeof window&&"HTMLElement"in window,w$1=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY?"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY:"production"!=="production"),b$1={},_$1=Object.freeze([]),C$1=Object.freeze({});function I$1(e,t,n){return void 0===n&&(n=C$1),e.theme!==n.theme&&e.theme||t||n.theme}var A$1=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),O$1=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,D$1=/(^-|-$)/g;function R$1(e){return e.replace(O$1,"-").replace(D$1,"")}var T$1=/(a)(d)/gi,k$1=52,j$1=function(e){return String.fromCharCode(e+(e>25?39:97))};function x$1(e){var t,n="";for(t=Math.abs(e);t>k$1;t=t/k$1|0)n=j$1(t%k$1)+n;return (j$1(t%k$1)+n).replace(T$1,"$1-$2")}var V$1,F$1=5381,M$1=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},z$1=function(e){return M$1(F$1,e)};function $$1(e){return x$1(z$1(e)>>>0)}function B$1(e){return e.displayName||e.name||"Component"}function L$1(e){return "string"==typeof e&&("production"==="production")}var G$1="function"==typeof Symbol&&Symbol.for,Y$2=G$1?Symbol.for("react.memo"):60115,W$1=G$1?Symbol.for("react.forward_ref"):60112,q$1={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},H$1={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},U$1={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},J$2=((V$1={})[W$1]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},V$1[Y$2]=U$1,V$1);function X$1(e){return ("type"in(t=e)&&t.type.$$typeof)===Y$2?U$1:"$$typeof"in e?J$2[e.$$typeof]:q$1;var t;}var Z$2=Object.defineProperty,K$2=Object.getOwnPropertyNames,Q$1=Object.getOwnPropertySymbols,ee$2=Object.getOwnPropertyDescriptor,te$2=Object.getPrototypeOf,ne$2=Object.prototype;function oe$2(e,t,n){if("string"!=typeof t){if(ne$2){var o=te$2(t);o&&o!==ne$2&&oe$2(e,o,n);}var r=K$2(t);Q$1&&(r=r.concat(Q$1(t)));for(var s=X$1(e),i=X$1(t),a=0;a<r.length;++a){var c=r[a];if(!(c in H$1||n&&n[c]||i&&c in i||s&&c in s)){var l=ee$2(t,c);try{Z$2(e,c,l);}catch(e){}}}}return e}function re$2(e){return "function"==typeof e}function se$1(e){return "object"==typeof e&&"styledComponentId"in e}function ie$2(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function ae$2(e,t){if(0===e.length)return "";for(var n=e[0],o=1;o<e.length;o++)n+=t?t+e[o]:e[o];return n}function ce$1(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function le$1(e,t,n){if(void 0===n&&(n=!1),!n&&!ce$1(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var o=0;o<t.length;o++)e[o]=le$1(e[o],t[o]);else if(ce$1(t))for(var o in t)e[o]=le$1(e[o],t[o]);return e}function ue$1(e,t){Object.defineProperty(e,"toString",{value:t});}function he$1(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(t," for more information.").concat(n.length>0?" Args: ".concat(n.join(", ")):""))}var fe$1=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e;}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,r=o;e>=r;)if((r<<=1)<0)throw he$1(16,"".concat(e));this.groupSizes=new Uint32Array(r),this.groupSizes.set(n),this.length=r;for(var s=o;s<r;s++)this.groupSizes[s]=0;}for(var i=this.indexOfGroup(e+1),a=(s=0,t.length);s<a;s++)this.tag.insertRule(i,t[s])&&(this.groupSizes[e]++,i++);},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),o=n+t;this.groupSizes[e]=0;for(var r=n;r<o;r++)this.tag.deleteRule(n);}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],o=this.indexOfGroup(e),r=o+n,s=o;s<r;s++)t+="".concat(this.tag.getRule(s)).concat(g$1);return t},e}(),ye=new Map,ve=new Map,ge$1=1,Se=function(e){if(ye.has(e))return ye.get(e);for(;ve.has(ge$1);)ge$1++;var t=ge$1++;return ye.set(e,t),ve.set(t,e),t},we=function(e,t){ge$1=t+1,ye.set(e,t),ve.set(t,e);},be="style[".concat(f,"][").concat(y$1,'="').concat(v$1,'"]'),Ee=new RegExp("^".concat(f,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Ne=function(e,t,n){for(var o,r=n.split(","),s=0,i=r.length;s<i;s++)(o=r[s])&&e.registerName(t,o);},Pe=function(e,t){for(var n,o=(null!==(n=t.textContent)&&void 0!==n?n:"").split(g$1),r=[],s=0,i=o.length;s<i;s++){var a=o[s].trim();if(a){var c=a.match(Ee);if(c){var l=0|parseInt(c[1],10),u=c[2];0!==l&&(we(u,l),Ne(e,u,c[3]),e.getTag().insertRules(l,r)),r.length=0;}else r.push(a);}}},_e=function(e){for(var t=document.querySelectorAll(be),n=0,o=t.length;n<o;n++){var r=t[n];r&&r.getAttribute(f)!==m&&(Pe(e,r),r.parentNode&&r.parentNode.removeChild(r));}};function Ce(){return "undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null}var Ie=function(e){var t=document.head,n=e||t,o=document.createElement("style"),r=function(e){var t=Array.from(e.querySelectorAll("style[".concat(f,"]")));return t[t.length-1]}(n),s=void 0!==r?r.nextSibling:null;o.setAttribute(f,m),o.setAttribute(y$1,v$1);var i=Ce();return i&&o.setAttribute("nonce",i),n.insertBefore(o,s),o},Ae=function(){function e(e){this.element=Ie(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,o=t.length;n<o;n++){var r=t[n];if(r.ownerNode===e)return r}throw he$1(17)}(this.element),this.length=0;}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return !1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--;},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),Oe=function(){function e(e){this.element=Ie(e),this.nodes=this.element.childNodes,this.length=0;}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return !1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--;},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),De=function(){function e(e){this.rules=[],this.length=0;}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--;},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),Re=S$1,Te={isServer:!S$1,useCSSOMInjection:!w$1},ke=function(){function e(e,n,o){void 0===e&&(e=C$1),void 0===n&&(n={});var r=this;this.options=__assign(__assign({},Te),e),this.gs=n,this.names=new Map(o),this.server=!!e.isServer,!this.server&&S$1&&Re&&(Re=!1,_e(this)),ue$1(this,function(){return function(e){for(var t=e.getTag(),n=t.length,o="",r=function(n){var r=function(e){return ve.get(e)}(n);if(void 0===r)return "continue";var s=e.names.get(r),i=t.getGroup(n);if(void 0===s||!s.size||0===i.length)return "continue";var a="".concat(f,".g").concat(n,'[id="').concat(r,'"]'),c="";void 0!==s&&s.forEach(function(e){e.length>0&&(c+="".concat(e,","));}),o+="".concat(i).concat(a,'{content:"').concat(c,'"}').concat(g$1);},s=0;s<n;s++)r(s);return o}(r)});}return e.registerId=function(e){return Se(e)},e.prototype.rehydrate=function(){!this.server&&S$1&&_e(this);},e.prototype.reconstructWithOptions=function(n,o){return void 0===o&&(o=!0),new e(__assign(__assign({},this.options),n),this.gs,o&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new De(n):t?new Ae(n):new Oe(n)}(this.options),new fe$1(e)));var e;},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(Se(e),this.names.has(e))this.names.get(e).add(t);else {var n=new Set;n.add(t),this.names.set(e,n);}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(Se(e),n);},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear();},e.prototype.clearRules=function(e){this.getTag().clearGroup(Se(e)),this.clearNames(e);},e.prototype.clearTag=function(){this.tag=void 0;},e}(),je=/&/g,xe=/^\s*\/\/.*$/gm;function Ve(e,t){return e.map(function(e){return "rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map(function(e){return "".concat(t," ").concat(e)})),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=Ve(e.children,t)),e})}function Fe(e){var t,n,o,r=void 0===e?C$1:e,s=r.options,i=void 0===s?C$1:s,a=r.plugins,c=void 0===a?_$1:a,l=function(e,o,r){return r.startsWith(n)&&r.endsWith(n)&&r.replaceAll(n,"").length>0?".".concat(t):e},u=c.slice();u.push(function(e){e.type===RULESET&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(je,n).replace(o,l));}),i.prefix&&u.push(prefixer),u.push(stringify);var p=function(e,r,s,a){void 0===r&&(r=""),void 0===s&&(s=""),void 0===a&&(a="&"),t=a,n=r,o=new RegExp("\\".concat(n,"\\b"),"g");var c=e.replace(xe,""),l=compile(s||r?"".concat(s," ").concat(r," { ").concat(c," }"):c);i.namespace&&(l=Ve(l,i.namespace));var p=[];return serialize(l,middleware(u.concat(rulesheet(function(e){return p.push(e)})))),p};return p.hash=c.length?c.reduce(function(e,t){return t.name||he$1(15),M$1(e,t.name)},F$1).toString():"",p}var Me=new ke,ze=Fe(),$e=React.createContext({shouldForwardProp:void 0,styleSheet:Me,stylis:ze});$e.Consumer;React.createContext(void 0);function Ge(){return reactExports.useContext($e)}var We=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=ze);var o=n.name+t.hash;e.hasNameForId(n.id,o)||e.insertRules(n.id,o,t(n.rules,o,"@keyframes"));},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,ue$1(this,function(){throw he$1(12,String(n.name))});}return e.prototype.getName=function(e){return void 0===e&&(e=ze),this.name+e.hash},e}(),qe=function(e){return e>="A"&&e<="Z"};function He(e){for(var t="",n=0;n<e.length;n++){var o=e[n];if(1===n&&"-"===o&&"-"===e[0])return e;qe(o)?t+="-"+o.toLowerCase():t+=o;}return t.startsWith("ms-")?"-"+t:t}var Ue=function(e){return null==e||!1===e||""===e},Je=function(t){var n,o,r=[];for(var s in t){var i=t[s];t.hasOwnProperty(s)&&!Ue(i)&&(Array.isArray(i)&&i.isCss||re$2(i)?r.push("".concat(He(s),":"),i,";"):ce$1(i)?r.push.apply(r,__spreadArray(__spreadArray(["".concat(s," {")],Je(i),!1),["}"],!1)):r.push("".concat(He(s),": ").concat((n=s,null==(o=i)||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||n in unitlessKeys||n.startsWith("--")?String(o).trim():"".concat(o,"px")),";")));}return r};function Xe(e,t,n,o){if(Ue(e))return [];if(se$1(e))return [".".concat(e.styledComponentId)];if(re$2(e)){if(!re$2(s=e)||s.prototype&&s.prototype.isReactComponent||!t)return [e];var r=e(t);return Xe(r,t,n,o)}var s;return e instanceof We?n?(e.inject(n,o),[e.getName(o)]):[e]:ce$1(e)?Je(e):Array.isArray(e)?Array.prototype.concat.apply(_$1,e.map(function(e){return Xe(e,t,n,o)})):[e.toString()]}function Ze(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(re$2(n)&&!se$1(n))return !1}return !0}var Ke=z$1(v$1),Qe=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&Ze(e),this.componentId=t,this.baseHash=M$1(Ke,t),this.baseStyle=n,ke.registerId(t);}return e.prototype.generateAndInjectStyles=function(e,t,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))o=ie$2(o,this.staticRulesId);else {var r=ae$2(Xe(this.rules,e,t,n)),s=x$1(M$1(this.baseHash,r)>>>0);if(!t.hasNameForId(this.componentId,s)){var i=n(r,".".concat(s),void 0,this.componentId);t.insertRules(this.componentId,s,i);}o=ie$2(o,s),this.staticRulesId=s;}else {for(var a=M$1(this.baseHash,n.hash),c="",l=0;l<this.rules.length;l++){var u=this.rules[l];if("string"==typeof u)c+=u;else if(u){var p=ae$2(Xe(u,e,t,n));a=M$1(a,p+l),c+=p;}}if(c){var d=x$1(a>>>0);t.hasNameForId(this.componentId,d)||t.insertRules(this.componentId,d,n(c,".".concat(d),void 0,this.componentId)),o=ie$2(o,d);}}return o},e}(),et$2=React.createContext(void 0);et$2.Consumer;function nt$2(){var e=reactExports.useContext(et$2);if(!e)throw he$1(18);return e}function ot$2(e){var n=React.useContext(et$2),r=reactExports.useMemo(function(){return function(e,n){if(!e)throw he$1(14);if(re$2(e)){var o=e(n);return o}if(Array.isArray(e)||"object"!=typeof e)throw he$1(8);return n?__assign(__assign({},n),e):e}(e.theme,n)},[e.theme,n]);return e.children?React.createElement(et$2.Provider,{value:r},e.children):null}var rt$2={},st$1=new Set;function it$2(e,r,s){var i=se$1(e),a=e,c=!L$1(e),p=r.attrs,d=void 0===p?_$1:p,h=r.componentId,f=void 0===h?function(e,t){var n="string"!=typeof e?"sc":R$1(e);rt$2[n]=(rt$2[n]||0)+1;var o="".concat(n,"-").concat($$1(v$1+n+rt$2[n]));return t?"".concat(t,"-").concat(o):o}(r.displayName,r.parentComponentId):h,m=r.displayName,y=void 0===m?function(e){return L$1(e)?"styled.".concat(e):"Styled(".concat(B$1(e),")")}(e):m,g=r.displayName&&r.componentId?"".concat(R$1(r.displayName),"-").concat(r.componentId):r.componentId||f,S=i&&a.attrs?a.attrs.concat(d).filter(Boolean):d,w=r.shouldForwardProp;if(i&&a.shouldForwardProp){var b=a.shouldForwardProp;if(r.shouldForwardProp){var E=r.shouldForwardProp;w=function(e,t){return b(e,t)&&E(e,t)};}else w=b;}var N=new Qe(s,g,i?a.componentStyle:void 0);function O(e,r){return function(e,r,s){var i=e.attrs,a=e.componentStyle,c=e.defaultProps,p=e.foldedComponentIds,d=e.styledComponentId,h=e.target,f=React.useContext(et$2),m=Ge(),y=e.shouldForwardProp||m.shouldForwardProp;var v=I$1(r,f,c)||C$1,g=function(e,n,o){for(var r,s=__assign(__assign({},n),{className:void 0,theme:o}),i=0;i<e.length;i+=1){var a=re$2(r=e[i])?r(s):r;for(var c in a)s[c]="className"===c?ie$2(s[c],a[c]):"style"===c?__assign(__assign({},s[c]),a[c]):a[c];}return n.className&&(s.className=ie$2(s.className,n.className)),s}(i,r,v),S=g.as||h,w={};for(var b in g)void 0===g[b]||"$"===b[0]||"as"===b||"theme"===b&&g.theme===v||("forwardedAs"===b?w.as=g.forwardedAs:y&&!y(b,S)||(w[b]=g[b],y||"development"!=="production"||isPropValid(b)||st$1.has(b)||!A$1.has(S)||(st$1.add(b),console.warn('styled-components: it looks like an unknown prop "'.concat(b,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var E=function(e,t){var n=Ge(),o=e.generateAndInjectStyles(t,n.styleSheet,n.stylis);return o}(a,g);var N=ie$2(p,d);return E&&(N+=" "+E),g.className&&(N+=" "+g.className),w[L$1(S)&&!A$1.has(S)?"class":"className"]=N,w.ref=s,reactExports.createElement(S,w)}(D,e,r)}O.displayName=y;var D=React.forwardRef(O);return D.attrs=S,D.componentStyle=N,D.displayName=y,D.shouldForwardProp=w,D.foldedComponentIds=i?ie$2(a.foldedComponentIds,a.styledComponentId):"",D.styledComponentId=g,D.target=i?a.target:e,Object.defineProperty(D,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=i?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var o=0,r=t;o<r.length;o++)le$1(e,r[o],!0);return e}({},a.defaultProps,e):e;}}),ue$1(D,function(){return ".".concat(D.styledComponentId)}),c&&oe$2(D,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),D}function at$2(e,t){for(var n=[e[0]],o=0,r=t.length;o<r;o+=1)n.push(t[o],e[o+1]);return n}var ct$1=function(e){return Object.assign(e,{isCss:!0})};function lt$1(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];if(re$2(t)||ce$1(t))return ct$1(Xe(at$2(_$1,__spreadArray([t],n,!0))));var r=t;return 0===n.length&&1===r.length&&"string"==typeof r[0]?Xe(r):ct$1(Xe(at$2(r,n)))}function ut$1(n,o,r){if(void 0===r&&(r=C$1),!o)throw he$1(1,o);var s=function(t){for(var s=[],i=1;i<arguments.length;i++)s[i-1]=arguments[i];return n(o,r,lt$1.apply(void 0,__spreadArray([t],s,!1)))};return s.attrs=function(e){return ut$1(n,o,__assign(__assign({},r),{attrs:Array.prototype.concat(r.attrs,e).filter(Boolean)}))},s.withConfig=function(e){return ut$1(n,o,__assign(__assign({},r),e))},s}var pt$1=function(e){return ut$1(it$2,e)},dt$1=pt$1;A$1.forEach(function(e){dt$1[e]=pt$1(e);});var ht$1=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Ze(e),ke.registerId(this.componentId+1);}return e.prototype.createStyles=function(e,t,n,o){var r=o(ae$2(Xe(this.rules,t,n,o)),""),s=this.componentId+e;n.insertRules(s,s,r);},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e);},e.prototype.renderStyles=function(e,t,n,o){e>2&&ke.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,o);},e}();function ft$1(n){for(var r=[],s=1;s<arguments.length;s++)r[s-1]=arguments[s];var i=lt$1.apply(void 0,__spreadArray([n],r,!1)),a="sc-global-".concat($$1(JSON.stringify(i))),c=new ht$1(i,a);var l=function(e){var t=Ge(),n=React.useContext(et$2),r=React.useRef(t.styleSheet.allocateGSInstance(a)).current;return t.styleSheet.server&&u(r,e,t.styleSheet,n,t.stylis),React.useLayoutEffect(function(){if(!t.styleSheet.server)return u(r,e,t.styleSheet,n,t.stylis),function(){return c.removeStyles(r,t.styleSheet)}},[r,e,t.styleSheet,n,t.stylis]),null};function u(e,n,o,r,s){if(c.isStatic)c.renderStyles(e,b$1,o,s);else {var i=__assign(__assign({},n),{theme:I$1(n,r,l.defaultProps)});c.renderStyles(e,i,o,s);}}return React.memo(l)}function mt$1(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];var r=ae$2(lt$1.apply(void 0,__spreadArray([t],n,!1))),s=$$1(r);return new We(s,r)}
|
|
15999
|
+
var f="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",m="active",y$1="data-styled-version",v$1="6.1.12",g$1="/*!sc*/\n",S$1="undefined"!=typeof window&&"HTMLElement"in window,w$1=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY?"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY:"production"!=="production"),b$1={},_$1=Object.freeze([]),C$1=Object.freeze({});function I$1(e,t,n){return void 0===n&&(n=C$1),e.theme!==n.theme&&e.theme||t||n.theme}var A$1=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),O$1=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,D$1=/(^-|-$)/g;function R$1(e){return e.replace(O$1,"-").replace(D$1,"")}var T$1=/(a)(d)/gi,k$1=52,j$1=function(e){return String.fromCharCode(e+(e>25?39:97))};function x$1(e){var t,n="";for(t=Math.abs(e);t>k$1;t=t/k$1|0)n=j$1(t%k$1)+n;return (j$1(t%k$1)+n).replace(T$1,"$1-$2")}var V$1,F$1=5381,M$1=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},z$1=function(e){return M$1(F$1,e)};function $$1(e){return x$1(z$1(e)>>>0)}function B$1(e){return e.displayName||e.name||"Component"}function L$1(e){return "string"==typeof e&&("production"==="production")}var G$1="function"==typeof Symbol&&Symbol.for,Y$2=G$1?Symbol.for("react.memo"):60115,W$1=G$1?Symbol.for("react.forward_ref"):60112,q$1={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},H$1={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},U$1={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},J$2=((V$1={})[W$1]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},V$1[Y$2]=U$1,V$1);function X$1(e){return ("type"in(t=e)&&t.type.$$typeof)===Y$2?U$1:"$$typeof"in e?J$2[e.$$typeof]:q$1;var t;}var Z$2=Object.defineProperty,K$2=Object.getOwnPropertyNames,Q$1=Object.getOwnPropertySymbols,ee$2=Object.getOwnPropertyDescriptor,te$2=Object.getPrototypeOf,ne$2=Object.prototype;function oe$2(e,t,n){if("string"!=typeof t){if(ne$2){var o=te$2(t);o&&o!==ne$2&&oe$2(e,o,n);}var r=K$2(t);Q$1&&(r=r.concat(Q$1(t)));for(var s=X$1(e),i=X$1(t),a=0;a<r.length;++a){var c=r[a];if(!(c in H$1||n&&n[c]||i&&c in i||s&&c in s)){var l=ee$2(t,c);try{Z$2(e,c,l);}catch(e){}}}}return e}function re$2(e){return "function"==typeof e}function se$1(e){return "object"==typeof e&&"styledComponentId"in e}function ie$2(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function ae$2(e,t){if(0===e.length)return "";for(var n=e[0],o=1;o<e.length;o++)n+=t?t+e[o]:e[o];return n}function ce$2(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function le$1(e,t,n){if(void 0===n&&(n=!1),!n&&!ce$2(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var o=0;o<t.length;o++)e[o]=le$1(e[o],t[o]);else if(ce$2(t))for(var o in t)e[o]=le$1(e[o],t[o]);return e}function ue$1(e,t){Object.defineProperty(e,"toString",{value:t});}function he$1(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(t," for more information.").concat(n.length>0?" Args: ".concat(n.join(", ")):""))}var fe$1=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e;}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,r=o;e>=r;)if((r<<=1)<0)throw he$1(16,"".concat(e));this.groupSizes=new Uint32Array(r),this.groupSizes.set(n),this.length=r;for(var s=o;s<r;s++)this.groupSizes[s]=0;}for(var i=this.indexOfGroup(e+1),a=(s=0,t.length);s<a;s++)this.tag.insertRule(i,t[s])&&(this.groupSizes[e]++,i++);},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),o=n+t;this.groupSizes[e]=0;for(var r=n;r<o;r++)this.tag.deleteRule(n);}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],o=this.indexOfGroup(e),r=o+n,s=o;s<r;s++)t+="".concat(this.tag.getRule(s)).concat(g$1);return t},e}(),ye=new Map,ve=new Map,ge$1=1,Se=function(e){if(ye.has(e))return ye.get(e);for(;ve.has(ge$1);)ge$1++;var t=ge$1++;return ye.set(e,t),ve.set(t,e),t},we=function(e,t){ge$1=t+1,ye.set(e,t),ve.set(t,e);},be="style[".concat(f,"][").concat(y$1,'="').concat(v$1,'"]'),Ee=new RegExp("^".concat(f,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Ne=function(e,t,n){for(var o,r=n.split(","),s=0,i=r.length;s<i;s++)(o=r[s])&&e.registerName(t,o);},Pe=function(e,t){for(var n,o=(null!==(n=t.textContent)&&void 0!==n?n:"").split(g$1),r=[],s=0,i=o.length;s<i;s++){var a=o[s].trim();if(a){var c=a.match(Ee);if(c){var l=0|parseInt(c[1],10),u=c[2];0!==l&&(we(u,l),Ne(e,u,c[3]),e.getTag().insertRules(l,r)),r.length=0;}else r.push(a);}}},_e=function(e){for(var t=document.querySelectorAll(be),n=0,o=t.length;n<o;n++){var r=t[n];r&&r.getAttribute(f)!==m&&(Pe(e,r),r.parentNode&&r.parentNode.removeChild(r));}};function Ce(){return "undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null}var Ie=function(e){var t=document.head,n=e||t,o=document.createElement("style"),r=function(e){var t=Array.from(e.querySelectorAll("style[".concat(f,"]")));return t[t.length-1]}(n),s=void 0!==r?r.nextSibling:null;o.setAttribute(f,m),o.setAttribute(y$1,v$1);var i=Ce();return i&&o.setAttribute("nonce",i),n.insertBefore(o,s),o},Ae=function(){function e(e){this.element=Ie(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,o=t.length;n<o;n++){var r=t[n];if(r.ownerNode===e)return r}throw he$1(17)}(this.element),this.length=0;}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return !1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--;},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),Oe=function(){function e(e){this.element=Ie(e),this.nodes=this.element.childNodes,this.length=0;}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return !1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--;},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),De=function(){function e(e){this.rules=[],this.length=0;}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--;},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),Re=S$1,Te={isServer:!S$1,useCSSOMInjection:!w$1},ke=function(){function e(e,n,o){void 0===e&&(e=C$1),void 0===n&&(n={});var r=this;this.options=__assign(__assign({},Te),e),this.gs=n,this.names=new Map(o),this.server=!!e.isServer,!this.server&&S$1&&Re&&(Re=!1,_e(this)),ue$1(this,function(){return function(e){for(var t=e.getTag(),n=t.length,o="",r=function(n){var r=function(e){return ve.get(e)}(n);if(void 0===r)return "continue";var s=e.names.get(r),i=t.getGroup(n);if(void 0===s||!s.size||0===i.length)return "continue";var a="".concat(f,".g").concat(n,'[id="').concat(r,'"]'),c="";void 0!==s&&s.forEach(function(e){e.length>0&&(c+="".concat(e,","));}),o+="".concat(i).concat(a,'{content:"').concat(c,'"}').concat(g$1);},s=0;s<n;s++)r(s);return o}(r)});}return e.registerId=function(e){return Se(e)},e.prototype.rehydrate=function(){!this.server&&S$1&&_e(this);},e.prototype.reconstructWithOptions=function(n,o){return void 0===o&&(o=!0),new e(__assign(__assign({},this.options),n),this.gs,o&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new De(n):t?new Ae(n):new Oe(n)}(this.options),new fe$1(e)));var e;},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(Se(e),this.names.has(e))this.names.get(e).add(t);else {var n=new Set;n.add(t),this.names.set(e,n);}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(Se(e),n);},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear();},e.prototype.clearRules=function(e){this.getTag().clearGroup(Se(e)),this.clearNames(e);},e.prototype.clearTag=function(){this.tag=void 0;},e}(),je=/&/g,xe=/^\s*\/\/.*$/gm;function Ve(e,t){return e.map(function(e){return "rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map(function(e){return "".concat(t," ").concat(e)})),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=Ve(e.children,t)),e})}function Fe(e){var t,n,o,r=void 0===e?C$1:e,s=r.options,i=void 0===s?C$1:s,a=r.plugins,c=void 0===a?_$1:a,l=function(e,o,r){return r.startsWith(n)&&r.endsWith(n)&&r.replaceAll(n,"").length>0?".".concat(t):e},u=c.slice();u.push(function(e){e.type===RULESET&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(je,n).replace(o,l));}),i.prefix&&u.push(prefixer),u.push(stringify);var p=function(e,r,s,a){void 0===r&&(r=""),void 0===s&&(s=""),void 0===a&&(a="&"),t=a,n=r,o=new RegExp("\\".concat(n,"\\b"),"g");var c=e.replace(xe,""),l=compile(s||r?"".concat(s," ").concat(r," { ").concat(c," }"):c);i.namespace&&(l=Ve(l,i.namespace));var p=[];return serialize(l,middleware(u.concat(rulesheet(function(e){return p.push(e)})))),p};return p.hash=c.length?c.reduce(function(e,t){return t.name||he$1(15),M$1(e,t.name)},F$1).toString():"",p}var Me=new ke,ze=Fe(),$e=React.createContext({shouldForwardProp:void 0,styleSheet:Me,stylis:ze});$e.Consumer;React.createContext(void 0);function Ge(){return reactExports.useContext($e)}var We=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=ze);var o=n.name+t.hash;e.hasNameForId(n.id,o)||e.insertRules(n.id,o,t(n.rules,o,"@keyframes"));},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,ue$1(this,function(){throw he$1(12,String(n.name))});}return e.prototype.getName=function(e){return void 0===e&&(e=ze),this.name+e.hash},e}(),qe=function(e){return e>="A"&&e<="Z"};function He(e){for(var t="",n=0;n<e.length;n++){var o=e[n];if(1===n&&"-"===o&&"-"===e[0])return e;qe(o)?t+="-"+o.toLowerCase():t+=o;}return t.startsWith("ms-")?"-"+t:t}var Ue=function(e){return null==e||!1===e||""===e},Je=function(t){var n,o,r=[];for(var s in t){var i=t[s];t.hasOwnProperty(s)&&!Ue(i)&&(Array.isArray(i)&&i.isCss||re$2(i)?r.push("".concat(He(s),":"),i,";"):ce$2(i)?r.push.apply(r,__spreadArray(__spreadArray(["".concat(s," {")],Je(i),!1),["}"],!1)):r.push("".concat(He(s),": ").concat((n=s,null==(o=i)||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||n in unitlessKeys||n.startsWith("--")?String(o).trim():"".concat(o,"px")),";")));}return r};function Xe(e,t,n,o){if(Ue(e))return [];if(se$1(e))return [".".concat(e.styledComponentId)];if(re$2(e)){if(!re$2(s=e)||s.prototype&&s.prototype.isReactComponent||!t)return [e];var r=e(t);return Xe(r,t,n,o)}var s;return e instanceof We?n?(e.inject(n,o),[e.getName(o)]):[e]:ce$2(e)?Je(e):Array.isArray(e)?Array.prototype.concat.apply(_$1,e.map(function(e){return Xe(e,t,n,o)})):[e.toString()]}function Ze(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(re$2(n)&&!se$1(n))return !1}return !0}var Ke=z$1(v$1),Qe=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&Ze(e),this.componentId=t,this.baseHash=M$1(Ke,t),this.baseStyle=n,ke.registerId(t);}return e.prototype.generateAndInjectStyles=function(e,t,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))o=ie$2(o,this.staticRulesId);else {var r=ae$2(Xe(this.rules,e,t,n)),s=x$1(M$1(this.baseHash,r)>>>0);if(!t.hasNameForId(this.componentId,s)){var i=n(r,".".concat(s),void 0,this.componentId);t.insertRules(this.componentId,s,i);}o=ie$2(o,s),this.staticRulesId=s;}else {for(var a=M$1(this.baseHash,n.hash),c="",l=0;l<this.rules.length;l++){var u=this.rules[l];if("string"==typeof u)c+=u;else if(u){var p=ae$2(Xe(u,e,t,n));a=M$1(a,p+l),c+=p;}}if(c){var d=x$1(a>>>0);t.hasNameForId(this.componentId,d)||t.insertRules(this.componentId,d,n(c,".".concat(d),void 0,this.componentId)),o=ie$2(o,d);}}return o},e}(),et$2=React.createContext(void 0);et$2.Consumer;function nt$2(){var e=reactExports.useContext(et$2);if(!e)throw he$1(18);return e}function ot$2(e){var n=React.useContext(et$2),r=reactExports.useMemo(function(){return function(e,n){if(!e)throw he$1(14);if(re$2(e)){var o=e(n);return o}if(Array.isArray(e)||"object"!=typeof e)throw he$1(8);return n?__assign(__assign({},n),e):e}(e.theme,n)},[e.theme,n]);return e.children?React.createElement(et$2.Provider,{value:r},e.children):null}var rt$2={},st$1=new Set;function it$2(e,r,s){var i=se$1(e),a=e,c=!L$1(e),p=r.attrs,d=void 0===p?_$1:p,h=r.componentId,f=void 0===h?function(e,t){var n="string"!=typeof e?"sc":R$1(e);rt$2[n]=(rt$2[n]||0)+1;var o="".concat(n,"-").concat($$1(v$1+n+rt$2[n]));return t?"".concat(t,"-").concat(o):o}(r.displayName,r.parentComponentId):h,m=r.displayName,y=void 0===m?function(e){return L$1(e)?"styled.".concat(e):"Styled(".concat(B$1(e),")")}(e):m,g=r.displayName&&r.componentId?"".concat(R$1(r.displayName),"-").concat(r.componentId):r.componentId||f,S=i&&a.attrs?a.attrs.concat(d).filter(Boolean):d,w=r.shouldForwardProp;if(i&&a.shouldForwardProp){var b=a.shouldForwardProp;if(r.shouldForwardProp){var E=r.shouldForwardProp;w=function(e,t){return b(e,t)&&E(e,t)};}else w=b;}var N=new Qe(s,g,i?a.componentStyle:void 0);function O(e,r){return function(e,r,s){var i=e.attrs,a=e.componentStyle,c=e.defaultProps,p=e.foldedComponentIds,d=e.styledComponentId,h=e.target,f=React.useContext(et$2),m=Ge(),y=e.shouldForwardProp||m.shouldForwardProp;var v=I$1(r,f,c)||C$1,g=function(e,n,o){for(var r,s=__assign(__assign({},n),{className:void 0,theme:o}),i=0;i<e.length;i+=1){var a=re$2(r=e[i])?r(s):r;for(var c in a)s[c]="className"===c?ie$2(s[c],a[c]):"style"===c?__assign(__assign({},s[c]),a[c]):a[c];}return n.className&&(s.className=ie$2(s.className,n.className)),s}(i,r,v),S=g.as||h,w={};for(var b in g)void 0===g[b]||"$"===b[0]||"as"===b||"theme"===b&&g.theme===v||("forwardedAs"===b?w.as=g.forwardedAs:y&&!y(b,S)||(w[b]=g[b],y||"development"!=="production"||isPropValid(b)||st$1.has(b)||!A$1.has(S)||(st$1.add(b),console.warn('styled-components: it looks like an unknown prop "'.concat(b,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var E=function(e,t){var n=Ge(),o=e.generateAndInjectStyles(t,n.styleSheet,n.stylis);return o}(a,g);var N=ie$2(p,d);return E&&(N+=" "+E),g.className&&(N+=" "+g.className),w[L$1(S)&&!A$1.has(S)?"class":"className"]=N,w.ref=s,reactExports.createElement(S,w)}(D,e,r)}O.displayName=y;var D=React.forwardRef(O);return D.attrs=S,D.componentStyle=N,D.displayName=y,D.shouldForwardProp=w,D.foldedComponentIds=i?ie$2(a.foldedComponentIds,a.styledComponentId):"",D.styledComponentId=g,D.target=i?a.target:e,Object.defineProperty(D,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=i?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var o=0,r=t;o<r.length;o++)le$1(e,r[o],!0);return e}({},a.defaultProps,e):e;}}),ue$1(D,function(){return ".".concat(D.styledComponentId)}),c&&oe$2(D,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),D}function at$2(e,t){for(var n=[e[0]],o=0,r=t.length;o<r;o+=1)n.push(t[o],e[o+1]);return n}var ct$2=function(e){return Object.assign(e,{isCss:!0})};function lt$1(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];if(re$2(t)||ce$2(t))return ct$2(Xe(at$2(_$1,__spreadArray([t],n,!0))));var r=t;return 0===n.length&&1===r.length&&"string"==typeof r[0]?Xe(r):ct$2(Xe(at$2(r,n)))}function ut$1(n,o,r){if(void 0===r&&(r=C$1),!o)throw he$1(1,o);var s=function(t){for(var s=[],i=1;i<arguments.length;i++)s[i-1]=arguments[i];return n(o,r,lt$1.apply(void 0,__spreadArray([t],s,!1)))};return s.attrs=function(e){return ut$1(n,o,__assign(__assign({},r),{attrs:Array.prototype.concat(r.attrs,e).filter(Boolean)}))},s.withConfig=function(e){return ut$1(n,o,__assign(__assign({},r),e))},s}var pt$1=function(e){return ut$1(it$2,e)},dt$1=pt$1;A$1.forEach(function(e){dt$1[e]=pt$1(e);});var ht$1=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Ze(e),ke.registerId(this.componentId+1);}return e.prototype.createStyles=function(e,t,n,o){var r=o(ae$2(Xe(this.rules,t,n,o)),""),s=this.componentId+e;n.insertRules(s,s,r);},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e);},e.prototype.renderStyles=function(e,t,n,o){e>2&&ke.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,o);},e}();function ft$1(n){for(var r=[],s=1;s<arguments.length;s++)r[s-1]=arguments[s];var i=lt$1.apply(void 0,__spreadArray([n],r,!1)),a="sc-global-".concat($$1(JSON.stringify(i))),c=new ht$1(i,a);var l=function(e){var t=Ge(),n=React.useContext(et$2),r=React.useRef(t.styleSheet.allocateGSInstance(a)).current;return t.styleSheet.server&&u(r,e,t.styleSheet,n,t.stylis),React.useLayoutEffect(function(){if(!t.styleSheet.server)return u(r,e,t.styleSheet,n,t.stylis),function(){return c.removeStyles(r,t.styleSheet)}},[r,e,t.styleSheet,n,t.stylis]),null};function u(e,n,o,r,s){if(c.isStatic)c.renderStyles(e,b$1,o,s);else {var i=__assign(__assign({},n),{theme:I$1(n,r,l.defaultProps)});c.renderStyles(e,i,o,s);}}return React.memo(l)}function mt$1(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];var r=ae$2(lt$1.apply(void 0,__spreadArray([t],n,!1))),s=$$1(r);return new We(s,r)}
|
|
16000
16000
|
|
|
16001
16001
|
var reactDom = {exports: {}};
|
|
16002
16002
|
|
|
@@ -18478,8 +18478,8 @@
|
|
|
18478
18478
|
};
|
|
18479
18479
|
}
|
|
18480
18480
|
function r3$1() {
|
|
18481
|
-
if (sN
|
|
18482
|
-
sN
|
|
18481
|
+
if (sN) return sM;
|
|
18482
|
+
sN = 1;
|
|
18483
18483
|
var e = rE$1(), t = rI$1(), r = oI$1 ? oB$1 : (oI$1 = 1, oB$1 = (oA$1 ? oE$1 : (oA$1 = 1, oE$1 = function(e) {
|
|
18484
18484
|
return function(t, r, n) {
|
|
18485
18485
|
for(var i = -1, a = Object(t), o = n(t), s = o.length; s--;){
|
|
@@ -18528,7 +18528,7 @@
|
|
|
18528
18528
|
};
|
|
18529
18529
|
}
|
|
18530
18530
|
function r5$1() {
|
|
18531
|
-
return sD ? sL
|
|
18531
|
+
return sD ? sL : (sD = 1, sL = function(e) {
|
|
18532
18532
|
return e;
|
|
18533
18533
|
});
|
|
18534
18534
|
}
|
|
@@ -18551,8 +18551,8 @@
|
|
|
18551
18551
|
if (sX$1) return sZ$1;
|
|
18552
18552
|
sX$1 = 1;
|
|
18553
18553
|
var e = r5$1(), t = function() {
|
|
18554
|
-
if (sV
|
|
18555
|
-
sV
|
|
18554
|
+
if (sV) return sj;
|
|
18555
|
+
sV = 1;
|
|
18556
18556
|
var e = r6$1(), t = Math.max;
|
|
18557
18557
|
return sj = function(r, n, i) {
|
|
18558
18558
|
return n = t(void 0 === n ? r.length - 1 : n, 0), function() {
|
|
@@ -18563,17 +18563,17 @@
|
|
|
18563
18563
|
};
|
|
18564
18564
|
};
|
|
18565
18565
|
}(), r = function() {
|
|
18566
|
-
if (sW
|
|
18567
|
-
sW
|
|
18566
|
+
if (sW) return sQ$1;
|
|
18567
|
+
sW = 1;
|
|
18568
18568
|
var e = function() {
|
|
18569
|
-
if (sK$1) return sz
|
|
18569
|
+
if (sK$1) return sz;
|
|
18570
18570
|
sK$1 = 1;
|
|
18571
|
-
var e = sq$1 ? sF
|
|
18571
|
+
var e = sq$1 ? sF : (sq$1 = 1, sF = function(e) {
|
|
18572
18572
|
return function() {
|
|
18573
18573
|
return e;
|
|
18574
18574
|
};
|
|
18575
18575
|
}), t = rA$1(), r = r5$1();
|
|
18576
|
-
return sz
|
|
18576
|
+
return sz = t ? function(r, n) {
|
|
18577
18577
|
return t(r, "toString", {
|
|
18578
18578
|
configurable: !0,
|
|
18579
18579
|
enumerable: !1,
|
|
@@ -30664,11 +30664,11 @@
|
|
|
30664
30664
|
}(n);
|
|
30665
30665
|
}
|
|
30666
30666
|
function nm$1() {
|
|
30667
|
-
if (cr) return ct;
|
|
30668
|
-
cr = 1;
|
|
30667
|
+
if (cr$1) return ct$1;
|
|
30668
|
+
cr$1 = 1;
|
|
30669
30669
|
var e = r2$1(), t = function() {
|
|
30670
|
-
if (ce) return s7$1;
|
|
30671
|
-
ce = 1;
|
|
30670
|
+
if (ce$1) return s7$1;
|
|
30671
|
+
ce$1 = 1;
|
|
30672
30672
|
var e = rU$1(), t = s9$1 ? s8$1 : (s9$1 = 1, s8$1 = rD$1()(Object.keys, Object)), r = Object.prototype.hasOwnProperty;
|
|
30673
30673
|
return s7$1 = function(n) {
|
|
30674
30674
|
if (!e(n)) return t(n);
|
|
@@ -30677,7 +30677,7 @@
|
|
|
30677
30677
|
return i;
|
|
30678
30678
|
};
|
|
30679
30679
|
}(), r = rK$1();
|
|
30680
|
-
return ct = function(n) {
|
|
30680
|
+
return ct$1 = function(n) {
|
|
30681
30681
|
return r(n) ? e(n) : t(n);
|
|
30682
30682
|
};
|
|
30683
30683
|
}
|
|
@@ -30781,19 +30781,19 @@
|
|
|
30781
30781
|
var e = function() {
|
|
30782
30782
|
if (c2) return c1;
|
|
30783
30783
|
c2 = 1;
|
|
30784
|
-
var e = rE$1(), t = s6 ? s5$1 : (s6 = 1, s5$1 = function(e, t) {
|
|
30784
|
+
var e = rE$1(), t = s6$1 ? s5$1 : (s6$1 = 1, s5$1 = function(e, t) {
|
|
30785
30785
|
for(var r = -1, n = null == e ? 0 : e.length; ++r < n && !1 !== t(e[r], r, e););
|
|
30786
30786
|
return e;
|
|
30787
30787
|
}), r = rJ$1(), n = function() {
|
|
30788
|
-
if (ci) return cn;
|
|
30788
|
+
if (ci) return cn$1;
|
|
30789
30789
|
ci = 1;
|
|
30790
30790
|
var e = r0$1(), t = nm$1();
|
|
30791
|
-
return cn = function(r, n) {
|
|
30791
|
+
return cn$1 = function(r, n) {
|
|
30792
30792
|
return r && e(n, t(n), r);
|
|
30793
30793
|
};
|
|
30794
30794
|
}(), i = function() {
|
|
30795
|
-
if (co) return ca;
|
|
30796
|
-
co = 1;
|
|
30795
|
+
if (co$1) return ca;
|
|
30796
|
+
co$1 = 1;
|
|
30797
30797
|
var e = r0$1(), t = r4$1();
|
|
30798
30798
|
return ca = function(r, n) {
|
|
30799
30799
|
return r && e(n, t(n), r);
|
|
@@ -33783,7 +33783,7 @@
|
|
|
33783
33783
|
}, nS$1;
|
|
33784
33784
|
}();
|
|
33785
33785
|
function nB$1() {
|
|
33786
|
-
return "5.34.
|
|
33786
|
+
return "5.34.3";
|
|
33787
33787
|
}
|
|
33788
33788
|
function nI$1() {
|
|
33789
33789
|
return {
|
|
@@ -37228,7 +37228,7 @@
|
|
|
37228
37228
|
}
|
|
37229
37229
|
return 1 === n && (r += i2(i << 2)), r;
|
|
37230
37230
|
}
|
|
37231
|
-
var i3, i5, i6$1, i8$1, i9$1, i7$1, ae$1, at$1, ar$1, an$1, ai$1, aa$1, ao$1, as$1, ac$1, al$1, au$1, ad$1, af, ah, ap, am$1, ag$1, ay$1, ab$1, av$1, a_$1, ax$1, aC$1, aw$1, aS$1, ak$1, aE$1, aA$1, aB$1, aI$1, aT$1, aP$1, aR$1, aM$1, aN$1, aL$1, aD$1, aO$1, aU$1, aj$1, aV$1, aF$1, aq, az$1, aK, aH, aG, aQ, aW$1, aZ$1, aX, a$$1, aY, aJ, a0, a1, a2, a4, a3, a5, a6$1, a8, a9, a7, oe$1, ot$1, or$1, on$1, oi$1, oa$1, oo$1, os$1, oc$1, ol$1, ou$1, od$1, of$1, oh$1, op$1, om$1, og$1, oy$1, ob$1, ov$1, o_$1, ox$1, oC$1, ow$1, oS$1, ok$1, oE$1, oA$1, oB$1, oI$1, oT$1, oP$1, oR$1, oM$1, oN$1, oL$1, oD$1, oO$1, oU, oj$1, oV$1, oF$1, oq$1, oz$1, oK$1, oH$1, oG$1, oQ$1, oW$1, oZ$1, oX$1, o$$1, oY$1, oJ$1, o0$1, o1$1, o2$1, o4$1, o3$1, o5$1, o6$1, o8$1, o9$1, o7$1, se, st, sr$1, sn, si, sa, so$1, ss, sc, sl, su, sd$1, sf, sh, sp, sm, sg, sy, sb, sv, s_, sx, sC, sw, sS, sk, sE, sA, sB, sI, sT, sP, sR, sM, sN
|
|
37231
|
+
var i3, i5, i6$1, i8$1, i9$1, i7$1, ae$1, at$1, ar$1, an$1, ai$1, aa$1, ao$1, as$1, ac$1, al$1, au$1, ad$1, af, ah, ap, am$1, ag$1, ay$1, ab$1, av$1, a_$1, ax$1, aC$1, aw$1, aS$1, ak$1, aE$1, aA$1, aB$1, aI$1, aT$1, aP$1, aR$1, aM$1, aN$1, aL$1, aD$1, aO$1, aU$1, aj$1, aV$1, aF$1, aq, az$1, aK, aH, aG, aQ, aW$1, aZ$1, aX, a$$1, aY, aJ, a0, a1, a2, a4, a3, a5, a6$1, a8, a9, a7, oe$1, ot$1, or$1, on$1, oi$1, oa$1, oo$1, os$1, oc$1, ol$1, ou$1, od$1, of$1, oh$1, op$1, om$1, og$1, oy$1, ob$1, ov$1, o_$1, ox$1, oC$1, ow$1, oS$1, ok$1, oE$1, oA$1, oB$1, oI$1, oT$1, oP$1, oR$1, oM$1, oN$1, oL$1, oD$1, oO$1, oU, oj$1, oV$1, oF$1, oq$1, oz$1, oK$1, oH$1, oG$1, oQ$1, oW$1, oZ$1, oX$1, o$$1, oY$1, oJ$1, o0$1, o1$1, o2$1, o4$1, o3$1, o5$1, o6$1, o8$1, o9$1, o7$1, se, st, sr$1, sn, si, sa, so$1, ss, sc, sl, su, sd$1, sf, sh, sp, sm, sg, sy, sb, sv, s_, sx, sC, sw, sS, sk, sE, sA, sB, sI, sT, sP, sR, sM, sN, sL, sD, sO, sU$1, sj, sV, sF, sq$1, sz, sK$1, sH$1, sG$1, sQ$1, sW, sZ$1, sX$1, s$, sY$1, sJ$1, s0$1, s1$1, s2$1, s4$1, s3$1, s5$1, s6$1, s8$1, s9$1, s7$1, ce$1, ct$1, cr$1, cn$1, ci, ca, co$1, cs, cc, cl, cu, cd, cf, ch, cp, cm, cg, cy, cb, cv, c_, cx, cC, cw, cS, ck, cE, cA, cB, cI, cT, cP, cR, cM, cN, cL, cD, cO, cU, cj, cV, cF, cq, cz, cK, cH, cG, cQ, cW, cZ, cX, c$, cY, cJ, c0, c1, c2, c4, c3, c5, c6, c8, c9, c7, le, lt, lr, ln, li, la, lo, ls, lc, ll, lu, ld, lf, lh, lp, lm, lg, ly, lb, lv, l_, lx, lC, lw, lS, lk, lE, lA, lB, lI, lT, lP, lR, lM, lN, lL, lD, lO, lU, lj, lV, lF, lq, lz, lK, lH, lG, lQ, lW, lZ, lX, l$, lY, lJ, l0, l1, l2, l4, l3, l5, l6, l8, l9, l7, ue, ut, ur, un, ui, ua, uo, us, uc, ul, uu, ud, uf, uh, up, um, ug, uy, ub, uv, u_, ux, uC, uw, uS, uk, uE, uA, uB, uI, uT, uP, uR, uM, uN, uL, uD, uO, uU, uj, uV, uF, uq, uz, uK, uH, uG = {}, uQ = {}, uW = {
|
|
37232
37232
|
exports: {}
|
|
37233
37233
|
}, uZ = function(e) {
|
|
37234
37234
|
if (Object.prototype.hasOwnProperty.call(e, "__esModule")) return e;
|
|
@@ -41259,55 +41259,54 @@
|
|
|
41259
41259
|
}, uz;
|
|
41260
41260
|
}(), uG);
|
|
41261
41261
|
}();
|
|
41262
|
-
|
|
41263
|
-
|
|
41264
|
-
|
|
41265
|
-
|
|
41262
|
+
let dm = dg;
|
|
41263
|
+
function dg(e, t) {
|
|
41264
|
+
let r = dy();
|
|
41265
|
+
return (dg = function(e, t) {
|
|
41266
|
+
return r[e -= 367];
|
|
41266
41267
|
})(e, t);
|
|
41267
41268
|
}
|
|
41268
|
-
|
|
41269
|
-
for(;;)try {
|
|
41270
|
-
if (parseInt(dy(148)) / 1 + -parseInt(dy(139)) / 2 * (parseInt(dy(145)) / 3) + parseInt(dy(142)) / 4 * (parseInt(dy(152)) / 5) + -parseInt(dy(151)) / 6 * (-parseInt(dy(135)) / 7) + parseInt(dy(153)) / 8 + parseInt(dy(143)) / 9 + parseInt(dy(140)) / 10 * (-parseInt(dy(146)) / 11) === 427361) break;
|
|
41271
|
-
db.push(db.shift());
|
|
41272
|
-
} catch (e) {
|
|
41273
|
-
db.push(db.shift());
|
|
41274
|
-
}
|
|
41275
|
-
let dv = "3059301306" + dg(155) + dg(158) + dg(149) + dg(141) + dg(138);
|
|
41276
|
-
function d_() {
|
|
41269
|
+
function dy() {
|
|
41277
41270
|
let e = [
|
|
41271
|
+
"44P0rKKsZK",
|
|
41272
|
+
"MfPrcYTM70",
|
|
41273
|
+
"KoZIzj0DAQ",
|
|
41274
|
+
"4507063dEvzaV",
|
|
41275
|
+
"072a8648ce",
|
|
41276
|
+
"223235rNcaea",
|
|
41278
41277
|
"DepBO8t60S",
|
|
41279
|
-
"+faHkP3QC3",
|
|
41280
|
-
"000",
|
|
41281
|
-
"31908xDrygd",
|
|
41282
|
-
"2930470GEgndS",
|
|
41283
|
-
"0301070342",
|
|
41284
|
-
"307984TfAgvv",
|
|
41285
|
-
"1093680AINEzz",
|
|
41286
|
-
"MFkwEwYHKo",
|
|
41287
|
-
"141ReoysE",
|
|
41288
|
-
"11VpLjnk",
|
|
41289
41278
|
"ZIzj0CAQYI",
|
|
41290
|
-
"
|
|
41291
|
-
"
|
|
41292
|
-
"ytJdcsPxrD",
|
|
41293
|
-
"7698TiAaFt",
|
|
41294
|
-
"20wWFtwC",
|
|
41295
|
-
"4767024oXzIYB",
|
|
41296
|
-
"ssRdXLZEX8",
|
|
41297
|
-
"072a8648ce",
|
|
41279
|
+
"52vAzYCl",
|
|
41280
|
+
"4102938twVDjD",
|
|
41298
41281
|
"Mjci1ul8mm",
|
|
41282
|
+
"2a8648ce3d",
|
|
41283
|
+
"000",
|
|
41284
|
+
"75825zTCCpR",
|
|
41299
41285
|
"D9EKOWS+U4",
|
|
41286
|
+
"9EzrkuM",
|
|
41287
|
+
"0301070342",
|
|
41288
|
+
"8QVfurr",
|
|
41300
41289
|
"3d02010608",
|
|
41301
|
-
"
|
|
41302
|
-
"44P0rKKsZK",
|
|
41290
|
+
"7975860ZUkdQz",
|
|
41303
41291
|
"cDQgAE9h6Z",
|
|
41304
|
-
"
|
|
41292
|
+
"66TBiIus",
|
|
41293
|
+
"ssRdXLZEX8",
|
|
41294
|
+
"ytJdcsPxrD",
|
|
41295
|
+
"937803kIgQTZ",
|
|
41296
|
+
"4563906dowYkq"
|
|
41305
41297
|
];
|
|
41306
|
-
return (
|
|
41298
|
+
return (dy = function() {
|
|
41307
41299
|
return e;
|
|
41308
41300
|
})();
|
|
41309
41301
|
}
|
|
41310
|
-
let
|
|
41302
|
+
let db = dg, dv = dy();
|
|
41303
|
+
for(;;)try {
|
|
41304
|
+
if (-parseInt(db(368)) / 1 + -parseInt(db(391)) / 2 * (-parseInt(db(383)) / 3) + -parseInt(db(378)) / 4 * (-parseInt(db(375)) / 5) + parseInt(db(369)) / 6 + -parseInt(db(379)) / 7 * (-parseInt(db(387)) / 8) + parseInt(db(385)) / 9 * (-parseInt(db(389)) / 10) + -parseInt(db(373)) / 11 === 616149) break;
|
|
41305
|
+
dv.push(dv.shift());
|
|
41306
|
+
} catch (e) {
|
|
41307
|
+
dv.push(dv.shift());
|
|
41308
|
+
}
|
|
41309
|
+
let d_ = "3059301306" + dm(374) + dm(388) + dm(381) + dm(386) + dm(382), dx = "MFkwEwYHKo" + dm(377) + dm(372) + dm(390) + dm(376) + dm(367) + "+faHkP3QC3" + dm(370) + dm(380) + dm(384) + dm(371) + dm(392) + "KA==";
|
|
41311
41310
|
async function dC(e) {
|
|
41312
41311
|
let t = new TextEncoder().encode(e);
|
|
41313
41312
|
return Array.from(new Uint8Array(await crypto.subtle.digest("SHA-256", t))).map((e)=>e.toString(16).padStart(2, "0")).join("");
|
|
@@ -41412,7 +41411,7 @@
|
|
|
41412
41411
|
isValid: !1,
|
|
41413
41412
|
error: i0$1.invalid_license
|
|
41414
41413
|
};
|
|
41415
|
-
let { mode: a, license: o, signature: s } = dS(e), c = dw(i4$1(o)), l = (r = t || dx, n = i4$1(r).replace(
|
|
41414
|
+
let { mode: a, license: o, signature: s } = dS(e), c = dw(i4$1(o)), l = (r = t || dx, n = i4$1(r).replace(d_, ""), i = new dp.ec("p256").keyFromPublic(n, "hex"), {
|
|
41416
41415
|
verifySignature: async (e, t)=>{
|
|
41417
41416
|
try {
|
|
41418
41417
|
let r = await dC(e), n = i4$1(t);
|
|
@@ -45326,7 +45325,7 @@
|
|
|
45326
45325
|
return this.getKey().getPublicKey();
|
|
45327
45326
|
}, e.prototype.getPublicKeyB64 = function() {
|
|
45328
45327
|
return this.getKey().getPublicBaseKeyB64();
|
|
45329
|
-
}, e.version = "5.34.
|
|
45328
|
+
}, e.version = "5.34.2", e;
|
|
45330
45329
|
}();
|
|
45331
45330
|
let hO = [
|
|
45332
45331
|
"-",
|
|
@@ -53109,7 +53108,7 @@
|
|
|
53109
53108
|
});
|
|
53110
53109
|
};
|
|
53111
53110
|
|
|
53112
|
-
var Z, K, Y, J, ee, et, er, eo, en$1, ei, ea, es, ec, el, ed, eu,
|
|
53111
|
+
var Z, K, Y, J, ee, et, er, eo, en$1, ei, ea, es, ec, el, ed, eu, ef, ep, eh, em, eg, eb, ev, ew, ek, ey, eC, eB, e_, ex, eP, eS, eE, eT, eD, e$, ej, eI, eO, eM, eA, eR, eL, eF, eN, ez, eV, eW, eU, eq, eQ, eX, eH, eG, eZ, eK, eY, eJ, e3, e2, e5, e0, e1, e8, e9, e4, e7, e6, te, tt, tr, to, tn, ti, ta, ts, tc, tl, td, tu, tf, tp, th, tm, tg, tb, tv, tw, tk, ty, tC, tB, t_, tx, tP, tS, tE, tT, tD, t$, tj, tI, tO, tM, tA, tR, tL, tF, tN, tz, tV, tW, tU, tq, tQ, tX, tH, tG, tZ, tK, tY, tJ, t3, t2, t5, t0, t1, t8, t9, t4, t7, t6, re, rt, rr, ro, rn, ri, ra, rs, rc, rl, rd, ru, rf, rp, rh, rm, rg, rb, rv, rw, rk, ry, rC, rB, r_, rx, rP, rS, rE, rT, rD, r$, rj, rI, rO, rM, rA, rR, rL, rF, rN, rz, rV, rW, rU, rq, rQ, rX, rH, rG, rZ, rK, rY, rJ, r3, r2, r5, r0, r1, r8, r9, r4, r7, r6, oe, ot, or, oo, on, oi, oa, os, oc, ol, od, ou, of, op, oh, om, og, ob, ov, ow, ok, oy, oC, oB, o_, ox, oP, oS, oE, oT, oD, o$, oj, oI, oO, oM, oA, oR, oL, oF, oN, oz, oV, oW, oq, oQ = "undefined" != typeof globalThis ? globalThis : "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof self ? self : {};
|
|
53113
53112
|
function oX(t) {
|
|
53114
53113
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
53115
53114
|
}
|
|
@@ -53188,7 +53187,7 @@
|
|
|
53188
53187
|
};
|
|
53189
53188
|
}
|
|
53190
53189
|
function o5() {
|
|
53191
|
-
return
|
|
53190
|
+
return ep ? ef : (ep = 1, ef = function(t) {
|
|
53192
53191
|
return null != t && "object" == typeof t;
|
|
53193
53192
|
});
|
|
53194
53193
|
}
|
|
@@ -53420,10 +53419,10 @@
|
|
|
53420
53419
|
return t(this, r).get(r);
|
|
53421
53420
|
};
|
|
53422
53421
|
}(), n = function() {
|
|
53423
|
-
if (
|
|
53424
|
-
|
|
53422
|
+
if (tp) return tf;
|
|
53423
|
+
tp = 1;
|
|
53425
53424
|
var t = nr();
|
|
53426
|
-
return
|
|
53425
|
+
return tf = function(r) {
|
|
53427
53426
|
return t(this, r).has(r);
|
|
53428
53427
|
};
|
|
53429
53428
|
}(), i = function() {
|
|
@@ -53566,16 +53565,16 @@
|
|
|
53566
53565
|
function nc(t, r) {
|
|
53567
53566
|
return t.replace(RegExp("(^|\\s)" + r + "(?:\\s|$)", "g"), "$1").replace(/\s+/g, " ").replace(/^\s*|\s*$/g, "");
|
|
53568
53567
|
}
|
|
53569
|
-
var nl = !1, nd = /*#__PURE__*/ React.createContext(null), nu = "unmounted",
|
|
53568
|
+
var nl = !1, nd = /*#__PURE__*/ React.createContext(null), nu = "unmounted", nf = "exited", np = "entering", nh = "entered", nm = "exiting", ng = function(r) {
|
|
53570
53569
|
function o(t, o) {
|
|
53571
53570
|
var n, i = r.call(this, t, o) || this, a = o && !o.isMounting ? t.enter : t.appear;
|
|
53572
|
-
return i.appearStatus = null, t.in ? a ? (n =
|
|
53571
|
+
return i.appearStatus = null, t.in ? a ? (n = nf, i.appearStatus = np) : n = nh : n = t.unmountOnExit || t.mountOnEnter ? nu : nf, i.state = {
|
|
53573
53572
|
status: n
|
|
53574
53573
|
}, i.nextCallback = null, i;
|
|
53575
53574
|
}
|
|
53576
53575
|
ns(o, r), o.getDerivedStateFromProps = function(t, r) {
|
|
53577
53576
|
return t.in && r.status === nu ? {
|
|
53578
|
-
status:
|
|
53577
|
+
status: nf
|
|
53579
53578
|
} : null;
|
|
53580
53579
|
};
|
|
53581
53580
|
var n = o.prototype;
|
|
@@ -53585,7 +53584,7 @@
|
|
|
53585
53584
|
var r = null;
|
|
53586
53585
|
if (t !== this.props) {
|
|
53587
53586
|
var o = this.state.status;
|
|
53588
|
-
this.props.in ? o !==
|
|
53587
|
+
this.props.in ? o !== np && o !== nh && (r = np) : (o === np || o === nh) && (r = nm);
|
|
53589
53588
|
}
|
|
53590
53589
|
this.updateStatus(!1, r);
|
|
53591
53590
|
}, n.componentWillUnmount = function() {
|
|
@@ -53598,7 +53597,7 @@
|
|
|
53598
53597
|
appear: o
|
|
53599
53598
|
};
|
|
53600
53599
|
}, n.updateStatus = function(t, r) {
|
|
53601
|
-
void 0 === t && (t = !1), null !== r ? (this.cancelNextCallback(), r ===
|
|
53600
|
+
void 0 === t && (t = !1), null !== r ? (this.cancelNextCallback(), r === np ? this.performEnter(t) : this.performExit()) : this.props.unmountOnExit && this.state.status === nf && this.setState({
|
|
53602
53601
|
status: nu
|
|
53603
53602
|
});
|
|
53604
53603
|
}, n.performEnter = function(t) {
|
|
@@ -53609,7 +53608,7 @@
|
|
|
53609
53608
|
n
|
|
53610
53609
|
], a = i[0], s = i[1], c = this.getTimeouts(), l = n ? c.appear : c.enter;
|
|
53611
53610
|
(t || o) && !nl ? (this.props.onEnter(a, s), this.safeSetState({
|
|
53612
|
-
status:
|
|
53611
|
+
status: np
|
|
53613
53612
|
}, function() {
|
|
53614
53613
|
r.props.onEntering(a, s), r.onTransitionEnd(l, function() {
|
|
53615
53614
|
r.safeSetState({
|
|
@@ -53626,7 +53625,7 @@
|
|
|
53626
53625
|
}, n.performExit = function() {
|
|
53627
53626
|
var t = this, r = this.props.exit, o = this.getTimeouts(), n = this.props.nodeRef ? void 0 : ReactDOM.findDOMNode(this);
|
|
53628
53627
|
!r || nl ? this.safeSetState({
|
|
53629
|
-
status:
|
|
53628
|
+
status: nf
|
|
53630
53629
|
}, function() {
|
|
53631
53630
|
t.props.onExited(n);
|
|
53632
53631
|
}) : (this.props.onExit(n), this.safeSetState({
|
|
@@ -53634,7 +53633,7 @@
|
|
|
53634
53633
|
}, function() {
|
|
53635
53634
|
t.props.onExiting(n), t.onTransitionEnd(o.exit, function() {
|
|
53636
53635
|
t.safeSetState({
|
|
53637
|
-
status:
|
|
53636
|
+
status: nf
|
|
53638
53637
|
}, function() {
|
|
53639
53638
|
t.props.onExited(n);
|
|
53640
53639
|
});
|
|
@@ -53707,7 +53706,7 @@
|
|
|
53707
53706
|
onExit: nb,
|
|
53708
53707
|
onExiting: nb,
|
|
53709
53708
|
onExited: nb
|
|
53710
|
-
}, ng.UNMOUNTED = nu, ng.EXITED =
|
|
53709
|
+
}, ng.UNMOUNTED = nu, ng.EXITED = nf, ng.ENTERING = np, ng.ENTERED = nh, ng.EXITING = nm;
|
|
53711
53710
|
var nv = function(t, r) {
|
|
53712
53711
|
return t && r && r.split(" ").forEach(function(r) {
|
|
53713
53712
|
var o, n;
|
|
@@ -53802,7 +53801,7 @@
|
|
|
53802
53801
|
return /*#__PURE__*/ React.cloneElement(o, {
|
|
53803
53802
|
in: !1,
|
|
53804
53803
|
onExited: nC(o, "onExited", function() {
|
|
53805
|
-
n(
|
|
53804
|
+
n(np, null);
|
|
53806
53805
|
})
|
|
53807
53806
|
});
|
|
53808
53807
|
}, tL[ny] = function(r) {
|
|
@@ -53812,7 +53811,7 @@
|
|
|
53812
53811
|
/*#__PURE__*/ React.cloneElement(i, {
|
|
53813
53812
|
in: !0,
|
|
53814
53813
|
onEntered: nC(i, "onEntered", function() {
|
|
53815
|
-
n(
|
|
53814
|
+
n(np);
|
|
53816
53815
|
})
|
|
53817
53816
|
})
|
|
53818
53817
|
];
|
|
@@ -53865,8 +53864,8 @@
|
|
|
53865
53864
|
if (null == r.children) return {
|
|
53866
53865
|
current: null
|
|
53867
53866
|
};
|
|
53868
|
-
if (o.status ===
|
|
53869
|
-
status:
|
|
53867
|
+
if (o.status === np && r.mode === ny) return {
|
|
53868
|
+
status: np
|
|
53870
53869
|
};
|
|
53871
53870
|
return o.current && (n = o.current, !(n === (i = r.children) || /*#__PURE__*/ React.isValidElement(n) && /*#__PURE__*/ React.isValidElement(i) && null != n.key && n.key === i.key) && 1) ? {
|
|
53872
53871
|
status: nm
|
|
@@ -53883,7 +53882,7 @@
|
|
|
53883
53882
|
status: s
|
|
53884
53883
|
};
|
|
53885
53884
|
switch(s){
|
|
53886
|
-
case
|
|
53885
|
+
case np:
|
|
53887
53886
|
r = n_[i](l);
|
|
53888
53887
|
break;
|
|
53889
53888
|
case nm:
|
|
@@ -53913,7 +53912,7 @@
|
|
|
53913
53912
|
var t, r;
|
|
53914
53913
|
if (tN) return nS.exports;
|
|
53915
53914
|
return tN = 1, t = nS, r = nS.exports, function(o, n) {
|
|
53916
|
-
var i = "function", a = "undefined", s = "object", c = "string", l = "major", d = "model", u = "name",
|
|
53915
|
+
var i = "function", a = "undefined", s = "object", c = "string", l = "major", d = "model", u = "name", f = "type", p = "vendor", h = "version", m = "architecture", g = "console", b = "mobile", v = "tablet", w = "smarttv", k = "wearable", y = "embedded", C = "Amazon", B = "Apple", _ = "ASUS", x = "BlackBerry", P = "Browser", S = "Chrome", E = "Firefox", T = "Google", D = "Huawei", $ = "Microsoft", j = "Motorola", I = "Opera", O = "Samsung", M = "Sharp", A = "Sony", R = "Xiaomi", L = "Zebra", F = "Facebook", N = "Chromium OS", z = "Mac OS", V = function(t, r) {
|
|
53917
53916
|
var o = {};
|
|
53918
53917
|
for(var n in t)r[n] && r[n].length % 2 == 0 ? o[n] = r[n].concat(t[n]) : o[n] = t[n];
|
|
53919
53918
|
return o;
|
|
@@ -53928,9 +53927,9 @@
|
|
|
53928
53927
|
if (typeof t === c) return t = t.replace(/^\s\s*/, ""), typeof r === a ? t : t.substring(0, 500);
|
|
53929
53928
|
}, X = function(t, r) {
|
|
53930
53929
|
for(var o, n, a, c, l, d, u = 0; u < r.length && !l;){
|
|
53931
|
-
var
|
|
53932
|
-
for(o = n = 0; o <
|
|
53933
|
-
if (l =
|
|
53930
|
+
var f = r[u], p = r[u + 1];
|
|
53931
|
+
for(o = n = 0; o < f.length && !l && f[o];){
|
|
53932
|
+
if (l = f[o++].exec(t)) for(a = 0; a < p.length; a++)d = l[++n], typeof (c = p[a]) === s && c.length > 0 ? 2 === c.length ? typeof c[1] == i ? this[c[0]] = c[1].call(this, d) : this[c[0]] = c[1] : 3 === c.length ? typeof c[1] !== i || c[1].exec && c[1].test ? this[c[0]] = d ? d.replace(c[1], c[2]) : void 0 : this[c[0]] = d ? c[1].call(this, d, c[2]) : void 0 : 4 === c.length && (this[c[0]] = d ? c[3].call(this, d.replace(c[1], c[2])) : void 0) : this[c] = d || void 0;
|
|
53934
53933
|
}
|
|
53935
53934
|
u += 2;
|
|
53936
53935
|
}
|
|
@@ -54514,11 +54513,11 @@
|
|
|
54514
54513
|
[
|
|
54515
54514
|
d,
|
|
54516
54515
|
[
|
|
54517
|
-
|
|
54516
|
+
p,
|
|
54518
54517
|
O
|
|
54519
54518
|
],
|
|
54520
54519
|
[
|
|
54521
|
-
|
|
54520
|
+
f,
|
|
54522
54521
|
v
|
|
54523
54522
|
]
|
|
54524
54523
|
],
|
|
@@ -54530,11 +54529,11 @@
|
|
|
54530
54529
|
[
|
|
54531
54530
|
d,
|
|
54532
54531
|
[
|
|
54533
|
-
|
|
54532
|
+
p,
|
|
54534
54533
|
O
|
|
54535
54534
|
],
|
|
54536
54535
|
[
|
|
54537
|
-
|
|
54536
|
+
f,
|
|
54538
54537
|
b
|
|
54539
54538
|
]
|
|
54540
54539
|
],
|
|
@@ -54544,11 +54543,11 @@
|
|
|
54544
54543
|
[
|
|
54545
54544
|
d,
|
|
54546
54545
|
[
|
|
54547
|
-
|
|
54546
|
+
p,
|
|
54548
54547
|
B
|
|
54549
54548
|
],
|
|
54550
54549
|
[
|
|
54551
|
-
|
|
54550
|
+
f,
|
|
54552
54551
|
b
|
|
54553
54552
|
]
|
|
54554
54553
|
],
|
|
@@ -54560,11 +54559,11 @@
|
|
|
54560
54559
|
[
|
|
54561
54560
|
d,
|
|
54562
54561
|
[
|
|
54563
|
-
|
|
54562
|
+
p,
|
|
54564
54563
|
B
|
|
54565
54564
|
],
|
|
54566
54565
|
[
|
|
54567
|
-
|
|
54566
|
+
f,
|
|
54568
54567
|
v
|
|
54569
54568
|
]
|
|
54570
54569
|
],
|
|
@@ -54574,7 +54573,7 @@
|
|
|
54574
54573
|
[
|
|
54575
54574
|
d,
|
|
54576
54575
|
[
|
|
54577
|
-
|
|
54576
|
+
p,
|
|
54578
54577
|
B
|
|
54579
54578
|
]
|
|
54580
54579
|
],
|
|
@@ -54584,11 +54583,11 @@
|
|
|
54584
54583
|
[
|
|
54585
54584
|
d,
|
|
54586
54585
|
[
|
|
54587
|
-
|
|
54586
|
+
p,
|
|
54588
54587
|
M
|
|
54589
54588
|
],
|
|
54590
54589
|
[
|
|
54591
|
-
|
|
54590
|
+
f,
|
|
54592
54591
|
b
|
|
54593
54592
|
]
|
|
54594
54593
|
],
|
|
@@ -54598,11 +54597,11 @@
|
|
|
54598
54597
|
[
|
|
54599
54598
|
d,
|
|
54600
54599
|
[
|
|
54601
|
-
|
|
54600
|
+
p,
|
|
54602
54601
|
D
|
|
54603
54602
|
],
|
|
54604
54603
|
[
|
|
54605
|
-
|
|
54604
|
+
f,
|
|
54606
54605
|
v
|
|
54607
54606
|
]
|
|
54608
54607
|
],
|
|
@@ -54613,11 +54612,11 @@
|
|
|
54613
54612
|
[
|
|
54614
54613
|
d,
|
|
54615
54614
|
[
|
|
54616
|
-
|
|
54615
|
+
p,
|
|
54617
54616
|
D
|
|
54618
54617
|
],
|
|
54619
54618
|
[
|
|
54620
|
-
|
|
54619
|
+
f,
|
|
54621
54620
|
b
|
|
54622
54621
|
]
|
|
54623
54622
|
],
|
|
@@ -54636,11 +54635,11 @@
|
|
|
54636
54635
|
" "
|
|
54637
54636
|
],
|
|
54638
54637
|
[
|
|
54639
|
-
|
|
54638
|
+
p,
|
|
54640
54639
|
R
|
|
54641
54640
|
],
|
|
54642
54641
|
[
|
|
54643
|
-
|
|
54642
|
+
f,
|
|
54644
54643
|
b
|
|
54645
54644
|
]
|
|
54646
54645
|
],
|
|
@@ -54655,11 +54654,11 @@
|
|
|
54655
54654
|
" "
|
|
54656
54655
|
],
|
|
54657
54656
|
[
|
|
54658
|
-
|
|
54657
|
+
p,
|
|
54659
54658
|
R
|
|
54660
54659
|
],
|
|
54661
54660
|
[
|
|
54662
|
-
|
|
54661
|
+
f,
|
|
54663
54662
|
v
|
|
54664
54663
|
]
|
|
54665
54664
|
],
|
|
@@ -54670,11 +54669,11 @@
|
|
|
54670
54669
|
[
|
|
54671
54670
|
d,
|
|
54672
54671
|
[
|
|
54673
|
-
|
|
54672
|
+
p,
|
|
54674
54673
|
"OPPO"
|
|
54675
54674
|
],
|
|
54676
54675
|
[
|
|
54677
|
-
|
|
54676
|
+
f,
|
|
54678
54677
|
b
|
|
54679
54678
|
]
|
|
54680
54679
|
],
|
|
@@ -54685,11 +54684,11 @@
|
|
|
54685
54684
|
[
|
|
54686
54685
|
d,
|
|
54687
54686
|
[
|
|
54688
|
-
|
|
54687
|
+
p,
|
|
54689
54688
|
"Vivo"
|
|
54690
54689
|
],
|
|
54691
54690
|
[
|
|
54692
|
-
|
|
54691
|
+
f,
|
|
54693
54692
|
b
|
|
54694
54693
|
]
|
|
54695
54694
|
],
|
|
@@ -54699,11 +54698,11 @@
|
|
|
54699
54698
|
[
|
|
54700
54699
|
d,
|
|
54701
54700
|
[
|
|
54702
|
-
|
|
54701
|
+
p,
|
|
54703
54702
|
"Realme"
|
|
54704
54703
|
],
|
|
54705
54704
|
[
|
|
54706
|
-
|
|
54705
|
+
f,
|
|
54707
54706
|
b
|
|
54708
54707
|
]
|
|
54709
54708
|
],
|
|
@@ -54715,11 +54714,11 @@
|
|
|
54715
54714
|
[
|
|
54716
54715
|
d,
|
|
54717
54716
|
[
|
|
54718
|
-
|
|
54717
|
+
p,
|
|
54719
54718
|
j
|
|
54720
54719
|
],
|
|
54721
54720
|
[
|
|
54722
|
-
|
|
54721
|
+
f,
|
|
54723
54722
|
b
|
|
54724
54723
|
]
|
|
54725
54724
|
],
|
|
@@ -54729,11 +54728,11 @@
|
|
|
54729
54728
|
[
|
|
54730
54729
|
d,
|
|
54731
54730
|
[
|
|
54732
|
-
|
|
54731
|
+
p,
|
|
54733
54732
|
j
|
|
54734
54733
|
],
|
|
54735
54734
|
[
|
|
54736
|
-
|
|
54735
|
+
f,
|
|
54737
54736
|
v
|
|
54738
54737
|
]
|
|
54739
54738
|
],
|
|
@@ -54743,11 +54742,11 @@
|
|
|
54743
54742
|
[
|
|
54744
54743
|
d,
|
|
54745
54744
|
[
|
|
54746
|
-
|
|
54745
|
+
p,
|
|
54747
54746
|
"LG"
|
|
54748
54747
|
],
|
|
54749
54748
|
[
|
|
54750
|
-
|
|
54749
|
+
f,
|
|
54751
54750
|
v
|
|
54752
54751
|
]
|
|
54753
54752
|
],
|
|
@@ -54759,11 +54758,11 @@
|
|
|
54759
54758
|
[
|
|
54760
54759
|
d,
|
|
54761
54760
|
[
|
|
54762
|
-
|
|
54761
|
+
p,
|
|
54763
54762
|
"LG"
|
|
54764
54763
|
],
|
|
54765
54764
|
[
|
|
54766
|
-
|
|
54765
|
+
f,
|
|
54767
54766
|
b
|
|
54768
54767
|
]
|
|
54769
54768
|
],
|
|
@@ -54774,11 +54773,11 @@
|
|
|
54774
54773
|
[
|
|
54775
54774
|
d,
|
|
54776
54775
|
[
|
|
54777
|
-
|
|
54776
|
+
p,
|
|
54778
54777
|
"Lenovo"
|
|
54779
54778
|
],
|
|
54780
54779
|
[
|
|
54781
|
-
|
|
54780
|
+
f,
|
|
54782
54781
|
v
|
|
54783
54782
|
]
|
|
54784
54783
|
],
|
|
@@ -54793,11 +54792,11 @@
|
|
|
54793
54792
|
" "
|
|
54794
54793
|
],
|
|
54795
54794
|
[
|
|
54796
|
-
|
|
54795
|
+
p,
|
|
54797
54796
|
"Nokia"
|
|
54798
54797
|
],
|
|
54799
54798
|
[
|
|
54800
|
-
|
|
54799
|
+
f,
|
|
54801
54800
|
b
|
|
54802
54801
|
]
|
|
54803
54802
|
],
|
|
@@ -54807,11 +54806,11 @@
|
|
|
54807
54806
|
[
|
|
54808
54807
|
d,
|
|
54809
54808
|
[
|
|
54810
|
-
|
|
54809
|
+
p,
|
|
54811
54810
|
T
|
|
54812
54811
|
],
|
|
54813
54812
|
[
|
|
54814
|
-
|
|
54813
|
+
f,
|
|
54815
54814
|
v
|
|
54816
54815
|
]
|
|
54817
54816
|
],
|
|
@@ -54821,11 +54820,11 @@
|
|
|
54821
54820
|
[
|
|
54822
54821
|
d,
|
|
54823
54822
|
[
|
|
54824
|
-
|
|
54823
|
+
p,
|
|
54825
54824
|
T
|
|
54826
54825
|
],
|
|
54827
54826
|
[
|
|
54828
|
-
|
|
54827
|
+
f,
|
|
54829
54828
|
b
|
|
54830
54829
|
]
|
|
54831
54830
|
],
|
|
@@ -54835,11 +54834,11 @@
|
|
|
54835
54834
|
[
|
|
54836
54835
|
d,
|
|
54837
54836
|
[
|
|
54838
|
-
|
|
54837
|
+
p,
|
|
54839
54838
|
A
|
|
54840
54839
|
],
|
|
54841
54840
|
[
|
|
54842
|
-
|
|
54841
|
+
f,
|
|
54843
54842
|
b
|
|
54844
54843
|
]
|
|
54845
54844
|
],
|
|
@@ -54853,11 +54852,11 @@
|
|
|
54853
54852
|
"Xperia Tablet"
|
|
54854
54853
|
],
|
|
54855
54854
|
[
|
|
54856
|
-
|
|
54855
|
+
p,
|
|
54857
54856
|
A
|
|
54858
54857
|
],
|
|
54859
54858
|
[
|
|
54860
|
-
|
|
54859
|
+
f,
|
|
54861
54860
|
v
|
|
54862
54861
|
]
|
|
54863
54862
|
],
|
|
@@ -54868,11 +54867,11 @@
|
|
|
54868
54867
|
[
|
|
54869
54868
|
d,
|
|
54870
54869
|
[
|
|
54871
|
-
|
|
54870
|
+
p,
|
|
54872
54871
|
"OnePlus"
|
|
54873
54872
|
],
|
|
54874
54873
|
[
|
|
54875
|
-
|
|
54874
|
+
f,
|
|
54876
54875
|
b
|
|
54877
54876
|
]
|
|
54878
54877
|
],
|
|
@@ -54884,11 +54883,11 @@
|
|
|
54884
54883
|
[
|
|
54885
54884
|
d,
|
|
54886
54885
|
[
|
|
54887
|
-
|
|
54886
|
+
p,
|
|
54888
54887
|
C
|
|
54889
54888
|
],
|
|
54890
54889
|
[
|
|
54891
|
-
|
|
54890
|
+
f,
|
|
54892
54891
|
v
|
|
54893
54892
|
]
|
|
54894
54893
|
],
|
|
@@ -54902,11 +54901,11 @@
|
|
|
54902
54901
|
"Fire Phone $1"
|
|
54903
54902
|
],
|
|
54904
54903
|
[
|
|
54905
|
-
|
|
54904
|
+
p,
|
|
54906
54905
|
C
|
|
54907
54906
|
],
|
|
54908
54907
|
[
|
|
54909
|
-
|
|
54908
|
+
f,
|
|
54910
54909
|
b
|
|
54911
54910
|
]
|
|
54912
54911
|
],
|
|
@@ -54915,9 +54914,9 @@
|
|
|
54915
54914
|
],
|
|
54916
54915
|
[
|
|
54917
54916
|
d,
|
|
54918
|
-
|
|
54917
|
+
p,
|
|
54919
54918
|
[
|
|
54920
|
-
|
|
54919
|
+
f,
|
|
54921
54920
|
v
|
|
54922
54921
|
]
|
|
54923
54922
|
],
|
|
@@ -54928,11 +54927,11 @@
|
|
|
54928
54927
|
[
|
|
54929
54928
|
d,
|
|
54930
54929
|
[
|
|
54931
|
-
|
|
54930
|
+
p,
|
|
54932
54931
|
x
|
|
54933
54932
|
],
|
|
54934
54933
|
[
|
|
54935
|
-
|
|
54934
|
+
f,
|
|
54936
54935
|
b
|
|
54937
54936
|
]
|
|
54938
54937
|
],
|
|
@@ -54942,11 +54941,11 @@
|
|
|
54942
54941
|
[
|
|
54943
54942
|
d,
|
|
54944
54943
|
[
|
|
54945
|
-
|
|
54944
|
+
p,
|
|
54946
54945
|
_
|
|
54947
54946
|
],
|
|
54948
54947
|
[
|
|
54949
|
-
|
|
54948
|
+
f,
|
|
54950
54949
|
v
|
|
54951
54950
|
]
|
|
54952
54951
|
],
|
|
@@ -54956,11 +54955,11 @@
|
|
|
54956
54955
|
[
|
|
54957
54956
|
d,
|
|
54958
54957
|
[
|
|
54959
|
-
|
|
54958
|
+
p,
|
|
54960
54959
|
_
|
|
54961
54960
|
],
|
|
54962
54961
|
[
|
|
54963
|
-
|
|
54962
|
+
f,
|
|
54964
54963
|
b
|
|
54965
54964
|
]
|
|
54966
54965
|
],
|
|
@@ -54970,11 +54969,11 @@
|
|
|
54970
54969
|
[
|
|
54971
54970
|
d,
|
|
54972
54971
|
[
|
|
54973
|
-
|
|
54972
|
+
p,
|
|
54974
54973
|
"HTC"
|
|
54975
54974
|
],
|
|
54976
54975
|
[
|
|
54977
|
-
|
|
54976
|
+
f,
|
|
54978
54977
|
v
|
|
54979
54978
|
]
|
|
54980
54979
|
],
|
|
@@ -54984,14 +54983,14 @@
|
|
|
54984
54983
|
/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i
|
|
54985
54984
|
],
|
|
54986
54985
|
[
|
|
54987
|
-
|
|
54986
|
+
p,
|
|
54988
54987
|
[
|
|
54989
54988
|
d,
|
|
54990
54989
|
/_/g,
|
|
54991
54990
|
" "
|
|
54992
54991
|
],
|
|
54993
54992
|
[
|
|
54994
|
-
|
|
54993
|
+
f,
|
|
54995
54994
|
b
|
|
54996
54995
|
]
|
|
54997
54996
|
],
|
|
@@ -55001,11 +55000,11 @@
|
|
|
55001
55000
|
[
|
|
55002
55001
|
d,
|
|
55003
55002
|
[
|
|
55004
|
-
|
|
55003
|
+
p,
|
|
55005
55004
|
"Acer"
|
|
55006
55005
|
],
|
|
55007
55006
|
[
|
|
55008
|
-
|
|
55007
|
+
f,
|
|
55009
55008
|
v
|
|
55010
55009
|
]
|
|
55011
55010
|
],
|
|
@@ -55016,11 +55015,11 @@
|
|
|
55016
55015
|
[
|
|
55017
55016
|
d,
|
|
55018
55017
|
[
|
|
55019
|
-
|
|
55018
|
+
p,
|
|
55020
55019
|
"Meizu"
|
|
55021
55020
|
],
|
|
55022
55021
|
[
|
|
55023
|
-
|
|
55022
|
+
f,
|
|
55024
55023
|
b
|
|
55025
55024
|
]
|
|
55026
55025
|
],
|
|
@@ -55030,11 +55029,11 @@
|
|
|
55030
55029
|
[
|
|
55031
55030
|
d,
|
|
55032
55031
|
[
|
|
55033
|
-
|
|
55032
|
+
p,
|
|
55034
55033
|
"Ulefone"
|
|
55035
55034
|
],
|
|
55036
55035
|
[
|
|
55037
|
-
|
|
55036
|
+
f,
|
|
55038
55037
|
b
|
|
55039
55038
|
]
|
|
55040
55039
|
],
|
|
@@ -55048,10 +55047,10 @@
|
|
|
55048
55047
|
/(oppo) ?([\w ]+) bui/i
|
|
55049
55048
|
],
|
|
55050
55049
|
[
|
|
55051
|
-
|
|
55050
|
+
p,
|
|
55052
55051
|
d,
|
|
55053
55052
|
[
|
|
55054
|
-
|
|
55053
|
+
f,
|
|
55055
55054
|
b
|
|
55056
55055
|
]
|
|
55057
55056
|
],
|
|
@@ -55068,10 +55067,10 @@
|
|
|
55068
55067
|
/(vodafone) ([\w ]+)(?:\)| bui)/i
|
|
55069
55068
|
],
|
|
55070
55069
|
[
|
|
55071
|
-
|
|
55070
|
+
p,
|
|
55072
55071
|
d,
|
|
55073
55072
|
[
|
|
55074
|
-
|
|
55073
|
+
f,
|
|
55075
55074
|
v
|
|
55076
55075
|
]
|
|
55077
55076
|
],
|
|
@@ -55081,11 +55080,11 @@
|
|
|
55081
55080
|
[
|
|
55082
55081
|
d,
|
|
55083
55082
|
[
|
|
55084
|
-
|
|
55083
|
+
p,
|
|
55085
55084
|
$
|
|
55086
55085
|
],
|
|
55087
55086
|
[
|
|
55088
|
-
|
|
55087
|
+
f,
|
|
55089
55088
|
v
|
|
55090
55089
|
]
|
|
55091
55090
|
],
|
|
@@ -55095,11 +55094,11 @@
|
|
|
55095
55094
|
[
|
|
55096
55095
|
d,
|
|
55097
55096
|
[
|
|
55098
|
-
|
|
55097
|
+
p,
|
|
55099
55098
|
"Fairphone"
|
|
55100
55099
|
],
|
|
55101
55100
|
[
|
|
55102
|
-
|
|
55101
|
+
f,
|
|
55103
55102
|
b
|
|
55104
55103
|
]
|
|
55105
55104
|
],
|
|
@@ -55109,11 +55108,11 @@
|
|
|
55109
55108
|
[
|
|
55110
55109
|
d,
|
|
55111
55110
|
[
|
|
55112
|
-
|
|
55111
|
+
p,
|
|
55113
55112
|
"AT&T"
|
|
55114
55113
|
],
|
|
55115
55114
|
[
|
|
55116
|
-
|
|
55115
|
+
f,
|
|
55117
55116
|
b
|
|
55118
55117
|
]
|
|
55119
55118
|
],
|
|
@@ -55123,11 +55122,11 @@
|
|
|
55123
55122
|
[
|
|
55124
55123
|
d,
|
|
55125
55124
|
[
|
|
55126
|
-
|
|
55125
|
+
p,
|
|
55127
55126
|
"Siemens"
|
|
55128
55127
|
],
|
|
55129
55128
|
[
|
|
55130
|
-
|
|
55129
|
+
f,
|
|
55131
55130
|
b
|
|
55132
55131
|
]
|
|
55133
55132
|
],
|
|
@@ -55137,11 +55136,11 @@
|
|
|
55137
55136
|
[
|
|
55138
55137
|
d,
|
|
55139
55138
|
[
|
|
55140
|
-
|
|
55139
|
+
p,
|
|
55141
55140
|
"RCA"
|
|
55142
55141
|
],
|
|
55143
55142
|
[
|
|
55144
|
-
|
|
55143
|
+
f,
|
|
55145
55144
|
v
|
|
55146
55145
|
]
|
|
55147
55146
|
],
|
|
@@ -55151,11 +55150,11 @@
|
|
|
55151
55150
|
[
|
|
55152
55151
|
d,
|
|
55153
55152
|
[
|
|
55154
|
-
|
|
55153
|
+
p,
|
|
55155
55154
|
"Dell"
|
|
55156
55155
|
],
|
|
55157
55156
|
[
|
|
55158
|
-
|
|
55157
|
+
f,
|
|
55159
55158
|
v
|
|
55160
55159
|
]
|
|
55161
55160
|
],
|
|
@@ -55165,11 +55164,11 @@
|
|
|
55165
55164
|
[
|
|
55166
55165
|
d,
|
|
55167
55166
|
[
|
|
55168
|
-
|
|
55167
|
+
p,
|
|
55169
55168
|
"Verizon"
|
|
55170
55169
|
],
|
|
55171
55170
|
[
|
|
55172
|
-
|
|
55171
|
+
f,
|
|
55173
55172
|
v
|
|
55174
55173
|
]
|
|
55175
55174
|
],
|
|
@@ -55179,11 +55178,11 @@
|
|
|
55179
55178
|
[
|
|
55180
55179
|
d,
|
|
55181
55180
|
[
|
|
55182
|
-
|
|
55181
|
+
p,
|
|
55183
55182
|
"Barnes & Noble"
|
|
55184
55183
|
],
|
|
55185
55184
|
[
|
|
55186
|
-
|
|
55185
|
+
f,
|
|
55187
55186
|
v
|
|
55188
55187
|
]
|
|
55189
55188
|
],
|
|
@@ -55193,11 +55192,11 @@
|
|
|
55193
55192
|
[
|
|
55194
55193
|
d,
|
|
55195
55194
|
[
|
|
55196
|
-
|
|
55195
|
+
p,
|
|
55197
55196
|
"NuVision"
|
|
55198
55197
|
],
|
|
55199
55198
|
[
|
|
55200
|
-
|
|
55199
|
+
f,
|
|
55201
55200
|
v
|
|
55202
55201
|
]
|
|
55203
55202
|
],
|
|
@@ -55207,11 +55206,11 @@
|
|
|
55207
55206
|
[
|
|
55208
55207
|
d,
|
|
55209
55208
|
[
|
|
55210
|
-
|
|
55209
|
+
p,
|
|
55211
55210
|
"ZTE"
|
|
55212
55211
|
],
|
|
55213
55212
|
[
|
|
55214
|
-
|
|
55213
|
+
f,
|
|
55215
55214
|
v
|
|
55216
55215
|
]
|
|
55217
55216
|
],
|
|
@@ -55221,11 +55220,11 @@
|
|
|
55221
55220
|
[
|
|
55222
55221
|
d,
|
|
55223
55222
|
[
|
|
55224
|
-
|
|
55223
|
+
p,
|
|
55225
55224
|
"ZTE"
|
|
55226
55225
|
],
|
|
55227
55226
|
[
|
|
55228
|
-
|
|
55227
|
+
f,
|
|
55229
55228
|
b
|
|
55230
55229
|
]
|
|
55231
55230
|
],
|
|
@@ -55235,11 +55234,11 @@
|
|
|
55235
55234
|
[
|
|
55236
55235
|
d,
|
|
55237
55236
|
[
|
|
55238
|
-
|
|
55237
|
+
p,
|
|
55239
55238
|
"Swiss"
|
|
55240
55239
|
],
|
|
55241
55240
|
[
|
|
55242
|
-
|
|
55241
|
+
f,
|
|
55243
55242
|
b
|
|
55244
55243
|
]
|
|
55245
55244
|
],
|
|
@@ -55249,11 +55248,11 @@
|
|
|
55249
55248
|
[
|
|
55250
55249
|
d,
|
|
55251
55250
|
[
|
|
55252
|
-
|
|
55251
|
+
p,
|
|
55253
55252
|
"Swiss"
|
|
55254
55253
|
],
|
|
55255
55254
|
[
|
|
55256
|
-
|
|
55255
|
+
f,
|
|
55257
55256
|
v
|
|
55258
55257
|
]
|
|
55259
55258
|
],
|
|
@@ -55263,11 +55262,11 @@
|
|
|
55263
55262
|
[
|
|
55264
55263
|
d,
|
|
55265
55264
|
[
|
|
55266
|
-
|
|
55265
|
+
p,
|
|
55267
55266
|
"Zeki"
|
|
55268
55267
|
],
|
|
55269
55268
|
[
|
|
55270
|
-
|
|
55269
|
+
f,
|
|
55271
55270
|
v
|
|
55272
55271
|
]
|
|
55273
55272
|
],
|
|
@@ -55277,12 +55276,12 @@
|
|
|
55277
55276
|
],
|
|
55278
55277
|
[
|
|
55279
55278
|
[
|
|
55280
|
-
|
|
55279
|
+
p,
|
|
55281
55280
|
"Dragon Touch"
|
|
55282
55281
|
],
|
|
55283
55282
|
d,
|
|
55284
55283
|
[
|
|
55285
|
-
|
|
55284
|
+
f,
|
|
55286
55285
|
v
|
|
55287
55286
|
]
|
|
55288
55287
|
],
|
|
@@ -55292,11 +55291,11 @@
|
|
|
55292
55291
|
[
|
|
55293
55292
|
d,
|
|
55294
55293
|
[
|
|
55295
|
-
|
|
55294
|
+
p,
|
|
55296
55295
|
"Insignia"
|
|
55297
55296
|
],
|
|
55298
55297
|
[
|
|
55299
|
-
|
|
55298
|
+
f,
|
|
55300
55299
|
v
|
|
55301
55300
|
]
|
|
55302
55301
|
],
|
|
@@ -55306,11 +55305,11 @@
|
|
|
55306
55305
|
[
|
|
55307
55306
|
d,
|
|
55308
55307
|
[
|
|
55309
|
-
|
|
55308
|
+
p,
|
|
55310
55309
|
"NextBook"
|
|
55311
55310
|
],
|
|
55312
55311
|
[
|
|
55313
|
-
|
|
55312
|
+
f,
|
|
55314
55313
|
v
|
|
55315
55314
|
]
|
|
55316
55315
|
],
|
|
@@ -55319,12 +55318,12 @@
|
|
|
55319
55318
|
],
|
|
55320
55319
|
[
|
|
55321
55320
|
[
|
|
55322
|
-
|
|
55321
|
+
p,
|
|
55323
55322
|
"Voice"
|
|
55324
55323
|
],
|
|
55325
55324
|
d,
|
|
55326
55325
|
[
|
|
55327
|
-
|
|
55326
|
+
f,
|
|
55328
55327
|
b
|
|
55329
55328
|
]
|
|
55330
55329
|
],
|
|
@@ -55333,12 +55332,12 @@
|
|
|
55333
55332
|
],
|
|
55334
55333
|
[
|
|
55335
55334
|
[
|
|
55336
|
-
|
|
55335
|
+
p,
|
|
55337
55336
|
"LvTel"
|
|
55338
55337
|
],
|
|
55339
55338
|
d,
|
|
55340
55339
|
[
|
|
55341
|
-
|
|
55340
|
+
f,
|
|
55342
55341
|
b
|
|
55343
55342
|
]
|
|
55344
55343
|
],
|
|
@@ -55348,11 +55347,11 @@
|
|
|
55348
55347
|
[
|
|
55349
55348
|
d,
|
|
55350
55349
|
[
|
|
55351
|
-
|
|
55350
|
+
p,
|
|
55352
55351
|
"Essential"
|
|
55353
55352
|
],
|
|
55354
55353
|
[
|
|
55355
|
-
|
|
55354
|
+
f,
|
|
55356
55355
|
b
|
|
55357
55356
|
]
|
|
55358
55357
|
],
|
|
@@ -55362,11 +55361,11 @@
|
|
|
55362
55361
|
[
|
|
55363
55362
|
d,
|
|
55364
55363
|
[
|
|
55365
|
-
|
|
55364
|
+
p,
|
|
55366
55365
|
"Envizen"
|
|
55367
55366
|
],
|
|
55368
55367
|
[
|
|
55369
|
-
|
|
55368
|
+
f,
|
|
55370
55369
|
v
|
|
55371
55370
|
]
|
|
55372
55371
|
],
|
|
@@ -55376,11 +55375,11 @@
|
|
|
55376
55375
|
[
|
|
55377
55376
|
d,
|
|
55378
55377
|
[
|
|
55379
|
-
|
|
55378
|
+
p,
|
|
55380
55379
|
"MachSpeed"
|
|
55381
55380
|
],
|
|
55382
55381
|
[
|
|
55383
|
-
|
|
55382
|
+
f,
|
|
55384
55383
|
v
|
|
55385
55384
|
]
|
|
55386
55385
|
],
|
|
@@ -55390,11 +55389,11 @@
|
|
|
55390
55389
|
[
|
|
55391
55390
|
d,
|
|
55392
55391
|
[
|
|
55393
|
-
|
|
55392
|
+
p,
|
|
55394
55393
|
"Rotor"
|
|
55395
55394
|
],
|
|
55396
55395
|
[
|
|
55397
|
-
|
|
55396
|
+
f,
|
|
55398
55397
|
v
|
|
55399
55398
|
]
|
|
55400
55399
|
],
|
|
@@ -55404,11 +55403,11 @@
|
|
|
55404
55403
|
[
|
|
55405
55404
|
d,
|
|
55406
55405
|
[
|
|
55407
|
-
|
|
55406
|
+
p,
|
|
55408
55407
|
"Nvidia"
|
|
55409
55408
|
],
|
|
55410
55409
|
[
|
|
55411
|
-
|
|
55410
|
+
f,
|
|
55412
55411
|
v
|
|
55413
55412
|
]
|
|
55414
55413
|
],
|
|
@@ -55416,10 +55415,10 @@
|
|
|
55416
55415
|
/(sprint) (\w+)/i
|
|
55417
55416
|
],
|
|
55418
55417
|
[
|
|
55419
|
-
|
|
55418
|
+
p,
|
|
55420
55419
|
d,
|
|
55421
55420
|
[
|
|
55422
|
-
|
|
55421
|
+
f,
|
|
55423
55422
|
b
|
|
55424
55423
|
]
|
|
55425
55424
|
],
|
|
@@ -55433,11 +55432,11 @@
|
|
|
55433
55432
|
" "
|
|
55434
55433
|
],
|
|
55435
55434
|
[
|
|
55436
|
-
|
|
55435
|
+
p,
|
|
55437
55436
|
$
|
|
55438
55437
|
],
|
|
55439
55438
|
[
|
|
55440
|
-
|
|
55439
|
+
f,
|
|
55441
55440
|
b
|
|
55442
55441
|
]
|
|
55443
55442
|
],
|
|
@@ -55447,11 +55446,11 @@
|
|
|
55447
55446
|
[
|
|
55448
55447
|
d,
|
|
55449
55448
|
[
|
|
55450
|
-
|
|
55449
|
+
p,
|
|
55451
55450
|
L
|
|
55452
55451
|
],
|
|
55453
55452
|
[
|
|
55454
|
-
|
|
55453
|
+
f,
|
|
55455
55454
|
v
|
|
55456
55455
|
]
|
|
55457
55456
|
],
|
|
@@ -55461,11 +55460,11 @@
|
|
|
55461
55460
|
[
|
|
55462
55461
|
d,
|
|
55463
55462
|
[
|
|
55464
|
-
|
|
55463
|
+
p,
|
|
55465
55464
|
L
|
|
55466
55465
|
],
|
|
55467
55466
|
[
|
|
55468
|
-
|
|
55467
|
+
f,
|
|
55469
55468
|
b
|
|
55470
55469
|
]
|
|
55471
55470
|
],
|
|
@@ -55473,9 +55472,9 @@
|
|
|
55473
55472
|
/smart-tv.+(samsung)/i
|
|
55474
55473
|
],
|
|
55475
55474
|
[
|
|
55476
|
-
|
|
55475
|
+
p,
|
|
55477
55476
|
[
|
|
55478
|
-
|
|
55477
|
+
f,
|
|
55479
55478
|
w
|
|
55480
55479
|
]
|
|
55481
55480
|
],
|
|
@@ -55489,11 +55488,11 @@
|
|
|
55489
55488
|
"SmartTV"
|
|
55490
55489
|
],
|
|
55491
55490
|
[
|
|
55492
|
-
|
|
55491
|
+
p,
|
|
55493
55492
|
O
|
|
55494
55493
|
],
|
|
55495
55494
|
[
|
|
55496
|
-
|
|
55495
|
+
f,
|
|
55497
55496
|
w
|
|
55498
55497
|
]
|
|
55499
55498
|
],
|
|
@@ -55502,11 +55501,11 @@
|
|
|
55502
55501
|
],
|
|
55503
55502
|
[
|
|
55504
55503
|
[
|
|
55505
|
-
|
|
55504
|
+
p,
|
|
55506
55505
|
"LG"
|
|
55507
55506
|
],
|
|
55508
55507
|
[
|
|
55509
|
-
|
|
55508
|
+
f,
|
|
55510
55509
|
w
|
|
55511
55510
|
]
|
|
55512
55511
|
],
|
|
@@ -55514,13 +55513,13 @@
|
|
|
55514
55513
|
/(apple) ?tv/i
|
|
55515
55514
|
],
|
|
55516
55515
|
[
|
|
55517
|
-
|
|
55516
|
+
p,
|
|
55518
55517
|
[
|
|
55519
55518
|
d,
|
|
55520
55519
|
B + " TV"
|
|
55521
55520
|
],
|
|
55522
55521
|
[
|
|
55523
|
-
|
|
55522
|
+
f,
|
|
55524
55523
|
w
|
|
55525
55524
|
]
|
|
55526
55525
|
],
|
|
@@ -55533,11 +55532,11 @@
|
|
|
55533
55532
|
S + "cast"
|
|
55534
55533
|
],
|
|
55535
55534
|
[
|
|
55536
|
-
|
|
55535
|
+
p,
|
|
55537
55536
|
T
|
|
55538
55537
|
],
|
|
55539
55538
|
[
|
|
55540
|
-
|
|
55539
|
+
f,
|
|
55541
55540
|
w
|
|
55542
55541
|
]
|
|
55543
55542
|
],
|
|
@@ -55547,11 +55546,11 @@
|
|
|
55547
55546
|
[
|
|
55548
55547
|
d,
|
|
55549
55548
|
[
|
|
55550
|
-
|
|
55549
|
+
p,
|
|
55551
55550
|
C
|
|
55552
55551
|
],
|
|
55553
55552
|
[
|
|
55554
|
-
|
|
55553
|
+
f,
|
|
55555
55554
|
w
|
|
55556
55555
|
]
|
|
55557
55556
|
],
|
|
@@ -55562,11 +55561,11 @@
|
|
|
55562
55561
|
[
|
|
55563
55562
|
d,
|
|
55564
55563
|
[
|
|
55565
|
-
|
|
55564
|
+
p,
|
|
55566
55565
|
M
|
|
55567
55566
|
],
|
|
55568
55567
|
[
|
|
55569
|
-
|
|
55568
|
+
f,
|
|
55570
55569
|
w
|
|
55571
55570
|
]
|
|
55572
55571
|
],
|
|
@@ -55576,11 +55575,11 @@
|
|
|
55576
55575
|
[
|
|
55577
55576
|
d,
|
|
55578
55577
|
[
|
|
55579
|
-
|
|
55578
|
+
p,
|
|
55580
55579
|
A
|
|
55581
55580
|
],
|
|
55582
55581
|
[
|
|
55583
|
-
|
|
55582
|
+
f,
|
|
55584
55583
|
w
|
|
55585
55584
|
]
|
|
55586
55585
|
],
|
|
@@ -55590,11 +55589,11 @@
|
|
|
55590
55589
|
[
|
|
55591
55590
|
d,
|
|
55592
55591
|
[
|
|
55593
|
-
|
|
55592
|
+
p,
|
|
55594
55593
|
R
|
|
55595
55594
|
],
|
|
55596
55595
|
[
|
|
55597
|
-
|
|
55596
|
+
f,
|
|
55598
55597
|
w
|
|
55599
55598
|
]
|
|
55600
55599
|
],
|
|
@@ -55602,10 +55601,10 @@
|
|
|
55602
55601
|
/Hbbtv.*(technisat) (.*);/i
|
|
55603
55602
|
],
|
|
55604
55603
|
[
|
|
55605
|
-
|
|
55604
|
+
p,
|
|
55606
55605
|
d,
|
|
55607
55606
|
[
|
|
55608
|
-
|
|
55607
|
+
f,
|
|
55609
55608
|
w
|
|
55610
55609
|
]
|
|
55611
55610
|
],
|
|
@@ -55615,7 +55614,7 @@
|
|
|
55615
55614
|
],
|
|
55616
55615
|
[
|
|
55617
55616
|
[
|
|
55618
|
-
|
|
55617
|
+
p,
|
|
55619
55618
|
Q
|
|
55620
55619
|
],
|
|
55621
55620
|
[
|
|
@@ -55623,7 +55622,7 @@
|
|
|
55623
55622
|
Q
|
|
55624
55623
|
],
|
|
55625
55624
|
[
|
|
55626
|
-
|
|
55625
|
+
f,
|
|
55627
55626
|
w
|
|
55628
55627
|
]
|
|
55629
55628
|
],
|
|
@@ -55632,7 +55631,7 @@
|
|
|
55632
55631
|
],
|
|
55633
55632
|
[
|
|
55634
55633
|
[
|
|
55635
|
-
|
|
55634
|
+
f,
|
|
55636
55635
|
w
|
|
55637
55636
|
]
|
|
55638
55637
|
],
|
|
@@ -55641,10 +55640,10 @@
|
|
|
55641
55640
|
/(nintendo) ([wids3utch]+)/i
|
|
55642
55641
|
],
|
|
55643
55642
|
[
|
|
55644
|
-
|
|
55643
|
+
p,
|
|
55645
55644
|
d,
|
|
55646
55645
|
[
|
|
55647
|
-
|
|
55646
|
+
f,
|
|
55648
55647
|
g
|
|
55649
55648
|
]
|
|
55650
55649
|
],
|
|
@@ -55654,11 +55653,11 @@
|
|
|
55654
55653
|
[
|
|
55655
55654
|
d,
|
|
55656
55655
|
[
|
|
55657
|
-
|
|
55656
|
+
p,
|
|
55658
55657
|
"Nvidia"
|
|
55659
55658
|
],
|
|
55660
55659
|
[
|
|
55661
|
-
|
|
55660
|
+
f,
|
|
55662
55661
|
g
|
|
55663
55662
|
]
|
|
55664
55663
|
],
|
|
@@ -55668,11 +55667,11 @@
|
|
|
55668
55667
|
[
|
|
55669
55668
|
d,
|
|
55670
55669
|
[
|
|
55671
|
-
|
|
55670
|
+
p,
|
|
55672
55671
|
A
|
|
55673
55672
|
],
|
|
55674
55673
|
[
|
|
55675
|
-
|
|
55674
|
+
f,
|
|
55676
55675
|
g
|
|
55677
55676
|
]
|
|
55678
55677
|
],
|
|
@@ -55682,11 +55681,11 @@
|
|
|
55682
55681
|
[
|
|
55683
55682
|
d,
|
|
55684
55683
|
[
|
|
55685
|
-
|
|
55684
|
+
p,
|
|
55686
55685
|
$
|
|
55687
55686
|
],
|
|
55688
55687
|
[
|
|
55689
|
-
|
|
55688
|
+
f,
|
|
55690
55689
|
g
|
|
55691
55690
|
]
|
|
55692
55691
|
],
|
|
@@ -55694,10 +55693,10 @@
|
|
|
55694
55693
|
/((pebble))app/i
|
|
55695
55694
|
],
|
|
55696
55695
|
[
|
|
55697
|
-
|
|
55696
|
+
p,
|
|
55698
55697
|
d,
|
|
55699
55698
|
[
|
|
55700
|
-
|
|
55699
|
+
f,
|
|
55701
55700
|
k
|
|
55702
55701
|
]
|
|
55703
55702
|
],
|
|
@@ -55707,11 +55706,11 @@
|
|
|
55707
55706
|
[
|
|
55708
55707
|
d,
|
|
55709
55708
|
[
|
|
55710
|
-
|
|
55709
|
+
p,
|
|
55711
55710
|
B
|
|
55712
55711
|
],
|
|
55713
55712
|
[
|
|
55714
|
-
|
|
55713
|
+
f,
|
|
55715
55714
|
k
|
|
55716
55715
|
]
|
|
55717
55716
|
],
|
|
@@ -55721,11 +55720,11 @@
|
|
|
55721
55720
|
[
|
|
55722
55721
|
d,
|
|
55723
55722
|
[
|
|
55724
|
-
|
|
55723
|
+
p,
|
|
55725
55724
|
T
|
|
55726
55725
|
],
|
|
55727
55726
|
[
|
|
55728
|
-
|
|
55727
|
+
f,
|
|
55729
55728
|
k
|
|
55730
55729
|
]
|
|
55731
55730
|
],
|
|
@@ -55735,11 +55734,11 @@
|
|
|
55735
55734
|
[
|
|
55736
55735
|
d,
|
|
55737
55736
|
[
|
|
55738
|
-
|
|
55737
|
+
p,
|
|
55739
55738
|
L
|
|
55740
55739
|
],
|
|
55741
55740
|
[
|
|
55742
|
-
|
|
55741
|
+
f,
|
|
55743
55742
|
k
|
|
55744
55743
|
]
|
|
55745
55744
|
],
|
|
@@ -55749,11 +55748,11 @@
|
|
|
55749
55748
|
[
|
|
55750
55749
|
d,
|
|
55751
55750
|
[
|
|
55752
|
-
|
|
55751
|
+
p,
|
|
55753
55752
|
F
|
|
55754
55753
|
],
|
|
55755
55754
|
[
|
|
55756
|
-
|
|
55755
|
+
f,
|
|
55757
55756
|
k
|
|
55758
55757
|
]
|
|
55759
55758
|
],
|
|
@@ -55761,9 +55760,9 @@
|
|
|
55761
55760
|
/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i
|
|
55762
55761
|
],
|
|
55763
55762
|
[
|
|
55764
|
-
|
|
55763
|
+
p,
|
|
55765
55764
|
[
|
|
55766
|
-
|
|
55765
|
+
f,
|
|
55767
55766
|
y
|
|
55768
55767
|
]
|
|
55769
55768
|
],
|
|
@@ -55773,11 +55772,11 @@
|
|
|
55773
55772
|
[
|
|
55774
55773
|
d,
|
|
55775
55774
|
[
|
|
55776
|
-
|
|
55775
|
+
p,
|
|
55777
55776
|
C
|
|
55778
55777
|
],
|
|
55779
55778
|
[
|
|
55780
|
-
|
|
55779
|
+
f,
|
|
55781
55780
|
y
|
|
55782
55781
|
]
|
|
55783
55782
|
],
|
|
@@ -55787,7 +55786,7 @@
|
|
|
55787
55786
|
[
|
|
55788
55787
|
d,
|
|
55789
55788
|
[
|
|
55790
|
-
|
|
55789
|
+
f,
|
|
55791
55790
|
b
|
|
55792
55791
|
]
|
|
55793
55792
|
],
|
|
@@ -55797,7 +55796,7 @@
|
|
|
55797
55796
|
[
|
|
55798
55797
|
d,
|
|
55799
55798
|
[
|
|
55800
|
-
|
|
55799
|
+
f,
|
|
55801
55800
|
v
|
|
55802
55801
|
]
|
|
55803
55802
|
],
|
|
@@ -55806,7 +55805,7 @@
|
|
|
55806
55805
|
],
|
|
55807
55806
|
[
|
|
55808
55807
|
[
|
|
55809
|
-
|
|
55808
|
+
f,
|
|
55810
55809
|
v
|
|
55811
55810
|
]
|
|
55812
55811
|
],
|
|
@@ -55815,7 +55814,7 @@
|
|
|
55815
55814
|
],
|
|
55816
55815
|
[
|
|
55817
55816
|
[
|
|
55818
|
-
|
|
55817
|
+
f,
|
|
55819
55818
|
b
|
|
55820
55819
|
]
|
|
55821
55820
|
],
|
|
@@ -55825,7 +55824,7 @@
|
|
|
55825
55824
|
[
|
|
55826
55825
|
d,
|
|
55827
55826
|
[
|
|
55828
|
-
|
|
55827
|
+
p,
|
|
55829
55828
|
"Generic"
|
|
55830
55829
|
]
|
|
55831
55830
|
]
|
|
@@ -56076,7 +56075,7 @@
|
|
|
56076
56075
|
return t[m] = void 0, X.call(t, g, k.cpu), t;
|
|
56077
56076
|
}, this.getDevice = function() {
|
|
56078
56077
|
var t = {};
|
|
56079
|
-
return t[
|
|
56078
|
+
return t[p] = void 0, t[d] = void 0, t[f] = void 0, X.call(t, g, k.device), y && !t[f] && w && w.mobile && (t[f] = b), y && "Macintosh" == t[d] && n && typeof n.standalone !== a && n.maxTouchPoints && n.maxTouchPoints > 2 && (t[d] = "iPad", t[f] = v), t;
|
|
56080
56079
|
}, this.getEngine = function() {
|
|
56081
56080
|
var t = {};
|
|
56082
56081
|
return t[u] = void 0, t[h] = void 0, X.call(t, g, k.engine), t;
|
|
@@ -56106,8 +56105,8 @@
|
|
|
56106
56105
|
m
|
|
56107
56106
|
]), K.DEVICE = W([
|
|
56108
56107
|
d,
|
|
56109
|
-
f,
|
|
56110
56108
|
p,
|
|
56109
|
+
f,
|
|
56111
56110
|
g,
|
|
56112
56111
|
b,
|
|
56113
56112
|
w,
|
|
@@ -56130,9 +56129,9 @@
|
|
|
56130
56129
|
};
|
|
56131
56130
|
}
|
|
56132
56131
|
}("object" == typeof window ? window : nE), nS.exports;
|
|
56133
|
-
}(), i = new n, a = i.getBrowser(), s = i.getCPU(), c = i.getDevice(), l = i.getEngine(), d = i.getOS(), u = i.getUA(),
|
|
56132
|
+
}(), i = new n, a = i.getBrowser(), s = i.getCPU(), c = i.getDevice(), l = i.getEngine(), d = i.getOS(), u = i.getUA(), f = function(t) {
|
|
56134
56133
|
return i.setUA(t);
|
|
56135
|
-
},
|
|
56134
|
+
}, p = function(t) {
|
|
56136
56135
|
if (!t) return void console.error("No userAgent string was provided");
|
|
56137
56136
|
var r = new n(t);
|
|
56138
56137
|
return {
|
|
@@ -56155,8 +56154,8 @@
|
|
|
56155
56154
|
engine: l,
|
|
56156
56155
|
os: d,
|
|
56157
56156
|
ua: u,
|
|
56158
|
-
setUa:
|
|
56159
|
-
parseUserAgent:
|
|
56157
|
+
setUa: f,
|
|
56158
|
+
parseUserAgent: p
|
|
56160
56159
|
});
|
|
56161
56160
|
function m(t, r) {
|
|
56162
56161
|
var o = Object.keys(t);
|
|
@@ -56375,9 +56374,9 @@
|
|
|
56375
56374
|
}, eu = function(t) {
|
|
56376
56375
|
var r = t.name;
|
|
56377
56376
|
return r === $.InternetExplorer || r === $.Ie;
|
|
56378
|
-
}, ep = function(t) {
|
|
56379
|
-
return t.name === $.MIUI;
|
|
56380
56377
|
}, ef = function(t) {
|
|
56378
|
+
return t.name === $.MIUI;
|
|
56379
|
+
}, ep = function(t) {
|
|
56381
56380
|
return t.name === $.SamsungBrowser;
|
|
56382
56381
|
}, eh = function(t) {
|
|
56383
56382
|
return M(t.version);
|
|
@@ -56450,13 +56449,13 @@
|
|
|
56450
56449
|
isLegacyEdge: ea(n) && !ek(s),
|
|
56451
56450
|
isWindows: K(i),
|
|
56452
56451
|
isMacOs: Y(i),
|
|
56453
|
-
isMIUI:
|
|
56454
|
-
isSamsungBrowser:
|
|
56452
|
+
isMIUI: ef(n),
|
|
56453
|
+
isSamsungBrowser: ep(n)
|
|
56455
56454
|
};
|
|
56456
56455
|
}
|
|
56457
|
-
var eS = V(c), eE = q(c), eT = U(c), eD = Q(c), e$ = el(a) || eC(), ej = ei(a), eI = z(c) || eC(), eO = F(c), eM = N(c) || eC(), eA = W(c), eR = W(c), eL = Z(d), eF = J(d), eN = ee(d) || eC(), ez = eo(a), eV = en(a), eW = ec(a), eU = ed(a), eq = eu(a), eQ = et(d), eX = er(d), eH = eh(a), eG = em(a), eZ = eg(a), eK = X(c), eY = H(c), eJ = eb(l), e3 = ev(l), e2 = ex(u), e5 = ea(a) || ek(u), e0 = es(a), e1 = G(c), e8 = ey(), e9 = eC(), e4 = eB(), e7 = e_(), e6 = ew(), te = ek(u), tt = ea(a) && !ek(u), tr = K(d), to = Y(d), tn =
|
|
56456
|
+
var eS = V(c), eE = q(c), eT = U(c), eD = Q(c), e$ = el(a) || eC(), ej = ei(a), eI = z(c) || eC(), eO = F(c), eM = N(c) || eC(), eA = W(c), eR = W(c), eL = Z(d), eF = J(d), eN = ee(d) || eC(), ez = eo(a), eV = en(a), eW = ec(a), eU = ed(a), eq = eu(a), eQ = et(d), eX = er(d), eH = eh(a), eG = em(a), eZ = eg(a), eK = X(c), eY = H(c), eJ = eb(l), e3 = ev(l), e2 = ex(u), e5 = ea(a) || ek(u), e0 = es(a), e1 = G(c), e8 = ey(), e9 = eC(), e4 = eB(), e7 = e_(), e6 = ew(), te = ek(u), tt = ea(a) && !ek(u), tr = K(d), to = Y(d), tn = ef(a), ti = ep(a);
|
|
56458
56457
|
function ta(t) {
|
|
56459
|
-
return
|
|
56458
|
+
return p(t || window.navigator.userAgent);
|
|
56460
56459
|
}
|
|
56461
56460
|
return nP.AndroidView = function(r) {
|
|
56462
56461
|
var n = r.renderWithFragment, i = r.children, a = y(r, [
|
|
@@ -56540,7 +56539,7 @@
|
|
|
56540
56539
|
]);
|
|
56541
56540
|
return eF ? n ? o.createElement(React.Fragment, null, i) : o.createElement("div", a, i) : null;
|
|
56542
56541
|
}, nP.browserName = eZ, nP.browserVersion = eG, nP.deviceDetect = function(t) {
|
|
56543
|
-
var r, o, n, i, a, s, c, l, d, u,
|
|
56542
|
+
var r, o, n, i, a, s, c, l, d, u, f, m, g, b, v, w, k, y, C, B, _, x, P = t ? p(t) : h, S = P.device, E = P.browser, T = P.engine, D = P.os, $ = P.ua, j = O(S.type), I = j.isBrowser, A = j.isMobile, R = j.isTablet, F = j.isSmartTV, N = j.isConsole, z = j.isWearable, V = j.isEmbedded;
|
|
56544
56543
|
if (I) {
|
|
56545
56544
|
return r = I, o = E, n = T, i = D, a = $, {
|
|
56546
56545
|
isBrowser: r,
|
|
@@ -56565,10 +56564,10 @@
|
|
|
56565
56564
|
};
|
|
56566
56565
|
}
|
|
56567
56566
|
if (N) {
|
|
56568
|
-
return u = N,
|
|
56567
|
+
return u = N, f = T, m = D, g = $, {
|
|
56569
56568
|
isConsole: u,
|
|
56570
|
-
engineName: M(
|
|
56571
|
-
engineVersion: M(
|
|
56569
|
+
engineName: M(f.name),
|
|
56570
|
+
engineVersion: M(f.version),
|
|
56572
56571
|
osName: M(m.name),
|
|
56573
56572
|
osVersion: M(m.version),
|
|
56574
56573
|
userAgent: M(g)
|
|
@@ -56599,7 +56598,7 @@
|
|
|
56599
56598
|
}
|
|
56600
56599
|
}, nP.deviceType = e1, nP.engineName = eJ, nP.engineVersion = e3, nP.fullBrowserVersion = eH, nP.getSelectorsByUserAgent = function(t) {
|
|
56601
56600
|
if (!t || "string" != typeof t) return void console.error("No valid user agent string was provided");
|
|
56602
|
-
var r =
|
|
56601
|
+
var r = p(t);
|
|
56603
56602
|
return eP({
|
|
56604
56603
|
device: r.device,
|
|
56605
56604
|
browser: r.browser,
|
|
@@ -56607,8 +56606,8 @@
|
|
|
56607
56606
|
engine: r.engine,
|
|
56608
56607
|
ua: r.ua
|
|
56609
56608
|
});
|
|
56610
|
-
}, nP.getUA = e2, nP.isAndroid = eL, nP.isBrowser = eA, nP.isChrome = ez, nP.isChromium = ej, nP.isConsole = eE, nP.isDesktop = eR, nP.isEdge = e5, nP.isEdgeChromium = te, nP.isElectron = e6, nP.isEmbedded = eD, nP.isFirefox = eV, nP.isIE = eq, nP.isIOS = eN, nP.isIOS13 = e8, nP.isIPad13 = e9, nP.isIPhone13 = e4, nP.isIPod13 = e7, nP.isLegacyEdge = tt, nP.isMIUI = tn, nP.isMacOs = to, nP.isMobile = eI, nP.isMobileOnly = eO, nP.isMobileSafari = e$, nP.isOpera = eU, nP.isSafari = eW, nP.isSamsungBrowser = ti, nP.isSmartTV = eS, nP.isTablet = eM, nP.isWearable = eT, nP.isWinPhone = eF, nP.isWindows = tr, nP.isYandex = e0, nP.mobileModel = eY, nP.mobileVendor = eK, nP.osName = eX, nP.osVersion = eQ, nP.parseUserAgent =
|
|
56611
|
-
return
|
|
56609
|
+
}, nP.getUA = e2, nP.isAndroid = eL, nP.isBrowser = eA, nP.isChrome = ez, nP.isChromium = ej, nP.isConsole = eE, nP.isDesktop = eR, nP.isEdge = e5, nP.isEdgeChromium = te, nP.isElectron = e6, nP.isEmbedded = eD, nP.isFirefox = eV, nP.isIE = eq, nP.isIOS = eN, nP.isIOS13 = e8, nP.isIPad13 = e9, nP.isIPhone13 = e4, nP.isIPod13 = e7, nP.isLegacyEdge = tt, nP.isMIUI = tn, nP.isMacOs = to, nP.isMobile = eI, nP.isMobileOnly = eO, nP.isMobileSafari = e$, nP.isOpera = eU, nP.isSafari = eW, nP.isSamsungBrowser = ti, nP.isSmartTV = eS, nP.isTablet = eM, nP.isWearable = eT, nP.isWinPhone = eF, nP.isWindows = tr, nP.isYandex = e0, nP.mobileModel = eY, nP.mobileVendor = eK, nP.osName = eX, nP.osVersion = eQ, nP.parseUserAgent = p, nP.setUserAgent = function(t) {
|
|
56610
|
+
return f(t);
|
|
56612
56611
|
}, nP.useDeviceData = ta, nP.useDeviceSelectors = function(t) {
|
|
56613
56612
|
var r = ta(t || window.navigator.userAgent);
|
|
56614
56613
|
return [
|
|
@@ -56814,7 +56813,7 @@
|
|
|
56814
56813
|
var nM = oX(function() {
|
|
56815
56814
|
if (tW) return tV;
|
|
56816
56815
|
tW = 1;
|
|
56817
|
-
var t = 0 / 0, r = /^\s+|\s+$/g, o = /^[-+]0x[0-9a-f]+$/i, n = /^0b[01]+$/i, i = /^0o[0-7]+$/i, a = parseInt, s = "object" == typeof oQ && oQ && oQ.Object === Object && oQ, c = "object" == typeof self && self && self.Object === Object && self, l = s || c || Function("return this")(), d = Object.prototype.toString, u = Math.max,
|
|
56816
|
+
var t = 0 / 0, r = /^\s+|\s+$/g, o = /^[-+]0x[0-9a-f]+$/i, n = /^0b[01]+$/i, i = /^0o[0-7]+$/i, a = parseInt, s = "object" == typeof oQ && oQ && oQ.Object === Object && oQ, c = "object" == typeof self && self && self.Object === Object && self, l = s || c || Function("return this")(), d = Object.prototype.toString, u = Math.max, f = Math.min, p = function() {
|
|
56818
56817
|
return l.Date.now();
|
|
56819
56818
|
};
|
|
56820
56819
|
function h(t) {
|
|
@@ -56830,8 +56829,8 @@
|
|
|
56830
56829
|
}
|
|
56831
56830
|
if ("string" != typeof s) return 0 === s ? s : +s;
|
|
56832
56831
|
s = s.replace(r, "");
|
|
56833
|
-
var
|
|
56834
|
-
return
|
|
56832
|
+
var f = n.test(s);
|
|
56833
|
+
return f || i.test(s) ? a(s.slice(2), f ? 2 : 8) : o.test(s) ? t : +s;
|
|
56835
56834
|
}
|
|
56836
56835
|
return tV = function(t, r, o) {
|
|
56837
56836
|
var n, i, a, s, c, l, d = 0, g = !1, b = !1, v = !0;
|
|
@@ -56846,15 +56845,15 @@
|
|
|
56846
56845
|
return void 0 === l || o >= r || o < 0 || b && n >= a;
|
|
56847
56846
|
}
|
|
56848
56847
|
function y() {
|
|
56849
|
-
var t, o, n, i, s =
|
|
56848
|
+
var t, o, n, i, s = p();
|
|
56850
56849
|
if (k(s)) return C(s);
|
|
56851
|
-
c = setTimeout(y, (o = (t = s) - l, n = t - d, i = r - o, b ?
|
|
56850
|
+
c = setTimeout(y, (o = (t = s) - l, n = t - d, i = r - o, b ? f(i, a - n) : i));
|
|
56852
56851
|
}
|
|
56853
56852
|
function C(t) {
|
|
56854
56853
|
return (c = void 0, v && n) ? w(t) : (n = i = void 0, s);
|
|
56855
56854
|
}
|
|
56856
56855
|
function B() {
|
|
56857
|
-
var t, o =
|
|
56856
|
+
var t, o = p(), a = k(o);
|
|
56858
56857
|
if (n = arguments, i = this, l = o, a) {
|
|
56859
56858
|
if (void 0 === c) {
|
|
56860
56859
|
return d = t = l, c = setTimeout(y, r), g ? w(t) : s;
|
|
@@ -56866,7 +56865,7 @@
|
|
|
56866
56865
|
return B.cancel = function() {
|
|
56867
56866
|
void 0 !== c && clearTimeout(c), d = 0, n = l = i = c = void 0;
|
|
56868
56867
|
}, B.flush = function() {
|
|
56869
|
-
return void 0 === c ? s : C(
|
|
56868
|
+
return void 0 === c ? s : C(p());
|
|
56870
56869
|
}, B;
|
|
56871
56870
|
};
|
|
56872
56871
|
}()), nA = {
|
|
@@ -56877,11 +56876,11 @@
|
|
|
56877
56876
|
var t = tq ? nA.exports : (tq = 1, nA.exports = function() {
|
|
56878
56877
|
if (tU) return nR;
|
|
56879
56878
|
tU = 1;
|
|
56880
|
-
var t = "function" == typeof Symbol && Symbol.for, r = t ? Symbol.for("react.element") : 60103, o = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, i = t ? Symbol.for("react.strict_mode") : 60108, a = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, c = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, d = t ? Symbol.for("react.concurrent_mode") : 60111, u = t ? Symbol.for("react.forward_ref") : 60112,
|
|
56879
|
+
var t = "function" == typeof Symbol && Symbol.for, r = t ? Symbol.for("react.element") : 60103, o = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, i = t ? Symbol.for("react.strict_mode") : 60108, a = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, c = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, d = t ? Symbol.for("react.concurrent_mode") : 60111, u = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, p = t ? Symbol.for("react.suspense_list") : 60120, h = t ? Symbol.for("react.memo") : 60115, m = t ? Symbol.for("react.lazy") : 60116, g = t ? Symbol.for("react.block") : 60121, b = t ? Symbol.for("react.fundamental") : 60117, v = t ? Symbol.for("react.responder") : 60118, w = t ? Symbol.for("react.scope") : 60119;
|
|
56881
56880
|
function k(t) {
|
|
56882
56881
|
if ("object" == typeof t && null !== t) {
|
|
56883
|
-
var
|
|
56884
|
-
switch(
|
|
56882
|
+
var p = t.$$typeof;
|
|
56883
|
+
switch(p){
|
|
56885
56884
|
case r:
|
|
56886
56885
|
switch(t = t.type){
|
|
56887
56886
|
case l:
|
|
@@ -56889,7 +56888,7 @@
|
|
|
56889
56888
|
case n:
|
|
56890
56889
|
case a:
|
|
56891
56890
|
case i:
|
|
56892
|
-
case
|
|
56891
|
+
case f:
|
|
56893
56892
|
return t;
|
|
56894
56893
|
default:
|
|
56895
56894
|
switch(t = t && t.$$typeof){
|
|
@@ -56900,18 +56899,18 @@
|
|
|
56900
56899
|
case s:
|
|
56901
56900
|
return t;
|
|
56902
56901
|
default:
|
|
56903
|
-
return
|
|
56902
|
+
return p;
|
|
56904
56903
|
}
|
|
56905
56904
|
}
|
|
56906
56905
|
case o:
|
|
56907
|
-
return
|
|
56906
|
+
return p;
|
|
56908
56907
|
}
|
|
56909
56908
|
}
|
|
56910
56909
|
}
|
|
56911
56910
|
function y(t) {
|
|
56912
56911
|
return k(t) === d;
|
|
56913
56912
|
}
|
|
56914
|
-
return nR.AsyncMode = l, nR.ConcurrentMode = d, nR.ContextConsumer = c, nR.ContextProvider = s, nR.Element = r, nR.ForwardRef = u, nR.Fragment = n, nR.Lazy = m, nR.Memo = h, nR.Portal = o, nR.Profiler = a, nR.StrictMode = i, nR.Suspense =
|
|
56913
|
+
return nR.AsyncMode = l, nR.ConcurrentMode = d, nR.ContextConsumer = c, nR.ContextProvider = s, nR.Element = r, nR.ForwardRef = u, nR.Fragment = n, nR.Lazy = m, nR.Memo = h, nR.Portal = o, nR.Profiler = a, nR.StrictMode = i, nR.Suspense = f, nR.isAsyncMode = function(t) {
|
|
56915
56914
|
return y(t) || k(t) === l;
|
|
56916
56915
|
}, nR.isConcurrentMode = y, nR.isContextConsumer = function(t) {
|
|
56917
56916
|
return k(t) === c;
|
|
@@ -56934,9 +56933,9 @@
|
|
|
56934
56933
|
}, nR.isStrictMode = function(t) {
|
|
56935
56934
|
return k(t) === i;
|
|
56936
56935
|
}, nR.isSuspense = function(t) {
|
|
56937
|
-
return k(t) ===
|
|
56936
|
+
return k(t) === f;
|
|
56938
56937
|
}, nR.isValidElementType = function(t) {
|
|
56939
|
-
return "string" == typeof t || "function" == typeof t || t === n || t === d || t === a || t === i || t ===
|
|
56938
|
+
return "string" == typeof t || "function" == typeof t || t === n || t === d || t === a || t === i || t === f || t === p || "object" == typeof t && null !== t && (t.$$typeof === m || t.$$typeof === h || t.$$typeof === s || t.$$typeof === c || t.$$typeof === u || t.$$typeof === b || t.$$typeof === v || t.$$typeof === w || t.$$typeof === g);
|
|
56940
56939
|
}, nR.typeOf = k, nR;
|
|
56941
56940
|
}(), nA.exports), r = {
|
|
56942
56941
|
childContextTypes: !0,
|
|
@@ -56976,12 +56975,12 @@
|
|
|
56976
56975
|
displayName: !0,
|
|
56977
56976
|
propTypes: !0
|
|
56978
56977
|
}, i[t.Memo] = n;
|
|
56979
|
-
var s = Object.defineProperty, c = Object.getOwnPropertyNames, l = Object.getOwnPropertySymbols, d = Object.getOwnPropertyDescriptor, u = Object.getPrototypeOf,
|
|
56978
|
+
var s = Object.defineProperty, c = Object.getOwnPropertyNames, l = Object.getOwnPropertySymbols, d = Object.getOwnPropertyDescriptor, u = Object.getPrototypeOf, f = Object.prototype;
|
|
56980
56979
|
return tQ = function t(r, n, i) {
|
|
56981
56980
|
if ("string" != typeof n) {
|
|
56982
|
-
if (
|
|
56983
|
-
var
|
|
56984
|
-
|
|
56981
|
+
if (f) {
|
|
56982
|
+
var p = u(n);
|
|
56983
|
+
p && p !== f && t(r, p, i);
|
|
56985
56984
|
}
|
|
56986
56985
|
var h = c(n);
|
|
56987
56986
|
l && (h = h.concat(l(n)));
|
|
@@ -57138,7 +57137,7 @@
|
|
|
57138
57137
|
else console.warn("Flashlight is not supported or not initialized.");
|
|
57139
57138
|
}, [
|
|
57140
57139
|
c
|
|
57141
|
-
]),
|
|
57140
|
+
]), f = reactExports.useCallback(async ()=>{
|
|
57142
57141
|
if (c && c.isSupported()) try {
|
|
57143
57142
|
await c.turnOff(), d.current = !1;
|
|
57144
57143
|
} catch (t) {
|
|
@@ -57146,15 +57145,15 @@
|
|
|
57146
57145
|
}
|
|
57147
57146
|
}, [
|
|
57148
57147
|
c
|
|
57149
|
-
]),
|
|
57148
|
+
]), p = React.useMemo(()=>({
|
|
57150
57149
|
turnOnFlashlight: u,
|
|
57151
|
-
turnOffFlashlight:
|
|
57150
|
+
turnOffFlashlight: f
|
|
57152
57151
|
}), [
|
|
57153
57152
|
u,
|
|
57154
|
-
|
|
57153
|
+
f
|
|
57155
57154
|
]);
|
|
57156
57155
|
return oZ.jsx(nU.Provider, {
|
|
57157
|
-
value:
|
|
57156
|
+
value: p,
|
|
57158
57157
|
children: s
|
|
57159
57158
|
});
|
|
57160
57159
|
}, { Errors: nQ } = ra$1, nX = dt$1.div`
|
|
@@ -57200,7 +57199,7 @@
|
|
|
57200
57199
|
`;
|
|
57201
57200
|
function nJ(r) {
|
|
57202
57201
|
var s, c;
|
|
57203
|
-
let l, { checkCameraMode: d, frontCamera: u, onClose:
|
|
57202
|
+
let l, { checkCameraMode: d, frontCamera: u, onClose: f, children: p, onVideoPlayed: w, flipHorizontal: k, videoSettings: y, refVideo: C, onError: B, closeButton: _, videoClassName: x, scale: P, defaultCameraId: S, onWarning: E } = r, T = reactExports.useRef(), { lang: D } = no$1.useSDKSettings(), { sendEvent: $ } = iN$1.useSDKTracking(), j = nz("closeButton.src", "ic_close.svg"), [I, O] = reactExports.useState(""), M = reactExports.useRef(!1), A = reactExports.useRef(!1), R = reactExports.useRef(!1), L = reactExports.useRef(), F = reactExports.useRef([]), N = reactExports.useRef(""), z = gB(), V = reactExports.useCallback((t)=>{
|
|
57204
57203
|
B && B(t);
|
|
57205
57204
|
}, [
|
|
57206
57205
|
B
|
|
@@ -57276,8 +57275,8 @@
|
|
|
57276
57275
|
},
|
|
57277
57276
|
...o
|
|
57278
57277
|
}
|
|
57279
|
-
},
|
|
57280
|
-
if (await U(), q(), !
|
|
57278
|
+
}, f = await navigator.mediaDevices.getUserMedia(n);
|
|
57279
|
+
if (await U(), q(), !f) return O(z("not_supported")), V(nQ.not_supported), null;
|
|
57281
57280
|
a(performance.now(), "end"), window.tv_last_req_camera_complete = !0, c() - s() < 1600 ? $({
|
|
57282
57281
|
tag: "cam_permission",
|
|
57283
57282
|
event: "user_activity.cam",
|
|
@@ -57290,13 +57289,13 @@
|
|
|
57290
57289
|
log: {}
|
|
57291
57290
|
});
|
|
57292
57291
|
try {
|
|
57293
|
-
let t =
|
|
57294
|
-
if (h7.addExifData("device_info.camera_label_dimension.got", `${t.width}x${t.height}`), h7.addExifData("camera_res_selected", `${t.width}x${t.height}`), "function" == typeof
|
|
57295
|
-
let t =
|
|
57292
|
+
let t = f.getVideoTracks()[0].getSettings();
|
|
57293
|
+
if (h7.addExifData("device_info.camera_label_dimension.got", `${t.width}x${t.height}`), h7.addExifData("camera_res_selected", `${t.width}x${t.height}`), "function" == typeof f.getVideoTracks()[0].getCapabilities) {
|
|
57294
|
+
let t = f.getVideoTracks()[0].getCapabilities();
|
|
57296
57295
|
h7.addExifData("device_info.camera_capabilities", JSON.stringify(t));
|
|
57297
57296
|
}
|
|
57298
57297
|
} catch (t) {}
|
|
57299
|
-
return
|
|
57298
|
+
return f;
|
|
57300
57299
|
} catch (t) {
|
|
57301
57300
|
a(performance.now(), "end"), "NotAllowedError" === t.name ? (O(z("no_permission")), V(nQ.no_permission), A.current = !0, $({
|
|
57302
57301
|
tag: "cam_permission",
|
|
@@ -57407,13 +57406,13 @@
|
|
|
57407
57406
|
z
|
|
57408
57407
|
]);
|
|
57409
57408
|
let H = reactExports.useCallback(()=>{
|
|
57410
|
-
W(),
|
|
57409
|
+
W(), f && f(), $({
|
|
57411
57410
|
tag: "result",
|
|
57412
57411
|
event: "user_activity.cancel",
|
|
57413
57412
|
log: {}
|
|
57414
57413
|
});
|
|
57415
57414
|
}, [
|
|
57416
|
-
|
|
57415
|
+
f,
|
|
57417
57416
|
W,
|
|
57418
57417
|
$
|
|
57419
57418
|
]);
|
|
@@ -57476,7 +57475,7 @@
|
|
|
57476
57475
|
className: x,
|
|
57477
57476
|
scale: P
|
|
57478
57477
|
}),
|
|
57479
|
-
|
|
57478
|
+
p,
|
|
57480
57479
|
_ ? /*#__PURE__*/ React.cloneElement(_, {
|
|
57481
57480
|
onClick: H,
|
|
57482
57481
|
"data-testid": "close-camera"
|
|
@@ -57676,32 +57675,32 @@
|
|
|
57676
57675
|
"left center",
|
|
57677
57676
|
"left bottom"
|
|
57678
57677
|
], io = function(t, r, o, n, i) {
|
|
57679
|
-
var a = i.offsetX, s = i.offsetY, c = 8 * !!n, l = o.split(" "), d = t.top + t.height / 2, u = t.left + t.width / 2,
|
|
57678
|
+
var a = i.offsetX, s = i.offsetY, c = 8 * !!n, l = o.split(" "), d = t.top + t.height / 2, u = t.left + t.width / 2, f = r.height, p = r.width, h = d - f / 2, m = u - p / 2, g = "", b = "0%", v = "0%";
|
|
57680
57679
|
switch(l[0]){
|
|
57681
57680
|
case "top":
|
|
57682
|
-
h -=
|
|
57681
|
+
h -= f / 2 + t.height / 2 + c, g = "rotate(180deg) translateX(50%)", b = "100%", v = "50%";
|
|
57683
57682
|
break;
|
|
57684
57683
|
case "bottom":
|
|
57685
|
-
h +=
|
|
57684
|
+
h += f / 2 + t.height / 2 + c, g = "rotate(0deg) translateY(-100%) translateX(-50%)", v = "50%";
|
|
57686
57685
|
break;
|
|
57687
57686
|
case "left":
|
|
57688
|
-
m -=
|
|
57687
|
+
m -= p / 2 + t.width / 2 + c, g = " rotate(90deg) translateY(50%) translateX(-25%)", v = "100%", b = "50%";
|
|
57689
57688
|
break;
|
|
57690
57689
|
case "right":
|
|
57691
|
-
m +=
|
|
57690
|
+
m += p / 2 + t.width / 2 + c, g = "rotate(-90deg) translateY(-150%) translateX(25%)", b = "50%";
|
|
57692
57691
|
}
|
|
57693
57692
|
switch(l[1]){
|
|
57694
57693
|
case "top":
|
|
57695
57694
|
h = t.top, b = t.height / 2 + "px";
|
|
57696
57695
|
break;
|
|
57697
57696
|
case "bottom":
|
|
57698
|
-
h = t.top -
|
|
57697
|
+
h = t.top - f + t.height, b = f - t.height / 2 + "px";
|
|
57699
57698
|
break;
|
|
57700
57699
|
case "left":
|
|
57701
57700
|
m = t.left, v = t.width / 2 + "px";
|
|
57702
57701
|
break;
|
|
57703
57702
|
case "right":
|
|
57704
|
-
m = t.left -
|
|
57703
|
+
m = t.left - p + t.width, v = p - t.width / 2 + "px";
|
|
57705
57704
|
}
|
|
57706
57705
|
return h = "top" === l[0] ? h - s : h + s, {
|
|
57707
57706
|
top: h,
|
|
@@ -57729,12 +57728,12 @@
|
|
|
57729
57728
|
left: 0,
|
|
57730
57729
|
top: 0,
|
|
57731
57730
|
transform: "rotate(135deg)"
|
|
57732
|
-
}, d = 0, u = ii(a),
|
|
57731
|
+
}, d = 0, u = ii(a), f = Array.isArray(o) ? o : [
|
|
57733
57732
|
o
|
|
57734
57733
|
];
|
|
57735
|
-
for((a || Array.isArray(o)) && (
|
|
57736
|
-
var
|
|
57737
|
-
top: (l = io(t, r,
|
|
57734
|
+
for((a || Array.isArray(o)) && (f = [].concat(f, ir)); d < f.length;){
|
|
57735
|
+
var p = {
|
|
57736
|
+
top: (l = io(t, r, f[d], n, {
|
|
57738
57737
|
offsetX: s,
|
|
57739
57738
|
offsetY: c
|
|
57740
57739
|
})).top,
|
|
@@ -57742,7 +57741,7 @@
|
|
|
57742
57741
|
width: r.width,
|
|
57743
57742
|
height: r.height
|
|
57744
57743
|
};
|
|
57745
|
-
if (
|
|
57744
|
+
if (p.top <= u.top || p.left <= u.left || p.top + p.height >= u.top + u.height || p.left + p.width >= u.left + u.width) d++;
|
|
57746
57745
|
else break;
|
|
57747
57746
|
}
|
|
57748
57747
|
return l;
|
|
@@ -57750,7 +57749,7 @@
|
|
|
57750
57749
|
var t = document.getElementById("popup-root");
|
|
57751
57750
|
return null === t && ((t = document.createElement("div")).setAttribute("id", "popup-root"), document.body.appendChild(t)), t;
|
|
57752
57751
|
}, il = /*#__PURE__*/ reactExports.forwardRef(function(r, a) {
|
|
57753
|
-
var s = r.trigger, c = void 0 === s ? null : s, l = r.onOpen, u = void 0 === l ? function() {} : l,
|
|
57752
|
+
var s = r.trigger, c = void 0 === s ? null : s, l = r.onOpen, u = void 0 === l ? function() {} : l, f = r.onClose, p = void 0 === f ? function() {} : f, h = r.defaultOpen, m = r.open, g = void 0 === m ? void 0 : m, b = r.disabled, v = void 0 !== b && b, w = r.nested, k = void 0 !== w && w, y = r.closeOnDocumentClick, C = void 0 === y || y, B = r.repositionOnResize, _ = r.closeOnEscape, x = r.on, P = void 0 === x ? [
|
|
57754
57753
|
"click"
|
|
57755
57754
|
] : x, S = r.contentStyle, E = void 0 === S ? {} : S, T = r.arrowStyle, D = void 0 === T ? {} : T, $ = r.overlayStyle, j = r.className, I = void 0 === j ? "" : j, O = r.position, M = void 0 === O ? "bottom center" : O, A = r.modal, R = void 0 !== A && A, L = r.lockScroll, F = void 0 !== L && L, N = r.arrow, z = void 0 === N || N, V = r.offsetX, W = void 0 === V ? 0 : V, U = r.offsetY, q = void 0 === U ? 0 : U, Q = r.mouseEnterDelay, X = void 0 === Q ? 100 : Q, H = r.mouseLeaveDelay, Z = void 0 === H ? 100 : H, K = r.keepTooltipInside, Y = void 0 !== K && K, J = r.children, ee = reactExports.useState(g || void 0 !== h && h), et = ee[0], er = ee[1], eo = reactExports.useRef(null), en = reactExports.useRef(null), ei = reactExports.useRef(null), ea = reactExports.useRef(null), es = reactExports.useRef("popup-" + ++is), ec = !!R || !c, el = reactExports.useRef(0);
|
|
57756
57755
|
n7(function() {
|
|
@@ -57772,16 +57771,16 @@
|
|
|
57772
57771
|
}, eu = function(t) {
|
|
57773
57772
|
var r;
|
|
57774
57773
|
et && !v && (er(!1), ec && (null == (r = ea.current) || r.focus()), setTimeout(function() {
|
|
57775
|
-
return
|
|
57774
|
+
return p(t);
|
|
57776
57775
|
}, 0));
|
|
57777
|
-
}, ep = function(t) {
|
|
57778
|
-
null == t || t.stopPropagation(), et ? eu(t) : ed(t);
|
|
57779
57776
|
}, ef = function(t) {
|
|
57777
|
+
null == t || t.stopPropagation(), et ? eu(t) : ed(t);
|
|
57778
|
+
}, ep = function(t) {
|
|
57780
57779
|
clearTimeout(el.current), el.current = setTimeout(function() {
|
|
57781
57780
|
return ed(t);
|
|
57782
57781
|
}, X);
|
|
57783
57782
|
}, eh = function(t) {
|
|
57784
|
-
null == t || t.preventDefault(),
|
|
57783
|
+
null == t || t.preventDefault(), ef();
|
|
57785
57784
|
}, em = function(t) {
|
|
57786
57785
|
clearTimeout(el.current), el.current = setTimeout(function() {
|
|
57787
57786
|
return eu(t);
|
|
@@ -57803,7 +57802,7 @@
|
|
|
57803
57802
|
eu();
|
|
57804
57803
|
},
|
|
57805
57804
|
toggle: function() {
|
|
57806
|
-
|
|
57805
|
+
ef();
|
|
57807
57806
|
}
|
|
57808
57807
|
};
|
|
57809
57808
|
});
|
|
@@ -57837,7 +57836,7 @@
|
|
|
57837
57836
|
t.stopPropagation();
|
|
57838
57837
|
}
|
|
57839
57838
|
};
|
|
57840
|
-
return !R && P.indexOf("hover") >= 0 && (r.onMouseEnter =
|
|
57839
|
+
return !R && P.indexOf("hover") >= 0 && (r.onMouseEnter = ep, r.onMouseLeave = em), r;
|
|
57841
57840
|
}, ey = function() {
|
|
57842
57841
|
return /*#__PURE__*/ React.createElement("div", Object.assign({}, ek(), {
|
|
57843
57842
|
key: "C",
|
|
@@ -57884,16 +57883,16 @@
|
|
|
57884
57883
|
P
|
|
57885
57884
|
], n = 0, i = o.length; n < i; n++)switch(o[n]){
|
|
57886
57885
|
case "click":
|
|
57887
|
-
r.onClick =
|
|
57886
|
+
r.onClick = ef;
|
|
57888
57887
|
break;
|
|
57889
57888
|
case "right-click":
|
|
57890
57889
|
r.onContextMenu = eh;
|
|
57891
57890
|
break;
|
|
57892
57891
|
case "hover":
|
|
57893
|
-
r.onMouseEnter =
|
|
57892
|
+
r.onMouseEnter = ep, r.onMouseLeave = em;
|
|
57894
57893
|
break;
|
|
57895
57894
|
case "focus":
|
|
57896
|
-
r.onFocus =
|
|
57895
|
+
r.onFocus = ep, r.onBlur = em;
|
|
57897
57896
|
}
|
|
57898
57897
|
if ("function" == typeof c) {
|
|
57899
57898
|
var a = c(et);
|
|
@@ -58160,7 +58159,7 @@
|
|
|
58160
58159
|
}
|
|
58161
58160
|
}, im = "default", ig = "error";
|
|
58162
58161
|
function ib({ className: t, width: r, height: o, type: n, strokeStyles: i, strokeWidth: a, radius: s, paddingStyle: c, defaultRectStyles: l, errorRectStyles: d, paddingCornerMultiplier: u = 1.5 }) {
|
|
58163
|
-
let
|
|
58162
|
+
let p = reactExports.useMemo(()=>({
|
|
58164
58163
|
[im]: l,
|
|
58165
58164
|
[ig]: d,
|
|
58166
58165
|
...i
|
|
@@ -58168,7 +58167,7 @@
|
|
|
58168
58167
|
l,
|
|
58169
58168
|
d,
|
|
58170
58169
|
i
|
|
58171
|
-
]), h = s + a * u, m =
|
|
58170
|
+
]), h = s + a * u, m = p[n];
|
|
58172
58171
|
return oZ.jsxs("svg", {
|
|
58173
58172
|
width: r,
|
|
58174
58173
|
height: o,
|
|
@@ -58387,8 +58386,8 @@
|
|
|
58387
58386
|
if (o && !a || !o && !s) return null;
|
|
58388
58387
|
let { width: c, height: l } = r, d = document.createElement("canvas"), u = document.createElement("canvas");
|
|
58389
58388
|
d.width = c / 2, u.width = c / 2, d.height = l, u.height = l;
|
|
58390
|
-
let
|
|
58391
|
-
|
|
58389
|
+
let f = d.getContext("2d"), p = u.getContext("2d");
|
|
58390
|
+
f.drawImage(r, 0, 0, c / 2, l, 0, 0, c / 2, l), p.drawImage(r, c / 2, 0, c / 2, l, 0, 0, c / 2, l);
|
|
58392
58391
|
let [h, m] = await Promise.all([
|
|
58393
58392
|
fb.getModelPredictions({
|
|
58394
58393
|
model: t,
|
|
@@ -58429,13 +58428,13 @@
|
|
|
58429
58428
|
return i;
|
|
58430
58429
|
}, iz = (t, r)=>parseFloat(t.toFixed(r)), iV = ({ currentFrameBlurScore: t, incomingFrameBlurScore: r, currentFrameGlareScore: o, incomingFrameGlareScore: n, settings: i, blurLargeThreshold: a, blurSmallThreshold: s })=>{
|
|
58431
58430
|
if (null === t) return !0;
|
|
58432
|
-
let { enableBlurCheck: c, enableGlareCheck: l } = i, d = t?.small, u = t?.large,
|
|
58433
|
-
return (!c || !(
|
|
58431
|
+
let { enableBlurCheck: c, enableGlareCheck: l } = i, d = t?.small, u = t?.large, f = r?.small, p = r?.large;
|
|
58432
|
+
return (!c || !(f < s) && !(p < a)) && (Math.abs(f - d) > Number.EPSILON ? f > d : Math.abs(p - u) > Number.EPSILON ? p > u : !!(l && Math.abs(n - o) > Number.EPSILON) && n > o);
|
|
58434
58433
|
};
|
|
58435
58434
|
function iW(t, r, o, n, i) {
|
|
58436
58435
|
o && (o.strokeStyle = r, o.lineWidth = 2, t.forEach((t)=>{
|
|
58437
|
-
let [r, a, s, c] = t, l = (r + i.x) * n, d = (a + i.y) * n, u = (s + i.x) * n,
|
|
58438
|
-
o.strokeRect(l, d, u - l,
|
|
58436
|
+
let [r, a, s, c] = t, l = (r + i.x) * n, d = (a + i.y) * n, u = (s + i.x) * n, f = (c + i.y) * n;
|
|
58437
|
+
o.strokeRect(l, d, u - l, f - d);
|
|
58439
58438
|
}));
|
|
58440
58439
|
}
|
|
58441
58440
|
function iU(t) {
|
|
@@ -59241,14 +59240,14 @@
|
|
|
59241
59240
|
_drawToCanvas(t, r, o, n, i, a) {
|
|
59242
59241
|
if (this._animationFrameId && cancelAnimationFrame(this._animationFrameId), !t || !a || this._stopDrawing) return;
|
|
59243
59242
|
this._lastFrameTime = 0;
|
|
59244
|
-
let { cropX: s, cropY: c, cropWidth: l, cropHeight: d } = a, u = 1e3 / i,
|
|
59243
|
+
let { cropX: s, cropY: c, cropWidth: l, cropHeight: d } = a, u = 1e3 / i, f = (i)=>{
|
|
59245
59244
|
if (this._stopDrawing) {
|
|
59246
59245
|
this._animationFrameId = null;
|
|
59247
59246
|
return;
|
|
59248
59247
|
}
|
|
59249
|
-
i - this._lastFrameTime >= u && (this._lastFrameTime = i, t.drawImage(r, s, c, l, d, 0, 0, o, n)), this._animationFrameId = requestAnimationFrame(
|
|
59248
|
+
i - this._lastFrameTime >= u && (this._lastFrameTime = i, t.drawImage(r, s, c, l, d, 0, 0, o, n)), this._animationFrameId = requestAnimationFrame(f);
|
|
59250
59249
|
};
|
|
59251
|
-
this._animationFrameId = requestAnimationFrame(
|
|
59250
|
+
this._animationFrameId = requestAnimationFrame(f);
|
|
59252
59251
|
}
|
|
59253
59252
|
stopDrawing() {
|
|
59254
59253
|
this._stopDrawing = !0, this._animationFrameId && (cancelAnimationFrame(this._animationFrameId), this._animationFrameId = null);
|
|
@@ -59258,10 +59257,10 @@
|
|
|
59258
59257
|
this.clearVideoChunks(), this._stopDrawing = !1;
|
|
59259
59258
|
let { videoFrameWidth: a, videoFrameHeight: s, videoBitrate: c, fps: l } = o, d = l || this.DEFAULT_VIDEO_FPS, u = r.cropWidth / r.cropHeight;
|
|
59260
59259
|
aE(a) ? (n = a, i = a / u) : aE(s) ? (n = s * u, i = s) : (n = 400, i = 800);
|
|
59261
|
-
let
|
|
59262
|
-
|
|
59263
|
-
let
|
|
59264
|
-
if (!
|
|
59260
|
+
let f = document.createElement("canvas");
|
|
59261
|
+
f.width = n, f.height = i;
|
|
59262
|
+
let p = f.getContext("2d");
|
|
59263
|
+
if (!p) return console.error("Could not get canvas context."), {
|
|
59265
59264
|
mediaRecorder: null
|
|
59266
59265
|
};
|
|
59267
59266
|
try {
|
|
@@ -59269,7 +59268,7 @@
|
|
|
59269
59268
|
mimeType: "video/webm",
|
|
59270
59269
|
videoBitsPerSecond: c
|
|
59271
59270
|
}, i = nT.isIOS ? "video/mp4" : "video/webm";
|
|
59272
|
-
if (MediaRecorder.isTypeSupported(i) && (this._stream && this._stream.getTracks().forEach((t)=>t.stop()), this._stopDrawing = !1, this._drawToCanvas(
|
|
59271
|
+
if (MediaRecorder.isTypeSupported(i) && (this._stream && this._stream.getTracks().forEach((t)=>t.stop()), this._stopDrawing = !1, this._drawToCanvas(p, t, n, n / u, d, r), this._stream = f.captureStream(), o = {
|
|
59273
59272
|
mimeType: i,
|
|
59274
59273
|
videoBitsPerSecond: Math.min(c, this.MAX_VIDEO_BITRATE)
|
|
59275
59274
|
}), !this._stream) throw Error("Failed to create a media stream for recording.");
|
|
@@ -59324,7 +59323,7 @@
|
|
|
59324
59323
|
}
|
|
59325
59324
|
}, [
|
|
59326
59325
|
i
|
|
59327
|
-
]),
|
|
59326
|
+
]), p = reactExports.useCallback(()=>{
|
|
59328
59327
|
if (s.current && r.current) try {
|
|
59329
59328
|
s.current.discardRecording(), r.current = !1;
|
|
59330
59329
|
} catch (t) {
|
|
@@ -59333,19 +59332,19 @@
|
|
|
59333
59332
|
}, []);
|
|
59334
59333
|
return reactExports.useEffect(()=>{
|
|
59335
59334
|
let t = ()=>{
|
|
59336
|
-
"hidden" === document.visibilityState ?
|
|
59335
|
+
"hidden" === document.visibilityState ? p() : "visible" === document.visibilityState && c.current && l(c.current);
|
|
59337
59336
|
};
|
|
59338
59337
|
return document.addEventListener("visibilitychange", t), ()=>{
|
|
59339
59338
|
document.removeEventListener("visibilitychange", t);
|
|
59340
59339
|
};
|
|
59341
59340
|
}, [
|
|
59342
59341
|
l,
|
|
59343
|
-
|
|
59342
|
+
p
|
|
59344
59343
|
]), {
|
|
59345
59344
|
startRecording: l,
|
|
59346
59345
|
stopRecording: d,
|
|
59347
59346
|
resetRecording: u,
|
|
59348
|
-
discardRecording:
|
|
59347
|
+
discardRecording: p
|
|
59349
59348
|
};
|
|
59350
59349
|
}, { Errors: a$ } = ra$1, aj = ()=>({
|
|
59351
59350
|
imageBlob: null,
|
|
@@ -59558,22 +59557,22 @@
|
|
|
59558
59557
|
});
|
|
59559
59558
|
}
|
|
59560
59559
|
let aU = /*#__PURE__*/ reactExports.forwardRef((t, r)=>{
|
|
59561
|
-
let { description: s, usePortraitMask: l, windowAndVideoInfo: u, refVideo:
|
|
59560
|
+
let { description: s, usePortraitMask: l, windowAndVideoInfo: u, refVideo: p, frontSide: k, allowedCardTypes: y, settings: C, onCaptureDone: B, onUISpacingChange: x, outputEncryptionSettings: S, isShowingSpinner: E } = t, T = nt$2(), [D, F] = reactExports.useState({}), { yMessage: N, yCaptureButton: z, yToggleButton: V, yInstruction: U, yCountdown: q } = D, Q = nz("IDCapturing.captureIcon.src", "ic_camera.svg"), X = nz("IDCapturing.captureIcon.disabled.src", "ic_camera.svg"), H = nN("IDCapturing.countdown.color")({
|
|
59562
59561
|
theme: T
|
|
59563
|
-
}), G = nz("IDCapturing.loadingIcon.src", "ic_loading.gif"), [Z, K] = reactExports.useState(""), Y = gB(), [J, ee] = reactExports.useState(null), [et, er] = reactExports.useState(""), [eo, en] = reactExports.useState(null), { showPopup: ei, popupShown: ea, popupType: es } = ad(), ec = reactExports.useContext(aO), [el, ed] = reactExports.useState(!1), eu = reactExports.useRef(()=>{}),
|
|
59562
|
+
}), G = nz("IDCapturing.loadingIcon.src", "ic_loading.gif"), [Z, K] = reactExports.useState(""), Y = gB(), [J, ee] = reactExports.useState(null), [et, er] = reactExports.useState(""), [eo, en] = reactExports.useState(null), { showPopup: ei, popupShown: ea, popupType: es } = ad(), ec = reactExports.useContext(aO), [el, ed] = reactExports.useState(!1), eu = reactExports.useRef(()=>{}), ef = reactExports.useCallback((t)=>{
|
|
59564
59563
|
null === t ? er("") : er(Y(t?.code, {
|
|
59565
59564
|
side: k ? Y("front") : Y("back")
|
|
59566
59565
|
}));
|
|
59567
59566
|
}, [
|
|
59568
59567
|
Y,
|
|
59569
59568
|
k
|
|
59570
|
-
]),
|
|
59569
|
+
]), ep = reactExports.useCallback(()=>{
|
|
59571
59570
|
ee(""), eu.current();
|
|
59572
59571
|
}, []), eh = reactExports.useCallback((...t)=>{
|
|
59573
59572
|
ee(""), B(...t);
|
|
59574
59573
|
}, [
|
|
59575
59574
|
B
|
|
59576
|
-
]), { warmupDone: em, isPostProcessing: eg, isAutoCapturing: eb, takePictureManually: ev, restartSession: ew, resetIsProcessingImageBlobTaken: ek, isAutoCaptureModeOn: ey, onToggleAutoCaptureMode: eC, autoCaptureDuration: eB } = (({ shouldStart: t, refVideo: r, cropArea: s, settings: l, onModelErrorChange: d, frontSide: u, onDebugInfoChange:
|
|
59575
|
+
]), { warmupDone: em, isPostProcessing: eg, isAutoCapturing: eb, takePictureManually: ev, restartSession: ew, resetIsProcessingImageBlobTaken: ek, isAutoCaptureModeOn: ey, onToggleAutoCaptureMode: eC, autoCaptureDuration: eB } = (({ shouldStart: t, refVideo: r, cropArea: s, settings: l, onModelErrorChange: d, frontSide: u, onDebugInfoChange: p, onAboutToTimeout: g, onSessionTimeout: k, onCaptureDone: y, outputEncryptionSettings: C, quality: B })=>{
|
|
59577
59576
|
let x = reactExports.useRef(!1), [S, E] = reactExports.useState(!1), T = reactExports.useRef(()=>{}), { sendEvent: D } = iN$1.useSDKTracking(), L = reactExports.useRef(), F = reactExports.useRef(), N = reactExports.useRef(), z = reactExports.useContext(aO), { enableAntiDebug: V } = no$1.useSDKSettings(), { onErrorCallback: W } = aS(), { playVoice: U } = iJ$1.useVoicePlayer(), [q, Q] = reactExports.useState(nn(l, "enableAutoCapture")), X = reactExports.useCallback(()=>{
|
|
59578
59577
|
Q((t)=>!t);
|
|
59579
59578
|
}, []), { autoCaptureWaitForBestImageTimeMs: H, manualCaptureWaitForBestImageTimeMs: G } = l, Z = q ? H : G;
|
|
@@ -59614,30 +59613,30 @@
|
|
|
59614
59613
|
l.blurLargeThresholdAuto,
|
|
59615
59614
|
l.blurLargeThresholdManual,
|
|
59616
59615
|
l.enableAutoCapture
|
|
59617
|
-
]), { isCapturing: et, refWorkingCanvas: er, stopCheckFrame: eo, checkFrame: en, warmupDone: ei, takePictureManually: ea, refAbleToRunBurstMode: es, refVirtualFrames: ec, refCardCoordinates: el, refBlurScores: ed, refGlareScores: eu, resetState:
|
|
59616
|
+
]), { isCapturing: et, refWorkingCanvas: er, stopCheckFrame: eo, checkFrame: en, warmupDone: ei, takePictureManually: ea, refAbleToRunBurstMode: es, refVirtualFrames: ec, refCardCoordinates: el, refBlurScores: ed, refGlareScores: eu, resetState: ef, resetRecordVideo: ep } = function({ isAutoCapture: t, blurSmallThreshold: r, blurLargeThreshold: s, refVideo: l, shouldStart: d, cropArea: u, settings: p, onError: m, frontSide: g, onAutoCaptureSuccess: b, quality: k, debug: y }) {
|
|
59618
59617
|
let C = reactExports.useRef(null);
|
|
59619
59618
|
null === C.current && (C.current = document.createElement("canvas"));
|
|
59620
|
-
let B = reactExports.useRef([]), x = reactExports.useRef({}), S = reactExports.useRef(!1), E = reactExports.useRef([]), T = reactExports.useRef(!1), D = reactExports.useRef(null), [I, O] = reactExports.useState(!1), M = reactExports.useRef(aj()), A = reactExports.useRef(aI()), R = reactExports.useRef(null), L = reactExports.useRef(!1), F = reactExports.useRef(!1), N = reactExports.useRef(null), z = reactExports.useRef(!1), V = reactExports.useRef({}), { customUrls: W } = no$1.useSDKSettings(), { onErrorCallback: U } = aS(), [q, Q] = reactExports.useState(!0), X = reactExports.useRef([]), H = reactExports.useRef([]), G = reactExports.useRef(t), { allowedCards: Z } =
|
|
59621
|
-
videoFrameWidth:
|
|
59622
|
-
videoFrameHeight:
|
|
59623
|
-
videoBitrate:
|
|
59624
|
-
fps:
|
|
59619
|
+
let B = reactExports.useRef([]), x = reactExports.useRef({}), S = reactExports.useRef(!1), E = reactExports.useRef([]), T = reactExports.useRef(!1), D = reactExports.useRef(null), [I, O] = reactExports.useState(!1), M = reactExports.useRef(aj()), A = reactExports.useRef(aI()), R = reactExports.useRef(null), L = reactExports.useRef(!1), F = reactExports.useRef(!1), N = reactExports.useRef(null), z = reactExports.useRef(!1), V = reactExports.useRef({}), { customUrls: W } = no$1.useSDKSettings(), { onErrorCallback: U } = aS(), [q, Q] = reactExports.useState(!0), X = reactExports.useRef([]), H = reactExports.useRef([]), G = reactExports.useRef(t), { allowedCards: Z } = p, K = reactExports.useRef(null), [Y, J] = reactExports.useState(!1), ee = reactExports.useRef(!1), et = reactExports.useMemo(()=>({
|
|
59620
|
+
videoFrameWidth: p.recordVideoFrameWidth,
|
|
59621
|
+
videoFrameHeight: p.recordVideoFrameHeight,
|
|
59622
|
+
videoBitrate: p.recordVideoBitrate,
|
|
59623
|
+
fps: p.recordVideoFps
|
|
59625
59624
|
}), [
|
|
59626
|
-
|
|
59627
|
-
|
|
59628
|
-
|
|
59629
|
-
|
|
59625
|
+
p.recordVideoBitrate,
|
|
59626
|
+
p.recordVideoFps,
|
|
59627
|
+
p.recordVideoFrameHeight,
|
|
59628
|
+
p.recordVideoFrameWidth
|
|
59630
59629
|
]), { startRecording: er, stopRecording: eo, resetRecording: en } = aD({
|
|
59631
|
-
shouldRecord: reactExports.useMemo(()=>g ?
|
|
59630
|
+
shouldRecord: reactExports.useMemo(()=>g ? p.enableRecordCapturingFront : p.enableRecordCapturingBack, [
|
|
59632
59631
|
g,
|
|
59633
|
-
|
|
59634
|
-
|
|
59632
|
+
p.enableRecordCapturingBack,
|
|
59633
|
+
p.enableRecordCapturingFront
|
|
59635
59634
|
])
|
|
59636
59635
|
}), { startRecording: ei, stopRecording: ea, resetRecording: es } = aD({
|
|
59637
|
-
shouldRecord: reactExports.useMemo(()=>g ?
|
|
59636
|
+
shouldRecord: reactExports.useMemo(()=>g ? p.enableRecordFullSessionFront : p.enableRecordFullSessionBack, [
|
|
59638
59637
|
g,
|
|
59639
|
-
|
|
59640
|
-
|
|
59638
|
+
p.enableRecordFullSessionBack,
|
|
59639
|
+
p.enableRecordFullSessionFront
|
|
59641
59640
|
])
|
|
59642
59641
|
}), { turnOnFlashlight: ec, turnOffFlashlight: el } = (()=>{
|
|
59643
59642
|
let t = reactExports.useContext(nU);
|
|
@@ -59651,8 +59650,8 @@
|
|
|
59651
59650
|
]), reactExports.useEffect(()=>{
|
|
59652
59651
|
let t = !1;
|
|
59653
59652
|
return async function r() {
|
|
59654
|
-
if (
|
|
59655
|
-
if (
|
|
59653
|
+
if (p && !I) {
|
|
59654
|
+
if (p.enableIdDetection) {
|
|
59656
59655
|
let t = ((t, r)=>{
|
|
59657
59656
|
if (0 === t.length) return {
|
|
59658
59657
|
isValid: !1
|
|
@@ -59673,7 +59672,7 @@
|
|
|
59673
59672
|
} : {
|
|
59674
59673
|
isValid: !1
|
|
59675
59674
|
};
|
|
59676
|
-
})(Z.map((t)=>t.code),
|
|
59675
|
+
})(Z.map((t)=>t.code), p?.cardTypeModelMapping);
|
|
59677
59676
|
if (!t.isValid) {
|
|
59678
59677
|
U(a$.invalid_card_type_config), Q(!1), O(!0);
|
|
59679
59678
|
return;
|
|
@@ -59682,7 +59681,7 @@
|
|
|
59682
59681
|
V.current = await a_({
|
|
59683
59682
|
...W,
|
|
59684
59683
|
idCardModelUrl: r
|
|
59685
|
-
}, t.cardModel), await fY.initTensorFlow(), N.current =
|
|
59684
|
+
}, t.cardModel), await fY.initTensorFlow(), N.current = p.enableBlurCheck && V.current.ableToUseModel, Q(!t.forceOffDetection);
|
|
59686
59685
|
} else Q(!1), N.current = !1;
|
|
59687
59686
|
t || O(!0);
|
|
59688
59687
|
}
|
|
@@ -59691,7 +59690,7 @@
|
|
|
59691
59690
|
};
|
|
59692
59691
|
}, [
|
|
59693
59692
|
I,
|
|
59694
|
-
|
|
59693
|
+
p,
|
|
59695
59694
|
W,
|
|
59696
59695
|
Z,
|
|
59697
59696
|
U
|
|
@@ -59708,13 +59707,13 @@
|
|
|
59708
59707
|
});
|
|
59709
59708
|
}, [
|
|
59710
59709
|
k
|
|
59711
|
-
]),
|
|
59710
|
+
]), ef = reactExports.useCallback(()=>{
|
|
59712
59711
|
Y || (en(), es());
|
|
59713
59712
|
}, [
|
|
59714
59713
|
Y,
|
|
59715
59714
|
en,
|
|
59716
59715
|
es
|
|
59717
|
-
]),
|
|
59716
|
+
]), ep = reactExports.useCallback(async ()=>{
|
|
59718
59717
|
let t = {
|
|
59719
59718
|
capturingVideo: {
|
|
59720
59719
|
blob: null
|
|
@@ -59729,18 +59728,18 @@
|
|
|
59729
59728
|
}, [
|
|
59730
59729
|
eo,
|
|
59731
59730
|
ea
|
|
59732
|
-
]), eh = reactExports.useMemo(()=>g ?
|
|
59731
|
+
]), eh = reactExports.useMemo(()=>g ? p.enableFlashlightFront : p.enableFlashlightBack, [
|
|
59733
59732
|
g,
|
|
59734
|
-
|
|
59735
|
-
|
|
59736
|
-
]), em = reactExports.useMemo(()=>g ?
|
|
59733
|
+
p.enableFlashlightBack,
|
|
59734
|
+
p.enableFlashlightFront
|
|
59735
|
+
]), em = reactExports.useMemo(()=>g ? p.flashlightActivationDelayFront : p.flashlightActivationDelayBack, [
|
|
59737
59736
|
g,
|
|
59738
|
-
|
|
59739
|
-
|
|
59740
|
-
]), eg = reactExports.useMemo(()=>g ?
|
|
59737
|
+
p.flashlightActivationDelayBack,
|
|
59738
|
+
p.flashlightActivationDelayFront
|
|
59739
|
+
]), eg = reactExports.useMemo(()=>g ? p.flashlightDurationFront : p.flashlightDurationBack, [
|
|
59741
59740
|
g,
|
|
59742
|
-
|
|
59743
|
-
|
|
59741
|
+
p.flashlightDurationBack,
|
|
59742
|
+
p.flashlightDurationFront
|
|
59744
59743
|
]), eb = reactExports.useCallback(()=>{
|
|
59745
59744
|
!ed.current && eh && (ed.current = !0, setTimeout(()=>{
|
|
59746
59745
|
ec(eg);
|
|
@@ -59757,9 +59756,9 @@
|
|
|
59757
59756
|
]), ew = reactExports.useCallback(()=>{
|
|
59758
59757
|
!0 === T.current && (T.current = !1);
|
|
59759
59758
|
}, []), ek = reactExports.useCallback(()=>{
|
|
59760
|
-
|
|
59759
|
+
ef(), X.current = [], H.current = [], R.current = null, z.current = !1, ee.current = !1;
|
|
59761
59760
|
}, [
|
|
59762
|
-
|
|
59761
|
+
ef
|
|
59763
59762
|
]), ey = reactExports.useCallback(async ({ blurScore: t, detectedCard: o, glareScore: n })=>{
|
|
59764
59763
|
await er({
|
|
59765
59764
|
videoEl: l.current,
|
|
@@ -59772,7 +59771,7 @@
|
|
|
59772
59771
|
incomingFrameBlurScore: t,
|
|
59773
59772
|
currentFrameGlareScore: i.glareScore,
|
|
59774
59773
|
incomingFrameGlareScore: n,
|
|
59775
|
-
settings:
|
|
59774
|
+
settings: p,
|
|
59776
59775
|
blurLargeThreshold: s,
|
|
59777
59776
|
blurSmallThreshold: r
|
|
59778
59777
|
})) {
|
|
@@ -59790,25 +59789,25 @@
|
|
|
59790
59789
|
}
|
|
59791
59790
|
i.takenAt = new Date().getTime(), i.blurScore = t, i.glareScore = n, i.detectedCard = o, i.captureType = "auto";
|
|
59792
59791
|
}
|
|
59793
|
-
|
|
59792
|
+
p.enableBlurCheck && X.current.push(t), p.enableGlareCheck && H.current.push(n);
|
|
59794
59793
|
}, [
|
|
59795
59794
|
er,
|
|
59796
59795
|
l,
|
|
59797
59796
|
et,
|
|
59798
59797
|
eb,
|
|
59799
|
-
|
|
59798
|
+
p,
|
|
59800
59799
|
s,
|
|
59801
59800
|
r,
|
|
59802
59801
|
k
|
|
59803
59802
|
]), eC = reactExports.useCallback(async ({ blurScore: t, detectedCard: o, glareScore: n })=>{
|
|
59804
59803
|
F.current = !0;
|
|
59805
59804
|
let i = A.current;
|
|
59806
|
-
if (
|
|
59805
|
+
if (p.enableBlurCheck && X.current.push(t), p.enableGlareCheck && H.current.push(n), iV({
|
|
59807
59806
|
currentFrameBlurScore: i.blurScore,
|
|
59808
59807
|
currentFrameGlareScore: i.glareScore,
|
|
59809
59808
|
incomingFrameBlurScore: t,
|
|
59810
59809
|
incomingFrameGlareScore: n,
|
|
59811
|
-
settings:
|
|
59810
|
+
settings: p,
|
|
59812
59811
|
blurLargeThreshold: s,
|
|
59813
59812
|
blurSmallThreshold: r
|
|
59814
59813
|
})) {
|
|
@@ -59827,19 +59826,19 @@
|
|
|
59827
59826
|
s,
|
|
59828
59827
|
r,
|
|
59829
59828
|
k,
|
|
59830
|
-
|
|
59829
|
+
p
|
|
59831
59830
|
]), eB = reactExports.useCallback(async ()=>{
|
|
59832
|
-
let { autoCaptureWaitForBestImageTimeMs: t } =
|
|
59831
|
+
let { autoCaptureWaitForBestImageTimeMs: t } = p, r = M.current;
|
|
59833
59832
|
if (null !== r.imageBlob && new Date().getTime() - R.current > t) {
|
|
59834
|
-
let t = await
|
|
59833
|
+
let t = await ep();
|
|
59835
59834
|
await ev(), await b({
|
|
59836
59835
|
...r,
|
|
59837
59836
|
...t
|
|
59838
59837
|
}), J(!1), R.current = null;
|
|
59839
59838
|
}
|
|
59840
59839
|
}, [
|
|
59841
|
-
|
|
59842
|
-
|
|
59840
|
+
p,
|
|
59841
|
+
ep,
|
|
59843
59842
|
ev,
|
|
59844
59843
|
b
|
|
59845
59844
|
]), e_ = reactExports.useCallback(()=>{
|
|
@@ -59854,7 +59853,7 @@
|
|
|
59854
59853
|
resultAnalyzeVideoAndWindowSizes: D.current,
|
|
59855
59854
|
recordVideoSettings: et
|
|
59856
59855
|
}), eb(), new Promise((t)=>{
|
|
59857
|
-
let { enableVirtualCamHashes: o, manualCaptureWaitForBestImageTimeMs: n } =
|
|
59856
|
+
let { enableVirtualCamHashes: o, manualCaptureWaitForBestImageTimeMs: n } = p, i = A.current;
|
|
59858
59857
|
if (i.captureTime = Date.now(), N.current) J(!0), e_(), setTimeout(()=>{
|
|
59859
59858
|
ex().then(async ()=>{
|
|
59860
59859
|
await ev(), (i.blurScore?.small <= r || i.blurScore?.large <= s) && (i.error = a$.id_detector_error_blur);
|
|
@@ -59869,7 +59868,7 @@
|
|
|
59869
59868
|
quality: k
|
|
59870
59869
|
}).then(async (n)=>{
|
|
59871
59870
|
i.imageBlob = n, i.captureTime = Date.now(), i.hash = r, o && await eu(i.detectedCard);
|
|
59872
|
-
let a = await
|
|
59871
|
+
let a = await ep();
|
|
59873
59872
|
t({
|
|
59874
59873
|
...i,
|
|
59875
59874
|
...a
|
|
@@ -59877,7 +59876,7 @@
|
|
|
59877
59876
|
});
|
|
59878
59877
|
} else {
|
|
59879
59878
|
o && await eu(i.detectedCard);
|
|
59880
|
-
let r = await
|
|
59879
|
+
let r = await ep();
|
|
59881
59880
|
t({
|
|
59882
59881
|
...i,
|
|
59883
59882
|
...r
|
|
@@ -59904,10 +59903,10 @@
|
|
|
59904
59903
|
l,
|
|
59905
59904
|
et,
|
|
59906
59905
|
eb,
|
|
59907
|
-
|
|
59906
|
+
p,
|
|
59908
59907
|
e_,
|
|
59909
59908
|
ex,
|
|
59910
|
-
|
|
59909
|
+
ep,
|
|
59911
59910
|
ev,
|
|
59912
59911
|
r,
|
|
59913
59912
|
s,
|
|
@@ -59941,10 +59940,10 @@
|
|
|
59941
59940
|
portraitTopLeft: c,
|
|
59942
59941
|
portraitBottomRight: l
|
|
59943
59942
|
};
|
|
59944
|
-
}(t,
|
|
59943
|
+
}(t, p.blurFullFaceImageRatio, r), a = function(t, r) {
|
|
59945
59944
|
let { cv: o } = window;
|
|
59946
59945
|
if (!o) throw Error("Opencv not found!");
|
|
59947
|
-
let { topLeft: n, topRight: i, bottomRight: a, bottomLeft: s, maxWidth: c, maxHeight: l } = r, { portraitTopLeft: d, portraitBottomRight: u } = t,
|
|
59946
|
+
let { topLeft: n, topRight: i, bottomRight: a, bottomLeft: s, maxWidth: c, maxHeight: l } = r, { portraitTopLeft: d, portraitBottomRight: u } = t, f = o.matFromArray(4, 1, o.CV_32FC2, [
|
|
59948
59947
|
n.x,
|
|
59949
59948
|
n.y,
|
|
59950
59949
|
i.x,
|
|
@@ -59953,7 +59952,7 @@
|
|
|
59953
59952
|
a.y,
|
|
59954
59953
|
s.x,
|
|
59955
59954
|
s.y
|
|
59956
|
-
]),
|
|
59955
|
+
]), p = o.matFromArray(4, 1, o.CV_32FC2, [
|
|
59957
59956
|
0,
|
|
59958
59957
|
0,
|
|
59959
59958
|
c - 1,
|
|
@@ -59962,7 +59961,7 @@
|
|
|
59962
59961
|
l - 1,
|
|
59963
59962
|
0,
|
|
59964
59963
|
l - 1
|
|
59965
|
-
]), h = o.getPerspectiveTransform(
|
|
59964
|
+
]), h = o.getPerspectiveTransform(f, p), m = (t)=>{
|
|
59966
59965
|
let r = o.matFromArray(1, 1, o.CV_32FC2, [
|
|
59967
59966
|
t[0],
|
|
59968
59967
|
t[1]
|
|
@@ -59976,7 +59975,7 @@
|
|
|
59976
59975
|
Math.max(0, Math.min(i[1] * (ra$1.RESIZE_IMAGE_HEIGHT / l), l))
|
|
59977
59976
|
];
|
|
59978
59977
|
}, g = m(d), b = m(u);
|
|
59979
|
-
return
|
|
59978
|
+
return f.delete(), p.delete(), h.delete(), [
|
|
59980
59979
|
parseInt(g[0], 10),
|
|
59981
59980
|
parseInt(g[1], 10),
|
|
59982
59981
|
parseInt(b[0], 10),
|
|
@@ -60054,9 +60053,9 @@
|
|
|
60054
60053
|
};
|
|
60055
60054
|
}
|
|
60056
60055
|
}, [
|
|
60057
|
-
|
|
60056
|
+
p
|
|
60058
60057
|
]), e$ = reactExports.useCallback(async ({ result: t, workingCanvas: o })=>{
|
|
60059
|
-
let n, i, { cropX: a, cropY: c, cropWidth: d, cropHeight: u, cropWidthWithoutPadding:
|
|
60058
|
+
let n, i, { cropX: a, cropY: c, cropWidth: d, cropHeight: u, cropWidthWithoutPadding: f, cropHeightWithoutPadding: h } = D.current, { enableBlurCheck: m, enableGlareCheck: b, glareThreshold: v, isVietnameseCardFlow: k, hasFrontFace: C, hasBackFace: B, genericEnableCheckFrontFace: x, genericEnableCheckBackFace: P } = p, { blazefaceModel: S, blurDetector: E } = V.current, T = {
|
|
60060
60059
|
error: null
|
|
60061
60060
|
};
|
|
60062
60061
|
try {
|
|
@@ -60073,12 +60072,12 @@
|
|
|
60073
60072
|
area: c.width * c.height
|
|
60074
60073
|
},
|
|
60075
60074
|
big: {
|
|
60076
|
-
area:
|
|
60075
|
+
area: f * h
|
|
60077
60076
|
}
|
|
60078
60077
|
});
|
|
60079
60078
|
if (l < .5) throw Error("id_detector_card_too_small");
|
|
60080
60079
|
if (l > .95) throw Error("id_detector_error_incomplete");
|
|
60081
|
-
if (k && nn(
|
|
60080
|
+
if (k && nn(p, "enableCardTypeCheck")) {
|
|
60082
60081
|
let r = nn(t, "card.label", ""), { isAllowed: o, cardType: n } = ((t, r)=>{
|
|
60083
60082
|
let o = t.split(".")?.[0];
|
|
60084
60083
|
if (o !== r[0].split(".")?.[0]) return {
|
|
@@ -60152,8 +60151,8 @@
|
|
|
60152
60151
|
smallThreshold: r,
|
|
60153
60152
|
largeThreshold: s
|
|
60154
60153
|
}), u = {
|
|
60155
|
-
small: iz(d?.[0],
|
|
60156
|
-
large: iz(d?.[1],
|
|
60154
|
+
small: iz(d?.[0], p.blurSmallDecimal),
|
|
60155
|
+
large: iz(d?.[1], p.blurLargeDecimal)
|
|
60157
60156
|
};
|
|
60158
60157
|
if (eT.current = {
|
|
60159
60158
|
...eT.current,
|
|
@@ -60169,10 +60168,10 @@
|
|
|
60169
60168
|
}
|
|
60170
60169
|
if (y) {
|
|
60171
60170
|
var I, O, M, A, R, L, F, N;
|
|
60172
|
-
let r, s,
|
|
60171
|
+
let r, s, f, p = nn(t, "card.label"), h = nn(t, "card.corners");
|
|
60173
60172
|
eT.current = {
|
|
60174
60173
|
...eT.current,
|
|
60175
|
-
label:
|
|
60174
|
+
label: p,
|
|
60176
60175
|
corner_size: h?.length
|
|
60177
60176
|
}, p_.drawDebugCanvas(eE.current, eT.current);
|
|
60178
60177
|
let m = i$ / o.width, g = eS.current.getContext("2d");
|
|
@@ -60184,7 +60183,7 @@
|
|
|
60184
60183
|
o.strokeRect(s, c, l - s, d - c);
|
|
60185
60184
|
}(O[0], "black", I, R), s = M.filter((t)=>"small" === t.lapType), s.length > 0 && s.forEach((t)=>{
|
|
60186
60185
|
iW(t.bboxes, "blue", I, R, r);
|
|
60187
|
-
}),
|
|
60186
|
+
}), f = M.filter((t)=>"large" === t.lapType), f.length > 0 && f.forEach((t)=>{
|
|
60188
60187
|
iW(t.bboxes, "green", I, R, r);
|
|
60189
60188
|
}), L = A.map((t)=>t.location), F = I, N = R, F && (F.strokeStyle = "red", F.lineWidth = 2, L.forEach((t)=>{
|
|
60190
60189
|
let r = t.x * N, o = t.y * N;
|
|
@@ -60193,7 +60192,7 @@
|
|
|
60193
60192
|
}
|
|
60194
60193
|
return T;
|
|
60195
60194
|
}, [
|
|
60196
|
-
|
|
60195
|
+
p,
|
|
60197
60196
|
y,
|
|
60198
60197
|
l,
|
|
60199
60198
|
Z,
|
|
@@ -60202,13 +60201,13 @@
|
|
|
60202
60201
|
s,
|
|
60203
60202
|
eD
|
|
60204
60203
|
]), ej = reactExports.useCallback(async ()=>{
|
|
60205
|
-
if (!
|
|
60204
|
+
if (!p || !I || T.current) return;
|
|
60206
60205
|
M.current = aj(), A.current = aI();
|
|
60207
|
-
let { enableVirtualCamHashes: t } =
|
|
60206
|
+
let { enableVirtualCamHashes: t } = p, { idCardModel: r, ableToUseModel: o } = V.current, n = D.current, i = l.current;
|
|
60208
60207
|
T.current = !0;
|
|
60209
60208
|
let { cropX: a, cropY: s, cropWidth: c, cropHeight: d } = n, u = C.current;
|
|
60210
60209
|
u.width = c, u.height = d;
|
|
60211
|
-
let
|
|
60210
|
+
let f = u.getContext("2d"), h = async ()=>{
|
|
60212
60211
|
if (!1 === T.current) return;
|
|
60213
60212
|
await ei({
|
|
60214
60213
|
videoEl: l.current,
|
|
@@ -60216,11 +60215,11 @@
|
|
|
60216
60215
|
recordVideoSettings: et
|
|
60217
60216
|
});
|
|
60218
60217
|
let n = K.current;
|
|
60219
|
-
|
|
60218
|
+
f.drawImage(i, a, s, c, d, 0, 0, c, d);
|
|
60220
60219
|
let g = performance.now();
|
|
60221
60220
|
if (z.current = !1, q && o) {
|
|
60222
60221
|
let o = await r.predict(u);
|
|
60223
|
-
!
|
|
60222
|
+
!p?.trackCardCoordinates || A.current.imageBlob || M.current.imageBlob || E.current.push(((t)=>{
|
|
60224
60223
|
let r = nn(t, "card.corners");
|
|
60225
60224
|
if (r && Array.isArray(r) && r.length > 0) {
|
|
60226
60225
|
let { x: t, y: o } = nn(r, "[0].location");
|
|
@@ -60249,7 +60248,7 @@
|
|
|
60249
60248
|
};
|
|
60250
60249
|
K.current = window.requestAnimationFrame(h);
|
|
60251
60250
|
}, [
|
|
60252
|
-
|
|
60251
|
+
p,
|
|
60253
60252
|
I,
|
|
60254
60253
|
l,
|
|
60255
60254
|
ei,
|
|
@@ -60302,7 +60301,7 @@
|
|
|
60302
60301
|
refBlurScores: X,
|
|
60303
60302
|
refGlareScores: H,
|
|
60304
60303
|
resetState: ek,
|
|
60305
|
-
resetRecordVideo:
|
|
60304
|
+
resetRecordVideo: ef
|
|
60306
60305
|
};
|
|
60307
60306
|
}({
|
|
60308
60307
|
isAutoCapture: q,
|
|
@@ -60320,17 +60319,17 @@
|
|
|
60320
60319
|
});
|
|
60321
60320
|
reactExports.useContext(aO);
|
|
60322
60321
|
let eh = reactExports.useCallback(()=>{
|
|
60323
|
-
|
|
60322
|
+
ep(), eo(), k();
|
|
60324
60323
|
}, [
|
|
60325
60324
|
eo,
|
|
60326
|
-
|
|
60325
|
+
ep,
|
|
60327
60326
|
k
|
|
60328
60327
|
]), { resumeTimer: em, pauseTimer: eg } = ((t)=>{
|
|
60329
|
-
let { interruptible: r = !0, totalTime: i, maxRetriesSettings: s, onAboutToTimeout: c, onTimeout: l, shouldStart: d, onError: u } = t,
|
|
60328
|
+
let { interruptible: r = !0, totalTime: i, maxRetriesSettings: s, onAboutToTimeout: c, onTimeout: l, shouldStart: d, onError: u } = t, f = reactExports.useRef(new pT({
|
|
60330
60329
|
totalTime: i,
|
|
60331
60330
|
interruptible: r
|
|
60332
60331
|
}));
|
|
60333
|
-
reactExports.useEffect(()=>
|
|
60332
|
+
reactExports.useEffect(()=>f.current.on("tick", ({ remainTime: t })=>{
|
|
60334
60333
|
t >= 0 && t <= i / 3 && "function" == typeof c && c({
|
|
60335
60334
|
curTimeLeft: t
|
|
60336
60335
|
});
|
|
@@ -60339,24 +60338,24 @@
|
|
|
60339
60338
|
c,
|
|
60340
60339
|
i,
|
|
60341
60340
|
r
|
|
60342
|
-
]), reactExports.useEffect(()=>
|
|
60343
|
-
r &&
|
|
60341
|
+
]), reactExports.useEffect(()=>f.current.on("reset", ({ attemptCount: t })=>{
|
|
60342
|
+
r && f.current.pause(), l(), s?.enable && t >= s?.total && u(ra$1.Errors.max_retry_reached);
|
|
60344
60343
|
}), [
|
|
60345
60344
|
l,
|
|
60346
60345
|
u,
|
|
60347
60346
|
s?.enable,
|
|
60348
60347
|
s?.total,
|
|
60349
60348
|
r
|
|
60350
|
-
]), reactExports.useEffect(()=>d ?
|
|
60349
|
+
]), reactExports.useEffect(()=>d ? f.current.start() : ()=>{}, [
|
|
60351
60350
|
d
|
|
60352
60351
|
]);
|
|
60353
|
-
let
|
|
60354
|
-
|
|
60352
|
+
let p = reactExports.useCallback(()=>{
|
|
60353
|
+
f.current.resume();
|
|
60355
60354
|
}, []);
|
|
60356
60355
|
return {
|
|
60357
|
-
resumeTimer:
|
|
60356
|
+
resumeTimer: p,
|
|
60358
60357
|
pauseTimer: reactExports.useCallback(()=>{
|
|
60359
|
-
|
|
60358
|
+
f.current.pause();
|
|
60360
60359
|
}, [])
|
|
60361
60360
|
};
|
|
60362
60361
|
})({
|
|
@@ -60370,24 +60369,24 @@
|
|
|
60370
60369
|
}), eb = reactExports.useCallback(()=>{
|
|
60371
60370
|
x.current = !1;
|
|
60372
60371
|
}, []), ev = reactExports.useCallback(async ()=>{
|
|
60373
|
-
eb(), em(),
|
|
60372
|
+
eb(), em(), ef(), E(!1), U(u ? "keep_front_id_fit_border" : "keep_back_id_fit_border"), await Promise.all([
|
|
60374
60373
|
en()
|
|
60375
60374
|
]);
|
|
60376
60375
|
}, [
|
|
60377
60376
|
eb,
|
|
60378
|
-
|
|
60377
|
+
ef,
|
|
60379
60378
|
U,
|
|
60380
60379
|
u,
|
|
60381
60380
|
en,
|
|
60382
60381
|
em
|
|
60383
60382
|
]), ew = reactExports.useCallback(async (t = {})=>{
|
|
60384
|
-
let r, { imageBlob: o, error: n, detectedCard: i, captureTime: a, captureCount: s, captureDuration: c, captureType: d, hash:
|
|
60383
|
+
let r, { imageBlob: o, error: n, detectedCard: i, captureTime: a, captureCount: s, captureDuration: c, captureType: d, hash: f, blurScore: p, glareScore: h, fullVideo: m, capturingVideo: g } = t;
|
|
60385
60384
|
if (x.current) return;
|
|
60386
60385
|
x.current = !0, E(!0), eo(), eg(), Y(null);
|
|
60387
60386
|
let v = l?.enableVirtualCamHashes, w = l?.enableGlareCheck, k = l?.enableBlurCheck, B = {};
|
|
60388
|
-
if (v && null !==
|
|
60387
|
+
if (v && null !== f) {
|
|
60389
60388
|
let t = [
|
|
60390
|
-
|
|
60389
|
+
f,
|
|
60391
60390
|
...ec.current
|
|
60392
60391
|
];
|
|
60393
60392
|
t.length > 0 && (B = t.reduce((t, r, o)=>(t[`hash${o + 1}`] = r, t), {}));
|
|
@@ -60396,7 +60395,7 @@
|
|
|
60396
60395
|
h7.addExifData("user_action", {
|
|
60397
60396
|
start_id_card: F.current,
|
|
60398
60397
|
end_id_card: Date.now()
|
|
60399
|
-
}), h7.addExifData("id_detection_settings.blur_check.large_threshold", ee), h7.addExifData("id_detection_settings.blur_check.small_threshold", J), h7.addExifData("capture_time", a), h7.addExifData("type", i?.label), v && h7.addExifData("v_cam", B), h7.addExifData("capture_count", s), h7.addExifData("capture_duration", c), h7.addExifData("capture_type", d), _ && h7.addExifData("card_tracking", S), k && (h7.addExifData("model_score.blurry_score",
|
|
60398
|
+
}), h7.addExifData("id_detection_settings.blur_check.large_threshold", ee), h7.addExifData("id_detection_settings.blur_check.small_threshold", J), h7.addExifData("capture_time", a), h7.addExifData("type", i?.label), v && h7.addExifData("v_cam", B), h7.addExifData("capture_count", s), h7.addExifData("capture_duration", c), h7.addExifData("capture_type", d), _ && h7.addExifData("card_tracking", S), k && (h7.addExifData("model_score.blurry_score", p), h7.addExifData("blur_score_frames", JSON.stringify(ed.current))), w && (h7.addExifData("model_score.glare_score", h), h7.addExifData("glare_score_frames", JSON.stringify(eu.current)));
|
|
60400
60399
|
let T = await h7.writeCurrentExif({
|
|
60401
60400
|
imageData: {
|
|
60402
60401
|
blob: o
|
|
@@ -60534,14 +60533,14 @@
|
|
|
60534
60533
|
};
|
|
60535
60534
|
})({
|
|
60536
60535
|
shouldStart: !0,
|
|
60537
|
-
refVideo:
|
|
60536
|
+
refVideo: p,
|
|
60538
60537
|
cropArea: eo,
|
|
60539
60538
|
settings: C,
|
|
60540
|
-
onModelErrorChange:
|
|
60539
|
+
onModelErrorChange: ef,
|
|
60541
60540
|
frontSide: k,
|
|
60542
60541
|
allowedCardTypes: y,
|
|
60543
60542
|
onDebugInfoChange: K,
|
|
60544
|
-
onSessionTimeout:
|
|
60543
|
+
onSessionTimeout: ep,
|
|
60545
60544
|
onCaptureDone: eh,
|
|
60546
60545
|
onAboutToTimeout: reactExports.useCallback(({ curTimeLeft: t })=>{
|
|
60547
60546
|
ee(Y("remaining_time", {
|
|
@@ -60570,9 +60569,9 @@
|
|
|
60570
60569
|
}), { showCaptureButtonInAuto: eS = !0, showHoldStillProgress: eE = !1, showAutoCaptureToggle: eT } = C ?? {};
|
|
60571
60570
|
reactExports.useEffect(()=>{
|
|
60572
60571
|
if (u) {
|
|
60573
|
-
let t, r, o, n, i, a, s, { videoAreaWidth: c, videoAreaHeight: d, lostX:
|
|
60574
|
-
l ? i = .7 * (a = d - 165) : a = Math.floor(Math.min((i = nT.isMobile ? c - 40 : Math.floor(.4 * c)) / 1.5, h - 2 *
|
|
60575
|
-
x: Math.floor((c - i) / 2) +
|
|
60572
|
+
let t, r, o, n, i, a, s, { videoAreaWidth: c, videoAreaHeight: d, lostX: f, lostY: p, clientHeight: h } = u;
|
|
60573
|
+
l ? i = .7 * (a = d - 165) : a = Math.floor(Math.min((i = nT.isMobile ? c - 40 : Math.floor(.4 * c)) / 1.5, h - 2 * p - 80 - 100)), n = (t = (s = p + 140) - 70) + 30, o = eT ? s + a + 20 : s + a, r = s + a + 135, en({
|
|
60574
|
+
x: Math.floor((c - i) / 2) + f,
|
|
60576
60575
|
y: s,
|
|
60577
60576
|
width: i,
|
|
60578
60577
|
height: a,
|
|
@@ -61042,8 +61041,8 @@
|
|
|
61042
61041
|
Object.keys(l || {}).forEach(function(t) {
|
|
61043
61042
|
l[t] = i[t] || l[t];
|
|
61044
61043
|
});
|
|
61045
|
-
var a = "attemptBoth" === l.inversionAttempts || "invertFirst" === l.inversionAttempts, s = "onlyInvert" === l.inversionAttempts || "invertFirst" === l.inversionAttempts, d = n.binarize(t, r, o, a), u = d.binarized,
|
|
61046
|
-
return
|
|
61044
|
+
var a = "attemptBoth" === l.inversionAttempts || "invertFirst" === l.inversionAttempts, s = "onlyInvert" === l.inversionAttempts || "invertFirst" === l.inversionAttempts, d = n.binarize(t, r, o, a), u = d.binarized, f = d.inverted, p = c(s ? f : u);
|
|
61045
|
+
return p || "attemptBoth" !== l.inversionAttempts && "invertFirst" !== l.inversionAttempts || (p = c(s ? u : f)), p;
|
|
61047
61046
|
}
|
|
61048
61047
|
d.default = d, r.default = d;
|
|
61049
61048
|
},
|
|
@@ -61064,10 +61063,10 @@
|
|
|
61064
61063
|
r.binarize = function(t, r, o, a) {
|
|
61065
61064
|
if (t.length !== r * o * 4) throw Error("Malformed data passed to binarizer.");
|
|
61066
61065
|
for(var s = new i(r, o), c = 0; c < r; c++)for(var l = 0; l < o; l++){
|
|
61067
|
-
var d = t[(l * r + c) * 4 + 0], u = t[(l * r + c) * 4 + 1],
|
|
61068
|
-
s.set(c, l, .2126 * d + .7152 * u + .0722 *
|
|
61066
|
+
var d = t[(l * r + c) * 4 + 0], u = t[(l * r + c) * 4 + 1], f = t[(l * r + c) * 4 + 2];
|
|
61067
|
+
s.set(c, l, .2126 * d + .7152 * u + .0722 * f);
|
|
61069
61068
|
}
|
|
61070
|
-
for(var
|
|
61069
|
+
for(var p = Math.ceil(r / 8), h = Math.ceil(o / 8), m = new i(p, h), g = 0; g < h; g++)for(var b = 0; b < p; b++){
|
|
61071
61070
|
for(var v = 0, w = 1 / 0, k = 0, l = 0; l < 8; l++)for(var c = 0; c < 8; c++){
|
|
61072
61071
|
var y = s.get(8 * b + c, 8 * g + l);
|
|
61073
61072
|
v += y, w = Math.min(w, y), k = Math.max(k, y);
|
|
@@ -61081,8 +61080,8 @@
|
|
|
61081
61080
|
}
|
|
61082
61081
|
var _ = n.BitMatrix.createEmpty(r, o), x = null;
|
|
61083
61082
|
a && (x = n.BitMatrix.createEmpty(r, o));
|
|
61084
|
-
for(var g = 0; g < h; g++)for(var b = 0; b <
|
|
61085
|
-
for(var P, S, E, T, D = (P = b, S =
|
|
61083
|
+
for(var g = 0; g < h; g++)for(var b = 0; b < p; b++){
|
|
61084
|
+
for(var P, S, E, T, D = (P = b, S = p - 3, P < 2 ? 2 : P > S ? S : P), $ = (E = g, T = h - 3, E < 2 ? 2 : E > T ? T : E), v = 0, j = -2; j <= 2; j++)for(var I = -2; I <= 2; I++)v += m.get(D + j, $ + I);
|
|
61086
61085
|
for(var O = v / 25, j = 0; j < 8; j++)for(var I = 0; I < 8; I++){
|
|
61087
61086
|
var c = 8 * b + j, l = 8 * g + I, M = s.get(c, l);
|
|
61088
61087
|
_.set(c, l, M <= O), a && x.set(c, l, !(M <= O));
|
|
@@ -61363,16 +61362,16 @@
|
|
|
61363
61362
|
for(var l = 0, d = 5; d >= 0; d--)for(var u = i - 9; u >= i - 11; u--){
|
|
61364
61363
|
r = t.get(u, d), l = l << 1 | r;
|
|
61365
61364
|
}
|
|
61366
|
-
for(var
|
|
61367
|
-
o = t.get(u, d),
|
|
61365
|
+
for(var f = 0, u = 5; u >= 0; u--)for(var d = i - 9; d >= i - 11; d--){
|
|
61366
|
+
o = t.get(u, d), f = f << 1 | o;
|
|
61368
61367
|
}
|
|
61369
|
-
for(var
|
|
61368
|
+
for(var p = 1 / 0, h = 0, m = s.VERSIONS; h < m.length; h++){
|
|
61370
61369
|
var g = m[h];
|
|
61371
|
-
if (g.infoBits === l || g.infoBits ===
|
|
61370
|
+
if (g.infoBits === l || g.infoBits === f) return g;
|
|
61372
61371
|
var b = c(l, g.infoBits);
|
|
61373
|
-
b <
|
|
61372
|
+
b < p && (n = g, p = b), (b = c(f, g.infoBits)) < p && (n = g, p = b);
|
|
61374
61373
|
}
|
|
61375
|
-
if (
|
|
61374
|
+
if (p <= 3) return n;
|
|
61376
61375
|
}(t);
|
|
61377
61376
|
if (!r) return null;
|
|
61378
61377
|
var o = function(t) {
|
|
@@ -61382,19 +61381,19 @@
|
|
|
61382
61381
|
for(var d = 7; d >= 0; d--){
|
|
61383
61382
|
6 !== d && (o = t.get(8, d), a = a << 1 | o);
|
|
61384
61383
|
}
|
|
61385
|
-
for(var u = t.height,
|
|
61386
|
-
n = t.get(8, d),
|
|
61384
|
+
for(var u = t.height, f = 0, d = u - 1; d >= u - 7; d--){
|
|
61385
|
+
n = t.get(8, d), f = f << 1 | n;
|
|
61387
61386
|
}
|
|
61388
61387
|
for(var s = u - 8; s < u; s++){
|
|
61389
|
-
i = t.get(s, 8),
|
|
61388
|
+
i = t.get(s, 8), f = f << 1 | i;
|
|
61390
61389
|
}
|
|
61391
|
-
for(var
|
|
61390
|
+
for(var p = 1 / 0, h = null, m = 0; m < l.length; m++){
|
|
61392
61391
|
var g = l[m], b = g.bits, v = g.formatInfo;
|
|
61393
|
-
if (b === a || b ===
|
|
61392
|
+
if (b === a || b === f) return v;
|
|
61394
61393
|
var w = c(a, b);
|
|
61395
|
-
w <
|
|
61394
|
+
w < p && (h = v, p = w), a !== f && (w = c(f, b)) < p && (h = v, p = w);
|
|
61396
61395
|
}
|
|
61397
|
-
return
|
|
61396
|
+
return p <= 3 ? h : null;
|
|
61398
61397
|
}(t);
|
|
61399
61398
|
if (!o) return null;
|
|
61400
61399
|
var u = function(t, r, o) {
|
|
@@ -61411,10 +61410,10 @@
|
|
|
61411
61410
|
d.codewords.push(t.shift());
|
|
61412
61411
|
}
|
|
61413
61412
|
if (n.ecBlocks.length > 1) {
|
|
61414
|
-
for(var u = n.ecBlocks[0].numBlocks,
|
|
61413
|
+
for(var u = n.ecBlocks[0].numBlocks, f = n.ecBlocks[1].numBlocks, c = 0; c < f; c++)i[u + c].codewords.push(t.shift());
|
|
61415
61414
|
}
|
|
61416
|
-
for(; t.length > 0;)for(var
|
|
61417
|
-
var d = i[
|
|
61415
|
+
for(; t.length > 0;)for(var p = 0; p < i.length; p++){
|
|
61416
|
+
var d = i[p];
|
|
61418
61417
|
d.codewords.push(t.shift());
|
|
61419
61418
|
}
|
|
61420
61419
|
return i;
|
|
@@ -61429,11 +61428,11 @@
|
|
|
61429
61428
|
}
|
|
61430
61429
|
}
|
|
61431
61430
|
return o.setRegion(6, 9, 1, r - 17, !0), o.setRegion(9, 6, r - 17, 1, !0), t.versionNumber > 6 && (o.setRegion(r - 11, 0, 3, 6, !0), o.setRegion(0, r - 11, 6, 3, !0)), o;
|
|
61432
|
-
}(r), c = [], l = 0, u = 0,
|
|
61433
|
-
6 ===
|
|
61431
|
+
}(r), c = [], l = 0, u = 0, f = !0, p = a - 1; p > 0; p -= 2){
|
|
61432
|
+
6 === p && p--;
|
|
61434
61433
|
for(var h = 0; h < a; h++){
|
|
61435
|
-
for(var m =
|
|
61436
|
-
var b =
|
|
61434
|
+
for(var m = f ? a - 1 - h : h, g = 0; g < 2; g++){
|
|
61435
|
+
var b = p - g;
|
|
61437
61436
|
if (!s.get(b, m)) {
|
|
61438
61437
|
u++;
|
|
61439
61438
|
var v = t.get(b, m);
|
|
@@ -61444,20 +61443,20 @@
|
|
|
61444
61443
|
}
|
|
61445
61444
|
}
|
|
61446
61445
|
}
|
|
61447
|
-
|
|
61446
|
+
f = !f;
|
|
61448
61447
|
}
|
|
61449
61448
|
return c;
|
|
61450
61449
|
}(t, r, o), r, o.errorCorrectionLevel);
|
|
61451
61450
|
if (!u) return null;
|
|
61452
|
-
for(var
|
|
61451
|
+
for(var f = new Uint8ClampedArray(u.reduce(function(t, r) {
|
|
61453
61452
|
return t + r.numDataCodewords;
|
|
61454
|
-
}, 0)),
|
|
61453
|
+
}, 0)), p = 0, h = 0; h < u.length; h++){
|
|
61455
61454
|
var m = u[h], g = a.decode(m.codewords, m.codewords.length - m.numDataCodewords);
|
|
61456
61455
|
if (!g) return null;
|
|
61457
|
-
for(var b = 0; b < m.numDataCodewords; b++)p
|
|
61456
|
+
for(var b = 0; b < m.numDataCodewords; b++)f[p++] = g[b];
|
|
61458
61457
|
}
|
|
61459
61458
|
try {
|
|
61460
|
-
return i.decode(
|
|
61459
|
+
return i.decode(f, r.versionNumber);
|
|
61461
61460
|
} catch (t) {
|
|
61462
61461
|
return null;
|
|
61463
61462
|
}
|
|
@@ -61524,23 +61523,23 @@
|
|
|
61524
61523
|
":"
|
|
61525
61524
|
];
|
|
61526
61525
|
r.decode = function(t, r) {
|
|
61527
|
-
for(var o, n, i, u,
|
|
61526
|
+
for(var o, n, i, u, f = new c.BitStream(t), p = r <= 9 ? 0 : r <= 26 ? 1 : 2, h = {
|
|
61528
61527
|
text: "",
|
|
61529
61528
|
bytes: [],
|
|
61530
61529
|
chunks: [],
|
|
61531
61530
|
version: r
|
|
61532
|
-
};
|
|
61533
|
-
var m =
|
|
61531
|
+
}; f.available() >= 4;){
|
|
61532
|
+
var m = f.readBits(4);
|
|
61534
61533
|
if (m === s.Terminator) return h;
|
|
61535
|
-
if (m === s.ECI) 0 ===
|
|
61534
|
+
if (m === s.ECI) 0 === f.readBits(1) ? h.chunks.push({
|
|
61536
61535
|
type: a.ECI,
|
|
61537
|
-
assignmentNumber:
|
|
61538
|
-
}) : 0 ===
|
|
61536
|
+
assignmentNumber: f.readBits(7)
|
|
61537
|
+
}) : 0 === f.readBits(1) ? h.chunks.push({
|
|
61539
61538
|
type: a.ECI,
|
|
61540
|
-
assignmentNumber:
|
|
61541
|
-
}) : 0 ===
|
|
61539
|
+
assignmentNumber: f.readBits(14)
|
|
61540
|
+
}) : 0 === f.readBits(1) ? h.chunks.push({
|
|
61542
61541
|
type: a.ECI,
|
|
61543
|
-
assignmentNumber:
|
|
61542
|
+
assignmentNumber: f.readBits(21)
|
|
61544
61543
|
}) : h.chunks.push({
|
|
61545
61544
|
type: a.ECI,
|
|
61546
61545
|
assignmentNumber: -1
|
|
@@ -61571,7 +61570,7 @@
|
|
|
61571
61570
|
bytes: o,
|
|
61572
61571
|
text: n
|
|
61573
61572
|
};
|
|
61574
|
-
}(
|
|
61573
|
+
}(f, p);
|
|
61575
61574
|
h.text += g.text, (o = h.bytes).push.apply(o, g.bytes), h.chunks.push({
|
|
61576
61575
|
type: a.Numeric,
|
|
61577
61576
|
text: g.text
|
|
@@ -61594,7 +61593,7 @@
|
|
|
61594
61593
|
bytes: o,
|
|
61595
61594
|
text: n
|
|
61596
61595
|
};
|
|
61597
|
-
}(
|
|
61596
|
+
}(f, p);
|
|
61598
61597
|
h.text += b.text, (n = h.bytes).push.apply(n, b.bytes), h.chunks.push({
|
|
61599
61598
|
type: a.Alphanumeric,
|
|
61600
61599
|
text: b.text
|
|
@@ -61618,7 +61617,7 @@
|
|
|
61618
61617
|
bytes: o,
|
|
61619
61618
|
text: n
|
|
61620
61619
|
};
|
|
61621
|
-
}(
|
|
61620
|
+
}(f, p);
|
|
61622
61621
|
h.text += v.text, (i = h.bytes).push.apply(i, v.bytes), h.chunks.push({
|
|
61623
61622
|
type: a.Byte,
|
|
61624
61623
|
bytes: v.bytes,
|
|
@@ -61638,7 +61637,7 @@
|
|
|
61638
61637
|
bytes: o,
|
|
61639
61638
|
text: n
|
|
61640
61639
|
};
|
|
61641
|
-
}(
|
|
61640
|
+
}(f, p);
|
|
61642
61641
|
h.text += w.text, (u = h.bytes).push.apply(u, w.bytes), h.chunks.push({
|
|
61643
61642
|
type: a.Kanji,
|
|
61644
61643
|
bytes: w.bytes,
|
|
@@ -61646,7 +61645,7 @@
|
|
|
61646
61645
|
});
|
|
61647
61646
|
}
|
|
61648
61647
|
}
|
|
61649
|
-
if (0 ===
|
|
61648
|
+
if (0 === f.available() || 0 === f.readBits(f.available())) return h;
|
|
61650
61649
|
};
|
|
61651
61650
|
},
|
|
61652
61651
|
function(t, r, o) {
|
|
@@ -68732,7 +68731,7 @@
|
|
|
68732
68731
|
c[c.length - 1 - d] = u, 0 !== u && (l = !0);
|
|
68733
68732
|
}
|
|
68734
68733
|
if (!l) return o;
|
|
68735
|
-
var
|
|
68734
|
+
var f = new i.default(a, c), p = function(t, r, o, n) {
|
|
68736
68735
|
r.degree() < o.degree() && (r = (i = [
|
|
68737
68736
|
o,
|
|
68738
68737
|
r
|
|
@@ -68741,11 +68740,11 @@
|
|
|
68741
68740
|
var d = a, u = c;
|
|
68742
68741
|
if (a = s, c = l, a.isZero()) return null;
|
|
68743
68742
|
s = d;
|
|
68744
|
-
for(var
|
|
68743
|
+
for(var f = t.zero, p = a.getCoefficient(a.degree()), h = t.inverse(p); s.degree() >= a.degree() && !s.isZero();){
|
|
68745
68744
|
var m = s.degree() - a.degree(), g = t.multiply(s.getCoefficient(s.degree()), h);
|
|
68746
|
-
|
|
68745
|
+
f = f.addOrSubtract(t.buildMonomial(m, g)), s = s.addOrSubtract(a.multiplyByMonomial(m, g));
|
|
68747
68746
|
}
|
|
68748
|
-
if (l =
|
|
68747
|
+
if (l = f.multiplyPoly(c).addOrSubtract(u), s.degree() >= a.degree()) return null;
|
|
68749
68748
|
}
|
|
68750
68749
|
var b = l.getCoefficient(0);
|
|
68751
68750
|
if (0 === b) return null;
|
|
@@ -68754,8 +68753,8 @@
|
|
|
68754
68753
|
l.multiply(v),
|
|
68755
68754
|
s.multiply(v)
|
|
68756
68755
|
];
|
|
68757
|
-
}(a, a.buildMonomial(r, 1),
|
|
68758
|
-
if (null ===
|
|
68756
|
+
}(a, a.buildMonomial(r, 1), f, r);
|
|
68757
|
+
if (null === p) return null;
|
|
68759
68758
|
var h = function(t, r) {
|
|
68760
68759
|
var o = r.degree();
|
|
68761
68760
|
if (1 === o) return [
|
|
@@ -68763,7 +68762,7 @@
|
|
|
68763
68762
|
];
|
|
68764
68763
|
for(var n = Array(o), i = 0, a = 1; a < t.size && i < o; a++)0 === r.evaluateAt(a) && (n[i] = t.inverse(a), i++);
|
|
68765
68764
|
return i !== o ? null : n;
|
|
68766
|
-
}(a,
|
|
68765
|
+
}(a, p[0]);
|
|
68767
68766
|
if (null == h) return null;
|
|
68768
68767
|
for(var m = function(t, r, o) {
|
|
68769
68768
|
for(var i = o.length, a = Array(i), s = 0; s < i; s++){
|
|
@@ -68771,7 +68770,7 @@
|
|
|
68771
68770
|
a[s] = t.multiply(r.evaluateAt(c), t.inverse(l)), 0 !== t.generatorBase && (a[s] = t.multiply(a[s], c));
|
|
68772
68771
|
}
|
|
68773
68772
|
return a;
|
|
68774
|
-
}(a,
|
|
68773
|
+
}(a, p[1], h), g = 0; g < h.length; g++){
|
|
68775
68774
|
var b = o.length - 1 - a.log(h[g]);
|
|
68776
68775
|
if (b < 0) return null;
|
|
68777
68776
|
o[b] = n.addOrSubtractGF(o[b], m[g]);
|
|
@@ -71252,14 +71251,14 @@
|
|
|
71252
71251
|
a32: t.y,
|
|
71253
71252
|
a33: 1
|
|
71254
71253
|
};
|
|
71255
|
-
var s = r.x - o.x, c = n.x - o.x, l = r.y - o.y, d = n.y - o.y, u = s * d - c * l,
|
|
71254
|
+
var s = r.x - o.x, c = n.x - o.x, l = r.y - o.y, d = n.y - o.y, u = s * d - c * l, f = (i * d - c * a) / u, p = (s * a - i * l) / u;
|
|
71256
71255
|
return {
|
|
71257
|
-
a11: r.x - t.x +
|
|
71258
|
-
a12: r.y - t.y +
|
|
71259
|
-
a13:
|
|
71260
|
-
a21: n.x - t.x +
|
|
71261
|
-
a22: n.y - t.y +
|
|
71262
|
-
a23:
|
|
71256
|
+
a11: r.x - t.x + f * r.x,
|
|
71257
|
+
a12: r.y - t.y + f * r.y,
|
|
71258
|
+
a13: f,
|
|
71259
|
+
a21: n.x - t.x + p * n.x,
|
|
71260
|
+
a22: n.y - t.y + p * n.y,
|
|
71261
|
+
a23: p,
|
|
71263
71262
|
a31: t.x,
|
|
71264
71263
|
a32: t.y,
|
|
71265
71264
|
a33: 1
|
|
@@ -71288,7 +71287,7 @@
|
|
|
71288
71287
|
a31: c.a21 * c.a32 - c.a22 * c.a31,
|
|
71289
71288
|
a32: c.a12 * c.a31 - c.a11 * c.a32,
|
|
71290
71289
|
a33: c.a11 * c.a22 - c.a12 * c.a21
|
|
71291
|
-
}),
|
|
71290
|
+
}), f = (l = i(r.topLeft, r.topRight, r.alignmentPattern, r.bottomLeft), d = u, {
|
|
71292
71291
|
a11: l.a11 * d.a11 + l.a21 * d.a12 + l.a31 * d.a13,
|
|
71293
71292
|
a12: l.a12 * d.a11 + l.a22 * d.a12 + l.a32 * d.a13,
|
|
71294
71293
|
a13: l.a13 * d.a11 + l.a23 * d.a12 + l.a33 * d.a13,
|
|
@@ -71298,18 +71297,18 @@
|
|
|
71298
71297
|
a31: l.a11 * d.a31 + l.a21 * d.a32 + l.a31 * d.a33,
|
|
71299
71298
|
a32: l.a12 * d.a31 + l.a22 * d.a32 + l.a32 * d.a33,
|
|
71300
71299
|
a33: l.a13 * d.a31 + l.a23 * d.a32 + l.a33 * d.a33
|
|
71301
|
-
}),
|
|
71302
|
-
var o =
|
|
71300
|
+
}), p = n.BitMatrix.createEmpty(r.dimension, r.dimension), h = function(t, r) {
|
|
71301
|
+
var o = f.a13 * t + f.a23 * r + f.a33;
|
|
71303
71302
|
return {
|
|
71304
|
-
x: (
|
|
71305
|
-
y: (
|
|
71303
|
+
x: (f.a11 * t + f.a21 * r + f.a31) / o,
|
|
71304
|
+
y: (f.a12 * t + f.a22 * r + f.a32) / o
|
|
71306
71305
|
};
|
|
71307
71306
|
}, m = 0; m < r.dimension; m++)for(var g = 0; g < r.dimension; g++){
|
|
71308
71307
|
var b = h(g + .5, m + .5);
|
|
71309
|
-
|
|
71308
|
+
p.set(g, m, t.get(Math.floor(b.x), Math.floor(b.y)));
|
|
71310
71309
|
}
|
|
71311
71310
|
return {
|
|
71312
|
-
matrix:
|
|
71311
|
+
matrix: p,
|
|
71313
71312
|
mappingFunction: h
|
|
71314
71313
|
};
|
|
71315
71314
|
};
|
|
@@ -71334,15 +71333,15 @@
|
|
|
71334
71333
|
}
|
|
71335
71334
|
], u = Math.abs(r.y - t.y) > Math.abs(r.x - t.x);
|
|
71336
71335
|
u ? (a = Math.floor(t.y), s = Math.floor(t.x), c = Math.floor(r.y), l = Math.floor(r.x)) : (a = Math.floor(t.x), s = Math.floor(t.y), c = Math.floor(r.x), l = Math.floor(r.y));
|
|
71337
|
-
for(var
|
|
71336
|
+
for(var f = Math.abs(c - a), p = Math.abs(l - s), h = Math.floor(-f / 2), m = a < c ? 1 : -1, g = s < l ? 1 : -1, b = !0, v = a, w = s; v !== c + m; v += m){
|
|
71338
71337
|
var k = u ? w : v, y = u ? v : w;
|
|
71339
71338
|
if (o.get(k, y) !== b && (b = !b, d.push({
|
|
71340
71339
|
x: k,
|
|
71341
71340
|
y: y
|
|
71342
71341
|
}), d.length === i + 1)) break;
|
|
71343
|
-
if ((h +=
|
|
71342
|
+
if ((h += p) > 0) {
|
|
71344
71343
|
if (w === l) break;
|
|
71345
|
-
w += g, h -=
|
|
71344
|
+
w += g, h -= f;
|
|
71346
71345
|
}
|
|
71347
71346
|
}
|
|
71348
71347
|
for(var C = [], B = 0; B < i; B++)d[B] && d[B + 1] ? C.push(n(d[B], d[B + 1])) : C.push(0);
|
|
@@ -71378,7 +71377,7 @@
|
|
|
71378
71377
|
}, l = s(t, a, o, r.length), d = {
|
|
71379
71378
|
x: Math.min(o.width, t.x + t.y) + 1,
|
|
71380
71379
|
y: Math.min(o.height, t.y + t.x) + 1
|
|
71381
|
-
}, u = s(t, d, o, r.length),
|
|
71380
|
+
}, u = s(t, d, o, r.length), f = c(n, r), p = c(i, r), h = c(l, r), m = c(u, r), g = Math.sqrt(f.error * f.error + p.error * p.error + h.error * h.error + m.error * m.error), b = (f.averageSize + p.averageSize + h.averageSize + m.averageSize) / 4, v = (Math.pow(f.averageSize - b, 2) + Math.pow(p.averageSize - b, 2) + Math.pow(h.averageSize - b, 2) + Math.pow(m.averageSize - b, 2)) / b;
|
|
71382
71381
|
return g + v;
|
|
71383
71382
|
} catch (t) {
|
|
71384
71383
|
return 1 / 0;
|
|
@@ -71411,16 +71410,16 @@
|
|
|
71411
71410
|
dimension: l,
|
|
71412
71411
|
moduleSize: c
|
|
71413
71412
|
};
|
|
71414
|
-
}(a, o, c, t)).dimension,
|
|
71413
|
+
}(a, o, c, t)).dimension, f = d.moduleSize;
|
|
71415
71414
|
} catch (t) {
|
|
71416
71415
|
return null;
|
|
71417
71416
|
}
|
|
71418
|
-
var d, u,
|
|
71417
|
+
var d, u, f, p = {
|
|
71419
71418
|
x: o.x - a.x + c.x,
|
|
71420
71419
|
y: o.y - a.y + c.y
|
|
71421
|
-
}, h = (n(a, c) + n(a, o)) / 2 /
|
|
71422
|
-
x: a.x + m * (
|
|
71423
|
-
y: a.y + m * (
|
|
71420
|
+
}, h = (n(a, c) + n(a, o)) / 2 / f, m = 1 - 3 / h, g = {
|
|
71421
|
+
x: a.x + m * (p.x - a.x),
|
|
71422
|
+
y: a.y + m * (p.y - a.y)
|
|
71424
71423
|
}, b = r.map(function(r) {
|
|
71425
71424
|
var o = (r.top.startX + r.top.endX + r.bottom.startX + r.bottom.endX) / 4, a = (r.top.y + r.bottom.y + 1) / 2;
|
|
71426
71425
|
if (t.get(Math.floor(o), Math.floor(a))) {
|
|
@@ -71458,7 +71457,7 @@
|
|
|
71458
71457
|
};
|
|
71459
71458
|
}
|
|
71460
71459
|
r.locate = function(t) {
|
|
71461
|
-
for(var r, o, a, s, c,
|
|
71460
|
+
for(var r, o, a, s, c, f, p, h, m, g, b, v, w, k = [], y = [], C = [], B = [], _ = function(r) {
|
|
71462
71461
|
for(var o = 0, n = !1, a = [
|
|
71463
71462
|
0,
|
|
71464
71463
|
0,
|
|
@@ -71476,21 +71475,21 @@
|
|
|
71476
71475
|
a[4],
|
|
71477
71476
|
o
|
|
71478
71477
|
], o = 1, n = c;
|
|
71479
|
-
var l = i(a) / 7, d = Math.abs(a[0] - l) < l && Math.abs(a[1] - l) < l && Math.abs(a[2] - 3 * l) < 3 * l && Math.abs(a[3] - l) < l && Math.abs(a[4] - l) < l && !c, u = i(a.slice(-3)) / 3,
|
|
71478
|
+
var l = i(a) / 7, d = Math.abs(a[0] - l) < l && Math.abs(a[1] - l) < l && Math.abs(a[2] - 3 * l) < 3 * l && Math.abs(a[3] - l) < l && Math.abs(a[4] - l) < l && !c, u = i(a.slice(-3)) / 3, f = Math.abs(a[2] - u) < u && Math.abs(a[3] - u) < u && Math.abs(a[4] - u) < u && c;
|
|
71480
71479
|
if (d) {
|
|
71481
|
-
var
|
|
71480
|
+
var p = s - a[3] - a[4], h = p - a[2], m = {
|
|
71482
71481
|
startX: h,
|
|
71483
|
-
endX:
|
|
71482
|
+
endX: p,
|
|
71484
71483
|
y: r
|
|
71485
71484
|
}, g = y.filter(function(t) {
|
|
71486
|
-
return h >= t.bottom.startX && h <= t.bottom.endX ||
|
|
71485
|
+
return h >= t.bottom.startX && h <= t.bottom.endX || p >= t.bottom.startX && h <= t.bottom.endX || h <= t.bottom.startX && p >= t.bottom.endX && a[2] / (t.bottom.endX - t.bottom.startX) < 1.5 && a[2] / (t.bottom.endX - t.bottom.startX) > .5;
|
|
71487
71486
|
});
|
|
71488
71487
|
g.length > 0 ? g[0].bottom = m : y.push({
|
|
71489
71488
|
top: m,
|
|
71490
71489
|
bottom: m
|
|
71491
71490
|
});
|
|
71492
71491
|
}
|
|
71493
|
-
if (
|
|
71492
|
+
if (f) {
|
|
71494
71493
|
var b = s - a[4], v = b - a[3], m = {
|
|
71495
71494
|
startX: v,
|
|
71496
71495
|
y: r,
|
|
@@ -71584,14 +71583,14 @@
|
|
|
71584
71583
|
r,
|
|
71585
71584
|
o,
|
|
71586
71585
|
a
|
|
71587
|
-
])[0], m = c[1], g = c[2]) : (h = (
|
|
71586
|
+
])[0], m = c[1], g = c[2]) : (h = (f = [
|
|
71588
71587
|
r,
|
|
71589
71588
|
a,
|
|
71590
71589
|
o
|
|
71591
|
-
])[0], m =
|
|
71590
|
+
])[0], m = f[1], g = f[2]), (g.x - m.x) * (h.y - m.y) - (g.y - m.y) * (h.x - m.x) < 0 && (h = (p = [
|
|
71592
71591
|
g,
|
|
71593
71592
|
h
|
|
71594
|
-
])[0], g =
|
|
71593
|
+
])[0], g = p[1]), {
|
|
71595
71594
|
bottomLeft: h,
|
|
71596
71595
|
topLeft: m,
|
|
71597
71596
|
topRight: g
|
|
@@ -71758,6 +71757,15 @@
|
|
|
71758
71757
|
text-align: center;
|
|
71759
71758
|
font-size: 20px;
|
|
71760
71759
|
font-weight: 600;
|
|
71760
|
+
`; dt$1.div`
|
|
71761
|
+
width: 100%;
|
|
71762
|
+
height: 100%;
|
|
71763
|
+
opacity: ${({ $showChildren: t })=>+!!t};
|
|
71764
|
+
`;
|
|
71765
|
+
dt$1.div`
|
|
71766
|
+
text-align: center;
|
|
71767
|
+
font-size: 20px;
|
|
71768
|
+
font-weight: 600;
|
|
71761
71769
|
`; dt$1.div`
|
|
71762
71770
|
width: 100%;
|
|
71763
71771
|
height: 100%;
|
|
@@ -71765,7 +71773,7 @@
|
|
|
71765
71773
|
`;
|
|
71766
71774
|
({
|
|
71767
71775
|
onOrientationChange: PropTypes.func,
|
|
71768
|
-
|
|
71776
|
+
unmountOnHidden: PropTypes.bool
|
|
71769
71777
|
});
|
|
71770
71778
|
({
|
|
71771
71779
|
allowedCardTypes: PropTypes.arrayOf(PropTypes.string),
|
|
@@ -71783,16 +71791,16 @@
|
|
|
71783
71791
|
scannerTypeCons: PropTypes.shape({}).isRequired,
|
|
71784
71792
|
customTexts: PropTypes.shape({})
|
|
71785
71793
|
});
|
|
71786
|
-
let { IDCardSide:
|
|
71787
|
-
iI.ID_CARD, ra$1.IDCardSide.FRONT,
|
|
71788
|
-
let
|
|
71794
|
+
let { IDCardSide: sU, IDCardType: sq, Errors: sQ } = ra$1;
|
|
71795
|
+
iI.ID_CARD, ra$1.IDCardSide.FRONT, sq.VN, iI.ID_CARD, ra$1.IDCardSide.BACK, sq.VN, iI.QR_CODE;
|
|
71796
|
+
let sX = [
|
|
71789
71797
|
{
|
|
71790
71798
|
scannerType: iI.ID_CARD,
|
|
71791
71799
|
title: "Chụp mặt trước",
|
|
71792
71800
|
description: "Căn chỉnh giấy tờ khớp với khung h\xecnh",
|
|
71793
71801
|
titleIcon: "id_card_front.svg",
|
|
71794
71802
|
cardSide: ra$1.IDCardSide.FRONT,
|
|
71795
|
-
cardType:
|
|
71803
|
+
cardType: sq.VN,
|
|
71796
71804
|
enableConfirmPopup: !1
|
|
71797
71805
|
},
|
|
71798
71806
|
{
|
|
@@ -71801,25 +71809,25 @@
|
|
|
71801
71809
|
description: "Căn chỉnh giấy tờ khớp với khung h\xecnh",
|
|
71802
71810
|
titleIcon: "id_card_back.svg",
|
|
71803
71811
|
cardSide: ra$1.IDCardSide.BACK,
|
|
71804
|
-
cardType:
|
|
71812
|
+
cardType: sq.VN,
|
|
71805
71813
|
enableConfirmPopup: !1
|
|
71806
71814
|
}
|
|
71807
71815
|
];
|
|
71808
|
-
function
|
|
71809
|
-
if (rh) return
|
|
71816
|
+
function sH() {
|
|
71817
|
+
if (rh) return rp;
|
|
71810
71818
|
rh = 1;
|
|
71811
71819
|
var t = o9();
|
|
71812
|
-
return
|
|
71820
|
+
return rp = function() {
|
|
71813
71821
|
try {
|
|
71814
71822
|
var r = t(Object, "defineProperty");
|
|
71815
71823
|
return r({}, "", {}), r;
|
|
71816
71824
|
} catch (t) {}
|
|
71817
71825
|
}();
|
|
71818
71826
|
}
|
|
71819
|
-
function
|
|
71827
|
+
function sG() {
|
|
71820
71828
|
if (rg) return rm;
|
|
71821
71829
|
rg = 1;
|
|
71822
|
-
var t =
|
|
71830
|
+
var t = sH();
|
|
71823
71831
|
return rm = function(r, o, n) {
|
|
71824
71832
|
"__proto__" == o && t ? t(r, o, {
|
|
71825
71833
|
configurable: !0,
|
|
@@ -71829,26 +71837,26 @@
|
|
|
71829
71837
|
}) : r[o] = n;
|
|
71830
71838
|
};
|
|
71831
71839
|
}
|
|
71832
|
-
function
|
|
71840
|
+
function sZ() {
|
|
71833
71841
|
if (rv) return rb;
|
|
71834
71842
|
rv = 1;
|
|
71835
|
-
var t =
|
|
71843
|
+
var t = sG(), r = o7();
|
|
71836
71844
|
return rb = function(o, n, i) {
|
|
71837
71845
|
(void 0 === i || r(o[n], i)) && (void 0 !== i || n in o) || t(o, n, i);
|
|
71838
71846
|
};
|
|
71839
71847
|
}
|
|
71840
|
-
var
|
|
71848
|
+
var sK = {
|
|
71841
71849
|
exports: {}
|
|
71842
71850
|
};
|
|
71843
|
-
|
|
71844
|
-
function
|
|
71851
|
+
sK.exports;
|
|
71852
|
+
function sY() {
|
|
71845
71853
|
return rR ? rA : (rR = 1, rA = (rM ? rO : (rM = 1, rO = function(t, r) {
|
|
71846
71854
|
return function(o) {
|
|
71847
71855
|
return t(r(o));
|
|
71848
71856
|
};
|
|
71849
71857
|
}))(Object.getPrototypeOf, Object));
|
|
71850
71858
|
}
|
|
71851
|
-
function
|
|
71859
|
+
function sJ() {
|
|
71852
71860
|
if (rF) return rL;
|
|
71853
71861
|
rF = 1;
|
|
71854
71862
|
var t = Object.prototype;
|
|
@@ -71857,7 +71865,7 @@
|
|
|
71857
71865
|
return r === ("function" == typeof o && o.prototype || t);
|
|
71858
71866
|
};
|
|
71859
71867
|
}
|
|
71860
|
-
function
|
|
71868
|
+
function s3() {
|
|
71861
71869
|
if (rq) return rU;
|
|
71862
71870
|
rq = 1;
|
|
71863
71871
|
var t = function() {
|
|
@@ -71874,41 +71882,41 @@
|
|
|
71874
71882
|
return r(t) && n.call(t, "callee") && !i.call(t, "callee");
|
|
71875
71883
|
};
|
|
71876
71884
|
}
|
|
71877
|
-
function
|
|
71885
|
+
function s2() {
|
|
71878
71886
|
return rX ? rQ : (rX = 1, rQ = function(t) {
|
|
71879
71887
|
return "number" == typeof t && t > -1 && t % 1 == 0 && t <= 0x1fffffffffffff;
|
|
71880
71888
|
});
|
|
71881
71889
|
}
|
|
71882
|
-
function
|
|
71890
|
+
function s5() {
|
|
71883
71891
|
if (rG) return rH;
|
|
71884
71892
|
rG = 1;
|
|
71885
|
-
var t = o8(), r =
|
|
71893
|
+
var t = o8(), r = s2();
|
|
71886
71894
|
return rH = function(o) {
|
|
71887
71895
|
return null != o && r(o.length) && !t(o);
|
|
71888
71896
|
};
|
|
71889
71897
|
}
|
|
71890
|
-
var
|
|
71898
|
+
var s0 = {
|
|
71891
71899
|
exports: {}
|
|
71892
71900
|
};
|
|
71893
|
-
function
|
|
71901
|
+
function s1() {
|
|
71894
71902
|
var t, r, o, n, i, a, s, c;
|
|
71895
|
-
if (r3) return
|
|
71896
|
-
return r3 = 1, t =
|
|
71903
|
+
if (r3) return s0.exports;
|
|
71904
|
+
return r3 = 1, t = s0, r = s0.exports, o = oJ(), n = rJ ? rY : (rJ = 1, rY = function() {
|
|
71897
71905
|
return !1;
|
|
71898
|
-
}), 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,
|
|
71906
|
+
}), c = (s = (a = (i = r && !r.nodeType && r) && t && !t.nodeType && t) && a.exports === i ? o.Buffer : void 0) ? s.isBuffer : void 0, t.exports = c || n, s0.exports;
|
|
71899
71907
|
}
|
|
71900
|
-
|
|
71901
|
-
var
|
|
71908
|
+
s0.exports;
|
|
71909
|
+
var s8 = {
|
|
71902
71910
|
exports: {}
|
|
71903
71911
|
};
|
|
71904
|
-
|
|
71905
|
-
function
|
|
71912
|
+
s8.exports;
|
|
71913
|
+
function s9() {
|
|
71906
71914
|
if (r6) return r7;
|
|
71907
71915
|
r6 = 1;
|
|
71908
71916
|
var t = function() {
|
|
71909
71917
|
if (r1) return r0;
|
|
71910
71918
|
r1 = 1;
|
|
71911
|
-
var t = o2(), r =
|
|
71919
|
+
var t = o2(), r = s2(), o = o5(), n = {};
|
|
71912
71920
|
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) {
|
|
71913
71921
|
return o(i) && r(i.length) && !!n[t(i)];
|
|
71914
71922
|
};
|
|
@@ -71918,25 +71926,25 @@
|
|
|
71918
71926
|
};
|
|
71919
71927
|
}), o = function() {
|
|
71920
71928
|
var t, r, o, n, i, a;
|
|
71921
|
-
if (r4) return
|
|
71922
|
-
return r4 = 1, t =
|
|
71929
|
+
if (r4) return s8.exports;
|
|
71930
|
+
return r4 = 1, t = s8, r = s8.exports, o = oY(), a = (i = (n = r && !r.nodeType && r) && t && !t.nodeType && t) && i.exports === n && o.process, t.exports = function() {
|
|
71923
71931
|
try {
|
|
71924
71932
|
var t = i && i.require && i.require("util").types;
|
|
71925
71933
|
if (t) return t;
|
|
71926
71934
|
return a && a.binding && a.binding("util");
|
|
71927
71935
|
} catch (t) {}
|
|
71928
|
-
}(),
|
|
71936
|
+
}(), s8.exports;
|
|
71929
71937
|
}(), n = o && o.isTypedArray;
|
|
71930
71938
|
return r7 = n ? r(n) : t;
|
|
71931
71939
|
}
|
|
71932
|
-
function
|
|
71940
|
+
function s4() {
|
|
71933
71941
|
return ot ? oe : (ot = 1, oe = function(t, r) {
|
|
71934
71942
|
if ("constructor" !== r || "function" != typeof t[r]) {
|
|
71935
71943
|
if ("__proto__" != r) return t[r];
|
|
71936
71944
|
}
|
|
71937
71945
|
});
|
|
71938
71946
|
}
|
|
71939
|
-
function
|
|
71947
|
+
function s7() {
|
|
71940
71948
|
if (ol) return oc;
|
|
71941
71949
|
ol = 1;
|
|
71942
71950
|
var t = /^(?:0|[1-9]\d*)$/;
|
|
@@ -71945,7 +71953,7 @@
|
|
|
71945
71953
|
return !!(o = null == o ? 0x1fffffffffffff : o) && ("number" == n || "symbol" != n && t.test(r)) && r > -1 && r % 1 == 0 && r < o;
|
|
71946
71954
|
};
|
|
71947
71955
|
}
|
|
71948
|
-
function
|
|
71956
|
+
function s6() {
|
|
71949
71957
|
if (ob) return og;
|
|
71950
71958
|
ob = 1;
|
|
71951
71959
|
var t = function() {
|
|
@@ -71954,16 +71962,16 @@
|
|
|
71954
71962
|
var t = os ? oa : (os = 1, oa = function(t, r) {
|
|
71955
71963
|
for(var o = -1, n = Array(t); ++o < t;)n[o] = r(o);
|
|
71956
71964
|
return n;
|
|
71957
|
-
}), r =
|
|
71965
|
+
}), r = s3(), o = oK(), n = s1(), i = s7(), a = s9(), s = Object.prototype.hasOwnProperty;
|
|
71958
71966
|
return od = function(c, l) {
|
|
71959
|
-
var d = o(c), u = !d && r(c),
|
|
71960
|
-
for(var b in c)(l || s.call(c, b)) && !(h && ("length" == b ||
|
|
71967
|
+
var d = o(c), u = !d && r(c), f = !d && !u && n(c), p = !d && !u && !f && a(c), h = d || u || f || p, m = h ? t(c.length, String) : [], g = m.length;
|
|
71968
|
+
for(var b in c)(l || s.call(c, b)) && !(h && ("length" == b || f && ("offset" == b || "parent" == b) || p && ("buffer" == b || "byteLength" == b || "byteOffset" == b) || i(b, g))) && m.push(b);
|
|
71961
71969
|
return m;
|
|
71962
71970
|
};
|
|
71963
71971
|
}(), r = function() {
|
|
71964
71972
|
if (om) return oh;
|
|
71965
71973
|
om = 1;
|
|
71966
|
-
var t = o1(), r =
|
|
71974
|
+
var t = o1(), r = sJ(), o = op ? of : (op = 1, of = function(t) {
|
|
71967
71975
|
var r = [];
|
|
71968
71976
|
if (null != t) for(var o in Object(t))r.push(o);
|
|
71969
71977
|
return r;
|
|
@@ -71974,12 +71982,12 @@
|
|
|
71974
71982
|
for(var c in i)"constructor" == c && (a || !n.call(i, c)) || s.push(c);
|
|
71975
71983
|
return s;
|
|
71976
71984
|
};
|
|
71977
|
-
}(), o =
|
|
71985
|
+
}(), o = s5();
|
|
71978
71986
|
return og = function(n) {
|
|
71979
71987
|
return o(n) ? t(n, !0) : r(n);
|
|
71980
71988
|
};
|
|
71981
71989
|
}
|
|
71982
|
-
function
|
|
71990
|
+
function ce() {
|
|
71983
71991
|
return ox ? o_ : (ox = 1, o_ = function(t) {
|
|
71984
71992
|
return t;
|
|
71985
71993
|
});
|
|
@@ -71991,8 +71999,8 @@
|
|
|
71991
71999
|
if (oB) return oC;
|
|
71992
72000
|
oB = 1;
|
|
71993
72001
|
var t = function() {
|
|
71994
|
-
if (
|
|
71995
|
-
|
|
72002
|
+
if (rf) return ru;
|
|
72003
|
+
rf = 1;
|
|
71996
72004
|
var t = ne(), r = function() {
|
|
71997
72005
|
if (rr) return rt;
|
|
71998
72006
|
rr = 1;
|
|
@@ -72029,7 +72037,7 @@
|
|
|
72029
72037
|
this.size = o.size;
|
|
72030
72038
|
}
|
|
72031
72039
|
return s.prototype.clear = r, s.prototype.delete = o, s.prototype.get = n, s.prototype.has = i, s.prototype.set = a, ru = s;
|
|
72032
|
-
}(), r =
|
|
72040
|
+
}(), r = sZ(), o = rC ? ry : (rC = 1, ry = (rk ? rw : (rk = 1, rw = function(t) {
|
|
72033
72041
|
return function(r, o, n) {
|
|
72034
72042
|
for(var i = -1, a = Object(r), s = n(r), c = s.length; c--;){
|
|
72035
72043
|
var l = s[t ? c : ++i];
|
|
@@ -72040,14 +72048,14 @@
|
|
|
72040
72048
|
}))()), n = function() {
|
|
72041
72049
|
if (oy) return ok;
|
|
72042
72050
|
oy = 1;
|
|
72043
|
-
var t =
|
|
72051
|
+
var t = sZ(), r = function() {
|
|
72044
72052
|
var t, r, o, n, i, a, s;
|
|
72045
|
-
if (rB) return
|
|
72046
|
-
return rB = 1, t =
|
|
72053
|
+
if (rB) return sK.exports;
|
|
72054
|
+
return rB = 1, t = sK, r = sK.exports, o = oJ(), s = (a = (i = (n = r && !r.nodeType && r) && t && !t.nodeType && t) && i.exports === n ? o.Buffer : void 0) ? a.allocUnsafe : void 0, t.exports = function(t, r) {
|
|
72047
72055
|
if (r) return t.slice();
|
|
72048
72056
|
var o = t.length, n = s ? s(o) : new t.constructor(o);
|
|
72049
72057
|
return t.copy(n), n;
|
|
72050
|
-
},
|
|
72058
|
+
}, sK.exports;
|
|
72051
72059
|
}(), o = function() {
|
|
72052
72060
|
if (rT) return rE;
|
|
72053
72061
|
rT = 1;
|
|
@@ -72085,21 +72093,21 @@
|
|
|
72085
72093
|
return o.prototype = void 0, i;
|
|
72086
72094
|
};
|
|
72087
72095
|
}();
|
|
72088
|
-
}(), r =
|
|
72096
|
+
}(), r = sY(), o = sJ();
|
|
72089
72097
|
return rN = function(n) {
|
|
72090
72098
|
return "function" != typeof n.constructor || o(n) ? {} : t(r(n));
|
|
72091
72099
|
};
|
|
72092
|
-
}(), a =
|
|
72100
|
+
}(), a = s3(), s = oK(), c = function() {
|
|
72093
72101
|
if (rK) return rZ;
|
|
72094
72102
|
rK = 1;
|
|
72095
|
-
var t =
|
|
72103
|
+
var t = s5(), r = o5();
|
|
72096
72104
|
return rZ = function(o) {
|
|
72097
72105
|
return r(o) && t(o);
|
|
72098
72106
|
};
|
|
72099
|
-
}(), l =
|
|
72107
|
+
}(), l = s1(), d = o8(), u = o1(), f = function() {
|
|
72100
72108
|
if (r5) return r2;
|
|
72101
72109
|
r5 = 1;
|
|
72102
|
-
var t = o2(), r =
|
|
72110
|
+
var t = o2(), r = sY(), o = o5(), n = Object.prototype, i = Function.prototype.toString, a = n.hasOwnProperty, s = i.call(Object);
|
|
72103
72111
|
return r2 = function(n) {
|
|
72104
72112
|
if (!o(n) || "[object Object]" != t(n)) return !1;
|
|
72105
72113
|
var c = r(n);
|
|
@@ -72107,7 +72115,7 @@
|
|
|
72107
72115
|
var l = a.call(c, "constructor") && c.constructor;
|
|
72108
72116
|
return "function" == typeof l && l instanceof l && i.call(l) == s;
|
|
72109
72117
|
};
|
|
72110
|
-
}(),
|
|
72118
|
+
}(), p = s9(), h = s4(), m = function() {
|
|
72111
72119
|
if (ow) return ov;
|
|
72112
72120
|
ow = 1;
|
|
72113
72121
|
var t = function() {
|
|
@@ -72116,12 +72124,12 @@
|
|
|
72116
72124
|
var t = function() {
|
|
72117
72125
|
if (oo) return or;
|
|
72118
72126
|
oo = 1;
|
|
72119
|
-
var t =
|
|
72127
|
+
var t = sG(), r = o7(), o = Object.prototype.hasOwnProperty;
|
|
72120
72128
|
return or = function(n, i, a) {
|
|
72121
72129
|
var s = n[i];
|
|
72122
72130
|
o.call(n, i) && r(s, a) && (void 0 !== a || i in n) || t(n, i, a);
|
|
72123
72131
|
};
|
|
72124
|
-
}(), r =
|
|
72132
|
+
}(), r = sG();
|
|
72125
72133
|
return on = function(o, n, i, a) {
|
|
72126
72134
|
var s = !i;
|
|
72127
72135
|
i || (i = {});
|
|
@@ -72131,7 +72139,7 @@
|
|
|
72131
72139
|
}
|
|
72132
72140
|
return i;
|
|
72133
72141
|
};
|
|
72134
|
-
}(), r =
|
|
72142
|
+
}(), r = s6();
|
|
72135
72143
|
return ov = function(o) {
|
|
72136
72144
|
return t(o, r(o));
|
|
72137
72145
|
};
|
|
@@ -72141,17 +72149,17 @@
|
|
|
72141
72149
|
if (x) return void t(g, v, x);
|
|
72142
72150
|
var P = y ? y(B, _, v + "", g, b, C) : void 0, S = void 0 === P;
|
|
72143
72151
|
if (S) {
|
|
72144
|
-
var E = s(_), T = !E && l(_), D = !E && !T &&
|
|
72145
|
-
P = _, E || T || D ? s(B) ? P = B : c(B) ? P = n(B) : T ? (S = !1, P = r(_, !0)) : D ? (S = !1, P = o(_, !0)) : P = [] :
|
|
72152
|
+
var E = s(_), T = !E && l(_), D = !E && !T && p(_);
|
|
72153
|
+
P = _, E || T || D ? s(B) ? P = B : c(B) ? P = n(B) : T ? (S = !1, P = r(_, !0)) : D ? (S = !1, P = o(_, !0)) : P = [] : f(_) || a(_) ? (P = B, a(B) ? P = m(B) : (!u(B) || d(B)) && (P = i(_))) : S = !1;
|
|
72146
72154
|
}
|
|
72147
72155
|
S && (C.set(_, P), k(P, _, w, y, C), C.delete(_)), t(g, v, P);
|
|
72148
72156
|
};
|
|
72149
|
-
}(), i = o1(), a =
|
|
72150
|
-
return oC = function c(l, d, u,
|
|
72157
|
+
}(), i = o1(), a = s6(), s = s4();
|
|
72158
|
+
return oC = function c(l, d, u, f, p) {
|
|
72151
72159
|
l !== d && o(d, function(o, a) {
|
|
72152
|
-
if (
|
|
72160
|
+
if (p || (p = new t), i(o)) n(l, d, a, u, c, f, p);
|
|
72153
72161
|
else {
|
|
72154
|
-
var h =
|
|
72162
|
+
var h = f ? f(s(l, a), o, a + "", l, d, p) : void 0;
|
|
72155
72163
|
void 0 === h && (h = o), r(l, a, h);
|
|
72156
72164
|
}
|
|
72157
72165
|
}, a);
|
|
@@ -72163,7 +72171,7 @@
|
|
|
72163
72171
|
var t = function() {
|
|
72164
72172
|
if (oF) return oL;
|
|
72165
72173
|
oF = 1;
|
|
72166
|
-
var t =
|
|
72174
|
+
var t = ce(), r = function() {
|
|
72167
72175
|
if (oT) return oE;
|
|
72168
72176
|
oT = 1;
|
|
72169
72177
|
var t = oS ? oP : (oS = 1, oP = function(t, r, o) {
|
|
@@ -72197,7 +72205,7 @@
|
|
|
72197
72205
|
return function() {
|
|
72198
72206
|
return t;
|
|
72199
72207
|
};
|
|
72200
|
-
}), r =
|
|
72208
|
+
}), r = sH(), o = ce();
|
|
72201
72209
|
return oj = r ? function(o, n) {
|
|
72202
72210
|
return r(o, "toString", {
|
|
72203
72211
|
configurable: !0,
|
|
@@ -72229,7 +72237,7 @@
|
|
|
72229
72237
|
}(), r = function() {
|
|
72230
72238
|
if (oz) return oN;
|
|
72231
72239
|
oz = 1;
|
|
72232
|
-
var t = o7(), r =
|
|
72240
|
+
var t = o7(), r = s5(), o = s7(), n = o1();
|
|
72233
72241
|
return oN = function(i, a, s) {
|
|
72234
72242
|
if (!n(s)) return !1;
|
|
72235
72243
|
var c = typeof a;
|
|
@@ -72250,7 +72258,7 @@
|
|
|
72250
72258
|
t(r, o, n);
|
|
72251
72259
|
});
|
|
72252
72260
|
}();
|
|
72253
|
-
let
|
|
72261
|
+
let ct = {
|
|
72254
72262
|
data: {
|
|
72255
72263
|
country: "vn",
|
|
72256
72264
|
settings: {
|
|
@@ -72401,12 +72409,12 @@
|
|
|
72401
72409
|
}
|
|
72402
72410
|
}
|
|
72403
72411
|
};
|
|
72404
|
-
let { DesignToken:
|
|
72405
|
-
|
|
72406
|
-
let { DesignToken:
|
|
72407
|
-
ra$1.DesignToken.Typography.h5, ra$1.DesignToken.Color.content.primary,
|
|
72408
|
-
let { DesignToken:
|
|
72409
|
-
|
|
72412
|
+
let { DesignToken: cr } = ra$1;
|
|
72413
|
+
cr.Color.separators.secondary, cr.Color.semantic.error[400], cr.Color.content.primary, cr.Typography.h5.fontSize, cr.Typography.h5.fontWeight, cr.Typography.h5.lineHeight, cr.Color.content.primary, cr.Typography.h6.fontSize, cr.FontWeight["semi-bold"], cr.Color.background.secondary, cr.BorderWidth.base, cr.Color.separators.tertiary, cr.Color.content.primary, cr.Typography.h6.fontSize, cr.FontWeight["semi-bold"], cr.Color.background.secondary, cr.BorderWidth.base, cr.Color.separators.tertiary, cr.Color.content["on-bg-color"], cr.Typography.label.fontSize, cr.Typography.label.fontWeight, cr.Color.blue[900], cr.Color.content["on-bg-color"], cr.Typography.label.fontSize, cr.Typography.label.fontWeight, cr.Color.semantic.error[400], cr.Typography.body.fontSize, cr.Typography.body.fontWeight, cr.Color.blue[900], cr.Color.blue[100], cr.Color.blue[900], cr.Typography.body.fontSize, cr.FontWeight["semi-bold"];
|
|
72414
|
+
let { DesignToken: co } = ra$1;
|
|
72415
|
+
ra$1.DesignToken.Typography.h5, ra$1.DesignToken.Color.content.primary, co.Color.semantic.error[400], co.Typography.body.fontSize, co.Typography.body.fontWeight, co.Color.semantic.error[400], co.Typography.body.fontSize, co.Typography.body.fontWeight, co.Color.blue[900], co.Color.neutral[300], co.Color.semantic.error[400], co.Color.content.primary, co.Typography.body.fontSize, co.Typography.body.fontWeight, co.Color.blue[900], co.Color.separators.tertiary;
|
|
72416
|
+
let { DesignToken: cn } = ra$1;
|
|
72417
|
+
cn.Color.content["on-bg-color"], cn.Typography.label.fontSize, cn.Typography.label.fontWeight, ra$1.DesignToken.Spacing.base, ra$1.DesignToken.Spacing.base, ra$1.DesignToken.Color.base.white, ra$1.DesignToken.CornerRadius.sm, ra$1.DesignToken.Color.mask[70], ra$1.DesignToken.Typography.h6, ra$1.DesignToken.FontWeight["semi-bold"], ra$1.DesignToken.Color.content.primary, ra$1.DesignToken.Typography.body, ra$1.DesignToken.Color.content.secondary, ra$1.DesignToken.Typography.body, ra$1.DesignToken.Color.base.white, ra$1.DesignToken.Color.base.blue, ra$1.DesignToken.CornerRadius.xs, ra$1.DesignToken.Height["3xl"], ra$1.DesignToken.Typography.body, ra$1.DesignToken.Color.content.primary, ra$1.DesignToken.Color.background.tertiary, ra$1.DesignToken.CornerRadius.xs, ra$1.DesignToken.Height["3xl"], PropTypes.shape({}), PropTypes.shape({}), PropTypes.func, PropTypes.shape({}), PropTypes.func, PropTypes.func, PropTypes.func, PropTypes.arrayOf(PropTypes.shape({
|
|
72410
72418
|
scannerType: PropTypes.string
|
|
72411
72419
|
})), PropTypes.func, PropTypes.shape({}), PropTypes.string, PropTypes.bool, PropTypes.arrayOf(PropTypes.string), PropTypes.shape({});
|
|
72412
72420
|
|
|
@@ -86952,7 +86960,7 @@
|
|
|
86952
86960
|
table-layout: auto;
|
|
86953
86961
|
border-collapse: collapse;
|
|
86954
86962
|
`;
|
|
86955
|
-
const ChildrenWrapper$
|
|
86963
|
+
const ChildrenWrapper$2 = dt$1.div`
|
|
86956
86964
|
position: relative;
|
|
86957
86965
|
`;
|
|
86958
86966
|
const rows = Array.from(Array(3).keys());
|
|
@@ -86984,7 +86992,7 @@
|
|
|
86984
86992
|
height: isCenteredCell ? height : 'auto',
|
|
86985
86993
|
...!isCenteredCell ? surroundStyle : {}
|
|
86986
86994
|
},
|
|
86987
|
-
children: isCenteredCell ? /*#__PURE__*/ jsxRuntimeExports.jsx(ChildrenWrapper$
|
|
86995
|
+
children: isCenteredCell ? /*#__PURE__*/ jsxRuntimeExports.jsx(ChildrenWrapper$2, {
|
|
86988
86996
|
style: {
|
|
86989
86997
|
width: cellWidth,
|
|
86990
86998
|
height
|
|
@@ -88810,6 +88818,97 @@
|
|
|
88810
88818
|
};
|
|
88811
88819
|
};
|
|
88812
88820
|
|
|
88821
|
+
/**
|
|
88822
|
+
* Custom hook to delay rendering when transitioning from hidden to visible state.
|
|
88823
|
+
* Useful for waiting for browser dimension updates after orientation changes.
|
|
88824
|
+
*
|
|
88825
|
+
* @param params - Hook parameters
|
|
88826
|
+
* @param params.isVisible - Whether the component is currently visible
|
|
88827
|
+
* @param params.enableDelay - Whether to apply delay logic for show transitions
|
|
88828
|
+
* @param params.delayMs - Delay in milliseconds before showing (default: 500)
|
|
88829
|
+
* @returns Delayed visibility state
|
|
88830
|
+
*/ function useDelayedRender({ isVisible, enableDelay, delayMs = 500 }) {
|
|
88831
|
+
const [isVisibleDelayed, setIsVisibleDelayed] = reactExports.useState(isVisible);
|
|
88832
|
+
const prevIsVisibleRef = reactExports.useRef(isVisible);
|
|
88833
|
+
const timeoutRef = reactExports.useRef(null);
|
|
88834
|
+
reactExports.useEffect(()=>{
|
|
88835
|
+
const prevIsVisible = prevIsVisibleRef.current;
|
|
88836
|
+
// When delay is disabled, always sync immediately
|
|
88837
|
+
if (!enableDelay) {
|
|
88838
|
+
setIsVisibleDelayed(isVisible);
|
|
88839
|
+
prevIsVisibleRef.current = isVisible;
|
|
88840
|
+
return undefined;
|
|
88841
|
+
}
|
|
88842
|
+
// Handle transitions when delay is enabled
|
|
88843
|
+
const isTransitionToShow = !prevIsVisible && isVisible;
|
|
88844
|
+
const isTransitionToHide = prevIsVisible && !isVisible;
|
|
88845
|
+
if (isTransitionToShow) {
|
|
88846
|
+
// Delay showing when transitioning from hidden to visible
|
|
88847
|
+
timeoutRef.current = setTimeout(()=>{
|
|
88848
|
+
setIsVisibleDelayed(true);
|
|
88849
|
+
}, delayMs);
|
|
88850
|
+
} else if (isTransitionToHide) {
|
|
88851
|
+
// Immediately hide and cancel pending show
|
|
88852
|
+
if (timeoutRef.current) {
|
|
88853
|
+
clearTimeout(timeoutRef.current);
|
|
88854
|
+
timeoutRef.current = null;
|
|
88855
|
+
}
|
|
88856
|
+
setIsVisibleDelayed(false);
|
|
88857
|
+
}
|
|
88858
|
+
prevIsVisibleRef.current = isVisible;
|
|
88859
|
+
return ()=>{
|
|
88860
|
+
if (timeoutRef.current) {
|
|
88861
|
+
clearTimeout(timeoutRef.current);
|
|
88862
|
+
}
|
|
88863
|
+
};
|
|
88864
|
+
}, [
|
|
88865
|
+
isVisible,
|
|
88866
|
+
enableDelay,
|
|
88867
|
+
delayMs
|
|
88868
|
+
]);
|
|
88869
|
+
return isVisibleDelayed;
|
|
88870
|
+
}
|
|
88871
|
+
|
|
88872
|
+
const PopupContent$1 = dt$1.div`
|
|
88873
|
+
text-align: center;
|
|
88874
|
+
font-size: 20px;
|
|
88875
|
+
font-weight: 600;
|
|
88876
|
+
`;
|
|
88877
|
+
const ChildrenWrapper$1 = dt$1.div`
|
|
88878
|
+
width: 100%;
|
|
88879
|
+
height: 100%;
|
|
88880
|
+
opacity: ${({ $showChildren })=>$showChildren ? 1 : 0};
|
|
88881
|
+
`;
|
|
88882
|
+
const defaultPreferredOrientations = [
|
|
88883
|
+
MODE.PORTRAIT,
|
|
88884
|
+
MODE.DESKTOP
|
|
88885
|
+
];
|
|
88886
|
+
function OrientationDetectionV2({ onOrientationChange = noop$1, unmountOnHidden = false, remountDelayMs = 500, preferredOrientations = defaultPreferredOrientations, children }) {
|
|
88887
|
+
const t = gB();
|
|
88888
|
+
const { curOrientation } = useDetectOrientation(onOrientationChange);
|
|
88889
|
+
const hasCorrectOrientation = preferredOrientations.includes(curOrientation);
|
|
88890
|
+
const isVisible = useDelayedRender({
|
|
88891
|
+
isVisible: hasCorrectOrientation,
|
|
88892
|
+
enableDelay: unmountOnHidden,
|
|
88893
|
+
delayMs: remountDelayMs
|
|
88894
|
+
});
|
|
88895
|
+
const shouldMountChildrenOnDom = unmountOnHidden ? isVisible : true;
|
|
88896
|
+
return /*#__PURE__*/ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, {
|
|
88897
|
+
children: [
|
|
88898
|
+
!preferredOrientations.includes(curOrientation) && /*#__PURE__*/ jsxRuntimeExports.jsx(PopupComponent$1, {
|
|
88899
|
+
open: true,
|
|
88900
|
+
children: /*#__PURE__*/ jsxRuntimeExports.jsx(PopupContent$1, {
|
|
88901
|
+
children: t('wrong_orientation')
|
|
88902
|
+
})
|
|
88903
|
+
}),
|
|
88904
|
+
shouldMountChildrenOnDom && /*#__PURE__*/ jsxRuntimeExports.jsx(ChildrenWrapper$1, {
|
|
88905
|
+
$showChildren: hasCorrectOrientation,
|
|
88906
|
+
children: children
|
|
88907
|
+
})
|
|
88908
|
+
]
|
|
88909
|
+
});
|
|
88910
|
+
}
|
|
88911
|
+
|
|
88813
88912
|
const PopupContent = dt$1.div`
|
|
88814
88913
|
text-align: center;
|
|
88815
88914
|
font-size: 20px;
|
|
@@ -88821,7 +88920,7 @@
|
|
|
88821
88920
|
opacity: ${({ showChildren })=>showChildren ? 1 : 0};
|
|
88822
88921
|
`;
|
|
88823
88922
|
// eslint-disable-next-line react/require-default-props
|
|
88824
|
-
function
|
|
88923
|
+
function OrientationDetectionV1({ onOrientationChange, unmountOnHidden, children }) {
|
|
88825
88924
|
const t = gB();
|
|
88826
88925
|
const { curOrientation } = useDetectOrientation(onOrientationChange);
|
|
88827
88926
|
const shouldShowChildren = curOrientation === MODE.PORTRAIT || curOrientation === MODE.DESKTOP;
|
|
@@ -88833,22 +88932,35 @@
|
|
|
88833
88932
|
children: t('wrong_orientation')
|
|
88834
88933
|
})
|
|
88835
88934
|
}),
|
|
88836
|
-
(
|
|
88935
|
+
(unmountOnHidden ? shouldShowChildren : true) && /*#__PURE__*/ jsxRuntimeExports.jsx(ChildrenWrapper, {
|
|
88837
88936
|
showChildren: shouldShowChildren,
|
|
88838
88937
|
children: children
|
|
88839
88938
|
})
|
|
88840
88939
|
]
|
|
88841
88940
|
});
|
|
88842
88941
|
}
|
|
88843
|
-
|
|
88942
|
+
OrientationDetectionV1.defaultProps = {
|
|
88844
88943
|
onOrientationChange: ()=>{},
|
|
88845
|
-
|
|
88944
|
+
unmountOnHidden: false
|
|
88846
88945
|
};
|
|
88847
|
-
|
|
88946
|
+
OrientationDetectionV1.propTypes = {
|
|
88848
88947
|
onOrientationChange: PropTypes.func,
|
|
88849
|
-
|
|
88948
|
+
unmountOnHidden: PropTypes.bool
|
|
88850
88949
|
};
|
|
88851
88950
|
|
|
88951
|
+
function OrientationDetection({ version = 'v1', children, ...rest }) {
|
|
88952
|
+
if (version === 'v2') {
|
|
88953
|
+
return /*#__PURE__*/ jsxRuntimeExports.jsx(OrientationDetectionV2, {
|
|
88954
|
+
...rest,
|
|
88955
|
+
children: children
|
|
88956
|
+
});
|
|
88957
|
+
}
|
|
88958
|
+
return /*#__PURE__*/ jsxRuntimeExports.jsx(OrientationDetectionV1, {
|
|
88959
|
+
...rest,
|
|
88960
|
+
children: children
|
|
88961
|
+
});
|
|
88962
|
+
}
|
|
88963
|
+
|
|
88852
88964
|
const useEkycSession = ()=>{
|
|
88853
88965
|
const [sessionId, setSessionId] = reactExports.useState(Date.now());
|
|
88854
88966
|
const updateSessionId = reactExports.useCallback(()=>{
|
|
@@ -89068,7 +89180,7 @@
|
|
|
89068
89180
|
width: 6px;
|
|
89069
89181
|
height: 6px;
|
|
89070
89182
|
border-radius: 50%;
|
|
89071
|
-
background-color: ${getTheme('FlashLiveness.progressBar.
|
|
89183
|
+
background-color: ${getTheme('FlashLiveness.progressBar.textColor')};
|
|
89072
89184
|
margin-right: 5px;
|
|
89073
89185
|
margin-bottom: 2px;
|
|
89074
89186
|
}
|
|
@@ -117159,7 +117271,7 @@
|
|
|
117159
117271
|
qr_tooltip: 'Đặt mã QR vào khung hình và thử dịch chuyển camera (ra xa hoặc gần) để quét được mã QR'
|
|
117160
117272
|
};
|
|
117161
117273
|
|
|
117162
|
-
const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk.lotte/5.34.
|
|
117274
|
+
const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk.lotte/5.34.3/assets";
|
|
117163
117275
|
class TVWebSDK extends gU {
|
|
117164
117276
|
constructor(props){
|
|
117165
117277
|
super({
|
|
@@ -117202,8 +117314,8 @@
|
|
|
117202
117314
|
exports.SDK = TVWebSDK;
|
|
117203
117315
|
exports.SDKAdapter = gV;
|
|
117204
117316
|
exports.ScannerType = iI;
|
|
117205
|
-
exports.defaultClientSettings =
|
|
117206
|
-
exports.defaultReadIDCardSteps =
|
|
117317
|
+
exports.defaultClientSettings = ct;
|
|
117318
|
+
exports.defaultReadIDCardSteps = sX;
|
|
117207
117319
|
exports.getSDKVersion = nB$1;
|
|
117208
117320
|
|
|
117209
117321
|
}));
|