@tsocial/tvweb-sdk.lotte 5.34.1 → 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 +172 -156
- package/build/tvweb-sdk.lotte.esm.min.js +172 -156
- package/build/tvweb-sdk.lotte.standalone.js +744 -631
- package/build/tvweb-sdk.lotte.standalone.min.js +174 -158
- 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,53 +41259,54 @@
|
|
|
41259
41259
|
}, uz;
|
|
41260
41260
|
}(), uG);
|
|
41261
41261
|
}();
|
|
41262
|
-
let dm =
|
|
41263
|
-
|
|
41264
|
-
|
|
41265
|
-
|
|
41266
|
-
|
|
41267
|
-
dy.push(dy.shift());
|
|
41268
|
-
}
|
|
41269
|
-
let db = dm(199) + dm(203) + dm(205) + dm(215) + "0301070342" + dm(211), dv = "MFkwEwYHKoZIzj0CAQYI" + dm(212) + "cDQgAE9h6Z" + dm(204) + "ytJdcsPxrD" + dm(191) + dm(194) + dm(202) + dm(213) + dm(196) + dm(208) + dm(209);
|
|
41270
|
-
function d_(e, t) {
|
|
41271
|
-
let r = dx();
|
|
41272
|
-
return (d_ = function(e, t) {
|
|
41273
|
-
return r[e -= 190];
|
|
41262
|
+
let dm = dg;
|
|
41263
|
+
function dg(e, t) {
|
|
41264
|
+
let r = dy();
|
|
41265
|
+
return (dg = function(e, t) {
|
|
41266
|
+
return r[e -= 367];
|
|
41274
41267
|
})(e, t);
|
|
41275
41268
|
}
|
|
41276
|
-
function
|
|
41269
|
+
function dy() {
|
|
41277
41270
|
let e = [
|
|
41278
|
-
"4552RWKMhh",
|
|
41279
41271
|
"44P0rKKsZK",
|
|
41280
|
-
"181301bSrizZ",
|
|
41281
41272
|
"MfPrcYTM70",
|
|
41282
|
-
"
|
|
41283
|
-
"
|
|
41284
|
-
"3059301306",
|
|
41285
|
-
"90qowNeA",
|
|
41286
|
-
"17930ZGtTNS",
|
|
41287
|
-
"Mjci1ul8mm",
|
|
41273
|
+
"KoZIzj0DAQ",
|
|
41274
|
+
"4507063dEvzaV",
|
|
41288
41275
|
"072a8648ce",
|
|
41276
|
+
"223235rNcaea",
|
|
41289
41277
|
"DepBO8t60S",
|
|
41290
|
-
"
|
|
41291
|
-
"
|
|
41292
|
-
"
|
|
41293
|
-
"
|
|
41294
|
-
"
|
|
41295
|
-
"344nEBwdw",
|
|
41278
|
+
"ZIzj0CAQYI",
|
|
41279
|
+
"52vAzYCl",
|
|
41280
|
+
"4102938twVDjD",
|
|
41281
|
+
"Mjci1ul8mm",
|
|
41282
|
+
"2a8648ce3d",
|
|
41296
41283
|
"000",
|
|
41297
|
-
"
|
|
41284
|
+
"75825zTCCpR",
|
|
41298
41285
|
"D9EKOWS+U4",
|
|
41299
|
-
"
|
|
41300
|
-
"
|
|
41301
|
-
"
|
|
41302
|
-
"
|
|
41303
|
-
"
|
|
41286
|
+
"9EzrkuM",
|
|
41287
|
+
"0301070342",
|
|
41288
|
+
"8QVfurr",
|
|
41289
|
+
"3d02010608",
|
|
41290
|
+
"7975860ZUkdQz",
|
|
41291
|
+
"cDQgAE9h6Z",
|
|
41292
|
+
"66TBiIus",
|
|
41293
|
+
"ssRdXLZEX8",
|
|
41294
|
+
"ytJdcsPxrD",
|
|
41295
|
+
"937803kIgQTZ",
|
|
41296
|
+
"4563906dowYkq"
|
|
41304
41297
|
];
|
|
41305
|
-
return (
|
|
41298
|
+
return (dy = function() {
|
|
41306
41299
|
return e;
|
|
41307
41300
|
})();
|
|
41308
41301
|
}
|
|
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==";
|
|
41309
41310
|
async function dC(e) {
|
|
41310
41311
|
let t = new TextEncoder().encode(e);
|
|
41311
41312
|
return Array.from(new Uint8Array(await crypto.subtle.digest("SHA-256", t))).map((e)=>e.toString(16).padStart(2, "0")).join("");
|
|
@@ -41410,7 +41411,7 @@
|
|
|
41410
41411
|
isValid: !1,
|
|
41411
41412
|
error: i0$1.invalid_license
|
|
41412
41413
|
};
|
|
41413
|
-
let { mode: a, license: o, signature: s } = dS(e), c = dw(i4$1(o)), l = (r = t ||
|
|
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"), {
|
|
41414
41415
|
verifySignature: async (e, t)=>{
|
|
41415
41416
|
try {
|
|
41416
41417
|
let r = await dC(e), n = i4$1(t);
|
|
@@ -45324,7 +45325,7 @@
|
|
|
45324
45325
|
return this.getKey().getPublicKey();
|
|
45325
45326
|
}, e.prototype.getPublicKeyB64 = function() {
|
|
45326
45327
|
return this.getKey().getPublicBaseKeyB64();
|
|
45327
|
-
}, e.version = "5.34.
|
|
45328
|
+
}, e.version = "5.34.2", e;
|
|
45328
45329
|
}();
|
|
45329
45330
|
let hO = [
|
|
45330
45331
|
"-",
|
|
@@ -53107,7 +53108,7 @@
|
|
|
53107
53108
|
});
|
|
53108
53109
|
};
|
|
53109
53110
|
|
|
53110
|
-
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 : {};
|
|
53111
53112
|
function oX(t) {
|
|
53112
53113
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
53113
53114
|
}
|
|
@@ -53186,7 +53187,7 @@
|
|
|
53186
53187
|
};
|
|
53187
53188
|
}
|
|
53188
53189
|
function o5() {
|
|
53189
|
-
return
|
|
53190
|
+
return ep ? ef : (ep = 1, ef = function(t) {
|
|
53190
53191
|
return null != t && "object" == typeof t;
|
|
53191
53192
|
});
|
|
53192
53193
|
}
|
|
@@ -53418,10 +53419,10 @@
|
|
|
53418
53419
|
return t(this, r).get(r);
|
|
53419
53420
|
};
|
|
53420
53421
|
}(), n = function() {
|
|
53421
|
-
if (
|
|
53422
|
-
|
|
53422
|
+
if (tp) return tf;
|
|
53423
|
+
tp = 1;
|
|
53423
53424
|
var t = nr();
|
|
53424
|
-
return
|
|
53425
|
+
return tf = function(r) {
|
|
53425
53426
|
return t(this, r).has(r);
|
|
53426
53427
|
};
|
|
53427
53428
|
}(), i = function() {
|
|
@@ -53564,16 +53565,16 @@
|
|
|
53564
53565
|
function nc(t, r) {
|
|
53565
53566
|
return t.replace(RegExp("(^|\\s)" + r + "(?:\\s|$)", "g"), "$1").replace(/\s+/g, " ").replace(/^\s*|\s*$/g, "");
|
|
53566
53567
|
}
|
|
53567
|
-
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) {
|
|
53568
53569
|
function o(t, o) {
|
|
53569
53570
|
var n, i = r.call(this, t, o) || this, a = o && !o.isMounting ? t.enter : t.appear;
|
|
53570
|
-
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 = {
|
|
53571
53572
|
status: n
|
|
53572
53573
|
}, i.nextCallback = null, i;
|
|
53573
53574
|
}
|
|
53574
53575
|
ns(o, r), o.getDerivedStateFromProps = function(t, r) {
|
|
53575
53576
|
return t.in && r.status === nu ? {
|
|
53576
|
-
status:
|
|
53577
|
+
status: nf
|
|
53577
53578
|
} : null;
|
|
53578
53579
|
};
|
|
53579
53580
|
var n = o.prototype;
|
|
@@ -53583,7 +53584,7 @@
|
|
|
53583
53584
|
var r = null;
|
|
53584
53585
|
if (t !== this.props) {
|
|
53585
53586
|
var o = this.state.status;
|
|
53586
|
-
this.props.in ? o !==
|
|
53587
|
+
this.props.in ? o !== np && o !== nh && (r = np) : (o === np || o === nh) && (r = nm);
|
|
53587
53588
|
}
|
|
53588
53589
|
this.updateStatus(!1, r);
|
|
53589
53590
|
}, n.componentWillUnmount = function() {
|
|
@@ -53596,7 +53597,7 @@
|
|
|
53596
53597
|
appear: o
|
|
53597
53598
|
};
|
|
53598
53599
|
}, n.updateStatus = function(t, r) {
|
|
53599
|
-
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({
|
|
53600
53601
|
status: nu
|
|
53601
53602
|
});
|
|
53602
53603
|
}, n.performEnter = function(t) {
|
|
@@ -53607,7 +53608,7 @@
|
|
|
53607
53608
|
n
|
|
53608
53609
|
], a = i[0], s = i[1], c = this.getTimeouts(), l = n ? c.appear : c.enter;
|
|
53609
53610
|
(t || o) && !nl ? (this.props.onEnter(a, s), this.safeSetState({
|
|
53610
|
-
status:
|
|
53611
|
+
status: np
|
|
53611
53612
|
}, function() {
|
|
53612
53613
|
r.props.onEntering(a, s), r.onTransitionEnd(l, function() {
|
|
53613
53614
|
r.safeSetState({
|
|
@@ -53624,7 +53625,7 @@
|
|
|
53624
53625
|
}, n.performExit = function() {
|
|
53625
53626
|
var t = this, r = this.props.exit, o = this.getTimeouts(), n = this.props.nodeRef ? void 0 : ReactDOM.findDOMNode(this);
|
|
53626
53627
|
!r || nl ? this.safeSetState({
|
|
53627
|
-
status:
|
|
53628
|
+
status: nf
|
|
53628
53629
|
}, function() {
|
|
53629
53630
|
t.props.onExited(n);
|
|
53630
53631
|
}) : (this.props.onExit(n), this.safeSetState({
|
|
@@ -53632,7 +53633,7 @@
|
|
|
53632
53633
|
}, function() {
|
|
53633
53634
|
t.props.onExiting(n), t.onTransitionEnd(o.exit, function() {
|
|
53634
53635
|
t.safeSetState({
|
|
53635
|
-
status:
|
|
53636
|
+
status: nf
|
|
53636
53637
|
}, function() {
|
|
53637
53638
|
t.props.onExited(n);
|
|
53638
53639
|
});
|
|
@@ -53705,7 +53706,7 @@
|
|
|
53705
53706
|
onExit: nb,
|
|
53706
53707
|
onExiting: nb,
|
|
53707
53708
|
onExited: nb
|
|
53708
|
-
}, ng.UNMOUNTED = nu, ng.EXITED =
|
|
53709
|
+
}, ng.UNMOUNTED = nu, ng.EXITED = nf, ng.ENTERING = np, ng.ENTERED = nh, ng.EXITING = nm;
|
|
53709
53710
|
var nv = function(t, r) {
|
|
53710
53711
|
return t && r && r.split(" ").forEach(function(r) {
|
|
53711
53712
|
var o, n;
|
|
@@ -53800,7 +53801,7 @@
|
|
|
53800
53801
|
return /*#__PURE__*/ React.cloneElement(o, {
|
|
53801
53802
|
in: !1,
|
|
53802
53803
|
onExited: nC(o, "onExited", function() {
|
|
53803
|
-
n(
|
|
53804
|
+
n(np, null);
|
|
53804
53805
|
})
|
|
53805
53806
|
});
|
|
53806
53807
|
}, tL[ny] = function(r) {
|
|
@@ -53810,7 +53811,7 @@
|
|
|
53810
53811
|
/*#__PURE__*/ React.cloneElement(i, {
|
|
53811
53812
|
in: !0,
|
|
53812
53813
|
onEntered: nC(i, "onEntered", function() {
|
|
53813
|
-
n(
|
|
53814
|
+
n(np);
|
|
53814
53815
|
})
|
|
53815
53816
|
})
|
|
53816
53817
|
];
|
|
@@ -53863,8 +53864,8 @@
|
|
|
53863
53864
|
if (null == r.children) return {
|
|
53864
53865
|
current: null
|
|
53865
53866
|
};
|
|
53866
|
-
if (o.status ===
|
|
53867
|
-
status:
|
|
53867
|
+
if (o.status === np && r.mode === ny) return {
|
|
53868
|
+
status: np
|
|
53868
53869
|
};
|
|
53869
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) ? {
|
|
53870
53871
|
status: nm
|
|
@@ -53881,7 +53882,7 @@
|
|
|
53881
53882
|
status: s
|
|
53882
53883
|
};
|
|
53883
53884
|
switch(s){
|
|
53884
|
-
case
|
|
53885
|
+
case np:
|
|
53885
53886
|
r = n_[i](l);
|
|
53886
53887
|
break;
|
|
53887
53888
|
case nm:
|
|
@@ -53911,7 +53912,7 @@
|
|
|
53911
53912
|
var t, r;
|
|
53912
53913
|
if (tN) return nS.exports;
|
|
53913
53914
|
return tN = 1, t = nS, r = nS.exports, function(o, n) {
|
|
53914
|
-
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) {
|
|
53915
53916
|
var o = {};
|
|
53916
53917
|
for(var n in t)r[n] && r[n].length % 2 == 0 ? o[n] = r[n].concat(t[n]) : o[n] = t[n];
|
|
53917
53918
|
return o;
|
|
@@ -53926,9 +53927,9 @@
|
|
|
53926
53927
|
if (typeof t === c) return t = t.replace(/^\s\s*/, ""), typeof r === a ? t : t.substring(0, 500);
|
|
53927
53928
|
}, X = function(t, r) {
|
|
53928
53929
|
for(var o, n, a, c, l, d, u = 0; u < r.length && !l;){
|
|
53929
|
-
var
|
|
53930
|
-
for(o = n = 0; o <
|
|
53931
|
-
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;
|
|
53932
53933
|
}
|
|
53933
53934
|
u += 2;
|
|
53934
53935
|
}
|
|
@@ -54512,11 +54513,11 @@
|
|
|
54512
54513
|
[
|
|
54513
54514
|
d,
|
|
54514
54515
|
[
|
|
54515
|
-
|
|
54516
|
+
p,
|
|
54516
54517
|
O
|
|
54517
54518
|
],
|
|
54518
54519
|
[
|
|
54519
|
-
|
|
54520
|
+
f,
|
|
54520
54521
|
v
|
|
54521
54522
|
]
|
|
54522
54523
|
],
|
|
@@ -54528,11 +54529,11 @@
|
|
|
54528
54529
|
[
|
|
54529
54530
|
d,
|
|
54530
54531
|
[
|
|
54531
|
-
|
|
54532
|
+
p,
|
|
54532
54533
|
O
|
|
54533
54534
|
],
|
|
54534
54535
|
[
|
|
54535
|
-
|
|
54536
|
+
f,
|
|
54536
54537
|
b
|
|
54537
54538
|
]
|
|
54538
54539
|
],
|
|
@@ -54542,11 +54543,11 @@
|
|
|
54542
54543
|
[
|
|
54543
54544
|
d,
|
|
54544
54545
|
[
|
|
54545
|
-
|
|
54546
|
+
p,
|
|
54546
54547
|
B
|
|
54547
54548
|
],
|
|
54548
54549
|
[
|
|
54549
|
-
|
|
54550
|
+
f,
|
|
54550
54551
|
b
|
|
54551
54552
|
]
|
|
54552
54553
|
],
|
|
@@ -54558,11 +54559,11 @@
|
|
|
54558
54559
|
[
|
|
54559
54560
|
d,
|
|
54560
54561
|
[
|
|
54561
|
-
|
|
54562
|
+
p,
|
|
54562
54563
|
B
|
|
54563
54564
|
],
|
|
54564
54565
|
[
|
|
54565
|
-
|
|
54566
|
+
f,
|
|
54566
54567
|
v
|
|
54567
54568
|
]
|
|
54568
54569
|
],
|
|
@@ -54572,7 +54573,7 @@
|
|
|
54572
54573
|
[
|
|
54573
54574
|
d,
|
|
54574
54575
|
[
|
|
54575
|
-
|
|
54576
|
+
p,
|
|
54576
54577
|
B
|
|
54577
54578
|
]
|
|
54578
54579
|
],
|
|
@@ -54582,11 +54583,11 @@
|
|
|
54582
54583
|
[
|
|
54583
54584
|
d,
|
|
54584
54585
|
[
|
|
54585
|
-
|
|
54586
|
+
p,
|
|
54586
54587
|
M
|
|
54587
54588
|
],
|
|
54588
54589
|
[
|
|
54589
|
-
|
|
54590
|
+
f,
|
|
54590
54591
|
b
|
|
54591
54592
|
]
|
|
54592
54593
|
],
|
|
@@ -54596,11 +54597,11 @@
|
|
|
54596
54597
|
[
|
|
54597
54598
|
d,
|
|
54598
54599
|
[
|
|
54599
|
-
|
|
54600
|
+
p,
|
|
54600
54601
|
D
|
|
54601
54602
|
],
|
|
54602
54603
|
[
|
|
54603
|
-
|
|
54604
|
+
f,
|
|
54604
54605
|
v
|
|
54605
54606
|
]
|
|
54606
54607
|
],
|
|
@@ -54611,11 +54612,11 @@
|
|
|
54611
54612
|
[
|
|
54612
54613
|
d,
|
|
54613
54614
|
[
|
|
54614
|
-
|
|
54615
|
+
p,
|
|
54615
54616
|
D
|
|
54616
54617
|
],
|
|
54617
54618
|
[
|
|
54618
|
-
|
|
54619
|
+
f,
|
|
54619
54620
|
b
|
|
54620
54621
|
]
|
|
54621
54622
|
],
|
|
@@ -54634,11 +54635,11 @@
|
|
|
54634
54635
|
" "
|
|
54635
54636
|
],
|
|
54636
54637
|
[
|
|
54637
|
-
|
|
54638
|
+
p,
|
|
54638
54639
|
R
|
|
54639
54640
|
],
|
|
54640
54641
|
[
|
|
54641
|
-
|
|
54642
|
+
f,
|
|
54642
54643
|
b
|
|
54643
54644
|
]
|
|
54644
54645
|
],
|
|
@@ -54653,11 +54654,11 @@
|
|
|
54653
54654
|
" "
|
|
54654
54655
|
],
|
|
54655
54656
|
[
|
|
54656
|
-
|
|
54657
|
+
p,
|
|
54657
54658
|
R
|
|
54658
54659
|
],
|
|
54659
54660
|
[
|
|
54660
|
-
|
|
54661
|
+
f,
|
|
54661
54662
|
v
|
|
54662
54663
|
]
|
|
54663
54664
|
],
|
|
@@ -54668,11 +54669,11 @@
|
|
|
54668
54669
|
[
|
|
54669
54670
|
d,
|
|
54670
54671
|
[
|
|
54671
|
-
|
|
54672
|
+
p,
|
|
54672
54673
|
"OPPO"
|
|
54673
54674
|
],
|
|
54674
54675
|
[
|
|
54675
|
-
|
|
54676
|
+
f,
|
|
54676
54677
|
b
|
|
54677
54678
|
]
|
|
54678
54679
|
],
|
|
@@ -54683,11 +54684,11 @@
|
|
|
54683
54684
|
[
|
|
54684
54685
|
d,
|
|
54685
54686
|
[
|
|
54686
|
-
|
|
54687
|
+
p,
|
|
54687
54688
|
"Vivo"
|
|
54688
54689
|
],
|
|
54689
54690
|
[
|
|
54690
|
-
|
|
54691
|
+
f,
|
|
54691
54692
|
b
|
|
54692
54693
|
]
|
|
54693
54694
|
],
|
|
@@ -54697,11 +54698,11 @@
|
|
|
54697
54698
|
[
|
|
54698
54699
|
d,
|
|
54699
54700
|
[
|
|
54700
|
-
|
|
54701
|
+
p,
|
|
54701
54702
|
"Realme"
|
|
54702
54703
|
],
|
|
54703
54704
|
[
|
|
54704
|
-
|
|
54705
|
+
f,
|
|
54705
54706
|
b
|
|
54706
54707
|
]
|
|
54707
54708
|
],
|
|
@@ -54713,11 +54714,11 @@
|
|
|
54713
54714
|
[
|
|
54714
54715
|
d,
|
|
54715
54716
|
[
|
|
54716
|
-
|
|
54717
|
+
p,
|
|
54717
54718
|
j
|
|
54718
54719
|
],
|
|
54719
54720
|
[
|
|
54720
|
-
|
|
54721
|
+
f,
|
|
54721
54722
|
b
|
|
54722
54723
|
]
|
|
54723
54724
|
],
|
|
@@ -54727,11 +54728,11 @@
|
|
|
54727
54728
|
[
|
|
54728
54729
|
d,
|
|
54729
54730
|
[
|
|
54730
|
-
|
|
54731
|
+
p,
|
|
54731
54732
|
j
|
|
54732
54733
|
],
|
|
54733
54734
|
[
|
|
54734
|
-
|
|
54735
|
+
f,
|
|
54735
54736
|
v
|
|
54736
54737
|
]
|
|
54737
54738
|
],
|
|
@@ -54741,11 +54742,11 @@
|
|
|
54741
54742
|
[
|
|
54742
54743
|
d,
|
|
54743
54744
|
[
|
|
54744
|
-
|
|
54745
|
+
p,
|
|
54745
54746
|
"LG"
|
|
54746
54747
|
],
|
|
54747
54748
|
[
|
|
54748
|
-
|
|
54749
|
+
f,
|
|
54749
54750
|
v
|
|
54750
54751
|
]
|
|
54751
54752
|
],
|
|
@@ -54757,11 +54758,11 @@
|
|
|
54757
54758
|
[
|
|
54758
54759
|
d,
|
|
54759
54760
|
[
|
|
54760
|
-
|
|
54761
|
+
p,
|
|
54761
54762
|
"LG"
|
|
54762
54763
|
],
|
|
54763
54764
|
[
|
|
54764
|
-
|
|
54765
|
+
f,
|
|
54765
54766
|
b
|
|
54766
54767
|
]
|
|
54767
54768
|
],
|
|
@@ -54772,11 +54773,11 @@
|
|
|
54772
54773
|
[
|
|
54773
54774
|
d,
|
|
54774
54775
|
[
|
|
54775
|
-
|
|
54776
|
+
p,
|
|
54776
54777
|
"Lenovo"
|
|
54777
54778
|
],
|
|
54778
54779
|
[
|
|
54779
|
-
|
|
54780
|
+
f,
|
|
54780
54781
|
v
|
|
54781
54782
|
]
|
|
54782
54783
|
],
|
|
@@ -54791,11 +54792,11 @@
|
|
|
54791
54792
|
" "
|
|
54792
54793
|
],
|
|
54793
54794
|
[
|
|
54794
|
-
|
|
54795
|
+
p,
|
|
54795
54796
|
"Nokia"
|
|
54796
54797
|
],
|
|
54797
54798
|
[
|
|
54798
|
-
|
|
54799
|
+
f,
|
|
54799
54800
|
b
|
|
54800
54801
|
]
|
|
54801
54802
|
],
|
|
@@ -54805,11 +54806,11 @@
|
|
|
54805
54806
|
[
|
|
54806
54807
|
d,
|
|
54807
54808
|
[
|
|
54808
|
-
|
|
54809
|
+
p,
|
|
54809
54810
|
T
|
|
54810
54811
|
],
|
|
54811
54812
|
[
|
|
54812
|
-
|
|
54813
|
+
f,
|
|
54813
54814
|
v
|
|
54814
54815
|
]
|
|
54815
54816
|
],
|
|
@@ -54819,11 +54820,11 @@
|
|
|
54819
54820
|
[
|
|
54820
54821
|
d,
|
|
54821
54822
|
[
|
|
54822
|
-
|
|
54823
|
+
p,
|
|
54823
54824
|
T
|
|
54824
54825
|
],
|
|
54825
54826
|
[
|
|
54826
|
-
|
|
54827
|
+
f,
|
|
54827
54828
|
b
|
|
54828
54829
|
]
|
|
54829
54830
|
],
|
|
@@ -54833,11 +54834,11 @@
|
|
|
54833
54834
|
[
|
|
54834
54835
|
d,
|
|
54835
54836
|
[
|
|
54836
|
-
|
|
54837
|
+
p,
|
|
54837
54838
|
A
|
|
54838
54839
|
],
|
|
54839
54840
|
[
|
|
54840
|
-
|
|
54841
|
+
f,
|
|
54841
54842
|
b
|
|
54842
54843
|
]
|
|
54843
54844
|
],
|
|
@@ -54851,11 +54852,11 @@
|
|
|
54851
54852
|
"Xperia Tablet"
|
|
54852
54853
|
],
|
|
54853
54854
|
[
|
|
54854
|
-
|
|
54855
|
+
p,
|
|
54855
54856
|
A
|
|
54856
54857
|
],
|
|
54857
54858
|
[
|
|
54858
|
-
|
|
54859
|
+
f,
|
|
54859
54860
|
v
|
|
54860
54861
|
]
|
|
54861
54862
|
],
|
|
@@ -54866,11 +54867,11 @@
|
|
|
54866
54867
|
[
|
|
54867
54868
|
d,
|
|
54868
54869
|
[
|
|
54869
|
-
|
|
54870
|
+
p,
|
|
54870
54871
|
"OnePlus"
|
|
54871
54872
|
],
|
|
54872
54873
|
[
|
|
54873
|
-
|
|
54874
|
+
f,
|
|
54874
54875
|
b
|
|
54875
54876
|
]
|
|
54876
54877
|
],
|
|
@@ -54882,11 +54883,11 @@
|
|
|
54882
54883
|
[
|
|
54883
54884
|
d,
|
|
54884
54885
|
[
|
|
54885
|
-
|
|
54886
|
+
p,
|
|
54886
54887
|
C
|
|
54887
54888
|
],
|
|
54888
54889
|
[
|
|
54889
|
-
|
|
54890
|
+
f,
|
|
54890
54891
|
v
|
|
54891
54892
|
]
|
|
54892
54893
|
],
|
|
@@ -54900,11 +54901,11 @@
|
|
|
54900
54901
|
"Fire Phone $1"
|
|
54901
54902
|
],
|
|
54902
54903
|
[
|
|
54903
|
-
|
|
54904
|
+
p,
|
|
54904
54905
|
C
|
|
54905
54906
|
],
|
|
54906
54907
|
[
|
|
54907
|
-
|
|
54908
|
+
f,
|
|
54908
54909
|
b
|
|
54909
54910
|
]
|
|
54910
54911
|
],
|
|
@@ -54913,9 +54914,9 @@
|
|
|
54913
54914
|
],
|
|
54914
54915
|
[
|
|
54915
54916
|
d,
|
|
54916
|
-
|
|
54917
|
+
p,
|
|
54917
54918
|
[
|
|
54918
|
-
|
|
54919
|
+
f,
|
|
54919
54920
|
v
|
|
54920
54921
|
]
|
|
54921
54922
|
],
|
|
@@ -54926,11 +54927,11 @@
|
|
|
54926
54927
|
[
|
|
54927
54928
|
d,
|
|
54928
54929
|
[
|
|
54929
|
-
|
|
54930
|
+
p,
|
|
54930
54931
|
x
|
|
54931
54932
|
],
|
|
54932
54933
|
[
|
|
54933
|
-
|
|
54934
|
+
f,
|
|
54934
54935
|
b
|
|
54935
54936
|
]
|
|
54936
54937
|
],
|
|
@@ -54940,11 +54941,11 @@
|
|
|
54940
54941
|
[
|
|
54941
54942
|
d,
|
|
54942
54943
|
[
|
|
54943
|
-
|
|
54944
|
+
p,
|
|
54944
54945
|
_
|
|
54945
54946
|
],
|
|
54946
54947
|
[
|
|
54947
|
-
|
|
54948
|
+
f,
|
|
54948
54949
|
v
|
|
54949
54950
|
]
|
|
54950
54951
|
],
|
|
@@ -54954,11 +54955,11 @@
|
|
|
54954
54955
|
[
|
|
54955
54956
|
d,
|
|
54956
54957
|
[
|
|
54957
|
-
|
|
54958
|
+
p,
|
|
54958
54959
|
_
|
|
54959
54960
|
],
|
|
54960
54961
|
[
|
|
54961
|
-
|
|
54962
|
+
f,
|
|
54962
54963
|
b
|
|
54963
54964
|
]
|
|
54964
54965
|
],
|
|
@@ -54968,11 +54969,11 @@
|
|
|
54968
54969
|
[
|
|
54969
54970
|
d,
|
|
54970
54971
|
[
|
|
54971
|
-
|
|
54972
|
+
p,
|
|
54972
54973
|
"HTC"
|
|
54973
54974
|
],
|
|
54974
54975
|
[
|
|
54975
|
-
|
|
54976
|
+
f,
|
|
54976
54977
|
v
|
|
54977
54978
|
]
|
|
54978
54979
|
],
|
|
@@ -54982,14 +54983,14 @@
|
|
|
54982
54983
|
/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i
|
|
54983
54984
|
],
|
|
54984
54985
|
[
|
|
54985
|
-
|
|
54986
|
+
p,
|
|
54986
54987
|
[
|
|
54987
54988
|
d,
|
|
54988
54989
|
/_/g,
|
|
54989
54990
|
" "
|
|
54990
54991
|
],
|
|
54991
54992
|
[
|
|
54992
|
-
|
|
54993
|
+
f,
|
|
54993
54994
|
b
|
|
54994
54995
|
]
|
|
54995
54996
|
],
|
|
@@ -54999,11 +55000,11 @@
|
|
|
54999
55000
|
[
|
|
55000
55001
|
d,
|
|
55001
55002
|
[
|
|
55002
|
-
|
|
55003
|
+
p,
|
|
55003
55004
|
"Acer"
|
|
55004
55005
|
],
|
|
55005
55006
|
[
|
|
55006
|
-
|
|
55007
|
+
f,
|
|
55007
55008
|
v
|
|
55008
55009
|
]
|
|
55009
55010
|
],
|
|
@@ -55014,11 +55015,11 @@
|
|
|
55014
55015
|
[
|
|
55015
55016
|
d,
|
|
55016
55017
|
[
|
|
55017
|
-
|
|
55018
|
+
p,
|
|
55018
55019
|
"Meizu"
|
|
55019
55020
|
],
|
|
55020
55021
|
[
|
|
55021
|
-
|
|
55022
|
+
f,
|
|
55022
55023
|
b
|
|
55023
55024
|
]
|
|
55024
55025
|
],
|
|
@@ -55028,11 +55029,11 @@
|
|
|
55028
55029
|
[
|
|
55029
55030
|
d,
|
|
55030
55031
|
[
|
|
55031
|
-
|
|
55032
|
+
p,
|
|
55032
55033
|
"Ulefone"
|
|
55033
55034
|
],
|
|
55034
55035
|
[
|
|
55035
|
-
|
|
55036
|
+
f,
|
|
55036
55037
|
b
|
|
55037
55038
|
]
|
|
55038
55039
|
],
|
|
@@ -55046,10 +55047,10 @@
|
|
|
55046
55047
|
/(oppo) ?([\w ]+) bui/i
|
|
55047
55048
|
],
|
|
55048
55049
|
[
|
|
55049
|
-
|
|
55050
|
+
p,
|
|
55050
55051
|
d,
|
|
55051
55052
|
[
|
|
55052
|
-
|
|
55053
|
+
f,
|
|
55053
55054
|
b
|
|
55054
55055
|
]
|
|
55055
55056
|
],
|
|
@@ -55066,10 +55067,10 @@
|
|
|
55066
55067
|
/(vodafone) ([\w ]+)(?:\)| bui)/i
|
|
55067
55068
|
],
|
|
55068
55069
|
[
|
|
55069
|
-
|
|
55070
|
+
p,
|
|
55070
55071
|
d,
|
|
55071
55072
|
[
|
|
55072
|
-
|
|
55073
|
+
f,
|
|
55073
55074
|
v
|
|
55074
55075
|
]
|
|
55075
55076
|
],
|
|
@@ -55079,11 +55080,11 @@
|
|
|
55079
55080
|
[
|
|
55080
55081
|
d,
|
|
55081
55082
|
[
|
|
55082
|
-
|
|
55083
|
+
p,
|
|
55083
55084
|
$
|
|
55084
55085
|
],
|
|
55085
55086
|
[
|
|
55086
|
-
|
|
55087
|
+
f,
|
|
55087
55088
|
v
|
|
55088
55089
|
]
|
|
55089
55090
|
],
|
|
@@ -55093,11 +55094,11 @@
|
|
|
55093
55094
|
[
|
|
55094
55095
|
d,
|
|
55095
55096
|
[
|
|
55096
|
-
|
|
55097
|
+
p,
|
|
55097
55098
|
"Fairphone"
|
|
55098
55099
|
],
|
|
55099
55100
|
[
|
|
55100
|
-
|
|
55101
|
+
f,
|
|
55101
55102
|
b
|
|
55102
55103
|
]
|
|
55103
55104
|
],
|
|
@@ -55107,11 +55108,11 @@
|
|
|
55107
55108
|
[
|
|
55108
55109
|
d,
|
|
55109
55110
|
[
|
|
55110
|
-
|
|
55111
|
+
p,
|
|
55111
55112
|
"AT&T"
|
|
55112
55113
|
],
|
|
55113
55114
|
[
|
|
55114
|
-
|
|
55115
|
+
f,
|
|
55115
55116
|
b
|
|
55116
55117
|
]
|
|
55117
55118
|
],
|
|
@@ -55121,11 +55122,11 @@
|
|
|
55121
55122
|
[
|
|
55122
55123
|
d,
|
|
55123
55124
|
[
|
|
55124
|
-
|
|
55125
|
+
p,
|
|
55125
55126
|
"Siemens"
|
|
55126
55127
|
],
|
|
55127
55128
|
[
|
|
55128
|
-
|
|
55129
|
+
f,
|
|
55129
55130
|
b
|
|
55130
55131
|
]
|
|
55131
55132
|
],
|
|
@@ -55135,11 +55136,11 @@
|
|
|
55135
55136
|
[
|
|
55136
55137
|
d,
|
|
55137
55138
|
[
|
|
55138
|
-
|
|
55139
|
+
p,
|
|
55139
55140
|
"RCA"
|
|
55140
55141
|
],
|
|
55141
55142
|
[
|
|
55142
|
-
|
|
55143
|
+
f,
|
|
55143
55144
|
v
|
|
55144
55145
|
]
|
|
55145
55146
|
],
|
|
@@ -55149,11 +55150,11 @@
|
|
|
55149
55150
|
[
|
|
55150
55151
|
d,
|
|
55151
55152
|
[
|
|
55152
|
-
|
|
55153
|
+
p,
|
|
55153
55154
|
"Dell"
|
|
55154
55155
|
],
|
|
55155
55156
|
[
|
|
55156
|
-
|
|
55157
|
+
f,
|
|
55157
55158
|
v
|
|
55158
55159
|
]
|
|
55159
55160
|
],
|
|
@@ -55163,11 +55164,11 @@
|
|
|
55163
55164
|
[
|
|
55164
55165
|
d,
|
|
55165
55166
|
[
|
|
55166
|
-
|
|
55167
|
+
p,
|
|
55167
55168
|
"Verizon"
|
|
55168
55169
|
],
|
|
55169
55170
|
[
|
|
55170
|
-
|
|
55171
|
+
f,
|
|
55171
55172
|
v
|
|
55172
55173
|
]
|
|
55173
55174
|
],
|
|
@@ -55177,11 +55178,11 @@
|
|
|
55177
55178
|
[
|
|
55178
55179
|
d,
|
|
55179
55180
|
[
|
|
55180
|
-
|
|
55181
|
+
p,
|
|
55181
55182
|
"Barnes & Noble"
|
|
55182
55183
|
],
|
|
55183
55184
|
[
|
|
55184
|
-
|
|
55185
|
+
f,
|
|
55185
55186
|
v
|
|
55186
55187
|
]
|
|
55187
55188
|
],
|
|
@@ -55191,11 +55192,11 @@
|
|
|
55191
55192
|
[
|
|
55192
55193
|
d,
|
|
55193
55194
|
[
|
|
55194
|
-
|
|
55195
|
+
p,
|
|
55195
55196
|
"NuVision"
|
|
55196
55197
|
],
|
|
55197
55198
|
[
|
|
55198
|
-
|
|
55199
|
+
f,
|
|
55199
55200
|
v
|
|
55200
55201
|
]
|
|
55201
55202
|
],
|
|
@@ -55205,11 +55206,11 @@
|
|
|
55205
55206
|
[
|
|
55206
55207
|
d,
|
|
55207
55208
|
[
|
|
55208
|
-
|
|
55209
|
+
p,
|
|
55209
55210
|
"ZTE"
|
|
55210
55211
|
],
|
|
55211
55212
|
[
|
|
55212
|
-
|
|
55213
|
+
f,
|
|
55213
55214
|
v
|
|
55214
55215
|
]
|
|
55215
55216
|
],
|
|
@@ -55219,11 +55220,11 @@
|
|
|
55219
55220
|
[
|
|
55220
55221
|
d,
|
|
55221
55222
|
[
|
|
55222
|
-
|
|
55223
|
+
p,
|
|
55223
55224
|
"ZTE"
|
|
55224
55225
|
],
|
|
55225
55226
|
[
|
|
55226
|
-
|
|
55227
|
+
f,
|
|
55227
55228
|
b
|
|
55228
55229
|
]
|
|
55229
55230
|
],
|
|
@@ -55233,11 +55234,11 @@
|
|
|
55233
55234
|
[
|
|
55234
55235
|
d,
|
|
55235
55236
|
[
|
|
55236
|
-
|
|
55237
|
+
p,
|
|
55237
55238
|
"Swiss"
|
|
55238
55239
|
],
|
|
55239
55240
|
[
|
|
55240
|
-
|
|
55241
|
+
f,
|
|
55241
55242
|
b
|
|
55242
55243
|
]
|
|
55243
55244
|
],
|
|
@@ -55247,11 +55248,11 @@
|
|
|
55247
55248
|
[
|
|
55248
55249
|
d,
|
|
55249
55250
|
[
|
|
55250
|
-
|
|
55251
|
+
p,
|
|
55251
55252
|
"Swiss"
|
|
55252
55253
|
],
|
|
55253
55254
|
[
|
|
55254
|
-
|
|
55255
|
+
f,
|
|
55255
55256
|
v
|
|
55256
55257
|
]
|
|
55257
55258
|
],
|
|
@@ -55261,11 +55262,11 @@
|
|
|
55261
55262
|
[
|
|
55262
55263
|
d,
|
|
55263
55264
|
[
|
|
55264
|
-
|
|
55265
|
+
p,
|
|
55265
55266
|
"Zeki"
|
|
55266
55267
|
],
|
|
55267
55268
|
[
|
|
55268
|
-
|
|
55269
|
+
f,
|
|
55269
55270
|
v
|
|
55270
55271
|
]
|
|
55271
55272
|
],
|
|
@@ -55275,12 +55276,12 @@
|
|
|
55275
55276
|
],
|
|
55276
55277
|
[
|
|
55277
55278
|
[
|
|
55278
|
-
|
|
55279
|
+
p,
|
|
55279
55280
|
"Dragon Touch"
|
|
55280
55281
|
],
|
|
55281
55282
|
d,
|
|
55282
55283
|
[
|
|
55283
|
-
|
|
55284
|
+
f,
|
|
55284
55285
|
v
|
|
55285
55286
|
]
|
|
55286
55287
|
],
|
|
@@ -55290,11 +55291,11 @@
|
|
|
55290
55291
|
[
|
|
55291
55292
|
d,
|
|
55292
55293
|
[
|
|
55293
|
-
|
|
55294
|
+
p,
|
|
55294
55295
|
"Insignia"
|
|
55295
55296
|
],
|
|
55296
55297
|
[
|
|
55297
|
-
|
|
55298
|
+
f,
|
|
55298
55299
|
v
|
|
55299
55300
|
]
|
|
55300
55301
|
],
|
|
@@ -55304,11 +55305,11 @@
|
|
|
55304
55305
|
[
|
|
55305
55306
|
d,
|
|
55306
55307
|
[
|
|
55307
|
-
|
|
55308
|
+
p,
|
|
55308
55309
|
"NextBook"
|
|
55309
55310
|
],
|
|
55310
55311
|
[
|
|
55311
|
-
|
|
55312
|
+
f,
|
|
55312
55313
|
v
|
|
55313
55314
|
]
|
|
55314
55315
|
],
|
|
@@ -55317,12 +55318,12 @@
|
|
|
55317
55318
|
],
|
|
55318
55319
|
[
|
|
55319
55320
|
[
|
|
55320
|
-
|
|
55321
|
+
p,
|
|
55321
55322
|
"Voice"
|
|
55322
55323
|
],
|
|
55323
55324
|
d,
|
|
55324
55325
|
[
|
|
55325
|
-
|
|
55326
|
+
f,
|
|
55326
55327
|
b
|
|
55327
55328
|
]
|
|
55328
55329
|
],
|
|
@@ -55331,12 +55332,12 @@
|
|
|
55331
55332
|
],
|
|
55332
55333
|
[
|
|
55333
55334
|
[
|
|
55334
|
-
|
|
55335
|
+
p,
|
|
55335
55336
|
"LvTel"
|
|
55336
55337
|
],
|
|
55337
55338
|
d,
|
|
55338
55339
|
[
|
|
55339
|
-
|
|
55340
|
+
f,
|
|
55340
55341
|
b
|
|
55341
55342
|
]
|
|
55342
55343
|
],
|
|
@@ -55346,11 +55347,11 @@
|
|
|
55346
55347
|
[
|
|
55347
55348
|
d,
|
|
55348
55349
|
[
|
|
55349
|
-
|
|
55350
|
+
p,
|
|
55350
55351
|
"Essential"
|
|
55351
55352
|
],
|
|
55352
55353
|
[
|
|
55353
|
-
|
|
55354
|
+
f,
|
|
55354
55355
|
b
|
|
55355
55356
|
]
|
|
55356
55357
|
],
|
|
@@ -55360,11 +55361,11 @@
|
|
|
55360
55361
|
[
|
|
55361
55362
|
d,
|
|
55362
55363
|
[
|
|
55363
|
-
|
|
55364
|
+
p,
|
|
55364
55365
|
"Envizen"
|
|
55365
55366
|
],
|
|
55366
55367
|
[
|
|
55367
|
-
|
|
55368
|
+
f,
|
|
55368
55369
|
v
|
|
55369
55370
|
]
|
|
55370
55371
|
],
|
|
@@ -55374,11 +55375,11 @@
|
|
|
55374
55375
|
[
|
|
55375
55376
|
d,
|
|
55376
55377
|
[
|
|
55377
|
-
|
|
55378
|
+
p,
|
|
55378
55379
|
"MachSpeed"
|
|
55379
55380
|
],
|
|
55380
55381
|
[
|
|
55381
|
-
|
|
55382
|
+
f,
|
|
55382
55383
|
v
|
|
55383
55384
|
]
|
|
55384
55385
|
],
|
|
@@ -55388,11 +55389,11 @@
|
|
|
55388
55389
|
[
|
|
55389
55390
|
d,
|
|
55390
55391
|
[
|
|
55391
|
-
|
|
55392
|
+
p,
|
|
55392
55393
|
"Rotor"
|
|
55393
55394
|
],
|
|
55394
55395
|
[
|
|
55395
|
-
|
|
55396
|
+
f,
|
|
55396
55397
|
v
|
|
55397
55398
|
]
|
|
55398
55399
|
],
|
|
@@ -55402,11 +55403,11 @@
|
|
|
55402
55403
|
[
|
|
55403
55404
|
d,
|
|
55404
55405
|
[
|
|
55405
|
-
|
|
55406
|
+
p,
|
|
55406
55407
|
"Nvidia"
|
|
55407
55408
|
],
|
|
55408
55409
|
[
|
|
55409
|
-
|
|
55410
|
+
f,
|
|
55410
55411
|
v
|
|
55411
55412
|
]
|
|
55412
55413
|
],
|
|
@@ -55414,10 +55415,10 @@
|
|
|
55414
55415
|
/(sprint) (\w+)/i
|
|
55415
55416
|
],
|
|
55416
55417
|
[
|
|
55417
|
-
|
|
55418
|
+
p,
|
|
55418
55419
|
d,
|
|
55419
55420
|
[
|
|
55420
|
-
|
|
55421
|
+
f,
|
|
55421
55422
|
b
|
|
55422
55423
|
]
|
|
55423
55424
|
],
|
|
@@ -55431,11 +55432,11 @@
|
|
|
55431
55432
|
" "
|
|
55432
55433
|
],
|
|
55433
55434
|
[
|
|
55434
|
-
|
|
55435
|
+
p,
|
|
55435
55436
|
$
|
|
55436
55437
|
],
|
|
55437
55438
|
[
|
|
55438
|
-
|
|
55439
|
+
f,
|
|
55439
55440
|
b
|
|
55440
55441
|
]
|
|
55441
55442
|
],
|
|
@@ -55445,11 +55446,11 @@
|
|
|
55445
55446
|
[
|
|
55446
55447
|
d,
|
|
55447
55448
|
[
|
|
55448
|
-
|
|
55449
|
+
p,
|
|
55449
55450
|
L
|
|
55450
55451
|
],
|
|
55451
55452
|
[
|
|
55452
|
-
|
|
55453
|
+
f,
|
|
55453
55454
|
v
|
|
55454
55455
|
]
|
|
55455
55456
|
],
|
|
@@ -55459,11 +55460,11 @@
|
|
|
55459
55460
|
[
|
|
55460
55461
|
d,
|
|
55461
55462
|
[
|
|
55462
|
-
|
|
55463
|
+
p,
|
|
55463
55464
|
L
|
|
55464
55465
|
],
|
|
55465
55466
|
[
|
|
55466
|
-
|
|
55467
|
+
f,
|
|
55467
55468
|
b
|
|
55468
55469
|
]
|
|
55469
55470
|
],
|
|
@@ -55471,9 +55472,9 @@
|
|
|
55471
55472
|
/smart-tv.+(samsung)/i
|
|
55472
55473
|
],
|
|
55473
55474
|
[
|
|
55474
|
-
|
|
55475
|
+
p,
|
|
55475
55476
|
[
|
|
55476
|
-
|
|
55477
|
+
f,
|
|
55477
55478
|
w
|
|
55478
55479
|
]
|
|
55479
55480
|
],
|
|
@@ -55487,11 +55488,11 @@
|
|
|
55487
55488
|
"SmartTV"
|
|
55488
55489
|
],
|
|
55489
55490
|
[
|
|
55490
|
-
|
|
55491
|
+
p,
|
|
55491
55492
|
O
|
|
55492
55493
|
],
|
|
55493
55494
|
[
|
|
55494
|
-
|
|
55495
|
+
f,
|
|
55495
55496
|
w
|
|
55496
55497
|
]
|
|
55497
55498
|
],
|
|
@@ -55500,11 +55501,11 @@
|
|
|
55500
55501
|
],
|
|
55501
55502
|
[
|
|
55502
55503
|
[
|
|
55503
|
-
|
|
55504
|
+
p,
|
|
55504
55505
|
"LG"
|
|
55505
55506
|
],
|
|
55506
55507
|
[
|
|
55507
|
-
|
|
55508
|
+
f,
|
|
55508
55509
|
w
|
|
55509
55510
|
]
|
|
55510
55511
|
],
|
|
@@ -55512,13 +55513,13 @@
|
|
|
55512
55513
|
/(apple) ?tv/i
|
|
55513
55514
|
],
|
|
55514
55515
|
[
|
|
55515
|
-
|
|
55516
|
+
p,
|
|
55516
55517
|
[
|
|
55517
55518
|
d,
|
|
55518
55519
|
B + " TV"
|
|
55519
55520
|
],
|
|
55520
55521
|
[
|
|
55521
|
-
|
|
55522
|
+
f,
|
|
55522
55523
|
w
|
|
55523
55524
|
]
|
|
55524
55525
|
],
|
|
@@ -55531,11 +55532,11 @@
|
|
|
55531
55532
|
S + "cast"
|
|
55532
55533
|
],
|
|
55533
55534
|
[
|
|
55534
|
-
|
|
55535
|
+
p,
|
|
55535
55536
|
T
|
|
55536
55537
|
],
|
|
55537
55538
|
[
|
|
55538
|
-
|
|
55539
|
+
f,
|
|
55539
55540
|
w
|
|
55540
55541
|
]
|
|
55541
55542
|
],
|
|
@@ -55545,11 +55546,11 @@
|
|
|
55545
55546
|
[
|
|
55546
55547
|
d,
|
|
55547
55548
|
[
|
|
55548
|
-
|
|
55549
|
+
p,
|
|
55549
55550
|
C
|
|
55550
55551
|
],
|
|
55551
55552
|
[
|
|
55552
|
-
|
|
55553
|
+
f,
|
|
55553
55554
|
w
|
|
55554
55555
|
]
|
|
55555
55556
|
],
|
|
@@ -55560,11 +55561,11 @@
|
|
|
55560
55561
|
[
|
|
55561
55562
|
d,
|
|
55562
55563
|
[
|
|
55563
|
-
|
|
55564
|
+
p,
|
|
55564
55565
|
M
|
|
55565
55566
|
],
|
|
55566
55567
|
[
|
|
55567
|
-
|
|
55568
|
+
f,
|
|
55568
55569
|
w
|
|
55569
55570
|
]
|
|
55570
55571
|
],
|
|
@@ -55574,11 +55575,11 @@
|
|
|
55574
55575
|
[
|
|
55575
55576
|
d,
|
|
55576
55577
|
[
|
|
55577
|
-
|
|
55578
|
+
p,
|
|
55578
55579
|
A
|
|
55579
55580
|
],
|
|
55580
55581
|
[
|
|
55581
|
-
|
|
55582
|
+
f,
|
|
55582
55583
|
w
|
|
55583
55584
|
]
|
|
55584
55585
|
],
|
|
@@ -55588,11 +55589,11 @@
|
|
|
55588
55589
|
[
|
|
55589
55590
|
d,
|
|
55590
55591
|
[
|
|
55591
|
-
|
|
55592
|
+
p,
|
|
55592
55593
|
R
|
|
55593
55594
|
],
|
|
55594
55595
|
[
|
|
55595
|
-
|
|
55596
|
+
f,
|
|
55596
55597
|
w
|
|
55597
55598
|
]
|
|
55598
55599
|
],
|
|
@@ -55600,10 +55601,10 @@
|
|
|
55600
55601
|
/Hbbtv.*(technisat) (.*);/i
|
|
55601
55602
|
],
|
|
55602
55603
|
[
|
|
55603
|
-
|
|
55604
|
+
p,
|
|
55604
55605
|
d,
|
|
55605
55606
|
[
|
|
55606
|
-
|
|
55607
|
+
f,
|
|
55607
55608
|
w
|
|
55608
55609
|
]
|
|
55609
55610
|
],
|
|
@@ -55613,7 +55614,7 @@
|
|
|
55613
55614
|
],
|
|
55614
55615
|
[
|
|
55615
55616
|
[
|
|
55616
|
-
|
|
55617
|
+
p,
|
|
55617
55618
|
Q
|
|
55618
55619
|
],
|
|
55619
55620
|
[
|
|
@@ -55621,7 +55622,7 @@
|
|
|
55621
55622
|
Q
|
|
55622
55623
|
],
|
|
55623
55624
|
[
|
|
55624
|
-
|
|
55625
|
+
f,
|
|
55625
55626
|
w
|
|
55626
55627
|
]
|
|
55627
55628
|
],
|
|
@@ -55630,7 +55631,7 @@
|
|
|
55630
55631
|
],
|
|
55631
55632
|
[
|
|
55632
55633
|
[
|
|
55633
|
-
|
|
55634
|
+
f,
|
|
55634
55635
|
w
|
|
55635
55636
|
]
|
|
55636
55637
|
],
|
|
@@ -55639,10 +55640,10 @@
|
|
|
55639
55640
|
/(nintendo) ([wids3utch]+)/i
|
|
55640
55641
|
],
|
|
55641
55642
|
[
|
|
55642
|
-
|
|
55643
|
+
p,
|
|
55643
55644
|
d,
|
|
55644
55645
|
[
|
|
55645
|
-
|
|
55646
|
+
f,
|
|
55646
55647
|
g
|
|
55647
55648
|
]
|
|
55648
55649
|
],
|
|
@@ -55652,11 +55653,11 @@
|
|
|
55652
55653
|
[
|
|
55653
55654
|
d,
|
|
55654
55655
|
[
|
|
55655
|
-
|
|
55656
|
+
p,
|
|
55656
55657
|
"Nvidia"
|
|
55657
55658
|
],
|
|
55658
55659
|
[
|
|
55659
|
-
|
|
55660
|
+
f,
|
|
55660
55661
|
g
|
|
55661
55662
|
]
|
|
55662
55663
|
],
|
|
@@ -55666,11 +55667,11 @@
|
|
|
55666
55667
|
[
|
|
55667
55668
|
d,
|
|
55668
55669
|
[
|
|
55669
|
-
|
|
55670
|
+
p,
|
|
55670
55671
|
A
|
|
55671
55672
|
],
|
|
55672
55673
|
[
|
|
55673
|
-
|
|
55674
|
+
f,
|
|
55674
55675
|
g
|
|
55675
55676
|
]
|
|
55676
55677
|
],
|
|
@@ -55680,11 +55681,11 @@
|
|
|
55680
55681
|
[
|
|
55681
55682
|
d,
|
|
55682
55683
|
[
|
|
55683
|
-
|
|
55684
|
+
p,
|
|
55684
55685
|
$
|
|
55685
55686
|
],
|
|
55686
55687
|
[
|
|
55687
|
-
|
|
55688
|
+
f,
|
|
55688
55689
|
g
|
|
55689
55690
|
]
|
|
55690
55691
|
],
|
|
@@ -55692,10 +55693,10 @@
|
|
|
55692
55693
|
/((pebble))app/i
|
|
55693
55694
|
],
|
|
55694
55695
|
[
|
|
55695
|
-
|
|
55696
|
+
p,
|
|
55696
55697
|
d,
|
|
55697
55698
|
[
|
|
55698
|
-
|
|
55699
|
+
f,
|
|
55699
55700
|
k
|
|
55700
55701
|
]
|
|
55701
55702
|
],
|
|
@@ -55705,11 +55706,11 @@
|
|
|
55705
55706
|
[
|
|
55706
55707
|
d,
|
|
55707
55708
|
[
|
|
55708
|
-
|
|
55709
|
+
p,
|
|
55709
55710
|
B
|
|
55710
55711
|
],
|
|
55711
55712
|
[
|
|
55712
|
-
|
|
55713
|
+
f,
|
|
55713
55714
|
k
|
|
55714
55715
|
]
|
|
55715
55716
|
],
|
|
@@ -55719,11 +55720,11 @@
|
|
|
55719
55720
|
[
|
|
55720
55721
|
d,
|
|
55721
55722
|
[
|
|
55722
|
-
|
|
55723
|
+
p,
|
|
55723
55724
|
T
|
|
55724
55725
|
],
|
|
55725
55726
|
[
|
|
55726
|
-
|
|
55727
|
+
f,
|
|
55727
55728
|
k
|
|
55728
55729
|
]
|
|
55729
55730
|
],
|
|
@@ -55733,11 +55734,11 @@
|
|
|
55733
55734
|
[
|
|
55734
55735
|
d,
|
|
55735
55736
|
[
|
|
55736
|
-
|
|
55737
|
+
p,
|
|
55737
55738
|
L
|
|
55738
55739
|
],
|
|
55739
55740
|
[
|
|
55740
|
-
|
|
55741
|
+
f,
|
|
55741
55742
|
k
|
|
55742
55743
|
]
|
|
55743
55744
|
],
|
|
@@ -55747,11 +55748,11 @@
|
|
|
55747
55748
|
[
|
|
55748
55749
|
d,
|
|
55749
55750
|
[
|
|
55750
|
-
|
|
55751
|
+
p,
|
|
55751
55752
|
F
|
|
55752
55753
|
],
|
|
55753
55754
|
[
|
|
55754
|
-
|
|
55755
|
+
f,
|
|
55755
55756
|
k
|
|
55756
55757
|
]
|
|
55757
55758
|
],
|
|
@@ -55759,9 +55760,9 @@
|
|
|
55759
55760
|
/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i
|
|
55760
55761
|
],
|
|
55761
55762
|
[
|
|
55762
|
-
|
|
55763
|
+
p,
|
|
55763
55764
|
[
|
|
55764
|
-
|
|
55765
|
+
f,
|
|
55765
55766
|
y
|
|
55766
55767
|
]
|
|
55767
55768
|
],
|
|
@@ -55771,11 +55772,11 @@
|
|
|
55771
55772
|
[
|
|
55772
55773
|
d,
|
|
55773
55774
|
[
|
|
55774
|
-
|
|
55775
|
+
p,
|
|
55775
55776
|
C
|
|
55776
55777
|
],
|
|
55777
55778
|
[
|
|
55778
|
-
|
|
55779
|
+
f,
|
|
55779
55780
|
y
|
|
55780
55781
|
]
|
|
55781
55782
|
],
|
|
@@ -55785,7 +55786,7 @@
|
|
|
55785
55786
|
[
|
|
55786
55787
|
d,
|
|
55787
55788
|
[
|
|
55788
|
-
|
|
55789
|
+
f,
|
|
55789
55790
|
b
|
|
55790
55791
|
]
|
|
55791
55792
|
],
|
|
@@ -55795,7 +55796,7 @@
|
|
|
55795
55796
|
[
|
|
55796
55797
|
d,
|
|
55797
55798
|
[
|
|
55798
|
-
|
|
55799
|
+
f,
|
|
55799
55800
|
v
|
|
55800
55801
|
]
|
|
55801
55802
|
],
|
|
@@ -55804,7 +55805,7 @@
|
|
|
55804
55805
|
],
|
|
55805
55806
|
[
|
|
55806
55807
|
[
|
|
55807
|
-
|
|
55808
|
+
f,
|
|
55808
55809
|
v
|
|
55809
55810
|
]
|
|
55810
55811
|
],
|
|
@@ -55813,7 +55814,7 @@
|
|
|
55813
55814
|
],
|
|
55814
55815
|
[
|
|
55815
55816
|
[
|
|
55816
|
-
|
|
55817
|
+
f,
|
|
55817
55818
|
b
|
|
55818
55819
|
]
|
|
55819
55820
|
],
|
|
@@ -55823,7 +55824,7 @@
|
|
|
55823
55824
|
[
|
|
55824
55825
|
d,
|
|
55825
55826
|
[
|
|
55826
|
-
|
|
55827
|
+
p,
|
|
55827
55828
|
"Generic"
|
|
55828
55829
|
]
|
|
55829
55830
|
]
|
|
@@ -56074,7 +56075,7 @@
|
|
|
56074
56075
|
return t[m] = void 0, X.call(t, g, k.cpu), t;
|
|
56075
56076
|
}, this.getDevice = function() {
|
|
56076
56077
|
var t = {};
|
|
56077
|
-
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;
|
|
56078
56079
|
}, this.getEngine = function() {
|
|
56079
56080
|
var t = {};
|
|
56080
56081
|
return t[u] = void 0, t[h] = void 0, X.call(t, g, k.engine), t;
|
|
@@ -56104,8 +56105,8 @@
|
|
|
56104
56105
|
m
|
|
56105
56106
|
]), K.DEVICE = W([
|
|
56106
56107
|
d,
|
|
56107
|
-
f,
|
|
56108
56108
|
p,
|
|
56109
|
+
f,
|
|
56109
56110
|
g,
|
|
56110
56111
|
b,
|
|
56111
56112
|
w,
|
|
@@ -56128,9 +56129,9 @@
|
|
|
56128
56129
|
};
|
|
56129
56130
|
}
|
|
56130
56131
|
}("object" == typeof window ? window : nE), nS.exports;
|
|
56131
|
-
}(), 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) {
|
|
56132
56133
|
return i.setUA(t);
|
|
56133
|
-
},
|
|
56134
|
+
}, p = function(t) {
|
|
56134
56135
|
if (!t) return void console.error("No userAgent string was provided");
|
|
56135
56136
|
var r = new n(t);
|
|
56136
56137
|
return {
|
|
@@ -56153,8 +56154,8 @@
|
|
|
56153
56154
|
engine: l,
|
|
56154
56155
|
os: d,
|
|
56155
56156
|
ua: u,
|
|
56156
|
-
setUa:
|
|
56157
|
-
parseUserAgent:
|
|
56157
|
+
setUa: f,
|
|
56158
|
+
parseUserAgent: p
|
|
56158
56159
|
});
|
|
56159
56160
|
function m(t, r) {
|
|
56160
56161
|
var o = Object.keys(t);
|
|
@@ -56373,9 +56374,9 @@
|
|
|
56373
56374
|
}, eu = function(t) {
|
|
56374
56375
|
var r = t.name;
|
|
56375
56376
|
return r === $.InternetExplorer || r === $.Ie;
|
|
56376
|
-
}, ep = function(t) {
|
|
56377
|
-
return t.name === $.MIUI;
|
|
56378
56377
|
}, ef = function(t) {
|
|
56378
|
+
return t.name === $.MIUI;
|
|
56379
|
+
}, ep = function(t) {
|
|
56379
56380
|
return t.name === $.SamsungBrowser;
|
|
56380
56381
|
}, eh = function(t) {
|
|
56381
56382
|
return M(t.version);
|
|
@@ -56448,13 +56449,13 @@
|
|
|
56448
56449
|
isLegacyEdge: ea(n) && !ek(s),
|
|
56449
56450
|
isWindows: K(i),
|
|
56450
56451
|
isMacOs: Y(i),
|
|
56451
|
-
isMIUI:
|
|
56452
|
-
isSamsungBrowser:
|
|
56452
|
+
isMIUI: ef(n),
|
|
56453
|
+
isSamsungBrowser: ep(n)
|
|
56453
56454
|
};
|
|
56454
56455
|
}
|
|
56455
|
-
var eS = V(c), eE = q(c), eT = U(c), eD = Q(c), e$ = el(a) || eC(), ej = ei(a), eI = z(c) || eC(), eO = F(c), eM = N(c) || eC(), eA = W(c), eR = W(c), eL = Z(d), eF = J(d), eN = ee(d) || eC(), ez = eo(a), eV = en(a), eW = ec(a), eU = ed(a), eq = eu(a), eQ = et(d), eX = er(d), eH = eh(a), eG = em(a), eZ = eg(a), eK = X(c), eY = H(c), eJ = eb(l), e3 = ev(l), e2 = ex(u), e5 = ea(a) || ek(u), e0 = es(a), e1 = G(c), e8 = ey(), e9 = eC(), e4 = eB(), e7 = e_(), e6 = ew(), te = ek(u), tt = ea(a) && !ek(u), tr = K(d), to = Y(d), tn =
|
|
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);
|
|
56456
56457
|
function ta(t) {
|
|
56457
|
-
return
|
|
56458
|
+
return p(t || window.navigator.userAgent);
|
|
56458
56459
|
}
|
|
56459
56460
|
return nP.AndroidView = function(r) {
|
|
56460
56461
|
var n = r.renderWithFragment, i = r.children, a = y(r, [
|
|
@@ -56538,7 +56539,7 @@
|
|
|
56538
56539
|
]);
|
|
56539
56540
|
return eF ? n ? o.createElement(React.Fragment, null, i) : o.createElement("div", a, i) : null;
|
|
56540
56541
|
}, nP.browserName = eZ, nP.browserVersion = eG, nP.deviceDetect = function(t) {
|
|
56541
|
-
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;
|
|
56542
56543
|
if (I) {
|
|
56543
56544
|
return r = I, o = E, n = T, i = D, a = $, {
|
|
56544
56545
|
isBrowser: r,
|
|
@@ -56563,10 +56564,10 @@
|
|
|
56563
56564
|
};
|
|
56564
56565
|
}
|
|
56565
56566
|
if (N) {
|
|
56566
|
-
return u = N,
|
|
56567
|
+
return u = N, f = T, m = D, g = $, {
|
|
56567
56568
|
isConsole: u,
|
|
56568
|
-
engineName: M(
|
|
56569
|
-
engineVersion: M(
|
|
56569
|
+
engineName: M(f.name),
|
|
56570
|
+
engineVersion: M(f.version),
|
|
56570
56571
|
osName: M(m.name),
|
|
56571
56572
|
osVersion: M(m.version),
|
|
56572
56573
|
userAgent: M(g)
|
|
@@ -56597,7 +56598,7 @@
|
|
|
56597
56598
|
}
|
|
56598
56599
|
}, nP.deviceType = e1, nP.engineName = eJ, nP.engineVersion = e3, nP.fullBrowserVersion = eH, nP.getSelectorsByUserAgent = function(t) {
|
|
56599
56600
|
if (!t || "string" != typeof t) return void console.error("No valid user agent string was provided");
|
|
56600
|
-
var r =
|
|
56601
|
+
var r = p(t);
|
|
56601
56602
|
return eP({
|
|
56602
56603
|
device: r.device,
|
|
56603
56604
|
browser: r.browser,
|
|
@@ -56605,8 +56606,8 @@
|
|
|
56605
56606
|
engine: r.engine,
|
|
56606
56607
|
ua: r.ua
|
|
56607
56608
|
});
|
|
56608
|
-
}, nP.getUA = e2, nP.isAndroid = eL, nP.isBrowser = eA, nP.isChrome = ez, nP.isChromium = ej, nP.isConsole = eE, nP.isDesktop = eR, nP.isEdge = e5, nP.isEdgeChromium = te, nP.isElectron = e6, nP.isEmbedded = eD, nP.isFirefox = eV, nP.isIE = eq, nP.isIOS = eN, nP.isIOS13 = e8, nP.isIPad13 = e9, nP.isIPhone13 = e4, nP.isIPod13 = e7, nP.isLegacyEdge = tt, nP.isMIUI = tn, nP.isMacOs = to, nP.isMobile = eI, nP.isMobileOnly = eO, nP.isMobileSafari = e$, nP.isOpera = eU, nP.isSafari = eW, nP.isSamsungBrowser = ti, nP.isSmartTV = eS, nP.isTablet = eM, nP.isWearable = eT, nP.isWinPhone = eF, nP.isWindows = tr, nP.isYandex = e0, nP.mobileModel = eY, nP.mobileVendor = eK, nP.osName = eX, nP.osVersion = eQ, nP.parseUserAgent =
|
|
56609
|
-
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);
|
|
56610
56611
|
}, nP.useDeviceData = ta, nP.useDeviceSelectors = function(t) {
|
|
56611
56612
|
var r = ta(t || window.navigator.userAgent);
|
|
56612
56613
|
return [
|
|
@@ -56812,7 +56813,7 @@
|
|
|
56812
56813
|
var nM = oX(function() {
|
|
56813
56814
|
if (tW) return tV;
|
|
56814
56815
|
tW = 1;
|
|
56815
|
-
var t = 0 / 0, r = /^\s+|\s+$/g, o = /^[-+]0x[0-9a-f]+$/i, n = /^0b[01]+$/i, i = /^0o[0-7]+$/i, a = parseInt, s = "object" == typeof oQ && oQ && oQ.Object === Object && oQ, c = "object" == typeof self && self && self.Object === Object && self, l = s || c || Function("return this")(), d = Object.prototype.toString, u = Math.max,
|
|
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() {
|
|
56816
56817
|
return l.Date.now();
|
|
56817
56818
|
};
|
|
56818
56819
|
function h(t) {
|
|
@@ -56828,8 +56829,8 @@
|
|
|
56828
56829
|
}
|
|
56829
56830
|
if ("string" != typeof s) return 0 === s ? s : +s;
|
|
56830
56831
|
s = s.replace(r, "");
|
|
56831
|
-
var
|
|
56832
|
-
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;
|
|
56833
56834
|
}
|
|
56834
56835
|
return tV = function(t, r, o) {
|
|
56835
56836
|
var n, i, a, s, c, l, d = 0, g = !1, b = !1, v = !0;
|
|
@@ -56844,15 +56845,15 @@
|
|
|
56844
56845
|
return void 0 === l || o >= r || o < 0 || b && n >= a;
|
|
56845
56846
|
}
|
|
56846
56847
|
function y() {
|
|
56847
|
-
var t, o, n, i, s =
|
|
56848
|
+
var t, o, n, i, s = p();
|
|
56848
56849
|
if (k(s)) return C(s);
|
|
56849
|
-
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));
|
|
56850
56851
|
}
|
|
56851
56852
|
function C(t) {
|
|
56852
56853
|
return (c = void 0, v && n) ? w(t) : (n = i = void 0, s);
|
|
56853
56854
|
}
|
|
56854
56855
|
function B() {
|
|
56855
|
-
var t, o =
|
|
56856
|
+
var t, o = p(), a = k(o);
|
|
56856
56857
|
if (n = arguments, i = this, l = o, a) {
|
|
56857
56858
|
if (void 0 === c) {
|
|
56858
56859
|
return d = t = l, c = setTimeout(y, r), g ? w(t) : s;
|
|
@@ -56864,7 +56865,7 @@
|
|
|
56864
56865
|
return B.cancel = function() {
|
|
56865
56866
|
void 0 !== c && clearTimeout(c), d = 0, n = l = i = c = void 0;
|
|
56866
56867
|
}, B.flush = function() {
|
|
56867
|
-
return void 0 === c ? s : C(
|
|
56868
|
+
return void 0 === c ? s : C(p());
|
|
56868
56869
|
}, B;
|
|
56869
56870
|
};
|
|
56870
56871
|
}()), nA = {
|
|
@@ -56875,11 +56876,11 @@
|
|
|
56875
56876
|
var t = tq ? nA.exports : (tq = 1, nA.exports = function() {
|
|
56876
56877
|
if (tU) return nR;
|
|
56877
56878
|
tU = 1;
|
|
56878
|
-
var t = "function" == typeof Symbol && Symbol.for, r = t ? Symbol.for("react.element") : 60103, o = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, i = t ? Symbol.for("react.strict_mode") : 60108, a = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, c = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, d = t ? Symbol.for("react.concurrent_mode") : 60111, u = t ? Symbol.for("react.forward_ref") : 60112,
|
|
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;
|
|
56879
56880
|
function k(t) {
|
|
56880
56881
|
if ("object" == typeof t && null !== t) {
|
|
56881
|
-
var
|
|
56882
|
-
switch(
|
|
56882
|
+
var p = t.$$typeof;
|
|
56883
|
+
switch(p){
|
|
56883
56884
|
case r:
|
|
56884
56885
|
switch(t = t.type){
|
|
56885
56886
|
case l:
|
|
@@ -56887,7 +56888,7 @@
|
|
|
56887
56888
|
case n:
|
|
56888
56889
|
case a:
|
|
56889
56890
|
case i:
|
|
56890
|
-
case
|
|
56891
|
+
case f:
|
|
56891
56892
|
return t;
|
|
56892
56893
|
default:
|
|
56893
56894
|
switch(t = t && t.$$typeof){
|
|
@@ -56898,18 +56899,18 @@
|
|
|
56898
56899
|
case s:
|
|
56899
56900
|
return t;
|
|
56900
56901
|
default:
|
|
56901
|
-
return
|
|
56902
|
+
return p;
|
|
56902
56903
|
}
|
|
56903
56904
|
}
|
|
56904
56905
|
case o:
|
|
56905
|
-
return
|
|
56906
|
+
return p;
|
|
56906
56907
|
}
|
|
56907
56908
|
}
|
|
56908
56909
|
}
|
|
56909
56910
|
function y(t) {
|
|
56910
56911
|
return k(t) === d;
|
|
56911
56912
|
}
|
|
56912
|
-
return nR.AsyncMode = l, nR.ConcurrentMode = d, nR.ContextConsumer = c, nR.ContextProvider = s, nR.Element = r, nR.ForwardRef = u, nR.Fragment = n, nR.Lazy = m, nR.Memo = h, nR.Portal = o, nR.Profiler = a, nR.StrictMode = i, nR.Suspense =
|
|
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) {
|
|
56913
56914
|
return y(t) || k(t) === l;
|
|
56914
56915
|
}, nR.isConcurrentMode = y, nR.isContextConsumer = function(t) {
|
|
56915
56916
|
return k(t) === c;
|
|
@@ -56932,9 +56933,9 @@
|
|
|
56932
56933
|
}, nR.isStrictMode = function(t) {
|
|
56933
56934
|
return k(t) === i;
|
|
56934
56935
|
}, nR.isSuspense = function(t) {
|
|
56935
|
-
return k(t) ===
|
|
56936
|
+
return k(t) === f;
|
|
56936
56937
|
}, nR.isValidElementType = function(t) {
|
|
56937
|
-
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);
|
|
56938
56939
|
}, nR.typeOf = k, nR;
|
|
56939
56940
|
}(), nA.exports), r = {
|
|
56940
56941
|
childContextTypes: !0,
|
|
@@ -56974,12 +56975,12 @@
|
|
|
56974
56975
|
displayName: !0,
|
|
56975
56976
|
propTypes: !0
|
|
56976
56977
|
}, i[t.Memo] = n;
|
|
56977
|
-
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;
|
|
56978
56979
|
return tQ = function t(r, n, i) {
|
|
56979
56980
|
if ("string" != typeof n) {
|
|
56980
|
-
if (
|
|
56981
|
-
var
|
|
56982
|
-
|
|
56981
|
+
if (f) {
|
|
56982
|
+
var p = u(n);
|
|
56983
|
+
p && p !== f && t(r, p, i);
|
|
56983
56984
|
}
|
|
56984
56985
|
var h = c(n);
|
|
56985
56986
|
l && (h = h.concat(l(n)));
|
|
@@ -57136,7 +57137,7 @@
|
|
|
57136
57137
|
else console.warn("Flashlight is not supported or not initialized.");
|
|
57137
57138
|
}, [
|
|
57138
57139
|
c
|
|
57139
|
-
]),
|
|
57140
|
+
]), f = reactExports.useCallback(async ()=>{
|
|
57140
57141
|
if (c && c.isSupported()) try {
|
|
57141
57142
|
await c.turnOff(), d.current = !1;
|
|
57142
57143
|
} catch (t) {
|
|
@@ -57144,15 +57145,15 @@
|
|
|
57144
57145
|
}
|
|
57145
57146
|
}, [
|
|
57146
57147
|
c
|
|
57147
|
-
]),
|
|
57148
|
+
]), p = React.useMemo(()=>({
|
|
57148
57149
|
turnOnFlashlight: u,
|
|
57149
|
-
turnOffFlashlight:
|
|
57150
|
+
turnOffFlashlight: f
|
|
57150
57151
|
}), [
|
|
57151
57152
|
u,
|
|
57152
|
-
|
|
57153
|
+
f
|
|
57153
57154
|
]);
|
|
57154
57155
|
return oZ.jsx(nU.Provider, {
|
|
57155
|
-
value:
|
|
57156
|
+
value: p,
|
|
57156
57157
|
children: s
|
|
57157
57158
|
});
|
|
57158
57159
|
}, { Errors: nQ } = ra$1, nX = dt$1.div`
|
|
@@ -57198,7 +57199,7 @@
|
|
|
57198
57199
|
`;
|
|
57199
57200
|
function nJ(r) {
|
|
57200
57201
|
var s, c;
|
|
57201
|
-
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)=>{
|
|
57202
57203
|
B && B(t);
|
|
57203
57204
|
}, [
|
|
57204
57205
|
B
|
|
@@ -57274,8 +57275,8 @@
|
|
|
57274
57275
|
},
|
|
57275
57276
|
...o
|
|
57276
57277
|
}
|
|
57277
|
-
},
|
|
57278
|
-
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;
|
|
57279
57280
|
a(performance.now(), "end"), window.tv_last_req_camera_complete = !0, c() - s() < 1600 ? $({
|
|
57280
57281
|
tag: "cam_permission",
|
|
57281
57282
|
event: "user_activity.cam",
|
|
@@ -57288,13 +57289,13 @@
|
|
|
57288
57289
|
log: {}
|
|
57289
57290
|
});
|
|
57290
57291
|
try {
|
|
57291
|
-
let t =
|
|
57292
|
-
if (h7.addExifData("device_info.camera_label_dimension.got", `${t.width}x${t.height}`), h7.addExifData("camera_res_selected", `${t.width}x${t.height}`), "function" == typeof
|
|
57293
|
-
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();
|
|
57294
57295
|
h7.addExifData("device_info.camera_capabilities", JSON.stringify(t));
|
|
57295
57296
|
}
|
|
57296
57297
|
} catch (t) {}
|
|
57297
|
-
return
|
|
57298
|
+
return f;
|
|
57298
57299
|
} catch (t) {
|
|
57299
57300
|
a(performance.now(), "end"), "NotAllowedError" === t.name ? (O(z("no_permission")), V(nQ.no_permission), A.current = !0, $({
|
|
57300
57301
|
tag: "cam_permission",
|
|
@@ -57386,7 +57387,7 @@
|
|
|
57386
57387
|
if (M.current) return ()=>{};
|
|
57387
57388
|
if (!navigator.mediaDevices || nT.browserName && [
|
|
57388
57389
|
"facebook"
|
|
57389
|
-
].includes(nT.browserName.toLowerCase())
|
|
57390
|
+
].includes(nT.browserName.toLowerCase())) O(z("not_supported")), V(nQ.not_supported);
|
|
57390
57391
|
else if (o) {
|
|
57391
57392
|
if (S) return X(S), ()=>{};
|
|
57392
57393
|
nT.isAndroid && !1 === u ? t() : nT.isIOS && u ? r() : X();
|
|
@@ -57405,13 +57406,13 @@
|
|
|
57405
57406
|
z
|
|
57406
57407
|
]);
|
|
57407
57408
|
let H = reactExports.useCallback(()=>{
|
|
57408
|
-
W(),
|
|
57409
|
+
W(), f && f(), $({
|
|
57409
57410
|
tag: "result",
|
|
57410
57411
|
event: "user_activity.cancel",
|
|
57411
57412
|
log: {}
|
|
57412
57413
|
});
|
|
57413
57414
|
}, [
|
|
57414
|
-
|
|
57415
|
+
f,
|
|
57415
57416
|
W,
|
|
57416
57417
|
$
|
|
57417
57418
|
]);
|
|
@@ -57474,7 +57475,7 @@
|
|
|
57474
57475
|
className: x,
|
|
57475
57476
|
scale: P
|
|
57476
57477
|
}),
|
|
57477
|
-
|
|
57478
|
+
p,
|
|
57478
57479
|
_ ? /*#__PURE__*/ React.cloneElement(_, {
|
|
57479
57480
|
onClick: H,
|
|
57480
57481
|
"data-testid": "close-camera"
|
|
@@ -57674,32 +57675,32 @@
|
|
|
57674
57675
|
"left center",
|
|
57675
57676
|
"left bottom"
|
|
57676
57677
|
], io = function(t, r, o, n, i) {
|
|
57677
|
-
var a = i.offsetX, s = i.offsetY, c = 8 * !!n, l = o.split(" "), d = t.top + t.height / 2, u = t.left + t.width / 2,
|
|
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%";
|
|
57678
57679
|
switch(l[0]){
|
|
57679
57680
|
case "top":
|
|
57680
|
-
h -=
|
|
57681
|
+
h -= f / 2 + t.height / 2 + c, g = "rotate(180deg) translateX(50%)", b = "100%", v = "50%";
|
|
57681
57682
|
break;
|
|
57682
57683
|
case "bottom":
|
|
57683
|
-
h +=
|
|
57684
|
+
h += f / 2 + t.height / 2 + c, g = "rotate(0deg) translateY(-100%) translateX(-50%)", v = "50%";
|
|
57684
57685
|
break;
|
|
57685
57686
|
case "left":
|
|
57686
|
-
m -=
|
|
57687
|
+
m -= p / 2 + t.width / 2 + c, g = " rotate(90deg) translateY(50%) translateX(-25%)", v = "100%", b = "50%";
|
|
57687
57688
|
break;
|
|
57688
57689
|
case "right":
|
|
57689
|
-
m +=
|
|
57690
|
+
m += p / 2 + t.width / 2 + c, g = "rotate(-90deg) translateY(-150%) translateX(25%)", b = "50%";
|
|
57690
57691
|
}
|
|
57691
57692
|
switch(l[1]){
|
|
57692
57693
|
case "top":
|
|
57693
57694
|
h = t.top, b = t.height / 2 + "px";
|
|
57694
57695
|
break;
|
|
57695
57696
|
case "bottom":
|
|
57696
|
-
h = t.top -
|
|
57697
|
+
h = t.top - f + t.height, b = f - t.height / 2 + "px";
|
|
57697
57698
|
break;
|
|
57698
57699
|
case "left":
|
|
57699
57700
|
m = t.left, v = t.width / 2 + "px";
|
|
57700
57701
|
break;
|
|
57701
57702
|
case "right":
|
|
57702
|
-
m = t.left -
|
|
57703
|
+
m = t.left - p + t.width, v = p - t.width / 2 + "px";
|
|
57703
57704
|
}
|
|
57704
57705
|
return h = "top" === l[0] ? h - s : h + s, {
|
|
57705
57706
|
top: h,
|
|
@@ -57727,12 +57728,12 @@
|
|
|
57727
57728
|
left: 0,
|
|
57728
57729
|
top: 0,
|
|
57729
57730
|
transform: "rotate(135deg)"
|
|
57730
|
-
}, d = 0, u = ii(a),
|
|
57731
|
+
}, d = 0, u = ii(a), f = Array.isArray(o) ? o : [
|
|
57731
57732
|
o
|
|
57732
57733
|
];
|
|
57733
|
-
for((a || Array.isArray(o)) && (
|
|
57734
|
-
var
|
|
57735
|
-
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, {
|
|
57736
57737
|
offsetX: s,
|
|
57737
57738
|
offsetY: c
|
|
57738
57739
|
})).top,
|
|
@@ -57740,7 +57741,7 @@
|
|
|
57740
57741
|
width: r.width,
|
|
57741
57742
|
height: r.height
|
|
57742
57743
|
};
|
|
57743
|
-
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++;
|
|
57744
57745
|
else break;
|
|
57745
57746
|
}
|
|
57746
57747
|
return l;
|
|
@@ -57748,7 +57749,7 @@
|
|
|
57748
57749
|
var t = document.getElementById("popup-root");
|
|
57749
57750
|
return null === t && ((t = document.createElement("div")).setAttribute("id", "popup-root"), document.body.appendChild(t)), t;
|
|
57750
57751
|
}, il = /*#__PURE__*/ reactExports.forwardRef(function(r, a) {
|
|
57751
|
-
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 ? [
|
|
57752
57753
|
"click"
|
|
57753
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);
|
|
57754
57755
|
n7(function() {
|
|
@@ -57770,16 +57771,16 @@
|
|
|
57770
57771
|
}, eu = function(t) {
|
|
57771
57772
|
var r;
|
|
57772
57773
|
et && !v && (er(!1), ec && (null == (r = ea.current) || r.focus()), setTimeout(function() {
|
|
57773
|
-
return
|
|
57774
|
+
return p(t);
|
|
57774
57775
|
}, 0));
|
|
57775
|
-
}, ep = function(t) {
|
|
57776
|
-
null == t || t.stopPropagation(), et ? eu(t) : ed(t);
|
|
57777
57776
|
}, ef = function(t) {
|
|
57777
|
+
null == t || t.stopPropagation(), et ? eu(t) : ed(t);
|
|
57778
|
+
}, ep = function(t) {
|
|
57778
57779
|
clearTimeout(el.current), el.current = setTimeout(function() {
|
|
57779
57780
|
return ed(t);
|
|
57780
57781
|
}, X);
|
|
57781
57782
|
}, eh = function(t) {
|
|
57782
|
-
null == t || t.preventDefault(),
|
|
57783
|
+
null == t || t.preventDefault(), ef();
|
|
57783
57784
|
}, em = function(t) {
|
|
57784
57785
|
clearTimeout(el.current), el.current = setTimeout(function() {
|
|
57785
57786
|
return eu(t);
|
|
@@ -57801,7 +57802,7 @@
|
|
|
57801
57802
|
eu();
|
|
57802
57803
|
},
|
|
57803
57804
|
toggle: function() {
|
|
57804
|
-
|
|
57805
|
+
ef();
|
|
57805
57806
|
}
|
|
57806
57807
|
};
|
|
57807
57808
|
});
|
|
@@ -57835,7 +57836,7 @@
|
|
|
57835
57836
|
t.stopPropagation();
|
|
57836
57837
|
}
|
|
57837
57838
|
};
|
|
57838
|
-
return !R && P.indexOf("hover") >= 0 && (r.onMouseEnter =
|
|
57839
|
+
return !R && P.indexOf("hover") >= 0 && (r.onMouseEnter = ep, r.onMouseLeave = em), r;
|
|
57839
57840
|
}, ey = function() {
|
|
57840
57841
|
return /*#__PURE__*/ React.createElement("div", Object.assign({}, ek(), {
|
|
57841
57842
|
key: "C",
|
|
@@ -57882,16 +57883,16 @@
|
|
|
57882
57883
|
P
|
|
57883
57884
|
], n = 0, i = o.length; n < i; n++)switch(o[n]){
|
|
57884
57885
|
case "click":
|
|
57885
|
-
r.onClick =
|
|
57886
|
+
r.onClick = ef;
|
|
57886
57887
|
break;
|
|
57887
57888
|
case "right-click":
|
|
57888
57889
|
r.onContextMenu = eh;
|
|
57889
57890
|
break;
|
|
57890
57891
|
case "hover":
|
|
57891
|
-
r.onMouseEnter =
|
|
57892
|
+
r.onMouseEnter = ep, r.onMouseLeave = em;
|
|
57892
57893
|
break;
|
|
57893
57894
|
case "focus":
|
|
57894
|
-
r.onFocus =
|
|
57895
|
+
r.onFocus = ep, r.onBlur = em;
|
|
57895
57896
|
}
|
|
57896
57897
|
if ("function" == typeof c) {
|
|
57897
57898
|
var a = c(et);
|
|
@@ -58158,7 +58159,7 @@
|
|
|
58158
58159
|
}
|
|
58159
58160
|
}, im = "default", ig = "error";
|
|
58160
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 }) {
|
|
58161
|
-
let
|
|
58162
|
+
let p = reactExports.useMemo(()=>({
|
|
58162
58163
|
[im]: l,
|
|
58163
58164
|
[ig]: d,
|
|
58164
58165
|
...i
|
|
@@ -58166,7 +58167,7 @@
|
|
|
58166
58167
|
l,
|
|
58167
58168
|
d,
|
|
58168
58169
|
i
|
|
58169
|
-
]), h = s + a * u, m =
|
|
58170
|
+
]), h = s + a * u, m = p[n];
|
|
58170
58171
|
return oZ.jsxs("svg", {
|
|
58171
58172
|
width: r,
|
|
58172
58173
|
height: o,
|
|
@@ -58385,8 +58386,8 @@
|
|
|
58385
58386
|
if (o && !a || !o && !s) return null;
|
|
58386
58387
|
let { width: c, height: l } = r, d = document.createElement("canvas"), u = document.createElement("canvas");
|
|
58387
58388
|
d.width = c / 2, u.width = c / 2, d.height = l, u.height = l;
|
|
58388
|
-
let
|
|
58389
|
-
|
|
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);
|
|
58390
58391
|
let [h, m] = await Promise.all([
|
|
58391
58392
|
fb.getModelPredictions({
|
|
58392
58393
|
model: t,
|
|
@@ -58427,13 +58428,13 @@
|
|
|
58427
58428
|
return i;
|
|
58428
58429
|
}, iz = (t, r)=>parseFloat(t.toFixed(r)), iV = ({ currentFrameBlurScore: t, incomingFrameBlurScore: r, currentFrameGlareScore: o, incomingFrameGlareScore: n, settings: i, blurLargeThreshold: a, blurSmallThreshold: s })=>{
|
|
58429
58430
|
if (null === t) return !0;
|
|
58430
|
-
let { enableBlurCheck: c, enableGlareCheck: l } = i, d = t?.small, u = t?.large,
|
|
58431
|
-
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);
|
|
58432
58433
|
};
|
|
58433
58434
|
function iW(t, r, o, n, i) {
|
|
58434
58435
|
o && (o.strokeStyle = r, o.lineWidth = 2, t.forEach((t)=>{
|
|
58435
|
-
let [r, a, s, c] = t, l = (r + i.x) * n, d = (a + i.y) * n, u = (s + i.x) * n,
|
|
58436
|
-
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);
|
|
58437
58438
|
}));
|
|
58438
58439
|
}
|
|
58439
58440
|
function iU(t) {
|
|
@@ -59239,14 +59240,14 @@
|
|
|
59239
59240
|
_drawToCanvas(t, r, o, n, i, a) {
|
|
59240
59241
|
if (this._animationFrameId && cancelAnimationFrame(this._animationFrameId), !t || !a || this._stopDrawing) return;
|
|
59241
59242
|
this._lastFrameTime = 0;
|
|
59242
|
-
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)=>{
|
|
59243
59244
|
if (this._stopDrawing) {
|
|
59244
59245
|
this._animationFrameId = null;
|
|
59245
59246
|
return;
|
|
59246
59247
|
}
|
|
59247
|
-
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);
|
|
59248
59249
|
};
|
|
59249
|
-
this._animationFrameId = requestAnimationFrame(
|
|
59250
|
+
this._animationFrameId = requestAnimationFrame(f);
|
|
59250
59251
|
}
|
|
59251
59252
|
stopDrawing() {
|
|
59252
59253
|
this._stopDrawing = !0, this._animationFrameId && (cancelAnimationFrame(this._animationFrameId), this._animationFrameId = null);
|
|
@@ -59256,10 +59257,10 @@
|
|
|
59256
59257
|
this.clearVideoChunks(), this._stopDrawing = !1;
|
|
59257
59258
|
let { videoFrameWidth: a, videoFrameHeight: s, videoBitrate: c, fps: l } = o, d = l || this.DEFAULT_VIDEO_FPS, u = r.cropWidth / r.cropHeight;
|
|
59258
59259
|
aE(a) ? (n = a, i = a / u) : aE(s) ? (n = s * u, i = s) : (n = 400, i = 800);
|
|
59259
|
-
let
|
|
59260
|
-
|
|
59261
|
-
let
|
|
59262
|
-
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."), {
|
|
59263
59264
|
mediaRecorder: null
|
|
59264
59265
|
};
|
|
59265
59266
|
try {
|
|
@@ -59267,7 +59268,7 @@
|
|
|
59267
59268
|
mimeType: "video/webm",
|
|
59268
59269
|
videoBitsPerSecond: c
|
|
59269
59270
|
}, i = nT.isIOS ? "video/mp4" : "video/webm";
|
|
59270
|
-
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 = {
|
|
59271
59272
|
mimeType: i,
|
|
59272
59273
|
videoBitsPerSecond: Math.min(c, this.MAX_VIDEO_BITRATE)
|
|
59273
59274
|
}), !this._stream) throw Error("Failed to create a media stream for recording.");
|
|
@@ -59322,7 +59323,7 @@
|
|
|
59322
59323
|
}
|
|
59323
59324
|
}, [
|
|
59324
59325
|
i
|
|
59325
|
-
]),
|
|
59326
|
+
]), p = reactExports.useCallback(()=>{
|
|
59326
59327
|
if (s.current && r.current) try {
|
|
59327
59328
|
s.current.discardRecording(), r.current = !1;
|
|
59328
59329
|
} catch (t) {
|
|
@@ -59331,19 +59332,19 @@
|
|
|
59331
59332
|
}, []);
|
|
59332
59333
|
return reactExports.useEffect(()=>{
|
|
59333
59334
|
let t = ()=>{
|
|
59334
|
-
"hidden" === document.visibilityState ?
|
|
59335
|
+
"hidden" === document.visibilityState ? p() : "visible" === document.visibilityState && c.current && l(c.current);
|
|
59335
59336
|
};
|
|
59336
59337
|
return document.addEventListener("visibilitychange", t), ()=>{
|
|
59337
59338
|
document.removeEventListener("visibilitychange", t);
|
|
59338
59339
|
};
|
|
59339
59340
|
}, [
|
|
59340
59341
|
l,
|
|
59341
|
-
|
|
59342
|
+
p
|
|
59342
59343
|
]), {
|
|
59343
59344
|
startRecording: l,
|
|
59344
59345
|
stopRecording: d,
|
|
59345
59346
|
resetRecording: u,
|
|
59346
|
-
discardRecording:
|
|
59347
|
+
discardRecording: p
|
|
59347
59348
|
};
|
|
59348
59349
|
}, { Errors: a$ } = ra$1, aj = ()=>({
|
|
59349
59350
|
imageBlob: null,
|
|
@@ -59556,22 +59557,22 @@
|
|
|
59556
59557
|
});
|
|
59557
59558
|
}
|
|
59558
59559
|
let aU = /*#__PURE__*/ reactExports.forwardRef((t, r)=>{
|
|
59559
|
-
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")({
|
|
59560
59561
|
theme: T
|
|
59561
|
-
}), G = nz("IDCapturing.loadingIcon.src", "ic_loading.gif"), [Z, K] = reactExports.useState(""), Y = gB(), [J, ee] = reactExports.useState(null), [et, er] = reactExports.useState(""), [eo, en] = reactExports.useState(null), { showPopup: ei, popupShown: ea, popupType: es } = ad(), ec = reactExports.useContext(aO), [el, ed] = reactExports.useState(!1), eu = reactExports.useRef(()=>{}),
|
|
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)=>{
|
|
59562
59563
|
null === t ? er("") : er(Y(t?.code, {
|
|
59563
59564
|
side: k ? Y("front") : Y("back")
|
|
59564
59565
|
}));
|
|
59565
59566
|
}, [
|
|
59566
59567
|
Y,
|
|
59567
59568
|
k
|
|
59568
|
-
]),
|
|
59569
|
+
]), ep = reactExports.useCallback(()=>{
|
|
59569
59570
|
ee(""), eu.current();
|
|
59570
59571
|
}, []), eh = reactExports.useCallback((...t)=>{
|
|
59571
59572
|
ee(""), B(...t);
|
|
59572
59573
|
}, [
|
|
59573
59574
|
B
|
|
59574
|
-
]), { warmupDone: em, isPostProcessing: eg, isAutoCapturing: eb, takePictureManually: ev, restartSession: ew, resetIsProcessingImageBlobTaken: ek, isAutoCaptureModeOn: ey, onToggleAutoCaptureMode: eC, autoCaptureDuration: eB } = (({ shouldStart: t, refVideo: r, cropArea: s, settings: l, onModelErrorChange: d, frontSide: u, onDebugInfoChange:
|
|
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 })=>{
|
|
59575
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(()=>{
|
|
59576
59577
|
Q((t)=>!t);
|
|
59577
59578
|
}, []), { autoCaptureWaitForBestImageTimeMs: H, manualCaptureWaitForBestImageTimeMs: G } = l, Z = q ? H : G;
|
|
@@ -59612,30 +59613,30 @@
|
|
|
59612
59613
|
l.blurLargeThresholdAuto,
|
|
59613
59614
|
l.blurLargeThresholdManual,
|
|
59614
59615
|
l.enableAutoCapture
|
|
59615
|
-
]), { 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 }) {
|
|
59616
59617
|
let C = reactExports.useRef(null);
|
|
59617
59618
|
null === C.current && (C.current = document.createElement("canvas"));
|
|
59618
|
-
let B = reactExports.useRef([]), x = reactExports.useRef({}), S = reactExports.useRef(!1), E = reactExports.useRef([]), T = reactExports.useRef(!1), D = reactExports.useRef(null), [I, O] = reactExports.useState(!1), M = reactExports.useRef(aj()), A = reactExports.useRef(aI()), R = reactExports.useRef(null), L = reactExports.useRef(!1), F = reactExports.useRef(!1), N = reactExports.useRef(null), z = reactExports.useRef(!1), V = reactExports.useRef({}), { customUrls: W } = no$1.useSDKSettings(), { onErrorCallback: U } = aS(), [q, Q] = reactExports.useState(!0), X = reactExports.useRef([]), H = reactExports.useRef([]), G = reactExports.useRef(t), { allowedCards: Z } =
|
|
59619
|
-
videoFrameWidth:
|
|
59620
|
-
videoFrameHeight:
|
|
59621
|
-
videoBitrate:
|
|
59622
|
-
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
|
|
59623
59624
|
}), [
|
|
59624
|
-
|
|
59625
|
-
|
|
59626
|
-
|
|
59627
|
-
|
|
59625
|
+
p.recordVideoBitrate,
|
|
59626
|
+
p.recordVideoFps,
|
|
59627
|
+
p.recordVideoFrameHeight,
|
|
59628
|
+
p.recordVideoFrameWidth
|
|
59628
59629
|
]), { startRecording: er, stopRecording: eo, resetRecording: en } = aD({
|
|
59629
|
-
shouldRecord: reactExports.useMemo(()=>g ?
|
|
59630
|
+
shouldRecord: reactExports.useMemo(()=>g ? p.enableRecordCapturingFront : p.enableRecordCapturingBack, [
|
|
59630
59631
|
g,
|
|
59631
|
-
|
|
59632
|
-
|
|
59632
|
+
p.enableRecordCapturingBack,
|
|
59633
|
+
p.enableRecordCapturingFront
|
|
59633
59634
|
])
|
|
59634
59635
|
}), { startRecording: ei, stopRecording: ea, resetRecording: es } = aD({
|
|
59635
|
-
shouldRecord: reactExports.useMemo(()=>g ?
|
|
59636
|
+
shouldRecord: reactExports.useMemo(()=>g ? p.enableRecordFullSessionFront : p.enableRecordFullSessionBack, [
|
|
59636
59637
|
g,
|
|
59637
|
-
|
|
59638
|
-
|
|
59638
|
+
p.enableRecordFullSessionBack,
|
|
59639
|
+
p.enableRecordFullSessionFront
|
|
59639
59640
|
])
|
|
59640
59641
|
}), { turnOnFlashlight: ec, turnOffFlashlight: el } = (()=>{
|
|
59641
59642
|
let t = reactExports.useContext(nU);
|
|
@@ -59649,8 +59650,8 @@
|
|
|
59649
59650
|
]), reactExports.useEffect(()=>{
|
|
59650
59651
|
let t = !1;
|
|
59651
59652
|
return async function r() {
|
|
59652
|
-
if (
|
|
59653
|
-
if (
|
|
59653
|
+
if (p && !I) {
|
|
59654
|
+
if (p.enableIdDetection) {
|
|
59654
59655
|
let t = ((t, r)=>{
|
|
59655
59656
|
if (0 === t.length) return {
|
|
59656
59657
|
isValid: !1
|
|
@@ -59671,7 +59672,7 @@
|
|
|
59671
59672
|
} : {
|
|
59672
59673
|
isValid: !1
|
|
59673
59674
|
};
|
|
59674
|
-
})(Z.map((t)=>t.code),
|
|
59675
|
+
})(Z.map((t)=>t.code), p?.cardTypeModelMapping);
|
|
59675
59676
|
if (!t.isValid) {
|
|
59676
59677
|
U(a$.invalid_card_type_config), Q(!1), O(!0);
|
|
59677
59678
|
return;
|
|
@@ -59680,7 +59681,7 @@
|
|
|
59680
59681
|
V.current = await a_({
|
|
59681
59682
|
...W,
|
|
59682
59683
|
idCardModelUrl: r
|
|
59683
|
-
}, t.cardModel), await fY.initTensorFlow(), N.current =
|
|
59684
|
+
}, t.cardModel), await fY.initTensorFlow(), N.current = p.enableBlurCheck && V.current.ableToUseModel, Q(!t.forceOffDetection);
|
|
59684
59685
|
} else Q(!1), N.current = !1;
|
|
59685
59686
|
t || O(!0);
|
|
59686
59687
|
}
|
|
@@ -59689,7 +59690,7 @@
|
|
|
59689
59690
|
};
|
|
59690
59691
|
}, [
|
|
59691
59692
|
I,
|
|
59692
|
-
|
|
59693
|
+
p,
|
|
59693
59694
|
W,
|
|
59694
59695
|
Z,
|
|
59695
59696
|
U
|
|
@@ -59706,13 +59707,13 @@
|
|
|
59706
59707
|
});
|
|
59707
59708
|
}, [
|
|
59708
59709
|
k
|
|
59709
|
-
]),
|
|
59710
|
+
]), ef = reactExports.useCallback(()=>{
|
|
59710
59711
|
Y || (en(), es());
|
|
59711
59712
|
}, [
|
|
59712
59713
|
Y,
|
|
59713
59714
|
en,
|
|
59714
59715
|
es
|
|
59715
|
-
]),
|
|
59716
|
+
]), ep = reactExports.useCallback(async ()=>{
|
|
59716
59717
|
let t = {
|
|
59717
59718
|
capturingVideo: {
|
|
59718
59719
|
blob: null
|
|
@@ -59727,18 +59728,18 @@
|
|
|
59727
59728
|
}, [
|
|
59728
59729
|
eo,
|
|
59729
59730
|
ea
|
|
59730
|
-
]), eh = reactExports.useMemo(()=>g ?
|
|
59731
|
+
]), eh = reactExports.useMemo(()=>g ? p.enableFlashlightFront : p.enableFlashlightBack, [
|
|
59731
59732
|
g,
|
|
59732
|
-
|
|
59733
|
-
|
|
59734
|
-
]), em = reactExports.useMemo(()=>g ?
|
|
59733
|
+
p.enableFlashlightBack,
|
|
59734
|
+
p.enableFlashlightFront
|
|
59735
|
+
]), em = reactExports.useMemo(()=>g ? p.flashlightActivationDelayFront : p.flashlightActivationDelayBack, [
|
|
59735
59736
|
g,
|
|
59736
|
-
|
|
59737
|
-
|
|
59738
|
-
]), eg = reactExports.useMemo(()=>g ?
|
|
59737
|
+
p.flashlightActivationDelayBack,
|
|
59738
|
+
p.flashlightActivationDelayFront
|
|
59739
|
+
]), eg = reactExports.useMemo(()=>g ? p.flashlightDurationFront : p.flashlightDurationBack, [
|
|
59739
59740
|
g,
|
|
59740
|
-
|
|
59741
|
-
|
|
59741
|
+
p.flashlightDurationBack,
|
|
59742
|
+
p.flashlightDurationFront
|
|
59742
59743
|
]), eb = reactExports.useCallback(()=>{
|
|
59743
59744
|
!ed.current && eh && (ed.current = !0, setTimeout(()=>{
|
|
59744
59745
|
ec(eg);
|
|
@@ -59755,9 +59756,9 @@
|
|
|
59755
59756
|
]), ew = reactExports.useCallback(()=>{
|
|
59756
59757
|
!0 === T.current && (T.current = !1);
|
|
59757
59758
|
}, []), ek = reactExports.useCallback(()=>{
|
|
59758
|
-
|
|
59759
|
+
ef(), X.current = [], H.current = [], R.current = null, z.current = !1, ee.current = !1;
|
|
59759
59760
|
}, [
|
|
59760
|
-
|
|
59761
|
+
ef
|
|
59761
59762
|
]), ey = reactExports.useCallback(async ({ blurScore: t, detectedCard: o, glareScore: n })=>{
|
|
59762
59763
|
await er({
|
|
59763
59764
|
videoEl: l.current,
|
|
@@ -59770,7 +59771,7 @@
|
|
|
59770
59771
|
incomingFrameBlurScore: t,
|
|
59771
59772
|
currentFrameGlareScore: i.glareScore,
|
|
59772
59773
|
incomingFrameGlareScore: n,
|
|
59773
|
-
settings:
|
|
59774
|
+
settings: p,
|
|
59774
59775
|
blurLargeThreshold: s,
|
|
59775
59776
|
blurSmallThreshold: r
|
|
59776
59777
|
})) {
|
|
@@ -59788,25 +59789,25 @@
|
|
|
59788
59789
|
}
|
|
59789
59790
|
i.takenAt = new Date().getTime(), i.blurScore = t, i.glareScore = n, i.detectedCard = o, i.captureType = "auto";
|
|
59790
59791
|
}
|
|
59791
|
-
|
|
59792
|
+
p.enableBlurCheck && X.current.push(t), p.enableGlareCheck && H.current.push(n);
|
|
59792
59793
|
}, [
|
|
59793
59794
|
er,
|
|
59794
59795
|
l,
|
|
59795
59796
|
et,
|
|
59796
59797
|
eb,
|
|
59797
|
-
|
|
59798
|
+
p,
|
|
59798
59799
|
s,
|
|
59799
59800
|
r,
|
|
59800
59801
|
k
|
|
59801
59802
|
]), eC = reactExports.useCallback(async ({ blurScore: t, detectedCard: o, glareScore: n })=>{
|
|
59802
59803
|
F.current = !0;
|
|
59803
59804
|
let i = A.current;
|
|
59804
|
-
if (
|
|
59805
|
+
if (p.enableBlurCheck && X.current.push(t), p.enableGlareCheck && H.current.push(n), iV({
|
|
59805
59806
|
currentFrameBlurScore: i.blurScore,
|
|
59806
59807
|
currentFrameGlareScore: i.glareScore,
|
|
59807
59808
|
incomingFrameBlurScore: t,
|
|
59808
59809
|
incomingFrameGlareScore: n,
|
|
59809
|
-
settings:
|
|
59810
|
+
settings: p,
|
|
59810
59811
|
blurLargeThreshold: s,
|
|
59811
59812
|
blurSmallThreshold: r
|
|
59812
59813
|
})) {
|
|
@@ -59825,19 +59826,19 @@
|
|
|
59825
59826
|
s,
|
|
59826
59827
|
r,
|
|
59827
59828
|
k,
|
|
59828
|
-
|
|
59829
|
+
p
|
|
59829
59830
|
]), eB = reactExports.useCallback(async ()=>{
|
|
59830
|
-
let { autoCaptureWaitForBestImageTimeMs: t } =
|
|
59831
|
+
let { autoCaptureWaitForBestImageTimeMs: t } = p, r = M.current;
|
|
59831
59832
|
if (null !== r.imageBlob && new Date().getTime() - R.current > t) {
|
|
59832
|
-
let t = await
|
|
59833
|
+
let t = await ep();
|
|
59833
59834
|
await ev(), await b({
|
|
59834
59835
|
...r,
|
|
59835
59836
|
...t
|
|
59836
59837
|
}), J(!1), R.current = null;
|
|
59837
59838
|
}
|
|
59838
59839
|
}, [
|
|
59839
|
-
|
|
59840
|
-
|
|
59840
|
+
p,
|
|
59841
|
+
ep,
|
|
59841
59842
|
ev,
|
|
59842
59843
|
b
|
|
59843
59844
|
]), e_ = reactExports.useCallback(()=>{
|
|
@@ -59852,7 +59853,7 @@
|
|
|
59852
59853
|
resultAnalyzeVideoAndWindowSizes: D.current,
|
|
59853
59854
|
recordVideoSettings: et
|
|
59854
59855
|
}), eb(), new Promise((t)=>{
|
|
59855
|
-
let { enableVirtualCamHashes: o, manualCaptureWaitForBestImageTimeMs: n } =
|
|
59856
|
+
let { enableVirtualCamHashes: o, manualCaptureWaitForBestImageTimeMs: n } = p, i = A.current;
|
|
59856
59857
|
if (i.captureTime = Date.now(), N.current) J(!0), e_(), setTimeout(()=>{
|
|
59857
59858
|
ex().then(async ()=>{
|
|
59858
59859
|
await ev(), (i.blurScore?.small <= r || i.blurScore?.large <= s) && (i.error = a$.id_detector_error_blur);
|
|
@@ -59867,7 +59868,7 @@
|
|
|
59867
59868
|
quality: k
|
|
59868
59869
|
}).then(async (n)=>{
|
|
59869
59870
|
i.imageBlob = n, i.captureTime = Date.now(), i.hash = r, o && await eu(i.detectedCard);
|
|
59870
|
-
let a = await
|
|
59871
|
+
let a = await ep();
|
|
59871
59872
|
t({
|
|
59872
59873
|
...i,
|
|
59873
59874
|
...a
|
|
@@ -59875,7 +59876,7 @@
|
|
|
59875
59876
|
});
|
|
59876
59877
|
} else {
|
|
59877
59878
|
o && await eu(i.detectedCard);
|
|
59878
|
-
let r = await
|
|
59879
|
+
let r = await ep();
|
|
59879
59880
|
t({
|
|
59880
59881
|
...i,
|
|
59881
59882
|
...r
|
|
@@ -59902,10 +59903,10 @@
|
|
|
59902
59903
|
l,
|
|
59903
59904
|
et,
|
|
59904
59905
|
eb,
|
|
59905
|
-
|
|
59906
|
+
p,
|
|
59906
59907
|
e_,
|
|
59907
59908
|
ex,
|
|
59908
|
-
|
|
59909
|
+
ep,
|
|
59909
59910
|
ev,
|
|
59910
59911
|
r,
|
|
59911
59912
|
s,
|
|
@@ -59939,10 +59940,10 @@
|
|
|
59939
59940
|
portraitTopLeft: c,
|
|
59940
59941
|
portraitBottomRight: l
|
|
59941
59942
|
};
|
|
59942
|
-
}(t,
|
|
59943
|
+
}(t, p.blurFullFaceImageRatio, r), a = function(t, r) {
|
|
59943
59944
|
let { cv: o } = window;
|
|
59944
59945
|
if (!o) throw Error("Opencv not found!");
|
|
59945
|
-
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, [
|
|
59946
59947
|
n.x,
|
|
59947
59948
|
n.y,
|
|
59948
59949
|
i.x,
|
|
@@ -59951,7 +59952,7 @@
|
|
|
59951
59952
|
a.y,
|
|
59952
59953
|
s.x,
|
|
59953
59954
|
s.y
|
|
59954
|
-
]),
|
|
59955
|
+
]), p = o.matFromArray(4, 1, o.CV_32FC2, [
|
|
59955
59956
|
0,
|
|
59956
59957
|
0,
|
|
59957
59958
|
c - 1,
|
|
@@ -59960,7 +59961,7 @@
|
|
|
59960
59961
|
l - 1,
|
|
59961
59962
|
0,
|
|
59962
59963
|
l - 1
|
|
59963
|
-
]), h = o.getPerspectiveTransform(
|
|
59964
|
+
]), h = o.getPerspectiveTransform(f, p), m = (t)=>{
|
|
59964
59965
|
let r = o.matFromArray(1, 1, o.CV_32FC2, [
|
|
59965
59966
|
t[0],
|
|
59966
59967
|
t[1]
|
|
@@ -59974,7 +59975,7 @@
|
|
|
59974
59975
|
Math.max(0, Math.min(i[1] * (ra$1.RESIZE_IMAGE_HEIGHT / l), l))
|
|
59975
59976
|
];
|
|
59976
59977
|
}, g = m(d), b = m(u);
|
|
59977
|
-
return
|
|
59978
|
+
return f.delete(), p.delete(), h.delete(), [
|
|
59978
59979
|
parseInt(g[0], 10),
|
|
59979
59980
|
parseInt(g[1], 10),
|
|
59980
59981
|
parseInt(b[0], 10),
|
|
@@ -60052,9 +60053,9 @@
|
|
|
60052
60053
|
};
|
|
60053
60054
|
}
|
|
60054
60055
|
}, [
|
|
60055
|
-
|
|
60056
|
+
p
|
|
60056
60057
|
]), e$ = reactExports.useCallback(async ({ result: t, workingCanvas: o })=>{
|
|
60057
|
-
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 = {
|
|
60058
60059
|
error: null
|
|
60059
60060
|
};
|
|
60060
60061
|
try {
|
|
@@ -60071,12 +60072,12 @@
|
|
|
60071
60072
|
area: c.width * c.height
|
|
60072
60073
|
},
|
|
60073
60074
|
big: {
|
|
60074
|
-
area:
|
|
60075
|
+
area: f * h
|
|
60075
60076
|
}
|
|
60076
60077
|
});
|
|
60077
60078
|
if (l < .5) throw Error("id_detector_card_too_small");
|
|
60078
60079
|
if (l > .95) throw Error("id_detector_error_incomplete");
|
|
60079
|
-
if (k && nn(
|
|
60080
|
+
if (k && nn(p, "enableCardTypeCheck")) {
|
|
60080
60081
|
let r = nn(t, "card.label", ""), { isAllowed: o, cardType: n } = ((t, r)=>{
|
|
60081
60082
|
let o = t.split(".")?.[0];
|
|
60082
60083
|
if (o !== r[0].split(".")?.[0]) return {
|
|
@@ -60150,8 +60151,8 @@
|
|
|
60150
60151
|
smallThreshold: r,
|
|
60151
60152
|
largeThreshold: s
|
|
60152
60153
|
}), u = {
|
|
60153
|
-
small: iz(d?.[0],
|
|
60154
|
-
large: iz(d?.[1],
|
|
60154
|
+
small: iz(d?.[0], p.blurSmallDecimal),
|
|
60155
|
+
large: iz(d?.[1], p.blurLargeDecimal)
|
|
60155
60156
|
};
|
|
60156
60157
|
if (eT.current = {
|
|
60157
60158
|
...eT.current,
|
|
@@ -60167,10 +60168,10 @@
|
|
|
60167
60168
|
}
|
|
60168
60169
|
if (y) {
|
|
60169
60170
|
var I, O, M, A, R, L, F, N;
|
|
60170
|
-
let r, s,
|
|
60171
|
+
let r, s, f, p = nn(t, "card.label"), h = nn(t, "card.corners");
|
|
60171
60172
|
eT.current = {
|
|
60172
60173
|
...eT.current,
|
|
60173
|
-
label:
|
|
60174
|
+
label: p,
|
|
60174
60175
|
corner_size: h?.length
|
|
60175
60176
|
}, p_.drawDebugCanvas(eE.current, eT.current);
|
|
60176
60177
|
let m = i$ / o.width, g = eS.current.getContext("2d");
|
|
@@ -60182,7 +60183,7 @@
|
|
|
60182
60183
|
o.strokeRect(s, c, l - s, d - c);
|
|
60183
60184
|
}(O[0], "black", I, R), s = M.filter((t)=>"small" === t.lapType), s.length > 0 && s.forEach((t)=>{
|
|
60184
60185
|
iW(t.bboxes, "blue", I, R, r);
|
|
60185
|
-
}),
|
|
60186
|
+
}), f = M.filter((t)=>"large" === t.lapType), f.length > 0 && f.forEach((t)=>{
|
|
60186
60187
|
iW(t.bboxes, "green", I, R, r);
|
|
60187
60188
|
}), L = A.map((t)=>t.location), F = I, N = R, F && (F.strokeStyle = "red", F.lineWidth = 2, L.forEach((t)=>{
|
|
60188
60189
|
let r = t.x * N, o = t.y * N;
|
|
@@ -60191,7 +60192,7 @@
|
|
|
60191
60192
|
}
|
|
60192
60193
|
return T;
|
|
60193
60194
|
}, [
|
|
60194
|
-
|
|
60195
|
+
p,
|
|
60195
60196
|
y,
|
|
60196
60197
|
l,
|
|
60197
60198
|
Z,
|
|
@@ -60200,13 +60201,13 @@
|
|
|
60200
60201
|
s,
|
|
60201
60202
|
eD
|
|
60202
60203
|
]), ej = reactExports.useCallback(async ()=>{
|
|
60203
|
-
if (!
|
|
60204
|
+
if (!p || !I || T.current) return;
|
|
60204
60205
|
M.current = aj(), A.current = aI();
|
|
60205
|
-
let { enableVirtualCamHashes: t } =
|
|
60206
|
+
let { enableVirtualCamHashes: t } = p, { idCardModel: r, ableToUseModel: o } = V.current, n = D.current, i = l.current;
|
|
60206
60207
|
T.current = !0;
|
|
60207
60208
|
let { cropX: a, cropY: s, cropWidth: c, cropHeight: d } = n, u = C.current;
|
|
60208
60209
|
u.width = c, u.height = d;
|
|
60209
|
-
let
|
|
60210
|
+
let f = u.getContext("2d"), h = async ()=>{
|
|
60210
60211
|
if (!1 === T.current) return;
|
|
60211
60212
|
await ei({
|
|
60212
60213
|
videoEl: l.current,
|
|
@@ -60214,11 +60215,11 @@
|
|
|
60214
60215
|
recordVideoSettings: et
|
|
60215
60216
|
});
|
|
60216
60217
|
let n = K.current;
|
|
60217
|
-
|
|
60218
|
+
f.drawImage(i, a, s, c, d, 0, 0, c, d);
|
|
60218
60219
|
let g = performance.now();
|
|
60219
60220
|
if (z.current = !1, q && o) {
|
|
60220
60221
|
let o = await r.predict(u);
|
|
60221
|
-
!
|
|
60222
|
+
!p?.trackCardCoordinates || A.current.imageBlob || M.current.imageBlob || E.current.push(((t)=>{
|
|
60222
60223
|
let r = nn(t, "card.corners");
|
|
60223
60224
|
if (r && Array.isArray(r) && r.length > 0) {
|
|
60224
60225
|
let { x: t, y: o } = nn(r, "[0].location");
|
|
@@ -60247,7 +60248,7 @@
|
|
|
60247
60248
|
};
|
|
60248
60249
|
K.current = window.requestAnimationFrame(h);
|
|
60249
60250
|
}, [
|
|
60250
|
-
|
|
60251
|
+
p,
|
|
60251
60252
|
I,
|
|
60252
60253
|
l,
|
|
60253
60254
|
ei,
|
|
@@ -60300,7 +60301,7 @@
|
|
|
60300
60301
|
refBlurScores: X,
|
|
60301
60302
|
refGlareScores: H,
|
|
60302
60303
|
resetState: ek,
|
|
60303
|
-
resetRecordVideo:
|
|
60304
|
+
resetRecordVideo: ef
|
|
60304
60305
|
};
|
|
60305
60306
|
}({
|
|
60306
60307
|
isAutoCapture: q,
|
|
@@ -60318,17 +60319,17 @@
|
|
|
60318
60319
|
});
|
|
60319
60320
|
reactExports.useContext(aO);
|
|
60320
60321
|
let eh = reactExports.useCallback(()=>{
|
|
60321
|
-
|
|
60322
|
+
ep(), eo(), k();
|
|
60322
60323
|
}, [
|
|
60323
60324
|
eo,
|
|
60324
|
-
|
|
60325
|
+
ep,
|
|
60325
60326
|
k
|
|
60326
60327
|
]), { resumeTimer: em, pauseTimer: eg } = ((t)=>{
|
|
60327
|
-
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({
|
|
60328
60329
|
totalTime: i,
|
|
60329
60330
|
interruptible: r
|
|
60330
60331
|
}));
|
|
60331
|
-
reactExports.useEffect(()=>
|
|
60332
|
+
reactExports.useEffect(()=>f.current.on("tick", ({ remainTime: t })=>{
|
|
60332
60333
|
t >= 0 && t <= i / 3 && "function" == typeof c && c({
|
|
60333
60334
|
curTimeLeft: t
|
|
60334
60335
|
});
|
|
@@ -60337,24 +60338,24 @@
|
|
|
60337
60338
|
c,
|
|
60338
60339
|
i,
|
|
60339
60340
|
r
|
|
60340
|
-
]), reactExports.useEffect(()=>
|
|
60341
|
-
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);
|
|
60342
60343
|
}), [
|
|
60343
60344
|
l,
|
|
60344
60345
|
u,
|
|
60345
60346
|
s?.enable,
|
|
60346
60347
|
s?.total,
|
|
60347
60348
|
r
|
|
60348
|
-
]), reactExports.useEffect(()=>d ?
|
|
60349
|
+
]), reactExports.useEffect(()=>d ? f.current.start() : ()=>{}, [
|
|
60349
60350
|
d
|
|
60350
60351
|
]);
|
|
60351
|
-
let
|
|
60352
|
-
|
|
60352
|
+
let p = reactExports.useCallback(()=>{
|
|
60353
|
+
f.current.resume();
|
|
60353
60354
|
}, []);
|
|
60354
60355
|
return {
|
|
60355
|
-
resumeTimer:
|
|
60356
|
+
resumeTimer: p,
|
|
60356
60357
|
pauseTimer: reactExports.useCallback(()=>{
|
|
60357
|
-
|
|
60358
|
+
f.current.pause();
|
|
60358
60359
|
}, [])
|
|
60359
60360
|
};
|
|
60360
60361
|
})({
|
|
@@ -60368,24 +60369,24 @@
|
|
|
60368
60369
|
}), eb = reactExports.useCallback(()=>{
|
|
60369
60370
|
x.current = !1;
|
|
60370
60371
|
}, []), ev = reactExports.useCallback(async ()=>{
|
|
60371
|
-
eb(), em(),
|
|
60372
|
+
eb(), em(), ef(), E(!1), U(u ? "keep_front_id_fit_border" : "keep_back_id_fit_border"), await Promise.all([
|
|
60372
60373
|
en()
|
|
60373
60374
|
]);
|
|
60374
60375
|
}, [
|
|
60375
60376
|
eb,
|
|
60376
|
-
|
|
60377
|
+
ef,
|
|
60377
60378
|
U,
|
|
60378
60379
|
u,
|
|
60379
60380
|
en,
|
|
60380
60381
|
em
|
|
60381
60382
|
]), ew = reactExports.useCallback(async (t = {})=>{
|
|
60382
|
-
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;
|
|
60383
60384
|
if (x.current) return;
|
|
60384
60385
|
x.current = !0, E(!0), eo(), eg(), Y(null);
|
|
60385
60386
|
let v = l?.enableVirtualCamHashes, w = l?.enableGlareCheck, k = l?.enableBlurCheck, B = {};
|
|
60386
|
-
if (v && null !==
|
|
60387
|
+
if (v && null !== f) {
|
|
60387
60388
|
let t = [
|
|
60388
|
-
|
|
60389
|
+
f,
|
|
60389
60390
|
...ec.current
|
|
60390
60391
|
];
|
|
60391
60392
|
t.length > 0 && (B = t.reduce((t, r, o)=>(t[`hash${o + 1}`] = r, t), {}));
|
|
@@ -60394,7 +60395,7 @@
|
|
|
60394
60395
|
h7.addExifData("user_action", {
|
|
60395
60396
|
start_id_card: F.current,
|
|
60396
60397
|
end_id_card: Date.now()
|
|
60397
|
-
}), h7.addExifData("id_detection_settings.blur_check.large_threshold", ee), h7.addExifData("id_detection_settings.blur_check.small_threshold", J), h7.addExifData("capture_time", a), h7.addExifData("type", i?.label), v && h7.addExifData("v_cam", B), h7.addExifData("capture_count", s), h7.addExifData("capture_duration", c), h7.addExifData("capture_type", d), _ && h7.addExifData("card_tracking", S), k && (h7.addExifData("model_score.blurry_score",
|
|
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)));
|
|
60398
60399
|
let T = await h7.writeCurrentExif({
|
|
60399
60400
|
imageData: {
|
|
60400
60401
|
blob: o
|
|
@@ -60532,14 +60533,14 @@
|
|
|
60532
60533
|
};
|
|
60533
60534
|
})({
|
|
60534
60535
|
shouldStart: !0,
|
|
60535
|
-
refVideo:
|
|
60536
|
+
refVideo: p,
|
|
60536
60537
|
cropArea: eo,
|
|
60537
60538
|
settings: C,
|
|
60538
|
-
onModelErrorChange:
|
|
60539
|
+
onModelErrorChange: ef,
|
|
60539
60540
|
frontSide: k,
|
|
60540
60541
|
allowedCardTypes: y,
|
|
60541
60542
|
onDebugInfoChange: K,
|
|
60542
|
-
onSessionTimeout:
|
|
60543
|
+
onSessionTimeout: ep,
|
|
60543
60544
|
onCaptureDone: eh,
|
|
60544
60545
|
onAboutToTimeout: reactExports.useCallback(({ curTimeLeft: t })=>{
|
|
60545
60546
|
ee(Y("remaining_time", {
|
|
@@ -60568,9 +60569,9 @@
|
|
|
60568
60569
|
}), { showCaptureButtonInAuto: eS = !0, showHoldStillProgress: eE = !1, showAutoCaptureToggle: eT } = C ?? {};
|
|
60569
60570
|
reactExports.useEffect(()=>{
|
|
60570
60571
|
if (u) {
|
|
60571
|
-
let t, r, o, n, i, a, s, { videoAreaWidth: c, videoAreaHeight: d, lostX:
|
|
60572
|
-
l ? i = .7 * (a = d - 165) : a = Math.floor(Math.min((i = nT.isMobile ? c - 40 : Math.floor(.4 * c)) / 1.5, h - 2 *
|
|
60573
|
-
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,
|
|
60574
60575
|
y: s,
|
|
60575
60576
|
width: i,
|
|
60576
60577
|
height: a,
|
|
@@ -61040,8 +61041,8 @@
|
|
|
61040
61041
|
Object.keys(l || {}).forEach(function(t) {
|
|
61041
61042
|
l[t] = i[t] || l[t];
|
|
61042
61043
|
});
|
|
61043
|
-
var a = "attemptBoth" === l.inversionAttempts || "invertFirst" === l.inversionAttempts, s = "onlyInvert" === l.inversionAttempts || "invertFirst" === l.inversionAttempts, d = n.binarize(t, r, o, a), u = d.binarized,
|
|
61044
|
-
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;
|
|
61045
61046
|
}
|
|
61046
61047
|
d.default = d, r.default = d;
|
|
61047
61048
|
},
|
|
@@ -61062,10 +61063,10 @@
|
|
|
61062
61063
|
r.binarize = function(t, r, o, a) {
|
|
61063
61064
|
if (t.length !== r * o * 4) throw Error("Malformed data passed to binarizer.");
|
|
61064
61065
|
for(var s = new i(r, o), c = 0; c < r; c++)for(var l = 0; l < o; l++){
|
|
61065
|
-
var d = t[(l * r + c) * 4 + 0], u = t[(l * r + c) * 4 + 1],
|
|
61066
|
-
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);
|
|
61067
61068
|
}
|
|
61068
|
-
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++){
|
|
61069
61070
|
for(var v = 0, w = 1 / 0, k = 0, l = 0; l < 8; l++)for(var c = 0; c < 8; c++){
|
|
61070
61071
|
var y = s.get(8 * b + c, 8 * g + l);
|
|
61071
61072
|
v += y, w = Math.min(w, y), k = Math.max(k, y);
|
|
@@ -61079,8 +61080,8 @@
|
|
|
61079
61080
|
}
|
|
61080
61081
|
var _ = n.BitMatrix.createEmpty(r, o), x = null;
|
|
61081
61082
|
a && (x = n.BitMatrix.createEmpty(r, o));
|
|
61082
|
-
for(var g = 0; g < h; g++)for(var b = 0; b <
|
|
61083
|
-
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);
|
|
61084
61085
|
for(var O = v / 25, j = 0; j < 8; j++)for(var I = 0; I < 8; I++){
|
|
61085
61086
|
var c = 8 * b + j, l = 8 * g + I, M = s.get(c, l);
|
|
61086
61087
|
_.set(c, l, M <= O), a && x.set(c, l, !(M <= O));
|
|
@@ -61361,16 +61362,16 @@
|
|
|
61361
61362
|
for(var l = 0, d = 5; d >= 0; d--)for(var u = i - 9; u >= i - 11; u--){
|
|
61362
61363
|
r = t.get(u, d), l = l << 1 | r;
|
|
61363
61364
|
}
|
|
61364
|
-
for(var
|
|
61365
|
-
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;
|
|
61366
61367
|
}
|
|
61367
|
-
for(var
|
|
61368
|
+
for(var p = 1 / 0, h = 0, m = s.VERSIONS; h < m.length; h++){
|
|
61368
61369
|
var g = m[h];
|
|
61369
|
-
if (g.infoBits === l || g.infoBits ===
|
|
61370
|
+
if (g.infoBits === l || g.infoBits === f) return g;
|
|
61370
61371
|
var b = c(l, g.infoBits);
|
|
61371
|
-
b <
|
|
61372
|
+
b < p && (n = g, p = b), (b = c(f, g.infoBits)) < p && (n = g, p = b);
|
|
61372
61373
|
}
|
|
61373
|
-
if (
|
|
61374
|
+
if (p <= 3) return n;
|
|
61374
61375
|
}(t);
|
|
61375
61376
|
if (!r) return null;
|
|
61376
61377
|
var o = function(t) {
|
|
@@ -61380,19 +61381,19 @@
|
|
|
61380
61381
|
for(var d = 7; d >= 0; d--){
|
|
61381
61382
|
6 !== d && (o = t.get(8, d), a = a << 1 | o);
|
|
61382
61383
|
}
|
|
61383
|
-
for(var u = t.height,
|
|
61384
|
-
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;
|
|
61385
61386
|
}
|
|
61386
61387
|
for(var s = u - 8; s < u; s++){
|
|
61387
|
-
i = t.get(s, 8),
|
|
61388
|
+
i = t.get(s, 8), f = f << 1 | i;
|
|
61388
61389
|
}
|
|
61389
|
-
for(var
|
|
61390
|
+
for(var p = 1 / 0, h = null, m = 0; m < l.length; m++){
|
|
61390
61391
|
var g = l[m], b = g.bits, v = g.formatInfo;
|
|
61391
|
-
if (b === a || b ===
|
|
61392
|
+
if (b === a || b === f) return v;
|
|
61392
61393
|
var w = c(a, b);
|
|
61393
|
-
w <
|
|
61394
|
+
w < p && (h = v, p = w), a !== f && (w = c(f, b)) < p && (h = v, p = w);
|
|
61394
61395
|
}
|
|
61395
|
-
return
|
|
61396
|
+
return p <= 3 ? h : null;
|
|
61396
61397
|
}(t);
|
|
61397
61398
|
if (!o) return null;
|
|
61398
61399
|
var u = function(t, r, o) {
|
|
@@ -61409,10 +61410,10 @@
|
|
|
61409
61410
|
d.codewords.push(t.shift());
|
|
61410
61411
|
}
|
|
61411
61412
|
if (n.ecBlocks.length > 1) {
|
|
61412
|
-
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());
|
|
61413
61414
|
}
|
|
61414
|
-
for(; t.length > 0;)for(var
|
|
61415
|
-
var d = i[
|
|
61415
|
+
for(; t.length > 0;)for(var p = 0; p < i.length; p++){
|
|
61416
|
+
var d = i[p];
|
|
61416
61417
|
d.codewords.push(t.shift());
|
|
61417
61418
|
}
|
|
61418
61419
|
return i;
|
|
@@ -61427,11 +61428,11 @@
|
|
|
61427
61428
|
}
|
|
61428
61429
|
}
|
|
61429
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;
|
|
61430
|
-
}(r), c = [], l = 0, u = 0,
|
|
61431
|
-
6 ===
|
|
61431
|
+
}(r), c = [], l = 0, u = 0, f = !0, p = a - 1; p > 0; p -= 2){
|
|
61432
|
+
6 === p && p--;
|
|
61432
61433
|
for(var h = 0; h < a; h++){
|
|
61433
|
-
for(var m =
|
|
61434
|
-
var b =
|
|
61434
|
+
for(var m = f ? a - 1 - h : h, g = 0; g < 2; g++){
|
|
61435
|
+
var b = p - g;
|
|
61435
61436
|
if (!s.get(b, m)) {
|
|
61436
61437
|
u++;
|
|
61437
61438
|
var v = t.get(b, m);
|
|
@@ -61442,20 +61443,20 @@
|
|
|
61442
61443
|
}
|
|
61443
61444
|
}
|
|
61444
61445
|
}
|
|
61445
|
-
|
|
61446
|
+
f = !f;
|
|
61446
61447
|
}
|
|
61447
61448
|
return c;
|
|
61448
61449
|
}(t, r, o), r, o.errorCorrectionLevel);
|
|
61449
61450
|
if (!u) return null;
|
|
61450
|
-
for(var
|
|
61451
|
+
for(var f = new Uint8ClampedArray(u.reduce(function(t, r) {
|
|
61451
61452
|
return t + r.numDataCodewords;
|
|
61452
|
-
}, 0)),
|
|
61453
|
+
}, 0)), p = 0, h = 0; h < u.length; h++){
|
|
61453
61454
|
var m = u[h], g = a.decode(m.codewords, m.codewords.length - m.numDataCodewords);
|
|
61454
61455
|
if (!g) return null;
|
|
61455
|
-
for(var b = 0; b < m.numDataCodewords; b++)p
|
|
61456
|
+
for(var b = 0; b < m.numDataCodewords; b++)f[p++] = g[b];
|
|
61456
61457
|
}
|
|
61457
61458
|
try {
|
|
61458
|
-
return i.decode(
|
|
61459
|
+
return i.decode(f, r.versionNumber);
|
|
61459
61460
|
} catch (t) {
|
|
61460
61461
|
return null;
|
|
61461
61462
|
}
|
|
@@ -61522,23 +61523,23 @@
|
|
|
61522
61523
|
":"
|
|
61523
61524
|
];
|
|
61524
61525
|
r.decode = function(t, r) {
|
|
61525
|
-
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 = {
|
|
61526
61527
|
text: "",
|
|
61527
61528
|
bytes: [],
|
|
61528
61529
|
chunks: [],
|
|
61529
61530
|
version: r
|
|
61530
|
-
};
|
|
61531
|
-
var m =
|
|
61531
|
+
}; f.available() >= 4;){
|
|
61532
|
+
var m = f.readBits(4);
|
|
61532
61533
|
if (m === s.Terminator) return h;
|
|
61533
|
-
if (m === s.ECI) 0 ===
|
|
61534
|
+
if (m === s.ECI) 0 === f.readBits(1) ? h.chunks.push({
|
|
61534
61535
|
type: a.ECI,
|
|
61535
|
-
assignmentNumber:
|
|
61536
|
-
}) : 0 ===
|
|
61536
|
+
assignmentNumber: f.readBits(7)
|
|
61537
|
+
}) : 0 === f.readBits(1) ? h.chunks.push({
|
|
61537
61538
|
type: a.ECI,
|
|
61538
|
-
assignmentNumber:
|
|
61539
|
-
}) : 0 ===
|
|
61539
|
+
assignmentNumber: f.readBits(14)
|
|
61540
|
+
}) : 0 === f.readBits(1) ? h.chunks.push({
|
|
61540
61541
|
type: a.ECI,
|
|
61541
|
-
assignmentNumber:
|
|
61542
|
+
assignmentNumber: f.readBits(21)
|
|
61542
61543
|
}) : h.chunks.push({
|
|
61543
61544
|
type: a.ECI,
|
|
61544
61545
|
assignmentNumber: -1
|
|
@@ -61569,7 +61570,7 @@
|
|
|
61569
61570
|
bytes: o,
|
|
61570
61571
|
text: n
|
|
61571
61572
|
};
|
|
61572
|
-
}(
|
|
61573
|
+
}(f, p);
|
|
61573
61574
|
h.text += g.text, (o = h.bytes).push.apply(o, g.bytes), h.chunks.push({
|
|
61574
61575
|
type: a.Numeric,
|
|
61575
61576
|
text: g.text
|
|
@@ -61592,7 +61593,7 @@
|
|
|
61592
61593
|
bytes: o,
|
|
61593
61594
|
text: n
|
|
61594
61595
|
};
|
|
61595
|
-
}(
|
|
61596
|
+
}(f, p);
|
|
61596
61597
|
h.text += b.text, (n = h.bytes).push.apply(n, b.bytes), h.chunks.push({
|
|
61597
61598
|
type: a.Alphanumeric,
|
|
61598
61599
|
text: b.text
|
|
@@ -61616,7 +61617,7 @@
|
|
|
61616
61617
|
bytes: o,
|
|
61617
61618
|
text: n
|
|
61618
61619
|
};
|
|
61619
|
-
}(
|
|
61620
|
+
}(f, p);
|
|
61620
61621
|
h.text += v.text, (i = h.bytes).push.apply(i, v.bytes), h.chunks.push({
|
|
61621
61622
|
type: a.Byte,
|
|
61622
61623
|
bytes: v.bytes,
|
|
@@ -61636,7 +61637,7 @@
|
|
|
61636
61637
|
bytes: o,
|
|
61637
61638
|
text: n
|
|
61638
61639
|
};
|
|
61639
|
-
}(
|
|
61640
|
+
}(f, p);
|
|
61640
61641
|
h.text += w.text, (u = h.bytes).push.apply(u, w.bytes), h.chunks.push({
|
|
61641
61642
|
type: a.Kanji,
|
|
61642
61643
|
bytes: w.bytes,
|
|
@@ -61644,7 +61645,7 @@
|
|
|
61644
61645
|
});
|
|
61645
61646
|
}
|
|
61646
61647
|
}
|
|
61647
|
-
if (0 ===
|
|
61648
|
+
if (0 === f.available() || 0 === f.readBits(f.available())) return h;
|
|
61648
61649
|
};
|
|
61649
61650
|
},
|
|
61650
61651
|
function(t, r, o) {
|
|
@@ -68730,7 +68731,7 @@
|
|
|
68730
68731
|
c[c.length - 1 - d] = u, 0 !== u && (l = !0);
|
|
68731
68732
|
}
|
|
68732
68733
|
if (!l) return o;
|
|
68733
|
-
var
|
|
68734
|
+
var f = new i.default(a, c), p = function(t, r, o, n) {
|
|
68734
68735
|
r.degree() < o.degree() && (r = (i = [
|
|
68735
68736
|
o,
|
|
68736
68737
|
r
|
|
@@ -68739,11 +68740,11 @@
|
|
|
68739
68740
|
var d = a, u = c;
|
|
68740
68741
|
if (a = s, c = l, a.isZero()) return null;
|
|
68741
68742
|
s = d;
|
|
68742
|
-
for(var
|
|
68743
|
+
for(var f = t.zero, p = a.getCoefficient(a.degree()), h = t.inverse(p); s.degree() >= a.degree() && !s.isZero();){
|
|
68743
68744
|
var m = s.degree() - a.degree(), g = t.multiply(s.getCoefficient(s.degree()), h);
|
|
68744
|
-
|
|
68745
|
+
f = f.addOrSubtract(t.buildMonomial(m, g)), s = s.addOrSubtract(a.multiplyByMonomial(m, g));
|
|
68745
68746
|
}
|
|
68746
|
-
if (l =
|
|
68747
|
+
if (l = f.multiplyPoly(c).addOrSubtract(u), s.degree() >= a.degree()) return null;
|
|
68747
68748
|
}
|
|
68748
68749
|
var b = l.getCoefficient(0);
|
|
68749
68750
|
if (0 === b) return null;
|
|
@@ -68752,8 +68753,8 @@
|
|
|
68752
68753
|
l.multiply(v),
|
|
68753
68754
|
s.multiply(v)
|
|
68754
68755
|
];
|
|
68755
|
-
}(a, a.buildMonomial(r, 1),
|
|
68756
|
-
if (null ===
|
|
68756
|
+
}(a, a.buildMonomial(r, 1), f, r);
|
|
68757
|
+
if (null === p) return null;
|
|
68757
68758
|
var h = function(t, r) {
|
|
68758
68759
|
var o = r.degree();
|
|
68759
68760
|
if (1 === o) return [
|
|
@@ -68761,7 +68762,7 @@
|
|
|
68761
68762
|
];
|
|
68762
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++);
|
|
68763
68764
|
return i !== o ? null : n;
|
|
68764
|
-
}(a,
|
|
68765
|
+
}(a, p[0]);
|
|
68765
68766
|
if (null == h) return null;
|
|
68766
68767
|
for(var m = function(t, r, o) {
|
|
68767
68768
|
for(var i = o.length, a = Array(i), s = 0; s < i; s++){
|
|
@@ -68769,7 +68770,7 @@
|
|
|
68769
68770
|
a[s] = t.multiply(r.evaluateAt(c), t.inverse(l)), 0 !== t.generatorBase && (a[s] = t.multiply(a[s], c));
|
|
68770
68771
|
}
|
|
68771
68772
|
return a;
|
|
68772
|
-
}(a,
|
|
68773
|
+
}(a, p[1], h), g = 0; g < h.length; g++){
|
|
68773
68774
|
var b = o.length - 1 - a.log(h[g]);
|
|
68774
68775
|
if (b < 0) return null;
|
|
68775
68776
|
o[b] = n.addOrSubtractGF(o[b], m[g]);
|
|
@@ -71250,14 +71251,14 @@
|
|
|
71250
71251
|
a32: t.y,
|
|
71251
71252
|
a33: 1
|
|
71252
71253
|
};
|
|
71253
|
-
var s = r.x - o.x, c = n.x - o.x, l = r.y - o.y, d = n.y - o.y, u = s * d - c * l,
|
|
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;
|
|
71254
71255
|
return {
|
|
71255
|
-
a11: r.x - t.x +
|
|
71256
|
-
a12: r.y - t.y +
|
|
71257
|
-
a13:
|
|
71258
|
-
a21: n.x - t.x +
|
|
71259
|
-
a22: n.y - t.y +
|
|
71260
|
-
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,
|
|
71261
71262
|
a31: t.x,
|
|
71262
71263
|
a32: t.y,
|
|
71263
71264
|
a33: 1
|
|
@@ -71286,7 +71287,7 @@
|
|
|
71286
71287
|
a31: c.a21 * c.a32 - c.a22 * c.a31,
|
|
71287
71288
|
a32: c.a12 * c.a31 - c.a11 * c.a32,
|
|
71288
71289
|
a33: c.a11 * c.a22 - c.a12 * c.a21
|
|
71289
|
-
}),
|
|
71290
|
+
}), f = (l = i(r.topLeft, r.topRight, r.alignmentPattern, r.bottomLeft), d = u, {
|
|
71290
71291
|
a11: l.a11 * d.a11 + l.a21 * d.a12 + l.a31 * d.a13,
|
|
71291
71292
|
a12: l.a12 * d.a11 + l.a22 * d.a12 + l.a32 * d.a13,
|
|
71292
71293
|
a13: l.a13 * d.a11 + l.a23 * d.a12 + l.a33 * d.a13,
|
|
@@ -71296,18 +71297,18 @@
|
|
|
71296
71297
|
a31: l.a11 * d.a31 + l.a21 * d.a32 + l.a31 * d.a33,
|
|
71297
71298
|
a32: l.a12 * d.a31 + l.a22 * d.a32 + l.a32 * d.a33,
|
|
71298
71299
|
a33: l.a13 * d.a31 + l.a23 * d.a32 + l.a33 * d.a33
|
|
71299
|
-
}),
|
|
71300
|
-
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;
|
|
71301
71302
|
return {
|
|
71302
|
-
x: (
|
|
71303
|
-
y: (
|
|
71303
|
+
x: (f.a11 * t + f.a21 * r + f.a31) / o,
|
|
71304
|
+
y: (f.a12 * t + f.a22 * r + f.a32) / o
|
|
71304
71305
|
};
|
|
71305
71306
|
}, m = 0; m < r.dimension; m++)for(var g = 0; g < r.dimension; g++){
|
|
71306
71307
|
var b = h(g + .5, m + .5);
|
|
71307
|
-
|
|
71308
|
+
p.set(g, m, t.get(Math.floor(b.x), Math.floor(b.y)));
|
|
71308
71309
|
}
|
|
71309
71310
|
return {
|
|
71310
|
-
matrix:
|
|
71311
|
+
matrix: p,
|
|
71311
71312
|
mappingFunction: h
|
|
71312
71313
|
};
|
|
71313
71314
|
};
|
|
@@ -71332,15 +71333,15 @@
|
|
|
71332
71333
|
}
|
|
71333
71334
|
], u = Math.abs(r.y - t.y) > Math.abs(r.x - t.x);
|
|
71334
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));
|
|
71335
|
-
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){
|
|
71336
71337
|
var k = u ? w : v, y = u ? v : w;
|
|
71337
71338
|
if (o.get(k, y) !== b && (b = !b, d.push({
|
|
71338
71339
|
x: k,
|
|
71339
71340
|
y: y
|
|
71340
71341
|
}), d.length === i + 1)) break;
|
|
71341
|
-
if ((h +=
|
|
71342
|
+
if ((h += p) > 0) {
|
|
71342
71343
|
if (w === l) break;
|
|
71343
|
-
w += g, h -=
|
|
71344
|
+
w += g, h -= f;
|
|
71344
71345
|
}
|
|
71345
71346
|
}
|
|
71346
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);
|
|
@@ -71376,7 +71377,7 @@
|
|
|
71376
71377
|
}, l = s(t, a, o, r.length), d = {
|
|
71377
71378
|
x: Math.min(o.width, t.x + t.y) + 1,
|
|
71378
71379
|
y: Math.min(o.height, t.y + t.x) + 1
|
|
71379
|
-
}, 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;
|
|
71380
71381
|
return g + v;
|
|
71381
71382
|
} catch (t) {
|
|
71382
71383
|
return 1 / 0;
|
|
@@ -71409,16 +71410,16 @@
|
|
|
71409
71410
|
dimension: l,
|
|
71410
71411
|
moduleSize: c
|
|
71411
71412
|
};
|
|
71412
|
-
}(a, o, c, t)).dimension,
|
|
71413
|
+
}(a, o, c, t)).dimension, f = d.moduleSize;
|
|
71413
71414
|
} catch (t) {
|
|
71414
71415
|
return null;
|
|
71415
71416
|
}
|
|
71416
|
-
var d, u,
|
|
71417
|
+
var d, u, f, p = {
|
|
71417
71418
|
x: o.x - a.x + c.x,
|
|
71418
71419
|
y: o.y - a.y + c.y
|
|
71419
|
-
}, h = (n(a, c) + n(a, o)) / 2 /
|
|
71420
|
-
x: a.x + m * (
|
|
71421
|
-
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)
|
|
71422
71423
|
}, b = r.map(function(r) {
|
|
71423
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;
|
|
71424
71425
|
if (t.get(Math.floor(o), Math.floor(a))) {
|
|
@@ -71456,7 +71457,7 @@
|
|
|
71456
71457
|
};
|
|
71457
71458
|
}
|
|
71458
71459
|
r.locate = function(t) {
|
|
71459
|
-
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) {
|
|
71460
71461
|
for(var o = 0, n = !1, a = [
|
|
71461
71462
|
0,
|
|
71462
71463
|
0,
|
|
@@ -71474,21 +71475,21 @@
|
|
|
71474
71475
|
a[4],
|
|
71475
71476
|
o
|
|
71476
71477
|
], o = 1, n = c;
|
|
71477
|
-
var l = i(a) / 7, d = Math.abs(a[0] - l) < l && Math.abs(a[1] - l) < l && Math.abs(a[2] - 3 * l) < 3 * l && Math.abs(a[3] - l) < l && Math.abs(a[4] - l) < l && !c, u = i(a.slice(-3)) / 3,
|
|
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;
|
|
71478
71479
|
if (d) {
|
|
71479
|
-
var
|
|
71480
|
+
var p = s - a[3] - a[4], h = p - a[2], m = {
|
|
71480
71481
|
startX: h,
|
|
71481
|
-
endX:
|
|
71482
|
+
endX: p,
|
|
71482
71483
|
y: r
|
|
71483
71484
|
}, g = y.filter(function(t) {
|
|
71484
|
-
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;
|
|
71485
71486
|
});
|
|
71486
71487
|
g.length > 0 ? g[0].bottom = m : y.push({
|
|
71487
71488
|
top: m,
|
|
71488
71489
|
bottom: m
|
|
71489
71490
|
});
|
|
71490
71491
|
}
|
|
71491
|
-
if (
|
|
71492
|
+
if (f) {
|
|
71492
71493
|
var b = s - a[4], v = b - a[3], m = {
|
|
71493
71494
|
startX: v,
|
|
71494
71495
|
y: r,
|
|
@@ -71582,14 +71583,14 @@
|
|
|
71582
71583
|
r,
|
|
71583
71584
|
o,
|
|
71584
71585
|
a
|
|
71585
|
-
])[0], m = c[1], g = c[2]) : (h = (
|
|
71586
|
+
])[0], m = c[1], g = c[2]) : (h = (f = [
|
|
71586
71587
|
r,
|
|
71587
71588
|
a,
|
|
71588
71589
|
o
|
|
71589
|
-
])[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 = [
|
|
71590
71591
|
g,
|
|
71591
71592
|
h
|
|
71592
|
-
])[0], g =
|
|
71593
|
+
])[0], g = p[1]), {
|
|
71593
71594
|
bottomLeft: h,
|
|
71594
71595
|
topLeft: m,
|
|
71595
71596
|
topRight: g
|
|
@@ -71756,6 +71757,15 @@
|
|
|
71756
71757
|
text-align: center;
|
|
71757
71758
|
font-size: 20px;
|
|
71758
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;
|
|
71759
71769
|
`; dt$1.div`
|
|
71760
71770
|
width: 100%;
|
|
71761
71771
|
height: 100%;
|
|
@@ -71763,7 +71773,7 @@
|
|
|
71763
71773
|
`;
|
|
71764
71774
|
({
|
|
71765
71775
|
onOrientationChange: PropTypes.func,
|
|
71766
|
-
|
|
71776
|
+
unmountOnHidden: PropTypes.bool
|
|
71767
71777
|
});
|
|
71768
71778
|
({
|
|
71769
71779
|
allowedCardTypes: PropTypes.arrayOf(PropTypes.string),
|
|
@@ -71781,16 +71791,16 @@
|
|
|
71781
71791
|
scannerTypeCons: PropTypes.shape({}).isRequired,
|
|
71782
71792
|
customTexts: PropTypes.shape({})
|
|
71783
71793
|
});
|
|
71784
|
-
let { IDCardSide:
|
|
71785
|
-
iI.ID_CARD, ra$1.IDCardSide.FRONT,
|
|
71786
|
-
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 = [
|
|
71787
71797
|
{
|
|
71788
71798
|
scannerType: iI.ID_CARD,
|
|
71789
71799
|
title: "Chụp mặt trước",
|
|
71790
71800
|
description: "Căn chỉnh giấy tờ khớp với khung h\xecnh",
|
|
71791
71801
|
titleIcon: "id_card_front.svg",
|
|
71792
71802
|
cardSide: ra$1.IDCardSide.FRONT,
|
|
71793
|
-
cardType:
|
|
71803
|
+
cardType: sq.VN,
|
|
71794
71804
|
enableConfirmPopup: !1
|
|
71795
71805
|
},
|
|
71796
71806
|
{
|
|
@@ -71799,25 +71809,25 @@
|
|
|
71799
71809
|
description: "Căn chỉnh giấy tờ khớp với khung h\xecnh",
|
|
71800
71810
|
titleIcon: "id_card_back.svg",
|
|
71801
71811
|
cardSide: ra$1.IDCardSide.BACK,
|
|
71802
|
-
cardType:
|
|
71812
|
+
cardType: sq.VN,
|
|
71803
71813
|
enableConfirmPopup: !1
|
|
71804
71814
|
}
|
|
71805
71815
|
];
|
|
71806
|
-
function
|
|
71807
|
-
if (rh) return
|
|
71816
|
+
function sH() {
|
|
71817
|
+
if (rh) return rp;
|
|
71808
71818
|
rh = 1;
|
|
71809
71819
|
var t = o9();
|
|
71810
|
-
return
|
|
71820
|
+
return rp = function() {
|
|
71811
71821
|
try {
|
|
71812
71822
|
var r = t(Object, "defineProperty");
|
|
71813
71823
|
return r({}, "", {}), r;
|
|
71814
71824
|
} catch (t) {}
|
|
71815
71825
|
}();
|
|
71816
71826
|
}
|
|
71817
|
-
function
|
|
71827
|
+
function sG() {
|
|
71818
71828
|
if (rg) return rm;
|
|
71819
71829
|
rg = 1;
|
|
71820
|
-
var t =
|
|
71830
|
+
var t = sH();
|
|
71821
71831
|
return rm = function(r, o, n) {
|
|
71822
71832
|
"__proto__" == o && t ? t(r, o, {
|
|
71823
71833
|
configurable: !0,
|
|
@@ -71827,26 +71837,26 @@
|
|
|
71827
71837
|
}) : r[o] = n;
|
|
71828
71838
|
};
|
|
71829
71839
|
}
|
|
71830
|
-
function
|
|
71840
|
+
function sZ() {
|
|
71831
71841
|
if (rv) return rb;
|
|
71832
71842
|
rv = 1;
|
|
71833
|
-
var t =
|
|
71843
|
+
var t = sG(), r = o7();
|
|
71834
71844
|
return rb = function(o, n, i) {
|
|
71835
71845
|
(void 0 === i || r(o[n], i)) && (void 0 !== i || n in o) || t(o, n, i);
|
|
71836
71846
|
};
|
|
71837
71847
|
}
|
|
71838
|
-
var
|
|
71848
|
+
var sK = {
|
|
71839
71849
|
exports: {}
|
|
71840
71850
|
};
|
|
71841
|
-
|
|
71842
|
-
function
|
|
71851
|
+
sK.exports;
|
|
71852
|
+
function sY() {
|
|
71843
71853
|
return rR ? rA : (rR = 1, rA = (rM ? rO : (rM = 1, rO = function(t, r) {
|
|
71844
71854
|
return function(o) {
|
|
71845
71855
|
return t(r(o));
|
|
71846
71856
|
};
|
|
71847
71857
|
}))(Object.getPrototypeOf, Object));
|
|
71848
71858
|
}
|
|
71849
|
-
function
|
|
71859
|
+
function sJ() {
|
|
71850
71860
|
if (rF) return rL;
|
|
71851
71861
|
rF = 1;
|
|
71852
71862
|
var t = Object.prototype;
|
|
@@ -71855,7 +71865,7 @@
|
|
|
71855
71865
|
return r === ("function" == typeof o && o.prototype || t);
|
|
71856
71866
|
};
|
|
71857
71867
|
}
|
|
71858
|
-
function
|
|
71868
|
+
function s3() {
|
|
71859
71869
|
if (rq) return rU;
|
|
71860
71870
|
rq = 1;
|
|
71861
71871
|
var t = function() {
|
|
@@ -71872,41 +71882,41 @@
|
|
|
71872
71882
|
return r(t) && n.call(t, "callee") && !i.call(t, "callee");
|
|
71873
71883
|
};
|
|
71874
71884
|
}
|
|
71875
|
-
function
|
|
71885
|
+
function s2() {
|
|
71876
71886
|
return rX ? rQ : (rX = 1, rQ = function(t) {
|
|
71877
71887
|
return "number" == typeof t && t > -1 && t % 1 == 0 && t <= 0x1fffffffffffff;
|
|
71878
71888
|
});
|
|
71879
71889
|
}
|
|
71880
|
-
function
|
|
71890
|
+
function s5() {
|
|
71881
71891
|
if (rG) return rH;
|
|
71882
71892
|
rG = 1;
|
|
71883
|
-
var t = o8(), r =
|
|
71893
|
+
var t = o8(), r = s2();
|
|
71884
71894
|
return rH = function(o) {
|
|
71885
71895
|
return null != o && r(o.length) && !t(o);
|
|
71886
71896
|
};
|
|
71887
71897
|
}
|
|
71888
|
-
var
|
|
71898
|
+
var s0 = {
|
|
71889
71899
|
exports: {}
|
|
71890
71900
|
};
|
|
71891
|
-
function
|
|
71901
|
+
function s1() {
|
|
71892
71902
|
var t, r, o, n, i, a, s, c;
|
|
71893
|
-
if (r3) return
|
|
71894
|
-
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() {
|
|
71895
71905
|
return !1;
|
|
71896
|
-
}), 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;
|
|
71897
71907
|
}
|
|
71898
|
-
|
|
71899
|
-
var
|
|
71908
|
+
s0.exports;
|
|
71909
|
+
var s8 = {
|
|
71900
71910
|
exports: {}
|
|
71901
71911
|
};
|
|
71902
|
-
|
|
71903
|
-
function
|
|
71912
|
+
s8.exports;
|
|
71913
|
+
function s9() {
|
|
71904
71914
|
if (r6) return r7;
|
|
71905
71915
|
r6 = 1;
|
|
71906
71916
|
var t = function() {
|
|
71907
71917
|
if (r1) return r0;
|
|
71908
71918
|
r1 = 1;
|
|
71909
|
-
var t = o2(), r =
|
|
71919
|
+
var t = o2(), r = s2(), o = o5(), n = {};
|
|
71910
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) {
|
|
71911
71921
|
return o(i) && r(i.length) && !!n[t(i)];
|
|
71912
71922
|
};
|
|
@@ -71916,25 +71926,25 @@
|
|
|
71916
71926
|
};
|
|
71917
71927
|
}), o = function() {
|
|
71918
71928
|
var t, r, o, n, i, a;
|
|
71919
|
-
if (r4) return
|
|
71920
|
-
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() {
|
|
71921
71931
|
try {
|
|
71922
71932
|
var t = i && i.require && i.require("util").types;
|
|
71923
71933
|
if (t) return t;
|
|
71924
71934
|
return a && a.binding && a.binding("util");
|
|
71925
71935
|
} catch (t) {}
|
|
71926
|
-
}(),
|
|
71936
|
+
}(), s8.exports;
|
|
71927
71937
|
}(), n = o && o.isTypedArray;
|
|
71928
71938
|
return r7 = n ? r(n) : t;
|
|
71929
71939
|
}
|
|
71930
|
-
function
|
|
71940
|
+
function s4() {
|
|
71931
71941
|
return ot ? oe : (ot = 1, oe = function(t, r) {
|
|
71932
71942
|
if ("constructor" !== r || "function" != typeof t[r]) {
|
|
71933
71943
|
if ("__proto__" != r) return t[r];
|
|
71934
71944
|
}
|
|
71935
71945
|
});
|
|
71936
71946
|
}
|
|
71937
|
-
function
|
|
71947
|
+
function s7() {
|
|
71938
71948
|
if (ol) return oc;
|
|
71939
71949
|
ol = 1;
|
|
71940
71950
|
var t = /^(?:0|[1-9]\d*)$/;
|
|
@@ -71943,7 +71953,7 @@
|
|
|
71943
71953
|
return !!(o = null == o ? 0x1fffffffffffff : o) && ("number" == n || "symbol" != n && t.test(r)) && r > -1 && r % 1 == 0 && r < o;
|
|
71944
71954
|
};
|
|
71945
71955
|
}
|
|
71946
|
-
function
|
|
71956
|
+
function s6() {
|
|
71947
71957
|
if (ob) return og;
|
|
71948
71958
|
ob = 1;
|
|
71949
71959
|
var t = function() {
|
|
@@ -71952,16 +71962,16 @@
|
|
|
71952
71962
|
var t = os ? oa : (os = 1, oa = function(t, r) {
|
|
71953
71963
|
for(var o = -1, n = Array(t); ++o < t;)n[o] = r(o);
|
|
71954
71964
|
return n;
|
|
71955
|
-
}), r =
|
|
71965
|
+
}), r = s3(), o = oK(), n = s1(), i = s7(), a = s9(), s = Object.prototype.hasOwnProperty;
|
|
71956
71966
|
return od = function(c, l) {
|
|
71957
|
-
var d = o(c), u = !d && r(c),
|
|
71958
|
-
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);
|
|
71959
71969
|
return m;
|
|
71960
71970
|
};
|
|
71961
71971
|
}(), r = function() {
|
|
71962
71972
|
if (om) return oh;
|
|
71963
71973
|
om = 1;
|
|
71964
|
-
var t = o1(), r =
|
|
71974
|
+
var t = o1(), r = sJ(), o = op ? of : (op = 1, of = function(t) {
|
|
71965
71975
|
var r = [];
|
|
71966
71976
|
if (null != t) for(var o in Object(t))r.push(o);
|
|
71967
71977
|
return r;
|
|
@@ -71972,12 +71982,12 @@
|
|
|
71972
71982
|
for(var c in i)"constructor" == c && (a || !n.call(i, c)) || s.push(c);
|
|
71973
71983
|
return s;
|
|
71974
71984
|
};
|
|
71975
|
-
}(), o =
|
|
71985
|
+
}(), o = s5();
|
|
71976
71986
|
return og = function(n) {
|
|
71977
71987
|
return o(n) ? t(n, !0) : r(n);
|
|
71978
71988
|
};
|
|
71979
71989
|
}
|
|
71980
|
-
function
|
|
71990
|
+
function ce() {
|
|
71981
71991
|
return ox ? o_ : (ox = 1, o_ = function(t) {
|
|
71982
71992
|
return t;
|
|
71983
71993
|
});
|
|
@@ -71989,8 +71999,8 @@
|
|
|
71989
71999
|
if (oB) return oC;
|
|
71990
72000
|
oB = 1;
|
|
71991
72001
|
var t = function() {
|
|
71992
|
-
if (
|
|
71993
|
-
|
|
72002
|
+
if (rf) return ru;
|
|
72003
|
+
rf = 1;
|
|
71994
72004
|
var t = ne(), r = function() {
|
|
71995
72005
|
if (rr) return rt;
|
|
71996
72006
|
rr = 1;
|
|
@@ -72027,7 +72037,7 @@
|
|
|
72027
72037
|
this.size = o.size;
|
|
72028
72038
|
}
|
|
72029
72039
|
return s.prototype.clear = r, s.prototype.delete = o, s.prototype.get = n, s.prototype.has = i, s.prototype.set = a, ru = s;
|
|
72030
|
-
}(), r =
|
|
72040
|
+
}(), r = sZ(), o = rC ? ry : (rC = 1, ry = (rk ? rw : (rk = 1, rw = function(t) {
|
|
72031
72041
|
return function(r, o, n) {
|
|
72032
72042
|
for(var i = -1, a = Object(r), s = n(r), c = s.length; c--;){
|
|
72033
72043
|
var l = s[t ? c : ++i];
|
|
@@ -72038,14 +72048,14 @@
|
|
|
72038
72048
|
}))()), n = function() {
|
|
72039
72049
|
if (oy) return ok;
|
|
72040
72050
|
oy = 1;
|
|
72041
|
-
var t =
|
|
72051
|
+
var t = sZ(), r = function() {
|
|
72042
72052
|
var t, r, o, n, i, a, s;
|
|
72043
|
-
if (rB) return
|
|
72044
|
-
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) {
|
|
72045
72055
|
if (r) return t.slice();
|
|
72046
72056
|
var o = t.length, n = s ? s(o) : new t.constructor(o);
|
|
72047
72057
|
return t.copy(n), n;
|
|
72048
|
-
},
|
|
72058
|
+
}, sK.exports;
|
|
72049
72059
|
}(), o = function() {
|
|
72050
72060
|
if (rT) return rE;
|
|
72051
72061
|
rT = 1;
|
|
@@ -72083,21 +72093,21 @@
|
|
|
72083
72093
|
return o.prototype = void 0, i;
|
|
72084
72094
|
};
|
|
72085
72095
|
}();
|
|
72086
|
-
}(), r =
|
|
72096
|
+
}(), r = sY(), o = sJ();
|
|
72087
72097
|
return rN = function(n) {
|
|
72088
72098
|
return "function" != typeof n.constructor || o(n) ? {} : t(r(n));
|
|
72089
72099
|
};
|
|
72090
|
-
}(), a =
|
|
72100
|
+
}(), a = s3(), s = oK(), c = function() {
|
|
72091
72101
|
if (rK) return rZ;
|
|
72092
72102
|
rK = 1;
|
|
72093
|
-
var t =
|
|
72103
|
+
var t = s5(), r = o5();
|
|
72094
72104
|
return rZ = function(o) {
|
|
72095
72105
|
return r(o) && t(o);
|
|
72096
72106
|
};
|
|
72097
|
-
}(), l =
|
|
72107
|
+
}(), l = s1(), d = o8(), u = o1(), f = function() {
|
|
72098
72108
|
if (r5) return r2;
|
|
72099
72109
|
r5 = 1;
|
|
72100
|
-
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);
|
|
72101
72111
|
return r2 = function(n) {
|
|
72102
72112
|
if (!o(n) || "[object Object]" != t(n)) return !1;
|
|
72103
72113
|
var c = r(n);
|
|
@@ -72105,7 +72115,7 @@
|
|
|
72105
72115
|
var l = a.call(c, "constructor") && c.constructor;
|
|
72106
72116
|
return "function" == typeof l && l instanceof l && i.call(l) == s;
|
|
72107
72117
|
};
|
|
72108
|
-
}(),
|
|
72118
|
+
}(), p = s9(), h = s4(), m = function() {
|
|
72109
72119
|
if (ow) return ov;
|
|
72110
72120
|
ow = 1;
|
|
72111
72121
|
var t = function() {
|
|
@@ -72114,12 +72124,12 @@
|
|
|
72114
72124
|
var t = function() {
|
|
72115
72125
|
if (oo) return or;
|
|
72116
72126
|
oo = 1;
|
|
72117
|
-
var t =
|
|
72127
|
+
var t = sG(), r = o7(), o = Object.prototype.hasOwnProperty;
|
|
72118
72128
|
return or = function(n, i, a) {
|
|
72119
72129
|
var s = n[i];
|
|
72120
72130
|
o.call(n, i) && r(s, a) && (void 0 !== a || i in n) || t(n, i, a);
|
|
72121
72131
|
};
|
|
72122
|
-
}(), r =
|
|
72132
|
+
}(), r = sG();
|
|
72123
72133
|
return on = function(o, n, i, a) {
|
|
72124
72134
|
var s = !i;
|
|
72125
72135
|
i || (i = {});
|
|
@@ -72129,7 +72139,7 @@
|
|
|
72129
72139
|
}
|
|
72130
72140
|
return i;
|
|
72131
72141
|
};
|
|
72132
|
-
}(), r =
|
|
72142
|
+
}(), r = s6();
|
|
72133
72143
|
return ov = function(o) {
|
|
72134
72144
|
return t(o, r(o));
|
|
72135
72145
|
};
|
|
@@ -72139,17 +72149,17 @@
|
|
|
72139
72149
|
if (x) return void t(g, v, x);
|
|
72140
72150
|
var P = y ? y(B, _, v + "", g, b, C) : void 0, S = void 0 === P;
|
|
72141
72151
|
if (S) {
|
|
72142
|
-
var E = s(_), T = !E && l(_), D = !E && !T &&
|
|
72143
|
-
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;
|
|
72144
72154
|
}
|
|
72145
72155
|
S && (C.set(_, P), k(P, _, w, y, C), C.delete(_)), t(g, v, P);
|
|
72146
72156
|
};
|
|
72147
|
-
}(), i = o1(), a =
|
|
72148
|
-
return oC = function c(l, d, u,
|
|
72157
|
+
}(), i = o1(), a = s6(), s = s4();
|
|
72158
|
+
return oC = function c(l, d, u, f, p) {
|
|
72149
72159
|
l !== d && o(d, function(o, a) {
|
|
72150
|
-
if (
|
|
72160
|
+
if (p || (p = new t), i(o)) n(l, d, a, u, c, f, p);
|
|
72151
72161
|
else {
|
|
72152
|
-
var h =
|
|
72162
|
+
var h = f ? f(s(l, a), o, a + "", l, d, p) : void 0;
|
|
72153
72163
|
void 0 === h && (h = o), r(l, a, h);
|
|
72154
72164
|
}
|
|
72155
72165
|
}, a);
|
|
@@ -72161,7 +72171,7 @@
|
|
|
72161
72171
|
var t = function() {
|
|
72162
72172
|
if (oF) return oL;
|
|
72163
72173
|
oF = 1;
|
|
72164
|
-
var t =
|
|
72174
|
+
var t = ce(), r = function() {
|
|
72165
72175
|
if (oT) return oE;
|
|
72166
72176
|
oT = 1;
|
|
72167
72177
|
var t = oS ? oP : (oS = 1, oP = function(t, r, o) {
|
|
@@ -72195,7 +72205,7 @@
|
|
|
72195
72205
|
return function() {
|
|
72196
72206
|
return t;
|
|
72197
72207
|
};
|
|
72198
|
-
}), r =
|
|
72208
|
+
}), r = sH(), o = ce();
|
|
72199
72209
|
return oj = r ? function(o, n) {
|
|
72200
72210
|
return r(o, "toString", {
|
|
72201
72211
|
configurable: !0,
|
|
@@ -72227,7 +72237,7 @@
|
|
|
72227
72237
|
}(), r = function() {
|
|
72228
72238
|
if (oz) return oN;
|
|
72229
72239
|
oz = 1;
|
|
72230
|
-
var t = o7(), r =
|
|
72240
|
+
var t = o7(), r = s5(), o = s7(), n = o1();
|
|
72231
72241
|
return oN = function(i, a, s) {
|
|
72232
72242
|
if (!n(s)) return !1;
|
|
72233
72243
|
var c = typeof a;
|
|
@@ -72248,7 +72258,7 @@
|
|
|
72248
72258
|
t(r, o, n);
|
|
72249
72259
|
});
|
|
72250
72260
|
}();
|
|
72251
|
-
let
|
|
72261
|
+
let ct = {
|
|
72252
72262
|
data: {
|
|
72253
72263
|
country: "vn",
|
|
72254
72264
|
settings: {
|
|
@@ -72399,12 +72409,12 @@
|
|
|
72399
72409
|
}
|
|
72400
72410
|
}
|
|
72401
72411
|
};
|
|
72402
|
-
let { DesignToken:
|
|
72403
|
-
|
|
72404
|
-
let { DesignToken:
|
|
72405
|
-
ra$1.DesignToken.Typography.h5, ra$1.DesignToken.Color.content.primary,
|
|
72406
|
-
let { DesignToken:
|
|
72407
|
-
|
|
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({
|
|
72408
72418
|
scannerType: PropTypes.string
|
|
72409
72419
|
})), PropTypes.func, PropTypes.shape({}), PropTypes.string, PropTypes.bool, PropTypes.arrayOf(PropTypes.string), PropTypes.shape({});
|
|
72410
72420
|
|
|
@@ -76621,8 +76631,7 @@
|
|
|
76621
76631
|
if (refVideoPlayed.current) return ()=>{};
|
|
76622
76632
|
if (!navigator.mediaDevices || libExports.browserName && [
|
|
76623
76633
|
'facebook'
|
|
76624
|
-
].includes(libExports.browserName.toLowerCase())
|
|
76625
|
-
) {
|
|
76634
|
+
].includes(libExports.browserName.toLowerCase())) {
|
|
76626
76635
|
setErrorMsg(t('not_supported'));
|
|
76627
76636
|
onError(Errors$a.not_supported);
|
|
76628
76637
|
} else if (videoEl) {
|
|
@@ -86951,7 +86960,7 @@
|
|
|
86951
86960
|
table-layout: auto;
|
|
86952
86961
|
border-collapse: collapse;
|
|
86953
86962
|
`;
|
|
86954
|
-
const ChildrenWrapper$
|
|
86963
|
+
const ChildrenWrapper$2 = dt$1.div`
|
|
86955
86964
|
position: relative;
|
|
86956
86965
|
`;
|
|
86957
86966
|
const rows = Array.from(Array(3).keys());
|
|
@@ -86983,7 +86992,7 @@
|
|
|
86983
86992
|
height: isCenteredCell ? height : 'auto',
|
|
86984
86993
|
...!isCenteredCell ? surroundStyle : {}
|
|
86985
86994
|
},
|
|
86986
|
-
children: isCenteredCell ? /*#__PURE__*/ jsxRuntimeExports.jsx(ChildrenWrapper$
|
|
86995
|
+
children: isCenteredCell ? /*#__PURE__*/ jsxRuntimeExports.jsx(ChildrenWrapper$2, {
|
|
86987
86996
|
style: {
|
|
86988
86997
|
width: cellWidth,
|
|
86989
86998
|
height
|
|
@@ -88809,6 +88818,97 @@
|
|
|
88809
88818
|
};
|
|
88810
88819
|
};
|
|
88811
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
|
+
|
|
88812
88912
|
const PopupContent = dt$1.div`
|
|
88813
88913
|
text-align: center;
|
|
88814
88914
|
font-size: 20px;
|
|
@@ -88820,7 +88920,7 @@
|
|
|
88820
88920
|
opacity: ${({ showChildren })=>showChildren ? 1 : 0};
|
|
88821
88921
|
`;
|
|
88822
88922
|
// eslint-disable-next-line react/require-default-props
|
|
88823
|
-
function
|
|
88923
|
+
function OrientationDetectionV1({ onOrientationChange, unmountOnHidden, children }) {
|
|
88824
88924
|
const t = gB();
|
|
88825
88925
|
const { curOrientation } = useDetectOrientation(onOrientationChange);
|
|
88826
88926
|
const shouldShowChildren = curOrientation === MODE.PORTRAIT || curOrientation === MODE.DESKTOP;
|
|
@@ -88832,22 +88932,35 @@
|
|
|
88832
88932
|
children: t('wrong_orientation')
|
|
88833
88933
|
})
|
|
88834
88934
|
}),
|
|
88835
|
-
(
|
|
88935
|
+
(unmountOnHidden ? shouldShowChildren : true) && /*#__PURE__*/ jsxRuntimeExports.jsx(ChildrenWrapper, {
|
|
88836
88936
|
showChildren: shouldShowChildren,
|
|
88837
88937
|
children: children
|
|
88838
88938
|
})
|
|
88839
88939
|
]
|
|
88840
88940
|
});
|
|
88841
88941
|
}
|
|
88842
|
-
|
|
88942
|
+
OrientationDetectionV1.defaultProps = {
|
|
88843
88943
|
onOrientationChange: ()=>{},
|
|
88844
|
-
|
|
88944
|
+
unmountOnHidden: false
|
|
88845
88945
|
};
|
|
88846
|
-
|
|
88946
|
+
OrientationDetectionV1.propTypes = {
|
|
88847
88947
|
onOrientationChange: PropTypes.func,
|
|
88848
|
-
|
|
88948
|
+
unmountOnHidden: PropTypes.bool
|
|
88849
88949
|
};
|
|
88850
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
|
+
|
|
88851
88964
|
const useEkycSession = ()=>{
|
|
88852
88965
|
const [sessionId, setSessionId] = reactExports.useState(Date.now());
|
|
88853
88966
|
const updateSessionId = reactExports.useCallback(()=>{
|
|
@@ -89067,7 +89180,7 @@
|
|
|
89067
89180
|
width: 6px;
|
|
89068
89181
|
height: 6px;
|
|
89069
89182
|
border-radius: 50%;
|
|
89070
|
-
background-color: ${getTheme('FlashLiveness.progressBar.
|
|
89183
|
+
background-color: ${getTheme('FlashLiveness.progressBar.textColor')};
|
|
89071
89184
|
margin-right: 5px;
|
|
89072
89185
|
margin-bottom: 2px;
|
|
89073
89186
|
}
|
|
@@ -117158,7 +117271,7 @@
|
|
|
117158
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'
|
|
117159
117272
|
};
|
|
117160
117273
|
|
|
117161
|
-
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";
|
|
117162
117275
|
class TVWebSDK extends gU {
|
|
117163
117276
|
constructor(props){
|
|
117164
117277
|
super({
|
|
@@ -117201,8 +117314,8 @@
|
|
|
117201
117314
|
exports.SDK = TVWebSDK;
|
|
117202
117315
|
exports.SDKAdapter = gV;
|
|
117203
117316
|
exports.ScannerType = iI;
|
|
117204
|
-
exports.defaultClientSettings =
|
|
117205
|
-
exports.defaultReadIDCardSteps =
|
|
117317
|
+
exports.defaultClientSettings = ct;
|
|
117318
|
+
exports.defaultReadIDCardSteps = sX;
|
|
117206
117319
|
exports.getSDKVersion = nB$1;
|
|
117207
117320
|
|
|
117208
117321
|
}));
|