@tsocial/tvweb-sdk 5.38.5 → 5.38.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/esm/chunk-05d6d9e1.js +1 -0
- package/build/esm/{chunk-e68eb8a3.js → chunk-1475f226.js} +1 -1
- package/build/esm/{chunk-91fdcc39.js → chunk-157188f7.js} +1 -1
- package/build/esm/{chunk-b6640bda.js → chunk-1c4b07c3.js} +1 -1
- package/build/esm/{chunk-8295b31d.js → chunk-2221afbd.js} +1 -1
- package/build/esm/{chunk-570905cb.js → chunk-22f5c20a.js} +1 -1
- package/build/esm/{chunk-4ba29034.js → chunk-306b4e50.js} +1 -1
- package/build/esm/{chunk-66453960.js → chunk-554942c8.js} +12 -2
- package/build/esm/{chunk-7b4af7bc.js → chunk-5b7735b3.js} +1 -1
- package/build/esm/{chunk-be242238.js → chunk-644e2eb3.js} +1 -1
- package/build/esm/{chunk-a2b371b3.js → chunk-759c6fe2.js} +31 -21
- package/build/esm/{chunk-8b522635.js → chunk-acfaf046.js} +1 -1
- package/build/esm/{chunk-5232d933.js → chunk-bcb6b592.js} +1 -1
- package/build/esm/{chunk-fbb15c5b.js → chunk-bd738e4a.js} +1 -1
- package/build/esm/{chunk-f0b91c22.js → chunk-c0d0d6bf.js} +1 -1
- package/build/esm/{chunk-5510f102.js → chunk-c347f1a0.js} +1 -1
- package/build/esm/{chunk-9fd54d50.js → chunk-cd0e2650.js} +1 -1
- package/build/esm/{chunk-718c6bbe.js → chunk-cd77ddca.js} +1 -1
- package/build/esm/{chunk-d51c5685.js → chunk-d34f70f1.js} +1 -1
- package/build/esm/{chunk-9d2df04f.js → chunk-ea9b0346.js} +1 -1
- package/build/esm/tvweb-sdk.esm.min.js +1 -1
- package/build/tvweb-sdk.cjs.min.js +54 -34
- package/build/tvweb-sdk.standalone.js +206 -186
- package/build/tvweb-sdk.standalone.min.js +63 -43
- package/package.json +5 -5
- package/build/esm/chunk-fbc578b8.js +0 -1
|
@@ -1186,7 +1186,7 @@
|
|
|
1186
1186
|
strokeWidth: 1
|
|
1187
1187
|
};
|
|
1188
1188
|
|
|
1189
|
-
var f="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",m$1="active",y$1="data-styled-version",v$1="6.1.12",g="/*!sc*/\n",S$1="undefined"!=typeof window&&"HTMLElement"in window,w$1=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY?"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY:"production"!=="production"),b$1={},_$1=Object.freeze([]),C$1=Object.freeze({});function I$1(e,t,n){return void 0===n&&(n=C$1),e.theme!==n.theme&&e.theme||t||n.theme}var A$1=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),O$1=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,D$1=/(^-|-$)/g;function R$1(e){return e.replace(O$1,"-").replace(D$1,"")}var T$1=/(a)(d)/gi,k$1=52,j$1=function(e){return String.fromCharCode(e+(e>25?39:97))};function x$1(e){var t,n="";for(t=Math.abs(e);t>k$1;t=t/k$1|0)n=j$1(t%k$1)+n;return (j$1(t%k$1)+n).replace(T$1,"$1-$2")}var V$1,F$1=5381,M$1=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},z$1=function(e){return M$1(F$1,e)};function $$1(e){return x$1(z$1(e)>>>0)}function B$1(e){return e.displayName||e.name||"Component"}function L$1(e){return "string"==typeof e&&("production"==="production")}var G$2="function"==typeof Symbol&&Symbol.for,Y$2=G$2?Symbol.for("react.memo"):60115,W$1=G$2?Symbol.for("react.forward_ref"):60112,q$1={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},H$1={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},U$1={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},J$2=((V$1={})[W$1]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},V$1[Y$2]=U$1,V$1);function X$1(e){return ("type"in(t=e)&&t.type.$$typeof)===Y$2?U$1:"$$typeof"in e?J$2[e.$$typeof]:q$1;var t;}var Z$1=Object.defineProperty,K$2=Object.getOwnPropertyNames,Q$1=Object.getOwnPropertySymbols,ee$2=Object.getOwnPropertyDescriptor,te$2=Object.getPrototypeOf,ne$2=Object.prototype;function oe$2(e,t,n){if("string"!=typeof t){if(ne$2){var o=te$2(t);o&&o!==ne$2&&oe$2(e,o,n);}var r=K$2(t);Q$1&&(r=r.concat(Q$1(t)));for(var s=X$1(e),i=X$1(t),a=0;a<r.length;++a){var c=r[a];if(!(c in H$1||n&&n[c]||i&&c in i||s&&c in s)){var l=ee$2(t,c);try{Z$1(e,c,l);}catch(e){}}}}return e}function re$2(e){return "function"==typeof e}function se$2(e){return "object"==typeof e&&"styledComponentId"in e}function ie$2(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function ae$2(e,t){if(0===e.length)return "";for(var n=e[0],o=1;o<e.length;o++)n+=t?t+e[o]:e[o];return n}function ce$2(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function le$1(e,t,n){if(void 0===n&&(n=!1),!n&&!ce$2(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var o=0;o<t.length;o++)e[o]=le$1(e[o],t[o]);else if(ce$2(t))for(var o in t)e[o]=le$1(e[o],t[o]);return e}function ue$1(e,t){Object.defineProperty(e,"toString",{value:t});}function he(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(t," for more information.").concat(n.length>0?" Args: ".concat(n.join(", ")):""))}var fe$1=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e;}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,r=o;e>=r;)if((r<<=1)<0)throw he(16,"".concat(e));this.groupSizes=new Uint32Array(r),this.groupSizes.set(n),this.length=r;for(var s=o;s<r;s++)this.groupSizes[s]=0;}for(var i=this.indexOfGroup(e+1),a=(s=0,t.length);s<a;s++)this.tag.insertRule(i,t[s])&&(this.groupSizes[e]++,i++);},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),o=n+t;this.groupSizes[e]=0;for(var r=n;r<o;r++)this.tag.deleteRule(n);}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],o=this.indexOfGroup(e),r=o+n,s=o;s<r;s++)t+="".concat(this.tag.getRule(s)).concat(g);return t},e}(),ye=new Map,ve=new Map,ge$1=1,Se=function(e){if(ye.has(e))return ye.get(e);for(;ve.has(ge$1);)ge$1++;var t=ge$1++;return ye.set(e,t),ve.set(t,e),t},we=function(e,t){ge$1=t+1,ye.set(e,t),ve.set(t,e);},be="style[".concat(f,"][").concat(y$1,'="').concat(v$1,'"]'),Ee=new RegExp("^".concat(f,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Ne=function(e,t,n){for(var o,r=n.split(","),s=0,i=r.length;s<i;s++)(o=r[s])&&e.registerName(t,o);},Pe=function(e,t){for(var n,o=(null!==(n=t.textContent)&&void 0!==n?n:"").split(g),r=[],s=0,i=o.length;s<i;s++){var a=o[s].trim();if(a){var c=a.match(Ee);if(c){var l=0|parseInt(c[1],10),u=c[2];0!==l&&(we(u,l),Ne(e,u,c[3]),e.getTag().insertRules(l,r)),r.length=0;}else r.push(a);}}},_e=function(e){for(var t=document.querySelectorAll(be),n=0,o=t.length;n<o;n++){var r=t[n];r&&r.getAttribute(f)!==m$1&&(Pe(e,r),r.parentNode&&r.parentNode.removeChild(r));}};function Ce(){return "undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null}var Ie=function(e){var t=document.head,n=e||t,o=document.createElement("style"),r=function(e){var t=Array.from(e.querySelectorAll("style[".concat(f,"]")));return t[t.length-1]}(n),s=void 0!==r?r.nextSibling:null;o.setAttribute(f,m$1),o.setAttribute(y$1,v$1);var i=Ce();return i&&o.setAttribute("nonce",i),n.insertBefore(o,s),o},Ae=function(){function e(e){this.element=Ie(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,o=t.length;n<o;n++){var r=t[n];if(r.ownerNode===e)return r}throw he(17)}(this.element),this.length=0;}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return !1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--;},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),Oe=function(){function e(e){this.element=Ie(e),this.nodes=this.element.childNodes,this.length=0;}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return !1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--;},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),De=function(){function e(e){this.rules=[],this.length=0;}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--;},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),Re=S$1,Te={isServer:!S$1,useCSSOMInjection:!w$1},ke=function(){function e(e,n,o){void 0===e&&(e=C$1),void 0===n&&(n={});var r=this;this.options=__assign(__assign({},Te),e),this.gs=n,this.names=new Map(o),this.server=!!e.isServer,!this.server&&S$1&&Re&&(Re=!1,_e(this)),ue$1(this,function(){return function(e){for(var t=e.getTag(),n=t.length,o="",r=function(n){var r=function(e){return ve.get(e)}(n);if(void 0===r)return "continue";var s=e.names.get(r),i=t.getGroup(n);if(void 0===s||!s.size||0===i.length)return "continue";var a="".concat(f,".g").concat(n,'[id="').concat(r,'"]'),c="";void 0!==s&&s.forEach(function(e){e.length>0&&(c+="".concat(e,","));}),o+="".concat(i).concat(a,'{content:"').concat(c,'"}').concat(g);},s=0;s<n;s++)r(s);return o}(r)});}return e.registerId=function(e){return Se(e)},e.prototype.rehydrate=function(){!this.server&&S$1&&_e(this);},e.prototype.reconstructWithOptions=function(n,o){return void 0===o&&(o=!0),new e(__assign(__assign({},this.options),n),this.gs,o&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new De(n):t?new Ae(n):new Oe(n)}(this.options),new fe$1(e)));var e;},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(Se(e),this.names.has(e))this.names.get(e).add(t);else {var n=new Set;n.add(t),this.names.set(e,n);}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(Se(e),n);},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear();},e.prototype.clearRules=function(e){this.getTag().clearGroup(Se(e)),this.clearNames(e);},e.prototype.clearTag=function(){this.tag=void 0;},e}(),je=/&/g,xe=/^\s*\/\/.*$/gm;function Ve(e,t){return e.map(function(e){return "rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map(function(e){return "".concat(t," ").concat(e)})),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=Ve(e.children,t)),e})}function Fe(e){var t,n,o,r=void 0===e?C$1:e,s=r.options,i=void 0===s?C$1:s,a=r.plugins,c=void 0===a?_$1:a,l=function(e,o,r){return r.startsWith(n)&&r.endsWith(n)&&r.replaceAll(n,"").length>0?".".concat(t):e},u=c.slice();u.push(function(e){e.type===RULESET&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(je,n).replace(o,l));}),i.prefix&&u.push(prefixer),u.push(stringify);var p=function(e,r,s,a){void 0===r&&(r=""),void 0===s&&(s=""),void 0===a&&(a="&"),t=a,n=r,o=new RegExp("\\".concat(n,"\\b"),"g");var c=e.replace(xe,""),l=compile(s||r?"".concat(s," ").concat(r," { ").concat(c," }"):c);i.namespace&&(l=Ve(l,i.namespace));var p=[];return serialize(l,middleware(u.concat(rulesheet(function(e){return p.push(e)})))),p};return p.hash=c.length?c.reduce(function(e,t){return t.name||he(15),M$1(e,t.name)},F$1).toString():"",p}var Me=new ke,ze=Fe(),$e=React.createContext({shouldForwardProp:void 0,styleSheet:Me,stylis:ze});$e.Consumer;React.createContext(void 0);function Ge(){return reactExports.useContext($e)}var We=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=ze);var o=n.name+t.hash;e.hasNameForId(n.id,o)||e.insertRules(n.id,o,t(n.rules,o,"@keyframes"));},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,ue$1(this,function(){throw he(12,String(n.name))});}return e.prototype.getName=function(e){return void 0===e&&(e=ze),this.name+e.hash},e}(),qe=function(e){return e>="A"&&e<="Z"};function He(e){for(var t="",n=0;n<e.length;n++){var o=e[n];if(1===n&&"-"===o&&"-"===e[0])return e;qe(o)?t+="-"+o.toLowerCase():t+=o;}return t.startsWith("ms-")?"-"+t:t}var Ue=function(e){return null==e||!1===e||""===e},Je=function(t){var n,o,r=[];for(var s in t){var i=t[s];t.hasOwnProperty(s)&&!Ue(i)&&(Array.isArray(i)&&i.isCss||re$2(i)?r.push("".concat(He(s),":"),i,";"):ce$2(i)?r.push.apply(r,__spreadArray(__spreadArray(["".concat(s," {")],Je(i),!1),["}"],!1)):r.push("".concat(He(s),": ").concat((n=s,null==(o=i)||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||n in unitlessKeys||n.startsWith("--")?String(o).trim():"".concat(o,"px")),";")));}return r};function Xe(e,t,n,o){if(Ue(e))return [];if(se$2(e))return [".".concat(e.styledComponentId)];if(re$2(e)){if(!re$2(s=e)||s.prototype&&s.prototype.isReactComponent||!t)return [e];var r=e(t);return Xe(r,t,n,o)}var s;return e instanceof We?n?(e.inject(n,o),[e.getName(o)]):[e]:ce$2(e)?Je(e):Array.isArray(e)?Array.prototype.concat.apply(_$1,e.map(function(e){return Xe(e,t,n,o)})):[e.toString()]}function Ze(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(re$2(n)&&!se$2(n))return !1}return !0}var Ke=z$1(v$1),Qe=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&Ze(e),this.componentId=t,this.baseHash=M$1(Ke,t),this.baseStyle=n,ke.registerId(t);}return e.prototype.generateAndInjectStyles=function(e,t,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))o=ie$2(o,this.staticRulesId);else {var r=ae$2(Xe(this.rules,e,t,n)),s=x$1(M$1(this.baseHash,r)>>>0);if(!t.hasNameForId(this.componentId,s)){var i=n(r,".".concat(s),void 0,this.componentId);t.insertRules(this.componentId,s,i);}o=ie$2(o,s),this.staticRulesId=s;}else {for(var a=M$1(this.baseHash,n.hash),c="",l=0;l<this.rules.length;l++){var u=this.rules[l];if("string"==typeof u)c+=u;else if(u){var p=ae$2(Xe(u,e,t,n));a=M$1(a,p+l),c+=p;}}if(c){var d=x$1(a>>>0);t.hasNameForId(this.componentId,d)||t.insertRules(this.componentId,d,n(c,".".concat(d),void 0,this.componentId)),o=ie$2(o,d);}}return o},e}(),et$2=React.createContext(void 0);et$2.Consumer;function nt$2(){var e=reactExports.useContext(et$2);if(!e)throw he(18);return e}function ot$2(e){var n=React.useContext(et$2),r=reactExports.useMemo(function(){return function(e,n){if(!e)throw he(14);if(re$2(e)){var o=e(n);return o}if(Array.isArray(e)||"object"!=typeof e)throw he(8);return n?__assign(__assign({},n),e):e}(e.theme,n)},[e.theme,n]);return e.children?React.createElement(et$2.Provider,{value:r},e.children):null}var rt$2={},st$2=new Set;function it$2(e,r,s){var i=se$2(e),a=e,c=!L$1(e),p=r.attrs,d=void 0===p?_$1:p,h=r.componentId,f=void 0===h?function(e,t){var n="string"!=typeof e?"sc":R$1(e);rt$2[n]=(rt$2[n]||0)+1;var o="".concat(n,"-").concat($$1(v$1+n+rt$2[n]));return t?"".concat(t,"-").concat(o):o}(r.displayName,r.parentComponentId):h,m=r.displayName,y=void 0===m?function(e){return L$1(e)?"styled.".concat(e):"Styled(".concat(B$1(e),")")}(e):m,g=r.displayName&&r.componentId?"".concat(R$1(r.displayName),"-").concat(r.componentId):r.componentId||f,S=i&&a.attrs?a.attrs.concat(d).filter(Boolean):d,w=r.shouldForwardProp;if(i&&a.shouldForwardProp){var b=a.shouldForwardProp;if(r.shouldForwardProp){var E=r.shouldForwardProp;w=function(e,t){return b(e,t)&&E(e,t)};}else w=b;}var N=new Qe(s,g,i?a.componentStyle:void 0);function O(e,r){return function(e,r,s){var i=e.attrs,a=e.componentStyle,c=e.defaultProps,p=e.foldedComponentIds,d=e.styledComponentId,h=e.target,f=React.useContext(et$2),m=Ge(),y=e.shouldForwardProp||m.shouldForwardProp;var v=I$1(r,f,c)||C$1,g=function(e,n,o){for(var r,s=__assign(__assign({},n),{className:void 0,theme:o}),i=0;i<e.length;i+=1){var a=re$2(r=e[i])?r(s):r;for(var c in a)s[c]="className"===c?ie$2(s[c],a[c]):"style"===c?__assign(__assign({},s[c]),a[c]):a[c];}return n.className&&(s.className=ie$2(s.className,n.className)),s}(i,r,v),S=g.as||h,w={};for(var b in g)void 0===g[b]||"$"===b[0]||"as"===b||"theme"===b&&g.theme===v||("forwardedAs"===b?w.as=g.forwardedAs:y&&!y(b,S)||(w[b]=g[b],y||"development"!=="production"||isPropValid(b)||st$2.has(b)||!A$1.has(S)||(st$2.add(b),console.warn('styled-components: it looks like an unknown prop "'.concat(b,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var E=function(e,t){var n=Ge(),o=e.generateAndInjectStyles(t,n.styleSheet,n.stylis);return o}(a,g);var N=ie$2(p,d);return E&&(N+=" "+E),g.className&&(N+=" "+g.className),w[L$1(S)&&!A$1.has(S)?"class":"className"]=N,w.ref=s,reactExports.createElement(S,w)}(D,e,r)}O.displayName=y;var D=React.forwardRef(O);return D.attrs=S,D.componentStyle=N,D.displayName=y,D.shouldForwardProp=w,D.foldedComponentIds=i?ie$2(a.foldedComponentIds,a.styledComponentId):"",D.styledComponentId=g,D.target=i?a.target:e,Object.defineProperty(D,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=i?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var o=0,r=t;o<r.length;o++)le$1(e,r[o],!0);return e}({},a.defaultProps,e):e;}}),ue$1(D,function(){return ".".concat(D.styledComponentId)}),c&&oe$2(D,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),D}function at$2(e,t){for(var n=[e[0]],o=0,r=t.length;o<r;o+=1)n.push(t[o],e[o+1]);return n}var ct$2=function(e){return Object.assign(e,{isCss:!0})};function lt$1(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];if(re$2(t)||ce$2(t))return ct$2(Xe(at$2(_$1,__spreadArray([t],n,!0))));var r=t;return 0===n.length&&1===r.length&&"string"==typeof r[0]?Xe(r):ct$2(Xe(at$2(r,n)))}function ut$1(n,o,r){if(void 0===r&&(r=C$1),!o)throw he(1,o);var s=function(t){for(var s=[],i=1;i<arguments.length;i++)s[i-1]=arguments[i];return n(o,r,lt$1.apply(void 0,__spreadArray([t],s,!1)))};return s.attrs=function(e){return ut$1(n,o,__assign(__assign({},r),{attrs:Array.prototype.concat(r.attrs,e).filter(Boolean)}))},s.withConfig=function(e){return ut$1(n,o,__assign(__assign({},r),e))},s}var pt$1=function(e){return ut$1(it$2,e)},dt$1=pt$1;A$1.forEach(function(e){dt$1[e]=pt$1(e);});var ht$1=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Ze(e),ke.registerId(this.componentId+1);}return e.prototype.createStyles=function(e,t,n,o){var r=o(ae$2(Xe(this.rules,t,n,o)),""),s=this.componentId+e;n.insertRules(s,s,r);},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e);},e.prototype.renderStyles=function(e,t,n,o){e>2&&ke.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,o);},e}();function ft$1(n){for(var r=[],s=1;s<arguments.length;s++)r[s-1]=arguments[s];var i=lt$1.apply(void 0,__spreadArray([n],r,!1)),a="sc-global-".concat($$1(JSON.stringify(i))),c=new ht$1(i,a);var l=function(e){var t=Ge(),n=React.useContext(et$2),r=React.useRef(t.styleSheet.allocateGSInstance(a)).current;return t.styleSheet.server&&u(r,e,t.styleSheet,n,t.stylis),React.useLayoutEffect(function(){if(!t.styleSheet.server)return u(r,e,t.styleSheet,n,t.stylis),function(){return c.removeStyles(r,t.styleSheet)}},[r,e,t.styleSheet,n,t.stylis]),null};function u(e,n,o,r,s){if(c.isStatic)c.renderStyles(e,b$1,o,s);else {var i=__assign(__assign({},n),{theme:I$1(n,r,l.defaultProps)});c.renderStyles(e,i,o,s);}}return React.memo(l)}function mt(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];var r=ae$2(lt$1.apply(void 0,__spreadArray([t],n,!1))),s=$$1(r);return new We(s,r)}
|
|
1189
|
+
var f="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",m$1="active",y$1="data-styled-version",v$1="6.1.12",g="/*!sc*/\n",S$1="undefined"!=typeof window&&"HTMLElement"in window,w$1=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY?"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY:"production"!=="production"),b$1={},_$1=Object.freeze([]),C$1=Object.freeze({});function I$1(e,t,n){return void 0===n&&(n=C$1),e.theme!==n.theme&&e.theme||t||n.theme}var A$1=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),O$1=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,D$1=/(^-|-$)/g;function R$1(e){return e.replace(O$1,"-").replace(D$1,"")}var T$1=/(a)(d)/gi,k$1=52,j$1=function(e){return String.fromCharCode(e+(e>25?39:97))};function x$1(e){var t,n="";for(t=Math.abs(e);t>k$1;t=t/k$1|0)n=j$1(t%k$1)+n;return (j$1(t%k$1)+n).replace(T$1,"$1-$2")}var V$1,F$1=5381,M$1=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},z$1=function(e){return M$1(F$1,e)};function $$1(e){return x$1(z$1(e)>>>0)}function B$1(e){return e.displayName||e.name||"Component"}function L$1(e){return "string"==typeof e&&("production"==="production")}var G$1="function"==typeof Symbol&&Symbol.for,Y$2=G$1?Symbol.for("react.memo"):60115,W$1=G$1?Symbol.for("react.forward_ref"):60112,q$1={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},H$1={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},U$1={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},J$2=((V$1={})[W$1]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},V$1[Y$2]=U$1,V$1);function X$1(e){return ("type"in(t=e)&&t.type.$$typeof)===Y$2?U$1:"$$typeof"in e?J$2[e.$$typeof]:q$1;var t;}var Z$2=Object.defineProperty,K$2=Object.getOwnPropertyNames,Q$1=Object.getOwnPropertySymbols,ee$2=Object.getOwnPropertyDescriptor,te$2=Object.getPrototypeOf,ne$2=Object.prototype;function oe$2(e,t,n){if("string"!=typeof t){if(ne$2){var o=te$2(t);o&&o!==ne$2&&oe$2(e,o,n);}var r=K$2(t);Q$1&&(r=r.concat(Q$1(t)));for(var s=X$1(e),i=X$1(t),a=0;a<r.length;++a){var c=r[a];if(!(c in H$1||n&&n[c]||i&&c in i||s&&c in s)){var l=ee$2(t,c);try{Z$2(e,c,l);}catch(e){}}}}return e}function re$2(e){return "function"==typeof e}function se$2(e){return "object"==typeof e&&"styledComponentId"in e}function ie$2(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function ae$2(e,t){if(0===e.length)return "";for(var n=e[0],o=1;o<e.length;o++)n+=t?t+e[o]:e[o];return n}function ce$2(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function le$1(e,t,n){if(void 0===n&&(n=!1),!n&&!ce$2(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var o=0;o<t.length;o++)e[o]=le$1(e[o],t[o]);else if(ce$2(t))for(var o in t)e[o]=le$1(e[o],t[o]);return e}function ue$1(e,t){Object.defineProperty(e,"toString",{value:t});}function he(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(t," for more information.").concat(n.length>0?" Args: ".concat(n.join(", ")):""))}var fe$1=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e;}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,r=o;e>=r;)if((r<<=1)<0)throw he(16,"".concat(e));this.groupSizes=new Uint32Array(r),this.groupSizes.set(n),this.length=r;for(var s=o;s<r;s++)this.groupSizes[s]=0;}for(var i=this.indexOfGroup(e+1),a=(s=0,t.length);s<a;s++)this.tag.insertRule(i,t[s])&&(this.groupSizes[e]++,i++);},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),o=n+t;this.groupSizes[e]=0;for(var r=n;r<o;r++)this.tag.deleteRule(n);}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],o=this.indexOfGroup(e),r=o+n,s=o;s<r;s++)t+="".concat(this.tag.getRule(s)).concat(g);return t},e}(),ye=new Map,ve=new Map,ge$1=1,Se=function(e){if(ye.has(e))return ye.get(e);for(;ve.has(ge$1);)ge$1++;var t=ge$1++;return ye.set(e,t),ve.set(t,e),t},we=function(e,t){ge$1=t+1,ye.set(e,t),ve.set(t,e);},be="style[".concat(f,"][").concat(y$1,'="').concat(v$1,'"]'),Ee=new RegExp("^".concat(f,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Ne=function(e,t,n){for(var o,r=n.split(","),s=0,i=r.length;s<i;s++)(o=r[s])&&e.registerName(t,o);},Pe=function(e,t){for(var n,o=(null!==(n=t.textContent)&&void 0!==n?n:"").split(g),r=[],s=0,i=o.length;s<i;s++){var a=o[s].trim();if(a){var c=a.match(Ee);if(c){var l=0|parseInt(c[1],10),u=c[2];0!==l&&(we(u,l),Ne(e,u,c[3]),e.getTag().insertRules(l,r)),r.length=0;}else r.push(a);}}},_e=function(e){for(var t=document.querySelectorAll(be),n=0,o=t.length;n<o;n++){var r=t[n];r&&r.getAttribute(f)!==m$1&&(Pe(e,r),r.parentNode&&r.parentNode.removeChild(r));}};function Ce(){return "undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null}var Ie=function(e){var t=document.head,n=e||t,o=document.createElement("style"),r=function(e){var t=Array.from(e.querySelectorAll("style[".concat(f,"]")));return t[t.length-1]}(n),s=void 0!==r?r.nextSibling:null;o.setAttribute(f,m$1),o.setAttribute(y$1,v$1);var i=Ce();return i&&o.setAttribute("nonce",i),n.insertBefore(o,s),o},Ae=function(){function e(e){this.element=Ie(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,o=t.length;n<o;n++){var r=t[n];if(r.ownerNode===e)return r}throw he(17)}(this.element),this.length=0;}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return !1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--;},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),Oe=function(){function e(e){this.element=Ie(e),this.nodes=this.element.childNodes,this.length=0;}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return !1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--;},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),De=function(){function e(e){this.rules=[],this.length=0;}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--;},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),Re=S$1,Te={isServer:!S$1,useCSSOMInjection:!w$1},ke=function(){function e(e,n,o){void 0===e&&(e=C$1),void 0===n&&(n={});var r=this;this.options=__assign(__assign({},Te),e),this.gs=n,this.names=new Map(o),this.server=!!e.isServer,!this.server&&S$1&&Re&&(Re=!1,_e(this)),ue$1(this,function(){return function(e){for(var t=e.getTag(),n=t.length,o="",r=function(n){var r=function(e){return ve.get(e)}(n);if(void 0===r)return "continue";var s=e.names.get(r),i=t.getGroup(n);if(void 0===s||!s.size||0===i.length)return "continue";var a="".concat(f,".g").concat(n,'[id="').concat(r,'"]'),c="";void 0!==s&&s.forEach(function(e){e.length>0&&(c+="".concat(e,","));}),o+="".concat(i).concat(a,'{content:"').concat(c,'"}').concat(g);},s=0;s<n;s++)r(s);return o}(r)});}return e.registerId=function(e){return Se(e)},e.prototype.rehydrate=function(){!this.server&&S$1&&_e(this);},e.prototype.reconstructWithOptions=function(n,o){return void 0===o&&(o=!0),new e(__assign(__assign({},this.options),n),this.gs,o&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new De(n):t?new Ae(n):new Oe(n)}(this.options),new fe$1(e)));var e;},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(Se(e),this.names.has(e))this.names.get(e).add(t);else {var n=new Set;n.add(t),this.names.set(e,n);}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(Se(e),n);},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear();},e.prototype.clearRules=function(e){this.getTag().clearGroup(Se(e)),this.clearNames(e);},e.prototype.clearTag=function(){this.tag=void 0;},e}(),je=/&/g,xe=/^\s*\/\/.*$/gm;function Ve(e,t){return e.map(function(e){return "rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map(function(e){return "".concat(t," ").concat(e)})),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=Ve(e.children,t)),e})}function Fe(e){var t,n,o,r=void 0===e?C$1:e,s=r.options,i=void 0===s?C$1:s,a=r.plugins,c=void 0===a?_$1:a,l=function(e,o,r){return r.startsWith(n)&&r.endsWith(n)&&r.replaceAll(n,"").length>0?".".concat(t):e},u=c.slice();u.push(function(e){e.type===RULESET&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(je,n).replace(o,l));}),i.prefix&&u.push(prefixer),u.push(stringify);var p=function(e,r,s,a){void 0===r&&(r=""),void 0===s&&(s=""),void 0===a&&(a="&"),t=a,n=r,o=new RegExp("\\".concat(n,"\\b"),"g");var c=e.replace(xe,""),l=compile(s||r?"".concat(s," ").concat(r," { ").concat(c," }"):c);i.namespace&&(l=Ve(l,i.namespace));var p=[];return serialize(l,middleware(u.concat(rulesheet(function(e){return p.push(e)})))),p};return p.hash=c.length?c.reduce(function(e,t){return t.name||he(15),M$1(e,t.name)},F$1).toString():"",p}var Me=new ke,ze=Fe(),$e=React.createContext({shouldForwardProp:void 0,styleSheet:Me,stylis:ze});$e.Consumer;React.createContext(void 0);function Ge(){return reactExports.useContext($e)}var We=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=ze);var o=n.name+t.hash;e.hasNameForId(n.id,o)||e.insertRules(n.id,o,t(n.rules,o,"@keyframes"));},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,ue$1(this,function(){throw he(12,String(n.name))});}return e.prototype.getName=function(e){return void 0===e&&(e=ze),this.name+e.hash},e}(),qe=function(e){return e>="A"&&e<="Z"};function He(e){for(var t="",n=0;n<e.length;n++){var o=e[n];if(1===n&&"-"===o&&"-"===e[0])return e;qe(o)?t+="-"+o.toLowerCase():t+=o;}return t.startsWith("ms-")?"-"+t:t}var Ue=function(e){return null==e||!1===e||""===e},Je=function(t){var n,o,r=[];for(var s in t){var i=t[s];t.hasOwnProperty(s)&&!Ue(i)&&(Array.isArray(i)&&i.isCss||re$2(i)?r.push("".concat(He(s),":"),i,";"):ce$2(i)?r.push.apply(r,__spreadArray(__spreadArray(["".concat(s," {")],Je(i),!1),["}"],!1)):r.push("".concat(He(s),": ").concat((n=s,null==(o=i)||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||n in unitlessKeys||n.startsWith("--")?String(o).trim():"".concat(o,"px")),";")));}return r};function Xe(e,t,n,o){if(Ue(e))return [];if(se$2(e))return [".".concat(e.styledComponentId)];if(re$2(e)){if(!re$2(s=e)||s.prototype&&s.prototype.isReactComponent||!t)return [e];var r=e(t);return Xe(r,t,n,o)}var s;return e instanceof We?n?(e.inject(n,o),[e.getName(o)]):[e]:ce$2(e)?Je(e):Array.isArray(e)?Array.prototype.concat.apply(_$1,e.map(function(e){return Xe(e,t,n,o)})):[e.toString()]}function Ze(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(re$2(n)&&!se$2(n))return !1}return !0}var Ke=z$1(v$1),Qe=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&Ze(e),this.componentId=t,this.baseHash=M$1(Ke,t),this.baseStyle=n,ke.registerId(t);}return e.prototype.generateAndInjectStyles=function(e,t,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))o=ie$2(o,this.staticRulesId);else {var r=ae$2(Xe(this.rules,e,t,n)),s=x$1(M$1(this.baseHash,r)>>>0);if(!t.hasNameForId(this.componentId,s)){var i=n(r,".".concat(s),void 0,this.componentId);t.insertRules(this.componentId,s,i);}o=ie$2(o,s),this.staticRulesId=s;}else {for(var a=M$1(this.baseHash,n.hash),c="",l=0;l<this.rules.length;l++){var u=this.rules[l];if("string"==typeof u)c+=u;else if(u){var p=ae$2(Xe(u,e,t,n));a=M$1(a,p+l),c+=p;}}if(c){var d=x$1(a>>>0);t.hasNameForId(this.componentId,d)||t.insertRules(this.componentId,d,n(c,".".concat(d),void 0,this.componentId)),o=ie$2(o,d);}}return o},e}(),et$2=React.createContext(void 0);et$2.Consumer;function nt$2(){var e=reactExports.useContext(et$2);if(!e)throw he(18);return e}function ot$2(e){var n=React.useContext(et$2),r=reactExports.useMemo(function(){return function(e,n){if(!e)throw he(14);if(re$2(e)){var o=e(n);return o}if(Array.isArray(e)||"object"!=typeof e)throw he(8);return n?__assign(__assign({},n),e):e}(e.theme,n)},[e.theme,n]);return e.children?React.createElement(et$2.Provider,{value:r},e.children):null}var rt$2={},st$2=new Set;function it$2(e,r,s){var i=se$2(e),a=e,c=!L$1(e),p=r.attrs,d=void 0===p?_$1:p,h=r.componentId,f=void 0===h?function(e,t){var n="string"!=typeof e?"sc":R$1(e);rt$2[n]=(rt$2[n]||0)+1;var o="".concat(n,"-").concat($$1(v$1+n+rt$2[n]));return t?"".concat(t,"-").concat(o):o}(r.displayName,r.parentComponentId):h,m=r.displayName,y=void 0===m?function(e){return L$1(e)?"styled.".concat(e):"Styled(".concat(B$1(e),")")}(e):m,g=r.displayName&&r.componentId?"".concat(R$1(r.displayName),"-").concat(r.componentId):r.componentId||f,S=i&&a.attrs?a.attrs.concat(d).filter(Boolean):d,w=r.shouldForwardProp;if(i&&a.shouldForwardProp){var b=a.shouldForwardProp;if(r.shouldForwardProp){var E=r.shouldForwardProp;w=function(e,t){return b(e,t)&&E(e,t)};}else w=b;}var N=new Qe(s,g,i?a.componentStyle:void 0);function O(e,r){return function(e,r,s){var i=e.attrs,a=e.componentStyle,c=e.defaultProps,p=e.foldedComponentIds,d=e.styledComponentId,h=e.target,f=React.useContext(et$2),m=Ge(),y=e.shouldForwardProp||m.shouldForwardProp;var v=I$1(r,f,c)||C$1,g=function(e,n,o){for(var r,s=__assign(__assign({},n),{className:void 0,theme:o}),i=0;i<e.length;i+=1){var a=re$2(r=e[i])?r(s):r;for(var c in a)s[c]="className"===c?ie$2(s[c],a[c]):"style"===c?__assign(__assign({},s[c]),a[c]):a[c];}return n.className&&(s.className=ie$2(s.className,n.className)),s}(i,r,v),S=g.as||h,w={};for(var b in g)void 0===g[b]||"$"===b[0]||"as"===b||"theme"===b&&g.theme===v||("forwardedAs"===b?w.as=g.forwardedAs:y&&!y(b,S)||(w[b]=g[b],y||"development"!=="production"||isPropValid(b)||st$2.has(b)||!A$1.has(S)||(st$2.add(b),console.warn('styled-components: it looks like an unknown prop "'.concat(b,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var E=function(e,t){var n=Ge(),o=e.generateAndInjectStyles(t,n.styleSheet,n.stylis);return o}(a,g);var N=ie$2(p,d);return E&&(N+=" "+E),g.className&&(N+=" "+g.className),w[L$1(S)&&!A$1.has(S)?"class":"className"]=N,w.ref=s,reactExports.createElement(S,w)}(D,e,r)}O.displayName=y;var D=React.forwardRef(O);return D.attrs=S,D.componentStyle=N,D.displayName=y,D.shouldForwardProp=w,D.foldedComponentIds=i?ie$2(a.foldedComponentIds,a.styledComponentId):"",D.styledComponentId=g,D.target=i?a.target:e,Object.defineProperty(D,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=i?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var o=0,r=t;o<r.length;o++)le$1(e,r[o],!0);return e}({},a.defaultProps,e):e;}}),ue$1(D,function(){return ".".concat(D.styledComponentId)}),c&&oe$2(D,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),D}function at$2(e,t){for(var n=[e[0]],o=0,r=t.length;o<r;o+=1)n.push(t[o],e[o+1]);return n}var ct$2=function(e){return Object.assign(e,{isCss:!0})};function lt$1(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];if(re$2(t)||ce$2(t))return ct$2(Xe(at$2(_$1,__spreadArray([t],n,!0))));var r=t;return 0===n.length&&1===r.length&&"string"==typeof r[0]?Xe(r):ct$2(Xe(at$2(r,n)))}function ut$1(n,o,r){if(void 0===r&&(r=C$1),!o)throw he(1,o);var s=function(t){for(var s=[],i=1;i<arguments.length;i++)s[i-1]=arguments[i];return n(o,r,lt$1.apply(void 0,__spreadArray([t],s,!1)))};return s.attrs=function(e){return ut$1(n,o,__assign(__assign({},r),{attrs:Array.prototype.concat(r.attrs,e).filter(Boolean)}))},s.withConfig=function(e){return ut$1(n,o,__assign(__assign({},r),e))},s}var pt$1=function(e){return ut$1(it$2,e)},dt$1=pt$1;A$1.forEach(function(e){dt$1[e]=pt$1(e);});var ht$1=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Ze(e),ke.registerId(this.componentId+1);}return e.prototype.createStyles=function(e,t,n,o){var r=o(ae$2(Xe(this.rules,t,n,o)),""),s=this.componentId+e;n.insertRules(s,s,r);},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e);},e.prototype.renderStyles=function(e,t,n,o){e>2&&ke.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,o);},e}();function ft$1(n){for(var r=[],s=1;s<arguments.length;s++)r[s-1]=arguments[s];var i=lt$1.apply(void 0,__spreadArray([n],r,!1)),a="sc-global-".concat($$1(JSON.stringify(i))),c=new ht$1(i,a);var l=function(e){var t=Ge(),n=React.useContext(et$2),r=React.useRef(t.styleSheet.allocateGSInstance(a)).current;return t.styleSheet.server&&u(r,e,t.styleSheet,n,t.stylis),React.useLayoutEffect(function(){if(!t.styleSheet.server)return u(r,e,t.styleSheet,n,t.stylis),function(){return c.removeStyles(r,t.styleSheet)}},[r,e,t.styleSheet,n,t.stylis]),null};function u(e,n,o,r,s){if(c.isStatic)c.renderStyles(e,b$1,o,s);else {var i=__assign(__assign({},n),{theme:I$1(n,r,l.defaultProps)});c.renderStyles(e,i,o,s);}}return React.memo(l)}function mt(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];var r=ae$2(lt$1.apply(void 0,__spreadArray([t],n,!1))),s=$$1(r);return new We(s,r)}
|
|
1190
1190
|
|
|
1191
1191
|
var reactDom = {exports: {}};
|
|
1192
1192
|
|
|
@@ -2289,7 +2289,7 @@
|
|
|
2289
2289
|
_.unable_to_load_model.code,
|
|
2290
2290
|
_.no_permission.code
|
|
2291
2291
|
];
|
|
2292
|
-
var q, z, K$1, H, G
|
|
2292
|
+
var q, z, K$1, H, G, Q, W, $, Z$1, X, Y$1, J$1, ee$1, et$1, er$1, en$1, ei$1, ea$1, eo$1, es$1, ec$1, el$1, eu$1, ed$1, ef$1, eh$1, ep$1, eg$1, em$1, ey$1, ev$1, e_$1, eb$1, eC$1, ex$1, ew$1, eS$1, ek$1, eE$1, eB$1, eA$1, eI$1, eT$1, eP$1, eR$1, eD$1, eN$1, eL$1, eO$1, eU$1, eM$1, eV$1, eF$1, ej$1, eq$1, ez$1, eK$1, eH$1, eG$1, eQ$1, eW$1, e$$1, eZ$1, eX$1, eY$1, eJ$1, e0$1, e1$1, e2$1, e4$1, e3$1, e5$1, e6$1, e8$1, e9$1, e7$1, te$1, tt$1, tr$1, tn$1, ti$1, ta$1, to$1, ts$1, tc$1, tl$1, tu$1, td$1, tf$1, th$1, tp$1, tg$1, tm$1, ty$1, tv$1, t_$1, tb$1, tC$1, tx$1, tw$1, tS$1, tk$1, tE$1, tB$1, tA$1, tI$1, tT$1, tP$1, tR$1, tD$1, tN$1, tL$1, tO$1, tU$1, tM$1, tV$1, tF$1, tj$1, tq$1, tz$1, tK$1, tH$1, tG$1, tQ$1, tW$1, t$$1, tZ$1, tX$1, tY$1, tJ$1, t0$1, t1$1, t2$1, t4$1, t3$1, t5$1, t6$1, t8$1, t9$1, t7$1, re$1, rt$1, rr$1, rn$1, ri$1, ra$1, ro$1, rs$1, rc$1, rl$1, ru$1, rd$1, rf$1, rh$1, rp$1, rg$1, rm$1, ry$1, rv$1, r_$1, rb$1, rC$1, rx$1, rw$1, rS$1, rk$1, rE$1, rB$1, rA$1, rI$1, rT$1, rP$1, rR$1, rD$1, rN$1, rL$1, rO$1, rU$1, rM$1, rV$1, rF$1, rj$1, rq$1, rz$1, rK$1, rH$1, rG$1, rQ$1, rW$1, r$$1, rZ$1, rX$1, rY$1, rJ$1, r0$1, r1$1, r2$1, r4$1, r3$1, r5$1, r6$1, r8$1, r9$1, r7$1, ne$1, nt$1, nr$1, nn$1, ni$1, na$1, no$1, ns$1, nc$1, nl$1, nu$1, nd$1, nf$1, nh$1, np$1, ng$1, nm$1, ny$1, nv$1, n_$1, nb$1, nC$1, nx$1, nw$1, nS$1, nk$1, nE$1, nB$1, nA$1, nI$1, nT$1, nP$1, nR$1, nD$1, nN$1, nL$1, nO$1, nU$1, nM$1, nV$1, nF$1, nj$1, nq$1, nz$1, nK$1, nH$1, nG$1, nQ$1, nW$1, n$$1, nZ$1, nX$1, nY, nJ$1, n0$1, n1$1, n2, n4$1, n3, n5$1, n6$1, n8$1, n9$1, n7$1, ie$1, it$1, ir$1, ii$1, ia$1, io$1, is$1, ic$1, il$1, iu$1, id$1, ih$1, ip$1, ig$1, im$1, iy, iv$1, i_$1, ib$1, iC$1, ix, iw$1, iS$1, ik$1, iE, iB$1, iA$1, iI$1, iT$1, iP$1, iR$1, iD$1, iN$1, iL$1, iO$1, iU$1, iM$1, iV$1, iF$1, ij$1, iq$1, iz$1, iK, iH, iG, iQ$1, iW$1, i$$1, iZ$1, iX$1, iY$1, iJ$1, i0, i1$1, i2, i4$1, i3$1, i5, i6$1, i8$1, i9$1, i7$1, ae$1, at$1, ar$1, an$1, ai$1, aa$1, ao$1, as$1, ac$1, al$1, au$1, ad$1, af$1, ah, ap$1, ag$1, am, ay$1, av$1, a_$1, ab$1, aC$1, ax$1, aw$1, aS$1, ak$1, aE$1, aB$1, aA$1, aI$1, aT$1, aP$1, aR$1, aD$1, aN$1, aL$1, aO$1, aU$1, aM$1, aV$1, aF$1, aj$1, aq$1, az$1, aK$1, aH$1, aG$1, aQ$1, aW$1, a$$1, aZ$1, aX$1, aY$1, aJ$1, a0$1, a1$1, a2$1, a4$1, a3$1, a5$1, a6$1, a8$1, a9$1, a7$1, oe$1, ot$1, or$1, on$1, oi$1, oa$1, oo$1, os$1, oc$1, ol$1, ou$1, od$1, of$1, oh$1, op$1, og$1, om$1, oy$1, ov$1, o_$1, ob$1, oC$1, ox$1, ow$1, oS$1, ok$1, oE$1, oB$1, oA$1, oI$1, oT$1, oP$1, oR$1, oD$1, oN$1, oL$1, oO$1, oU, oM$1, oV$1, oF$1, oj$1, oq$1, oz$1, oK$1, oH$1, oG$1, oQ$1, oW$1, o$$1, oZ$1, oX$1, oY$1, oJ$1, o0$1, o1$1, o2$1, o4$1, o3$1, o5$1, o6$1, o8$1, o9$1, o7$1, se$1, st$1, sr, sn, si, sa, so, ss$1, sc = Object.freeze({
|
|
2293
2293
|
__proto__: null,
|
|
2294
2294
|
AlertErrors: m,
|
|
2295
2295
|
BillingErrors: v,
|
|
@@ -3122,8 +3122,8 @@
|
|
|
3122
3122
|
var sd = {
|
|
3123
3123
|
exports: {}
|
|
3124
3124
|
}, sf = {}, sh = Q ? sd.exports : (Q = 1, sd.exports = function() {
|
|
3125
|
-
if (G
|
|
3126
|
-
G
|
|
3125
|
+
if (G) return sf;
|
|
3126
|
+
G = 1;
|
|
3127
3127
|
var e = 60103;
|
|
3128
3128
|
if (sf.Fragment = 60107, "function" == typeof Symbol && Symbol.for) {
|
|
3129
3129
|
var t = Symbol.for;
|
|
@@ -3151,7 +3151,7 @@
|
|
|
3151
3151
|
return sf.jsx = o, sf.jsxs = o, sf;
|
|
3152
3152
|
}(), sd.exports);
|
|
3153
3153
|
function sp() {
|
|
3154
|
-
return X ? Z : (X = 1, Z = function(e, t) {
|
|
3154
|
+
return X ? Z$1 : (X = 1, Z$1 = function(e, t) {
|
|
3155
3155
|
return e === t || e != e && t != t;
|
|
3156
3156
|
});
|
|
3157
3157
|
}
|
|
@@ -19065,7 +19065,7 @@
|
|
|
19065
19065
|
}, cB;
|
|
19066
19066
|
}();
|
|
19067
19067
|
function cP() {
|
|
19068
|
-
return "5.38.
|
|
19068
|
+
return "5.38.6";
|
|
19069
19069
|
}
|
|
19070
19070
|
function cR() {
|
|
19071
19071
|
return {
|
|
@@ -21772,7 +21772,7 @@
|
|
|
21772
21772
|
e
|
|
21773
21773
|
];
|
|
21774
21774
|
}), r;
|
|
21775
|
-
}), a = iQ$1 ? iG
|
|
21775
|
+
}), a = iQ$1 ? iG : (iQ$1 = 1, iG = function(e) {
|
|
21776
21776
|
var t = -1, r = Array(e.size);
|
|
21777
21777
|
return e.forEach(function(e) {
|
|
21778
21778
|
r[++t] = e;
|
|
@@ -21811,10 +21811,10 @@
|
|
|
21811
21811
|
return !1;
|
|
21812
21812
|
};
|
|
21813
21813
|
}(), n = function() {
|
|
21814
|
-
if (iX$1) return iZ;
|
|
21814
|
+
if (iX$1) return iZ$1;
|
|
21815
21815
|
iX$1 = 1;
|
|
21816
21816
|
var e = cS(), t = Object.prototype.hasOwnProperty;
|
|
21817
|
-
return iZ = function(r, n, i, a, o, s) {
|
|
21817
|
+
return iZ$1 = function(r, n, i, a, o, s) {
|
|
21818
21818
|
var c = 1 & i, l = e(r), u = l.length;
|
|
21819
21819
|
if (u != e(n).length && !c) return !1;
|
|
21820
21820
|
for(var d = u; d--;){
|
|
@@ -22634,58 +22634,58 @@
|
|
|
22634
22634
|
}
|
|
22635
22635
|
return 1 === n && (r += l3(i << 2)), r;
|
|
22636
22636
|
}
|
|
22637
|
-
|
|
22638
|
-
|
|
22639
|
-
|
|
22640
|
-
|
|
22637
|
+
let l6 = l7, l8 = l7, l9 = ut();
|
|
22638
|
+
for(;;)try {
|
|
22639
|
+
if (parseInt(l8(471)) / 1 * (parseInt(l8(466)) / 2) + -parseInt(l8(463)) / 3 * (-parseInt(l8(452)) / 4) + -parseInt(l8(455)) / 5 * (-parseInt(l8(456)) / 6) + parseInt(l8(472)) / 7 * (-parseInt(l8(464)) / 8) + -parseInt(l8(469)) / 9 + -parseInt(l8(465)) / 10 * (parseInt(l8(470)) / 11) + parseInt(l8(453)) / 12 * (-parseInt(l8(460)) / 13) === 656826) break;
|
|
22640
|
+
l9.push(l9.shift());
|
|
22641
|
+
} catch (e) {
|
|
22642
|
+
l9.push(l9.shift());
|
|
22643
|
+
}
|
|
22644
|
+
function l7(e, t) {
|
|
22645
|
+
let r = ut();
|
|
22646
|
+
return (l7 = function(e, t) {
|
|
22647
|
+
return r[e -= 452];
|
|
22641
22648
|
})(e, t);
|
|
22642
22649
|
}
|
|
22643
|
-
|
|
22650
|
+
l6(457), l6(454), l6(462);
|
|
22651
|
+
let ue = l6(473) + l6(474) + l6(461) + l6(468) + l6(467) + "ytJdcsPxrD" + l6(458) + "44P0rKKsZKMjci1ul8mmD9EKOWS+U4MfPrcYTM70" + l6(459) + "KA==";
|
|
22652
|
+
function ut() {
|
|
22644
22653
|
let e = [
|
|
22645
|
-
"
|
|
22646
|
-
"
|
|
22647
|
-
"
|
|
22648
|
-
"
|
|
22654
|
+
"1932876DEhjgA",
|
|
22655
|
+
"6006OYlkKv",
|
|
22656
|
+
"371141VtXZwl",
|
|
22657
|
+
"7szxUMG",
|
|
22658
|
+
"MFkwEwYHKo",
|
|
22649
22659
|
"ZIzj0CAQYI",
|
|
22650
|
-
"
|
|
22651
|
-
"
|
|
22652
|
-
"
|
|
22653
|
-
"
|
|
22654
|
-
"
|
|
22660
|
+
"80ZEFmCS",
|
|
22661
|
+
"108dFGKtX",
|
|
22662
|
+
"072a8648ce",
|
|
22663
|
+
"354150hdyMBe",
|
|
22664
|
+
"48VwQKZC",
|
|
22655
22665
|
"3059301306",
|
|
22656
|
-
"
|
|
22657
|
-
"
|
|
22658
|
-
"
|
|
22659
|
-
"
|
|
22660
|
-
"MFkwEwYHKo",
|
|
22661
|
-
"0301070342",
|
|
22662
|
-
"900SAhsys",
|
|
22663
|
-
"4PErhmY",
|
|
22664
|
-
"296178IjUOdi",
|
|
22666
|
+
"+faHkP3QC3",
|
|
22667
|
+
"ssRdXLZEX8",
|
|
22668
|
+
"837187oRQeZV",
|
|
22669
|
+
"KoZIzj0DAQ",
|
|
22665
22670
|
"2a8648ce3d",
|
|
22666
|
-
"
|
|
22667
|
-
"
|
|
22671
|
+
"195963YYvRIA",
|
|
22672
|
+
"5233576oCFopr",
|
|
22673
|
+
"9340fbnood",
|
|
22674
|
+
"4zUPGbR",
|
|
22675
|
+
"DepBO8t60S",
|
|
22676
|
+
"cDQgAE9h6Z"
|
|
22668
22677
|
];
|
|
22669
|
-
return (
|
|
22678
|
+
return (ut = function() {
|
|
22670
22679
|
return e;
|
|
22671
22680
|
})();
|
|
22672
22681
|
}
|
|
22673
|
-
let l9 = l6, l7 = l6, ue = l8();
|
|
22674
|
-
for(;;)try {
|
|
22675
|
-
if (parseInt(l7(277)) / 1 * (parseInt(l7(278)) / 2) + -parseInt(l7(263)) / 3 * (parseInt(l7(259)) / 4) + parseInt(l7(275)) / 5 + parseInt(l7(260)) / 6 * (parseInt(l7(272)) / 7) + parseInt(l7(266)) / 8 * (-parseInt(l7(258)) / 9) + parseInt(l7(276)) / 10 * (parseInt(l7(271)) / 11) + parseInt(l7(265)) / 12 * (-parseInt(l7(267)) / 13) === 886797) break;
|
|
22676
|
-
ue.push(ue.shift());
|
|
22677
|
-
} catch (e) {
|
|
22678
|
-
ue.push(ue.shift());
|
|
22679
|
-
}
|
|
22680
|
-
l9(274), l9(261), l9(280), l9(262);
|
|
22681
|
-
let ut = l9(279) + l9(268) + "KoZIzj0DAQ" + l9(273) + "DepBO8t60S" + l9(269) + "+faHkP3QC3" + l9(270) + "Mjci1ul8mmD9EKOWS+U4MfPrcYTM70" + l9(264) + "KA==";
|
|
22682
22682
|
function ur(e) {
|
|
22683
22683
|
let t = atob(e), r = new Uint8Array(t.length);
|
|
22684
22684
|
for(let e = 0; e < t.length; e++)r[e] = t.charCodeAt(e);
|
|
22685
22685
|
return r.buffer;
|
|
22686
22686
|
}
|
|
22687
22687
|
async function un(e) {
|
|
22688
|
-
let t = ur(e ||
|
|
22688
|
+
let t = ur(e || ue), r = await crypto.subtle.importKey("spki", t, {
|
|
22689
22689
|
name: "ECDSA",
|
|
22690
22690
|
namedCurve: "P-256"
|
|
22691
22691
|
}, !1, [
|
|
@@ -26724,7 +26724,7 @@
|
|
|
26724
26724
|
return this.getKey().getPublicKey();
|
|
26725
26725
|
}, e.prototype.getPublicKeyB64 = function() {
|
|
26726
26726
|
return this.getKey().getPublicBaseKeyB64();
|
|
26727
|
-
}, e.version = "5.38.
|
|
26727
|
+
}, e.version = "5.38.5", e;
|
|
26728
26728
|
}();
|
|
26729
26729
|
let fx = [
|
|
26730
26730
|
"-",
|
|
@@ -34578,19 +34578,19 @@
|
|
|
34578
34578
|
});
|
|
34579
34579
|
};
|
|
34580
34580
|
|
|
34581
|
-
var
|
|
34581
|
+
var Z, K, Y, J, ee, et, er, eo, en, ei, ea, es, ec, el, ed, eu, ep, ef, eh, em, eg, eb, ew, ev, ek, ey, eC, eB, e_, ex, eP, eS, eE, eT, eD, e$, eI, eM, ej, eO, eR, eA, eL, eF, ez, eN, eV, eW, eU, eq, eQ, eX, eH, eG, eZ, eK, eY, eJ, e3, e2, e5, e0, e1, e8, e9, e4, e6, e7, te, tt, tr, to, tn, ti, ta, ts, tc, tl, td, tu, tp, tf, th, tm, tg, tb, tw, tv, tk, ty, tC, tB, t_, tx, tP, tS, tE, tT, tD, t$, tI, tM, tj, tO, tR, tA, tL, tF, tz, tN, tV, tW, tU, tq, tQ, tX, tH, tG, tZ, tK, tY, tJ, t3, t2, t5, t0, t1, t8, t9, t4, t6, t7, re, rt, rr, ro, rn, ri, ra, rs, rc, rl, rd, ru, rp, rf, rh, rm, rg, rb, rw, rv, rk, ry, rC, rB, r_, rx, rP, rS, rE, rT, rD, r$, rI, rM, rj, rO, rR, rA, rL, rF, rz, rN, rV, rW, rU, rq, rQ, rX, rH, rG, rZ, rK, rY, rJ, r3, r2, r5, r0, r1, r8, r9, r4, r6, r7, oe, ot, or, oo, on, oi, oa, os, oc, ol, od, ou, op, of, oh, om, og, ob, ow, ov, ok, oy, oC, oB, o_, ox, oP, oS, oE, oT, oD, o$, oI, oM, oj, oO, oR, oA, oL, oF, oz, oN, oV, oW, oq, oQ = "undefined" != typeof globalThis ? globalThis : "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof self ? self : {};
|
|
34582
34582
|
function oX(t) {
|
|
34583
34583
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
34584
34584
|
}
|
|
34585
34585
|
var oH = {
|
|
34586
34586
|
exports: {}
|
|
34587
|
-
},
|
|
34588
|
-
if (
|
|
34589
|
-
|
|
34587
|
+
}, oG = {}, oZ = K ? oH.exports : (K = 1, oH.exports = function() {
|
|
34588
|
+
if (Z) return oG;
|
|
34589
|
+
Z = 1;
|
|
34590
34590
|
var r = 60103;
|
|
34591
|
-
if (
|
|
34591
|
+
if (oG.Fragment = 60107, "function" == typeof Symbol && Symbol.for) {
|
|
34592
34592
|
var o = Symbol.for;
|
|
34593
|
-
r = o("react.element"),
|
|
34593
|
+
r = o("react.element"), oG.Fragment = o("react.fragment");
|
|
34594
34594
|
}
|
|
34595
34595
|
var n = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = Object.prototype.hasOwnProperty, a = {
|
|
34596
34596
|
key: !0,
|
|
@@ -34611,7 +34611,7 @@
|
|
|
34611
34611
|
_owner: n.current
|
|
34612
34612
|
};
|
|
34613
34613
|
}
|
|
34614
|
-
return
|
|
34614
|
+
return oG.jsx = s, oG.jsxs = s, oG;
|
|
34615
34615
|
}(), oH.exports);
|
|
34616
34616
|
function oK() {
|
|
34617
34617
|
return J ? Y : (J = 1, Y = Array.isArray);
|
|
@@ -34729,7 +34729,7 @@
|
|
|
34729
34729
|
return eO ? ej : (eO = 1, ej = o9()(Object, "create"));
|
|
34730
34730
|
}
|
|
34731
34731
|
function o6() {
|
|
34732
|
-
return eK ?
|
|
34732
|
+
return eK ? eZ : (eK = 1, eZ = function(t, r) {
|
|
34733
34733
|
return t === r || t != t && r != r;
|
|
34734
34734
|
});
|
|
34735
34735
|
}
|
|
@@ -34745,7 +34745,7 @@
|
|
|
34745
34745
|
function ne() {
|
|
34746
34746
|
if (e7) return e6;
|
|
34747
34747
|
e7 = 1;
|
|
34748
|
-
var t =
|
|
34748
|
+
var t = eG ? eH : (eG = 1, eH = function() {
|
|
34749
34749
|
this.__data__ = [], this.size = 0;
|
|
34750
34750
|
}), r = function() {
|
|
34751
34751
|
if (e2) return e3;
|
|
@@ -35408,7 +35408,7 @@
|
|
|
35408
35408
|
for(var n = 0; n < r[o].length; n++)if (U(r[o][n], t)) return "?" === o ? void 0 : o;
|
|
35409
35409
|
} else if (U(r[o], t)) return "?" === o ? void 0 : o;
|
|
35410
35410
|
return t;
|
|
35411
|
-
},
|
|
35411
|
+
}, G = {
|
|
35412
35412
|
ME: "4.90",
|
|
35413
35413
|
"NT 3.11": "NT3.51",
|
|
35414
35414
|
"NT 4.0": "NT4.0",
|
|
@@ -35426,7 +35426,7 @@
|
|
|
35426
35426
|
"NT 10.0"
|
|
35427
35427
|
],
|
|
35428
35428
|
RT: "ARM"
|
|
35429
|
-
},
|
|
35429
|
+
}, Z = {
|
|
35430
35430
|
browser: [
|
|
35431
35431
|
[
|
|
35432
35432
|
/\b(?:crmo|crios)\/([\w\.]+)/i
|
|
@@ -37356,7 +37356,7 @@
|
|
|
37356
37356
|
[
|
|
37357
37357
|
h,
|
|
37358
37358
|
H,
|
|
37359
|
-
|
|
37359
|
+
G
|
|
37360
37360
|
]
|
|
37361
37361
|
],
|
|
37362
37362
|
[
|
|
@@ -37368,7 +37368,7 @@
|
|
|
37368
37368
|
[
|
|
37369
37369
|
h,
|
|
37370
37370
|
H,
|
|
37371
|
-
|
|
37371
|
+
G
|
|
37372
37372
|
],
|
|
37373
37373
|
[
|
|
37374
37374
|
u,
|
|
@@ -37536,7 +37536,7 @@
|
|
|
37536
37536
|
]
|
|
37537
37537
|
}, K = function(t, r) {
|
|
37538
37538
|
if (typeof t === s && (r = t, t = void 0), !(this instanceof K)) return new K(t, r).getResult();
|
|
37539
|
-
var n = typeof o !== a && o.navigator ? o.navigator : void 0, g = t || (n && n.userAgent ? n.userAgent : ""), v = n && n.userAgentData ? n.userAgentData : void 0, k = r ? V(
|
|
37539
|
+
var n = typeof o !== a && o.navigator ? o.navigator : void 0, g = t || (n && n.userAgent ? n.userAgent : ""), v = n && n.userAgentData ? n.userAgentData : void 0, k = r ? V(Z, r) : Z, y = n && n.userAgent == g;
|
|
37540
37540
|
return this.getBrowser = function() {
|
|
37541
37541
|
var t, r = {};
|
|
37542
37542
|
return r[u] = void 0, r[h] = void 0, X.call(r, g, k.browser), r[l] = typeof (t = r[h]) === c ? t.replace(/[^\d\.]/g, "").split(".")[0] : void 0, y && n && n.brave && typeof n.brave.isBrave == i && (r[u] = "Brave"), r;
|
|
@@ -37808,9 +37808,9 @@
|
|
|
37808
37808
|
return O(t.vendor);
|
|
37809
37809
|
}, H = function(t) {
|
|
37810
37810
|
return O(t.model);
|
|
37811
|
-
}, Z = function(t) {
|
|
37812
|
-
return O(t.type, "browser");
|
|
37813
37811
|
}, G = function(t) {
|
|
37812
|
+
return O(t.type, "browser");
|
|
37813
|
+
}, Z = function(t) {
|
|
37814
37814
|
return t.name === I.Android;
|
|
37815
37815
|
}, K = function(t) {
|
|
37816
37816
|
return t.name === I.Windows;
|
|
@@ -37889,7 +37889,7 @@
|
|
|
37889
37889
|
isTablet: z(o) || eC(),
|
|
37890
37890
|
isBrowser: W(o),
|
|
37891
37891
|
isDesktop: W(o),
|
|
37892
|
-
isAndroid:
|
|
37892
|
+
isAndroid: Z(i),
|
|
37893
37893
|
isWinPhone: J(i),
|
|
37894
37894
|
isIOS: ee(i) || eC(),
|
|
37895
37895
|
isChrome: eo(n),
|
|
@@ -37909,7 +37909,7 @@
|
|
|
37909
37909
|
getUA: ex(s),
|
|
37910
37910
|
isEdge: ea(n) || ek(s),
|
|
37911
37911
|
isYandex: es(n),
|
|
37912
|
-
deviceType:
|
|
37912
|
+
deviceType: G(o),
|
|
37913
37913
|
isIOS13: ey(),
|
|
37914
37914
|
isIPad13: eC(),
|
|
37915
37915
|
isIPhone13: eB(),
|
|
@@ -37923,7 +37923,7 @@
|
|
|
37923
37923
|
isSamsungBrowser: ef(n)
|
|
37924
37924
|
};
|
|
37925
37925
|
}
|
|
37926
|
-
var eS = V(c), eE = q(c), eT = U(c), eD = Q(c), e$ = el(a) || eC(), eI = ei(a), eM = N(c) || eC(), ej = F(c), eO = z(c) || eC(), eR = W(c), eA = W(c), eL =
|
|
37926
|
+
var eS = V(c), eE = q(c), eT = U(c), eD = Q(c), e$ = el(a) || eC(), eI = ei(a), eM = N(c) || eC(), ej = F(c), eO = z(c) || eC(), eR = W(c), eA = W(c), eL = Z(d), eF = J(d), ez = ee(d) || eC(), eN = eo(a), eV = en(a), eW = ec(a), eU = ed(a), eq = eu(a), eQ = et(d), eX = er(d), eH = eh(a), eG = em(a), eZ = eg(a), eK = X(c), eY = H(c), eJ = eb(l), e3 = ew(l), e2 = ex(u), e5 = ea(a) || ek(u), e0 = es(a), e1 = G(c), e8 = ey(), e9 = eC(), e4 = eB(), e6 = e_(), e7 = ev(), te = ek(u), tt = ea(a) && !ek(u), tr = K(d), to = Y(d), tn = ep(a), ti = ef(a);
|
|
37927
37927
|
function ta(t) {
|
|
37928
37928
|
return f(t || window.navigator.userAgent);
|
|
37929
37929
|
}
|
|
@@ -38008,7 +38008,7 @@
|
|
|
38008
38008
|
"children"
|
|
38009
38009
|
]);
|
|
38010
38010
|
return eF ? n ? o.createElement(React.Fragment, null, i) : o.createElement("div", a, i) : null;
|
|
38011
|
-
}, nP.browserName =
|
|
38011
|
+
}, nP.browserName = eZ, nP.browserVersion = eG, nP.deviceDetect = function(t) {
|
|
38012
38012
|
var r, o, n, i, a, s, c, l, d, u, p, m, g, b, w, v, k, y, C, B, _, x, P = t ? f(t) : h, S = P.device, E = P.browser, T = P.engine, D = P.os, $ = P.ua, I = j(S.type), M = I.isBrowser, R = I.isMobile, A = I.isTablet, F = I.isSmartTV, z = I.isConsole, N = I.isWearable, V = I.isEmbedded;
|
|
38013
38013
|
if (M) {
|
|
38014
38014
|
return r = M, o = E, n = T, i = D, a = $, {
|
|
@@ -38233,24 +38233,24 @@
|
|
|
38233
38233
|
].keys());
|
|
38234
38234
|
function nj(t) {
|
|
38235
38235
|
let { children: r, x: o, y: n, width: i, height: a, className: s, surroundStyle: c } = t;
|
|
38236
|
-
return
|
|
38236
|
+
return oZ.jsx(nD, {
|
|
38237
38237
|
className: s,
|
|
38238
|
-
children:
|
|
38239
|
-
children: nI.map((t, s)=>
|
|
38238
|
+
children: oZ.jsx("tbody", {
|
|
38239
|
+
children: nI.map((t, s)=>oZ.jsx("tr", {
|
|
38240
38240
|
style: {
|
|
38241
38241
|
height: 0 === s ? n : "auto"
|
|
38242
38242
|
},
|
|
38243
38243
|
"data-testid": "row",
|
|
38244
38244
|
children: nM.map((t, n)=>{
|
|
38245
38245
|
let l = 1 === s && 1 === n, d = "auto";
|
|
38246
|
-
return l ? d = i : 0 === n && (d = o),
|
|
38246
|
+
return l ? d = i : 0 === n && (d = o), oZ.jsx("td", {
|
|
38247
38247
|
"data-testid": l ? "centeredCell" : "cell",
|
|
38248
38248
|
style: {
|
|
38249
38249
|
width: d,
|
|
38250
38250
|
height: l ? a : "auto",
|
|
38251
38251
|
...!l ? c : {}
|
|
38252
38252
|
},
|
|
38253
|
-
children: l ?
|
|
38253
|
+
children: l ? oZ.jsx(n$, {
|
|
38254
38254
|
style: {
|
|
38255
38255
|
width: d,
|
|
38256
38256
|
height: a
|
|
@@ -38622,7 +38622,7 @@
|
|
|
38622
38622
|
u,
|
|
38623
38623
|
p
|
|
38624
38624
|
]);
|
|
38625
|
-
return
|
|
38625
|
+
return oZ.jsx(nU.Provider, {
|
|
38626
38626
|
value: f,
|
|
38627
38627
|
children: s
|
|
38628
38628
|
});
|
|
@@ -38642,7 +38642,7 @@
|
|
|
38642
38642
|
${(t)=>t.flipHorizontal && `
|
|
38643
38643
|
transform: scale(${-1 * t.scale}, ${+t.scale});
|
|
38644
38644
|
`}
|
|
38645
|
-
`,
|
|
38645
|
+
`, nG = dt$1.div`
|
|
38646
38646
|
cursor: pointer;
|
|
38647
38647
|
text-align: center;
|
|
38648
38648
|
width: 50px;
|
|
@@ -38650,7 +38650,7 @@
|
|
|
38650
38650
|
img {
|
|
38651
38651
|
width: 100%;
|
|
38652
38652
|
}
|
|
38653
|
-
`,
|
|
38653
|
+
`, nZ = dt$1(nG)`
|
|
38654
38654
|
z-index: ${2e3};
|
|
38655
38655
|
position: fixed;
|
|
38656
38656
|
cursor: pointer;
|
|
@@ -38915,20 +38915,20 @@
|
|
|
38915
38915
|
c
|
|
38916
38916
|
]), reactExports.useEffect(()=>()=>{
|
|
38917
38917
|
l.current && (l.current.getTracks().forEach((t)=>t.stop()), l.current = null);
|
|
38918
|
-
}, []),
|
|
38918
|
+
}, []), oZ.jsx(nq, {
|
|
38919
38919
|
videoElement: C.current,
|
|
38920
|
-
children:
|
|
38920
|
+
children: oZ.jsxs(nX, {
|
|
38921
38921
|
id: `tv-camera-${T.current}`,
|
|
38922
38922
|
checkCameraMode: d,
|
|
38923
38923
|
children: [
|
|
38924
38924
|
(()=>{
|
|
38925
38925
|
if (!M) return null;
|
|
38926
38926
|
let t = N("no_permission");
|
|
38927
|
-
return M === t && nT.isIOS ?
|
|
38927
|
+
return M === t && nT.isIOS ? oZ.jsxs(nK, {
|
|
38928
38928
|
children: [
|
|
38929
38929
|
M,
|
|
38930
38930
|
" ",
|
|
38931
|
-
|
|
38931
|
+
oZ.jsx("button", {
|
|
38932
38932
|
onClick: ()=>{
|
|
38933
38933
|
window.location.reload();
|
|
38934
38934
|
},
|
|
@@ -38938,11 +38938,11 @@
|
|
|
38938
38938
|
}[D]
|
|
38939
38939
|
})
|
|
38940
38940
|
]
|
|
38941
|
-
}) :
|
|
38941
|
+
}) : oZ.jsx(nK, {
|
|
38942
38942
|
children: M
|
|
38943
38943
|
});
|
|
38944
38944
|
})(),
|
|
38945
|
-
|
|
38945
|
+
oZ.jsx(nH, {
|
|
38946
38946
|
ref: C,
|
|
38947
38947
|
playsInline: !0,
|
|
38948
38948
|
muted: !0,
|
|
@@ -38954,10 +38954,10 @@
|
|
|
38954
38954
|
_ ? /*#__PURE__*/ React.cloneElement(_, {
|
|
38955
38955
|
onClick: H,
|
|
38956
38956
|
"data-testid": "close-camera"
|
|
38957
|
-
}) :
|
|
38957
|
+
}) : oZ.jsx(nZ, {
|
|
38958
38958
|
onClick: H,
|
|
38959
38959
|
"data-testid": "close-camera",
|
|
38960
|
-
children:
|
|
38960
|
+
children: oZ.jsx("img", {
|
|
38961
38961
|
src: I,
|
|
38962
38962
|
alt: ""
|
|
38963
38963
|
})
|
|
@@ -39226,7 +39226,7 @@
|
|
|
39226
39226
|
}, il = /*#__PURE__*/ reactExports.forwardRef(function(r, a) {
|
|
39227
39227
|
var s = r.trigger, c = void 0 === s ? null : s, l = r.onOpen, u = void 0 === l ? function() {} : l, p = r.onClose, f = void 0 === p ? function() {} : p, h = r.defaultOpen, m = r.open, g = void 0 === m ? void 0 : m, b = r.disabled, w = void 0 !== b && b, v = r.nested, k = void 0 !== v && v, y = r.closeOnDocumentClick, C = void 0 === y || y, B = r.repositionOnResize, _ = r.closeOnEscape, x = r.on, P = void 0 === x ? [
|
|
39228
39228
|
"click"
|
|
39229
|
-
] : x, S = r.contentStyle, E = void 0 === S ? {} : S, T = r.arrowStyle, D = void 0 === T ? {} : T, $ = r.overlayStyle, I = r.className, M = void 0 === I ? "" : I, j = r.position, O = void 0 === j ? "bottom center" : j, R = r.modal, A = void 0 !== R && R, L = r.lockScroll, F = void 0 !== L && L, z = r.arrow, N = void 0 === z || z, V = r.offsetX, W = void 0 === V ? 0 : V, U = r.offsetY, q = void 0 === U ? 0 : U, Q = r.mouseEnterDelay, X = void 0 === Q ? 100 : Q, H = r.mouseLeaveDelay,
|
|
39229
|
+
] : x, S = r.contentStyle, E = void 0 === S ? {} : S, T = r.arrowStyle, D = void 0 === T ? {} : T, $ = r.overlayStyle, I = r.className, M = void 0 === I ? "" : I, j = r.position, O = void 0 === j ? "bottom center" : j, R = r.modal, A = void 0 !== R && R, L = r.lockScroll, F = void 0 !== L && L, z = r.arrow, N = void 0 === z || z, V = r.offsetX, W = void 0 === V ? 0 : V, U = r.offsetY, q = void 0 === U ? 0 : U, Q = r.mouseEnterDelay, X = void 0 === Q ? 100 : Q, H = r.mouseLeaveDelay, 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 = !!A || !c, el = reactExports.useRef(0);
|
|
39230
39230
|
n6(function() {
|
|
39231
39231
|
return et ? (ea.current = document.activeElement, ev(), ew(), eg()) : eb(), function() {
|
|
39232
39232
|
clearTimeout(el.current);
|
|
@@ -39259,7 +39259,7 @@
|
|
|
39259
39259
|
}, em = function(t) {
|
|
39260
39260
|
clearTimeout(el.current), el.current = setTimeout(function() {
|
|
39261
39261
|
return eu(t);
|
|
39262
|
-
},
|
|
39262
|
+
}, Z);
|
|
39263
39263
|
}, eg = function() {
|
|
39264
39264
|
ec && F && (document.getElementsByTagName("body")[0].style.overflow = "hidden");
|
|
39265
39265
|
}, eb = function() {
|
|
@@ -39418,9 +39418,9 @@
|
|
|
39418
39418
|
top: 0;
|
|
39419
39419
|
bottom: 0
|
|
39420
39420
|
}
|
|
39421
|
-
`, iu = 2e3, ip = ({ open: t = !1, children: r = null, overlayStyle: o = {}, ...n })=>t ?
|
|
39421
|
+
`, iu = 2e3, ip = ({ open: t = !1, children: r = null, overlayStyle: o = {}, ...n })=>t ? oZ.jsxs(oZ.Fragment, {
|
|
39422
39422
|
children: [
|
|
39423
|
-
|
|
39423
|
+
oZ.jsx(il, {
|
|
39424
39424
|
overlayStyle: {
|
|
39425
39425
|
...o,
|
|
39426
39426
|
zIndex: iu
|
|
@@ -39432,7 +39432,7 @@
|
|
|
39432
39432
|
...n,
|
|
39433
39433
|
children: r
|
|
39434
39434
|
}),
|
|
39435
|
-
|
|
39435
|
+
oZ.jsx(id, {})
|
|
39436
39436
|
]
|
|
39437
39437
|
}) : null, ih = {
|
|
39438
39438
|
IDCapturing: {
|
|
@@ -39660,12 +39660,12 @@
|
|
|
39660
39660
|
d,
|
|
39661
39661
|
i
|
|
39662
39662
|
]), h = s + a * u, m = f[n];
|
|
39663
|
-
return
|
|
39663
|
+
return oZ.jsxs("svg", {
|
|
39664
39664
|
width: r,
|
|
39665
39665
|
height: o,
|
|
39666
39666
|
className: t,
|
|
39667
39667
|
children: [
|
|
39668
|
-
|
|
39668
|
+
oZ.jsx("rect", {
|
|
39669
39669
|
x: a / 2,
|
|
39670
39670
|
y: a / 2,
|
|
39671
39671
|
rx: s,
|
|
@@ -39674,19 +39674,19 @@
|
|
|
39674
39674
|
height: o - a,
|
|
39675
39675
|
style: m
|
|
39676
39676
|
}),
|
|
39677
|
-
|
|
39677
|
+
oZ.jsx("path", {
|
|
39678
39678
|
d: `M0,${h} Q0,0 ${h},0 L0,0 Z`,
|
|
39679
39679
|
style: c
|
|
39680
39680
|
}),
|
|
39681
|
-
|
|
39681
|
+
oZ.jsx("path", {
|
|
39682
39682
|
d: `M0,${o - h} Q0,${o} ${h},${o} L0,${o} Z`,
|
|
39683
39683
|
style: c
|
|
39684
39684
|
}),
|
|
39685
|
-
|
|
39685
|
+
oZ.jsx("path", {
|
|
39686
39686
|
d: `M${r - h},${o} Q${r},${o} ${r},${o - h} L${r},${o} Z`,
|
|
39687
39687
|
style: c
|
|
39688
39688
|
}),
|
|
39689
|
-
|
|
39689
|
+
oZ.jsx("path", {
|
|
39690
39690
|
d: `M${r - h},0 Q${r},0 ${r},${h} L${r},0 Z`,
|
|
39691
39691
|
style: c
|
|
39692
39692
|
})
|
|
@@ -39964,7 +39964,17 @@
|
|
|
39964
39964
|
position: absolute;
|
|
39965
39965
|
top: 0;
|
|
39966
39966
|
left: 0;
|
|
39967
|
-
|
|
39967
|
+
/*
|
|
39968
|
+
* Size the frame with real CSS, not just the width/height HTML attributes.
|
|
39969
|
+
* Presentational attributes lose to a host's layered author CSS such as
|
|
39970
|
+
* Tailwind Preflight (@layer base img,video max-width:100% height:auto),
|
|
39971
|
+
* which would otherwise recompute the PNG height and desync it from the mask.
|
|
39972
|
+
* styled-components emits unlayered CSS, so this wins the cascade, no !important.
|
|
39973
|
+
*/
|
|
39974
|
+
width: ${(t)=>t.width}px;
|
|
39975
|
+
height: ${(t)=>t.height}px;
|
|
39976
|
+
max-width: none;
|
|
39977
|
+
`, iZ = dt$1.div`
|
|
39968
39978
|
${ik}
|
|
39969
39979
|
${iD}
|
|
39970
39980
|
`; dt$1.img`
|
|
@@ -40145,16 +40155,16 @@
|
|
|
40145
40155
|
theme: o
|
|
40146
40156
|
})
|
|
40147
40157
|
});
|
|
40148
|
-
return
|
|
40158
|
+
return oZ.jsxs(iZ, {
|
|
40149
40159
|
width: n,
|
|
40150
40160
|
height: i,
|
|
40151
40161
|
children: [
|
|
40152
|
-
|
|
40162
|
+
oZ.jsx(iX, {
|
|
40153
40163
|
src: a === ig ? d : l,
|
|
40154
40164
|
width: n,
|
|
40155
40165
|
height: i
|
|
40156
40166
|
}),
|
|
40157
|
-
|
|
40167
|
+
oZ.jsx(iQ, {
|
|
40158
40168
|
type: a,
|
|
40159
40169
|
...s,
|
|
40160
40170
|
...u
|
|
@@ -40193,10 +40203,10 @@
|
|
|
40193
40203
|
padding: 10px;
|
|
40194
40204
|
`, ao = ({ contentStyle: t = {} })=>{
|
|
40195
40205
|
let { lang: r, warmupMessage: o } = cl$1.useSDKSettings(), n = gv(), i = o ? o?.[r] : n("warmup_intro");
|
|
40196
|
-
return
|
|
40206
|
+
return oZ.jsx(ip, {
|
|
40197
40207
|
open: !0,
|
|
40198
40208
|
contentStyle: t,
|
|
40199
|
-
children:
|
|
40209
|
+
children: oZ.jsx(ar, {
|
|
40200
40210
|
className: "warmup-message",
|
|
40201
40211
|
children: i
|
|
40202
40212
|
})
|
|
@@ -40257,15 +40267,15 @@
|
|
|
40257
40267
|
cursor: pointer;
|
|
40258
40268
|
`, ad = ({ onOk: t = ()=>{}, maxSessionTime: r = 30 })=>{
|
|
40259
40269
|
let o = gv();
|
|
40260
|
-
return
|
|
40270
|
+
return oZ.jsxs(as, {
|
|
40261
40271
|
children: [
|
|
40262
|
-
|
|
40272
|
+
oZ.jsx(ac, {
|
|
40263
40273
|
className: "popup-message",
|
|
40264
40274
|
children: o("timeout_instruction", {
|
|
40265
40275
|
x: r
|
|
40266
40276
|
})
|
|
40267
40277
|
}),
|
|
40268
|
-
|
|
40278
|
+
oZ.jsx(al, {
|
|
40269
40279
|
className: "popup-button",
|
|
40270
40280
|
onClick: t,
|
|
40271
40281
|
children: o("btn_ok")
|
|
@@ -40299,18 +40309,18 @@
|
|
|
40299
40309
|
if (tJ) return tY;
|
|
40300
40310
|
tJ = 1;
|
|
40301
40311
|
var t = function() {
|
|
40302
|
-
if (tK) return
|
|
40312
|
+
if (tK) return tZ;
|
|
40303
40313
|
tK = 1;
|
|
40304
40314
|
var t = function() {
|
|
40305
|
-
if (
|
|
40306
|
-
|
|
40315
|
+
if (tG) return tH;
|
|
40316
|
+
tG = 1;
|
|
40307
40317
|
var t = /\s/;
|
|
40308
40318
|
return tH = function(r) {
|
|
40309
40319
|
for(var o = r.length; o-- && t.test(r.charAt(o)););
|
|
40310
40320
|
return o;
|
|
40311
40321
|
};
|
|
40312
40322
|
}(), r = /^\s+/;
|
|
40313
|
-
return
|
|
40323
|
+
return tZ = function(o) {
|
|
40314
40324
|
return o ? o.slice(0, t(o) + 1).replace(r, "") : o;
|
|
40315
40325
|
};
|
|
40316
40326
|
}(), r = o1(), o = o0(), n = 0 / 0, i = /^[-+]0x[0-9a-f]+$/i, a = /^0b[01]+$/i, s = /^0o[0-7]+$/i, c = parseInt;
|
|
@@ -40929,15 +40939,15 @@
|
|
|
40929
40939
|
input:checked + &:before {
|
|
40930
40940
|
transform: translateX(28px);
|
|
40931
40941
|
}
|
|
40932
|
-
`, aF = ({ checked: t, onChange: r, disabled: o = !1 })=>
|
|
40942
|
+
`, aF = ({ checked: t, onChange: r, disabled: o = !1 })=>oZ.jsxs(aA, {
|
|
40933
40943
|
$disabled: o,
|
|
40934
40944
|
children: [
|
|
40935
|
-
|
|
40945
|
+
oZ.jsx("input", {
|
|
40936
40946
|
type: "checkbox",
|
|
40937
40947
|
checked: t,
|
|
40938
40948
|
onChange: r
|
|
40939
40949
|
}),
|
|
40940
|
-
|
|
40950
|
+
oZ.jsx(aL, {
|
|
40941
40951
|
className: "slider"
|
|
40942
40952
|
})
|
|
40943
40953
|
]
|
|
@@ -40972,7 +40982,7 @@
|
|
|
40972
40982
|
circleDuration: i - a,
|
|
40973
40983
|
checkmarkDuration: a
|
|
40974
40984
|
});
|
|
40975
|
-
return
|
|
40985
|
+
return oZ.jsxs(aW, {
|
|
40976
40986
|
width: "56",
|
|
40977
40987
|
height: "56",
|
|
40978
40988
|
viewBox: "0 0 56 56",
|
|
@@ -40982,17 +40992,17 @@
|
|
|
40982
40992
|
$circleDuration: s,
|
|
40983
40993
|
$checkmarkDuration: c,
|
|
40984
40994
|
children: [
|
|
40985
|
-
|
|
40995
|
+
oZ.jsxs("g", {
|
|
40986
40996
|
filter: "url(#auto_capture_blur)",
|
|
40987
40997
|
children: [
|
|
40988
|
-
|
|
40998
|
+
oZ.jsx("rect", {
|
|
40989
40999
|
width: "56",
|
|
40990
41000
|
height: "56",
|
|
40991
41001
|
rx: "28",
|
|
40992
41002
|
fill: "#0F172A",
|
|
40993
41003
|
fillOpacity: "0.25"
|
|
40994
41004
|
}),
|
|
40995
|
-
|
|
41005
|
+
oZ.jsx("circle", {
|
|
40996
41006
|
cx: "28",
|
|
40997
41007
|
cy: "28",
|
|
40998
41008
|
r: "21",
|
|
@@ -41000,7 +41010,7 @@
|
|
|
41000
41010
|
strokeWidth: "2.5",
|
|
41001
41011
|
onAnimationEnd: t
|
|
41002
41012
|
}),
|
|
41003
|
-
|
|
41013
|
+
oZ.jsx("path", {
|
|
41004
41014
|
d: "M19.25 29.9908L22.925 34.499C23.049 34.6527 23.2079 34.7777 23.3897 34.8645C23.5716 34.9512 23.7717 34.9976 23.975 34.9999C24.175 35.0022 24.373 34.9618 24.5547 34.8819C24.7363 34.8019 24.897 34.6842 25.025 34.5375L36.75 21",
|
|
41005
41015
|
stroke: "white",
|
|
41006
41016
|
strokeWidth: "2.5",
|
|
@@ -41011,8 +41021,8 @@
|
|
|
41011
41021
|
})
|
|
41012
41022
|
]
|
|
41013
41023
|
}),
|
|
41014
|
-
|
|
41015
|
-
children:
|
|
41024
|
+
oZ.jsx("defs", {
|
|
41025
|
+
children: oZ.jsxs("filter", {
|
|
41016
41026
|
id: "auto_capture_blur",
|
|
41017
41027
|
x: "-16",
|
|
41018
41028
|
y: "-16",
|
|
@@ -41021,20 +41031,20 @@
|
|
|
41021
41031
|
filterUnits: "userSpaceOnUse",
|
|
41022
41032
|
colorInterpolationFilters: "sRGB",
|
|
41023
41033
|
children: [
|
|
41024
|
-
|
|
41034
|
+
oZ.jsx("feFlood", {
|
|
41025
41035
|
floodOpacity: "0",
|
|
41026
41036
|
result: "BackgroundImageFix"
|
|
41027
41037
|
}),
|
|
41028
|
-
|
|
41038
|
+
oZ.jsx("feGaussianBlur", {
|
|
41029
41039
|
in: "BackgroundImageFix",
|
|
41030
41040
|
stdDeviation: "8"
|
|
41031
41041
|
}),
|
|
41032
|
-
|
|
41042
|
+
oZ.jsx("feComposite", {
|
|
41033
41043
|
in2: "SourceAlpha",
|
|
41034
41044
|
operator: "in",
|
|
41035
41045
|
result: "effect1_backgroundBlur_1052_2357"
|
|
41036
41046
|
}),
|
|
41037
|
-
|
|
41047
|
+
oZ.jsx("feBlend", {
|
|
41038
41048
|
mode: "normal",
|
|
41039
41049
|
in: "SourceGraphic",
|
|
41040
41050
|
in2: "effect1_backgroundBlur_1052_2357",
|
|
@@ -41047,17 +41057,17 @@
|
|
|
41047
41057
|
});
|
|
41048
41058
|
};
|
|
41049
41059
|
function aq({ color: t = "#E84848" }) {
|
|
41050
|
-
return
|
|
41060
|
+
return oZ.jsx("div", {
|
|
41051
41061
|
style: {
|
|
41052
41062
|
marginRight: sc.DesignToken.Spacing["2xs"]
|
|
41053
41063
|
},
|
|
41054
|
-
children:
|
|
41064
|
+
children: oZ.jsxs("svg", {
|
|
41055
41065
|
width: "25",
|
|
41056
41066
|
height: "24",
|
|
41057
41067
|
viewBox: "0 0 25 24",
|
|
41058
41068
|
fill: "none",
|
|
41059
41069
|
children: [
|
|
41060
|
-
|
|
41070
|
+
oZ.jsx("mask", {
|
|
41061
41071
|
id: "mask0_7690_10172",
|
|
41062
41072
|
style: {
|
|
41063
41073
|
maskType: "alpha"
|
|
@@ -41067,16 +41077,16 @@
|
|
|
41067
41077
|
y: "0",
|
|
41068
41078
|
width: "25",
|
|
41069
41079
|
height: "24",
|
|
41070
|
-
children:
|
|
41080
|
+
children: oZ.jsx("rect", {
|
|
41071
41081
|
x: "0.5",
|
|
41072
41082
|
width: "24",
|
|
41073
41083
|
height: "24",
|
|
41074
41084
|
fill: "#D9D9D9"
|
|
41075
41085
|
})
|
|
41076
41086
|
}),
|
|
41077
|
-
|
|
41087
|
+
oZ.jsx("g", {
|
|
41078
41088
|
mask: "url(#mask0_7690_10172)",
|
|
41079
|
-
children:
|
|
41089
|
+
children: oZ.jsx("path", {
|
|
41080
41090
|
d: "M13.25 11.6962V7.75C13.25 7.5375 13.1781 7.35933 13.0343 7.2155C12.8904 7.07183 12.7122 7 12.4998 7C12.2871 7 12.109 7.07183 11.9655 7.2155C11.8218 7.35933 11.75 7.5375 11.75 7.75V11.927C11.75 12.0447 11.7718 12.1587 11.8155 12.269C11.859 12.3793 11.9276 12.4813 12.0213 12.575L15.4462 16C15.5846 16.1385 15.7586 16.2093 15.9682 16.2125C16.1779 16.2157 16.3552 16.1448 16.5 16C16.6448 15.8552 16.7172 15.6795 16.7172 15.473C16.7172 15.2667 16.6448 15.0911 16.5 14.9462L13.25 11.6962ZM12.5017 21.5C11.1877 21.5 9.95267 21.2507 8.7965 20.752C7.64033 20.2533 6.63467 19.5766 5.7795 18.7218C4.92433 17.8669 4.24725 16.8617 3.74825 15.706C3.24942 14.5503 3 13.3156 3 12.0017C3 10.6877 3.24933 9.45267 3.748 8.2965C4.24667 7.14033 4.92342 6.13467 5.77825 5.2795C6.63308 4.42433 7.63833 3.74725 8.794 3.24825C9.94967 2.74942 11.1844 2.5 12.4983 2.5C13.8123 2.5 15.0473 2.74933 16.2035 3.248C17.3597 3.74667 18.3653 4.42342 19.2205 5.27825C20.0757 6.13308 20.7528 7.13833 21.2518 8.294C21.7506 9.44967 22 10.6844 22 11.9983C22 13.3123 21.7507 14.5473 21.252 15.7035C20.7533 16.8597 20.0766 17.8653 19.2218 18.7205C18.3669 19.5757 17.3617 20.2528 16.206 20.7518C15.0503 21.2506 13.8156 21.5 12.5017 21.5ZM12.5 20C14.7167 20 16.6042 19.2208 18.1625 17.6625C19.7208 16.1042 20.5 14.2167 20.5 12C20.5 9.78333 19.7208 7.89583 18.1625 6.3375C16.6042 4.77917 14.7167 4 12.5 4C10.2833 4 8.39583 4.77917 6.8375 6.3375C5.27917 7.89583 4.5 9.78333 4.5 12C4.5 14.2167 5.27917 16.1042 6.8375 17.6625C8.39583 19.2208 10.2833 20 12.5 20Z",
|
|
41081
41091
|
fill: t
|
|
41082
41092
|
})
|
|
@@ -41124,7 +41134,7 @@
|
|
|
41124
41134
|
width: 32px;
|
|
41125
41135
|
height: 32px;
|
|
41126
41136
|
display: block;
|
|
41127
|
-
`, aH = ({ onClick: t, label: r, disabled: o = !1, yButtonRow: n, bottomOffset: i })=>
|
|
41137
|
+
`, aH = ({ onClick: t, label: r, disabled: o = !1, yButtonRow: n, bottomOffset: i })=>oZ.jsx(aQ, {
|
|
41128
41138
|
type: "button",
|
|
41129
41139
|
onClick: t,
|
|
41130
41140
|
disabled: o,
|
|
@@ -41132,23 +41142,23 @@
|
|
|
41132
41142
|
"data-testid": "id-upload-button",
|
|
41133
41143
|
$yButtonRow: n,
|
|
41134
41144
|
$bottomOffset: i,
|
|
41135
|
-
children:
|
|
41145
|
+
children: oZ.jsx(aX, {
|
|
41136
41146
|
viewBox: "0 0 32 32",
|
|
41137
41147
|
fill: "none",
|
|
41138
41148
|
xmlns: "http://www.w3.org/2000/svg",
|
|
41139
41149
|
"aria-hidden": "true",
|
|
41140
|
-
children:
|
|
41150
|
+
children: oZ.jsx("path", {
|
|
41141
41151
|
d: "M7.07684 27.3334C6.40328 27.3334 5.83317 27.1001 5.3665 26.6334C4.89984 26.1668 4.6665 25.5966 4.6665 24.9231V7.0771C4.6665 6.40354 4.89984 5.83343 5.3665 5.36676C5.83317 4.9001 6.40328 4.66676 7.07684 4.66676H16.6665C17.0341 4.66676 17.3153 4.81587 17.5102 5.11409C17.7051 5.41254 17.7418 5.73865 17.6205 6.09243C17.5263 6.44465 17.4592 6.79465 17.4192 7.14243C17.379 7.49021 17.3588 7.84021 17.3588 8.19243C17.3588 10.3891 18.1387 12.2481 19.6985 13.7694C21.2583 15.2908 23.1365 16.0215 25.3332 15.9618C25.4425 15.9618 25.5587 15.9583 25.6818 15.9514C25.8049 15.9445 25.9212 15.9274 26.0305 15.9001C26.3707 15.8641 26.6728 15.9513 26.9368 16.1618C27.2011 16.372 27.3332 16.6403 27.3332 16.9668V24.9231C27.3332 25.5966 27.0998 26.1668 26.6332 26.6334C26.1665 27.1001 25.5964 27.3334 24.9228 27.3334H7.07684ZM10.2052 22.3334H21.8972C22.1383 22.3334 22.3169 22.224 22.4332 22.0051C22.5494 21.7864 22.5314 21.5745 22.3792 21.3694L19.1998 17.1104C19.0749 16.9498 18.9143 16.8694 18.7178 16.8694C18.5212 16.8694 18.3605 16.9498 18.2358 17.1104L14.9742 21.3591L12.7895 18.5591C12.6648 18.4069 12.5063 18.3308 12.3138 18.3308C12.1216 18.3308 11.9631 18.4112 11.8382 18.5721L9.73584 21.3694C9.57517 21.5745 9.55295 21.7864 9.66917 22.0051C9.78539 22.224 9.96406 22.3334 10.2052 22.3334ZM24.4282 12.9051C24.2366 12.7138 24.1408 12.4762 24.1408 12.1924V7.16409L22.3638 8.8821C22.1792 9.06676 21.9506 9.16254 21.6782 9.16943C21.4055 9.1761 21.17 9.08032 20.9715 8.8821C20.7871 8.69743 20.6948 8.46543 20.6948 8.1861C20.6948 7.90654 20.7871 7.67443 20.9715 7.48976L24.2845 4.1771C24.4092 4.05221 24.5429 3.96076 24.6858 3.90276C24.8285 3.84454 24.9802 3.81543 25.1408 3.81543C25.3015 3.81543 25.4511 3.84454 25.5895 3.90276C25.7279 3.96076 25.8596 4.05221 25.9845 4.1771L29.2972 7.48976C29.4818 7.67443 29.5776 7.9031 29.5845 8.17576C29.5912 8.44843 29.4954 8.68387 29.2972 8.8821C29.1125 9.06676 28.8805 9.1591 28.6012 9.1591C28.3216 9.1591 28.0895 9.06676 27.9048 8.8821L26.1408 7.16409V12.1924C26.1408 12.4762 26.0451 12.7138 25.8535 12.9051C25.6622 13.0967 25.4246 13.1924 25.1408 13.1924C24.8571 13.1924 24.6195 13.0967 24.4282 12.9051Z",
|
|
41142
41152
|
fill: "currentColor"
|
|
41143
41153
|
})
|
|
41144
41154
|
})
|
|
41145
|
-
}),
|
|
41155
|
+
}), aG = (t, r)=>{
|
|
41146
41156
|
let o = Math.min(1, 1280 / Math.max(t, r));
|
|
41147
41157
|
return {
|
|
41148
41158
|
width: Math.max(1, Math.round(t * o)),
|
|
41149
41159
|
height: Math.max(1, Math.round(r * o))
|
|
41150
41160
|
};
|
|
41151
|
-
},
|
|
41161
|
+
}, aZ = (t)=>{
|
|
41152
41162
|
t.width = 0, t.height = 0;
|
|
41153
41163
|
};
|
|
41154
41164
|
async function aK({ canvas: t, qrModel: r }) {
|
|
@@ -41156,10 +41166,10 @@
|
|
|
41156
41166
|
return await r.detectAndDecode(o);
|
|
41157
41167
|
}
|
|
41158
41168
|
let aY = (t, r)=>{
|
|
41159
|
-
let { width: o, height: n } = t, i = r.getContext("2d"), a = o / 2, s = n / 2, { width: c, height: l } =
|
|
41169
|
+
let { width: o, height: n } = t, i = r.getContext("2d"), a = o / 2, s = n / 2, { width: c, height: l } = aG(a, s);
|
|
41160
41170
|
r.width = c, r.height = l, i.drawImage(t, o / 2, 0, a, s, 0, 0, c, l);
|
|
41161
41171
|
}, aJ = (t, r)=>{
|
|
41162
|
-
let { width: o, height: n } = t, i = r.getContext("2d"), { width: a, height: s } =
|
|
41172
|
+
let { width: o, height: n } = t, i = r.getContext("2d"), { width: a, height: s } = aG(o, n);
|
|
41163
41173
|
r.width = a, r.height = s, i.drawImage(t, 0, 0, a, s);
|
|
41164
41174
|
}, a3 = async ({ blob: t, outputEncryptionSettings: r, cardSide: o, results: n, readFrom: i })=>{
|
|
41165
41175
|
let a, s = await fX.writeMergedExif({
|
|
@@ -41196,7 +41206,7 @@
|
|
|
41196
41206
|
if (!await new Promise((r)=>{
|
|
41197
41207
|
let o = URL.createObjectURL(t), n = new Image;
|
|
41198
41208
|
n.onload = function() {
|
|
41199
|
-
let { width: t, height: i } =
|
|
41209
|
+
let { width: t, height: i } = aG(n.width, n.height);
|
|
41200
41210
|
u.width = t, u.height = i, u.getContext("2d").drawImage(n, 0, 0, t, i), URL.revokeObjectURL(o), r(!0);
|
|
41201
41211
|
}, n.onerror = function() {
|
|
41202
41212
|
URL.revokeObjectURL(o), r(!1);
|
|
@@ -41205,7 +41215,7 @@
|
|
|
41205
41215
|
let p = u.getContext("2d"), { width: f, height: h } = u, m = "raw" === d ? (t)=>i.detectAndDecodeRaw(t) : (t)=>i.detectAndDecode(t).then((t)=>t ? [
|
|
41206
41216
|
t
|
|
41207
41217
|
] : []), g = await Promise.all(s.map((t)=>m((({ x: t, y: r, w: o, h: n })=>p.getImageData(Math.round(t * f), Math.round(r * h), Math.round(o * f), Math.round(n * h)))(t))));
|
|
41208
|
-
|
|
41218
|
+
aZ(u);
|
|
41209
41219
|
let b = l(g.flat().filter(c));
|
|
41210
41220
|
return b && 0 !== b.length ? a3({
|
|
41211
41221
|
blob: t,
|
|
@@ -41230,7 +41240,7 @@
|
|
|
41230
41240
|
canvas: s,
|
|
41231
41241
|
qrModel: i
|
|
41232
41242
|
});
|
|
41233
|
-
return (
|
|
41243
|
+
return (aZ(s), c) ? a3({
|
|
41234
41244
|
blob: t,
|
|
41235
41245
|
outputEncryptionSettings: r,
|
|
41236
41246
|
cardSide: o,
|
|
@@ -41461,9 +41471,9 @@
|
|
|
41461
41471
|
v
|
|
41462
41472
|
]), !f) return null;
|
|
41463
41473
|
let B = p("upload_button_label"), _ = y ? p(y) : "";
|
|
41464
|
-
return
|
|
41474
|
+
return oZ.jsxs(oZ.Fragment, {
|
|
41465
41475
|
children: [
|
|
41466
|
-
y &&
|
|
41476
|
+
y && oZ.jsx(a7, {
|
|
41467
41477
|
type: "button",
|
|
41468
41478
|
onClick: C,
|
|
41469
41479
|
"aria-live": "polite",
|
|
@@ -41473,14 +41483,14 @@
|
|
|
41473
41483
|
$bottomOffset: u,
|
|
41474
41484
|
children: _
|
|
41475
41485
|
}),
|
|
41476
|
-
|
|
41486
|
+
oZ.jsx(aH, {
|
|
41477
41487
|
onClick: b,
|
|
41478
41488
|
label: B,
|
|
41479
41489
|
disabled: l || k || c,
|
|
41480
41490
|
yButtonRow: d,
|
|
41481
41491
|
bottomOffset: u
|
|
41482
41492
|
}),
|
|
41483
|
-
|
|
41493
|
+
oZ.jsx("input", {
|
|
41484
41494
|
ref: h,
|
|
41485
41495
|
type: "file",
|
|
41486
41496
|
accept: "image/jpeg,image/png",
|
|
@@ -41494,7 +41504,7 @@
|
|
|
41494
41504
|
]
|
|
41495
41505
|
});
|
|
41496
41506
|
}, st = /*#__PURE__*/ reactExports.forwardRef((t, r)=>{
|
|
41497
|
-
let { description: s, usePortraitMask: l, windowAndVideoInfo: u, refVideo: f, frontSide: k, allowedCardTypes: y, settings: B, onCaptureDone: _, onUISpacingChange: S, outputEncryptionSettings: E, isShowingSpinner: T, uploadFromDevice: D, uploadFlowAPI: F } = t, z = nt$2(), [N, V] = reactExports.useState({}), { yMessage: U, yButtonRow: q, yToggleButton: Q, yInstruction: X, yCountdown: H } = N,
|
|
41507
|
+
let { description: s, usePortraitMask: l, windowAndVideoInfo: u, refVideo: f, frontSide: k, allowedCardTypes: y, settings: B, onCaptureDone: _, onUISpacingChange: S, outputEncryptionSettings: E, isShowingSpinner: T, uploadFromDevice: D, uploadFlowAPI: F } = t, z = nt$2(), [N, V] = reactExports.useState({}), { yMessage: U, yButtonRow: q, yToggleButton: Q, yInstruction: X, yCountdown: H } = N, G = nN("IDCapturing.captureIcon.src", "ic_camera.svg"), Z = nN("IDCapturing.captureIcon.disabled.src", "ic_camera.svg"), K = nz("IDCapturing.countdown.color")({
|
|
41498
41508
|
theme: z
|
|
41499
41509
|
}), Y = nN("IDCapturing.loadingIcon.src", "ic_loading.gif"), [J, ee] = reactExports.useState(""), et = gv(), [er, eo] = reactExports.useState(null), [en, ei] = reactExports.useState(""), [ea, es] = reactExports.useState(""), [ec, el] = reactExports.useState(null), { showPopup: ed, popupShown: eu, popupType: ep } = au(), ef = reactExports.useContext(aR), [eh, em] = reactExports.useState(!1), eg = reactExports.useRef(()=>{}), eb = reactExports.useCallback((t)=>{
|
|
41500
41510
|
if (null === t) ei(""), es("");
|
|
@@ -41514,9 +41524,9 @@
|
|
|
41514
41524
|
}, [
|
|
41515
41525
|
_
|
|
41516
41526
|
]), { warmupDone: ek, isPostProcessing: ey, isAutoCapturing: eC, isProcessing: eB, takePictureManually: e_, restartSession: ex, resetIsProcessingImageBlobTaken: eP, isAutoCaptureModeOn: eS, onToggleAutoCaptureMode: eE, autoCaptureDuration: eT, pauseScan: eD, resumeScan: e$, setUploadInProgress: eI } = (({ shouldStart: t, refVideo: r, cropArea: s, settings: l, onModelErrorChange: d, frontSide: u, onDebugInfoChange: f, onAboutToTimeout: g, onSessionTimeout: k, onCaptureDone: y, outputEncryptionSettings: B, quality: _ })=>{
|
|
41517
|
-
let S = reactExports.useRef(!1), E = reactExports.useRef(!1), [T, D] = reactExports.useState(!1), L = reactExports.useRef(()=>{}), { sendEvent: F } = lL.useSDKTracking(), z = reactExports.useRef(), N = reactExports.useRef(), V = reactExports.useRef(), W = reactExports.useContext(aR), { enableAntiDebug: U } = cl$1.useSDKSettings(), { onErrorCallback: q } = aT(), { playVoice: Q } = l1.useVoicePlayer(), [X, H] = reactExports.useState(nn(l, "enableAutoCapture")),
|
|
41527
|
+
let S = reactExports.useRef(!1), E = reactExports.useRef(!1), [T, D] = reactExports.useState(!1), L = reactExports.useRef(()=>{}), { sendEvent: F } = lL.useSDKTracking(), z = reactExports.useRef(), N = reactExports.useRef(), V = reactExports.useRef(), W = reactExports.useContext(aR), { enableAntiDebug: U } = cl$1.useSDKSettings(), { onErrorCallback: q } = aT(), { playVoice: Q } = l1.useVoicePlayer(), [X, H] = reactExports.useState(nn(l, "enableAutoCapture")), G = reactExports.useCallback(()=>{
|
|
41518
41528
|
H((t)=>!t);
|
|
41519
|
-
}, []), { autoCaptureWaitForBestImageTimeMs:
|
|
41529
|
+
}, []), { autoCaptureWaitForBestImageTimeMs: Z, manualCaptureWaitForBestImageTimeMs: K } = l, Y = X ? Z : K;
|
|
41520
41530
|
reactExports.useEffect(()=>{
|
|
41521
41531
|
U && dM.enableAntiDebug();
|
|
41522
41532
|
}, [
|
|
@@ -41557,7 +41567,7 @@
|
|
|
41557
41567
|
]), { isCapturing: eo, refWorkingCanvas: en, stopCheckFrame: ei, checkFrame: ea, resumeCheckFrame: es, warmupDone: ec, takePictureManually: el, refAbleToRunBurstMode: ed, refVirtualFrames: eu, refCardCoordinates: ep, refBlurScores: ef, refGlareScores: eh, resetState: em, resetRecordVideo: eg, getQRDebugInfo: eb } = function({ isAutoCapture: t, blurSmallThreshold: r, blurLargeThreshold: s, refVideo: l, shouldStart: d, cropArea: u, settings: f, onError: m, frontSide: g, onAutoCaptureSuccess: b, quality: k, debug: y }) {
|
|
41558
41568
|
let B = reactExports.useRef(null);
|
|
41559
41569
|
null === B.current && (B.current = document.createElement("canvas"));
|
|
41560
|
-
let _ = reactExports.useRef([]), S = reactExports.useRef({}), E = reactExports.useRef(!1), T = reactExports.useRef([]), D = reactExports.useRef(!1), M = reactExports.useRef(null), [j, O] = reactExports.useState(!1), R = reactExports.useRef(aj()), A = reactExports.useRef(aO()), L = reactExports.useRef(null), F = reactExports.useRef(!1), z = reactExports.useRef(!1), N = reactExports.useRef(null), V = reactExports.useRef(!1), W = reactExports.useRef({}), { customUrls: U } = cl$1.useSDKSettings(), { onErrorCallback: q } = aT(), [Q, X] = reactExports.useState(!0), H = reactExports.useRef([]),
|
|
41570
|
+
let _ = reactExports.useRef([]), S = reactExports.useRef({}), E = reactExports.useRef(!1), T = reactExports.useRef([]), D = reactExports.useRef(!1), M = reactExports.useRef(null), [j, O] = reactExports.useState(!1), R = reactExports.useRef(aj()), A = reactExports.useRef(aO()), L = reactExports.useRef(null), F = reactExports.useRef(!1), z = reactExports.useRef(!1), N = reactExports.useRef(null), V = reactExports.useRef(!1), W = reactExports.useRef({}), { customUrls: U } = cl$1.useSDKSettings(), { onErrorCallback: q } = aT(), [Q, X] = reactExports.useState(!0), H = reactExports.useRef([]), G = reactExports.useRef([]), Z = reactExports.useRef(t), { allowedCards: K } = f, Y = reactExports.useRef(null), [J, ee] = reactExports.useState(!1), et = reactExports.useRef(!1), { scanFrame: er, reset: eo, getScannedResult: en, getDebugInfo: ei } = function({ cardQRConfig: t, quality: r }) {
|
|
41561
41571
|
let n = reactExports.useRef(new Set), i = reactExports.useRef(null), s = reactExports.useRef(!1), c = reactExports.useRef(!1), l = reactExports.useRef(0), d = reactExports.useCallback(()=>{
|
|
41562
41572
|
n.current = new Set, i.current = null, s.current = !1, c.current = !1, l.current = 0;
|
|
41563
41573
|
}, []), u = reactExports.useCallback((o, a)=>{
|
|
@@ -41999,7 +42009,7 @@
|
|
|
41999
42009
|
K,
|
|
42000
42010
|
q
|
|
42001
42011
|
]), reactExports.useEffect(()=>{
|
|
42002
|
-
|
|
42012
|
+
Z.current = t;
|
|
42003
42013
|
}, [
|
|
42004
42014
|
t
|
|
42005
42015
|
]);
|
|
@@ -42060,7 +42070,7 @@
|
|
|
42060
42070
|
]), eE = reactExports.useCallback(()=>{
|
|
42061
42071
|
!0 === D.current && (D.current = !1);
|
|
42062
42072
|
}, []), eT = reactExports.useCallback(()=>{
|
|
42063
|
-
ey(), H.current = [],
|
|
42073
|
+
ey(), H.current = [], G.current = [], L.current = null, V.current = !1, et.current = !1, eo();
|
|
42064
42074
|
}, [
|
|
42065
42075
|
ey,
|
|
42066
42076
|
eo
|
|
@@ -42094,7 +42104,7 @@
|
|
|
42094
42104
|
}
|
|
42095
42105
|
a.takenAt = new Date().getTime(), a.blurScore = t, a.glareScore = n, a.detectedCard = o, a.captureType = "auto", a.runtime = i, a.qrScannedResults = en();
|
|
42096
42106
|
}
|
|
42097
|
-
f.enableBlurCheck && H.current.push(t), f.enableGlareCheck &&
|
|
42107
|
+
f.enableBlurCheck && H.current.push(t), f.enableGlareCheck && G.current.push(n);
|
|
42098
42108
|
}, [
|
|
42099
42109
|
eu,
|
|
42100
42110
|
l,
|
|
@@ -42108,7 +42118,7 @@
|
|
|
42108
42118
|
]), e$ = reactExports.useCallback(async ({ blurScore: t, detectedCard: o, glareScore: n, runtime: i })=>{
|
|
42109
42119
|
z.current = !0;
|
|
42110
42120
|
let a = A.current;
|
|
42111
|
-
if (f.enableBlurCheck && H.current.push(t), f.enableGlareCheck &&
|
|
42121
|
+
if (f.enableBlurCheck && H.current.push(t), f.enableGlareCheck && G.current.push(n), iW({
|
|
42112
42122
|
currentFrameBlurScore: a.blurScore,
|
|
42113
42123
|
currentFrameGlareScore: a.glareScore,
|
|
42114
42124
|
incomingFrameBlurScore: t,
|
|
@@ -42304,7 +42314,7 @@
|
|
|
42304
42314
|
detectedCard: n.detectedCard,
|
|
42305
42315
|
glareScore: n.glareScore,
|
|
42306
42316
|
runtime: n.runtime
|
|
42307
|
-
}),
|
|
42317
|
+
}), Z.current && (et.current || (et.current = !0, ee(!0)), await eD({
|
|
42308
42318
|
blurScore: n.blurScore,
|
|
42309
42319
|
detectedCard: n.detectedCard,
|
|
42310
42320
|
glareScore: n.glareScore,
|
|
@@ -42378,7 +42388,7 @@
|
|
|
42378
42388
|
refVirtualFrames: _,
|
|
42379
42389
|
refCardCoordinates: T,
|
|
42380
42390
|
refBlurScores: H,
|
|
42381
|
-
refGlareScores:
|
|
42391
|
+
refGlareScores: G,
|
|
42382
42392
|
resetState: eT,
|
|
42383
42393
|
resetRecordVideo: ey,
|
|
42384
42394
|
getQRDebugInfo: ei
|
|
@@ -42647,7 +42657,7 @@
|
|
|
42647
42657
|
restartSession: eC,
|
|
42648
42658
|
resetIsProcessingImageBlobTaken: ey,
|
|
42649
42659
|
isAutoCaptureModeOn: X,
|
|
42650
|
-
onToggleAutoCaptureMode:
|
|
42660
|
+
onToggleAutoCaptureMode: G,
|
|
42651
42661
|
autoCaptureDuration: Y,
|
|
42652
42662
|
pauseScan: e_,
|
|
42653
42663
|
resumeScan: ex,
|
|
@@ -42740,62 +42750,62 @@
|
|
|
42740
42750
|
eO
|
|
42741
42751
|
]);
|
|
42742
42752
|
let eV = eC && ey || T || !en;
|
|
42743
|
-
return
|
|
42753
|
+
return oZ.jsxs(oZ.Fragment, {
|
|
42744
42754
|
children: [
|
|
42745
|
-
!ek &&
|
|
42746
|
-
ef &&
|
|
42755
|
+
!ek && oZ.jsx(ao, {}),
|
|
42756
|
+
ef && oZ.jsx(i1, {
|
|
42747
42757
|
children: JSON.stringify(J, null, 2)
|
|
42748
42758
|
}),
|
|
42749
|
-
eL && !eC && ey &&
|
|
42750
|
-
children:
|
|
42759
|
+
eL && !eC && ey && oZ.jsx(iJ, {
|
|
42760
|
+
children: oZ.jsx("img", {
|
|
42751
42761
|
src: Y,
|
|
42752
42762
|
alt: "loading icon"
|
|
42753
42763
|
})
|
|
42754
42764
|
}),
|
|
42755
|
-
!eL && (eC || ey) &&
|
|
42756
|
-
children:
|
|
42765
|
+
!eL && (eC || ey) && oZ.jsx(iJ, {
|
|
42766
|
+
children: oZ.jsx("img", {
|
|
42757
42767
|
src: Y,
|
|
42758
42768
|
alt: "loading icon"
|
|
42759
42769
|
})
|
|
42760
42770
|
}),
|
|
42761
|
-
ec &&
|
|
42771
|
+
ec && oZ.jsx(n5, {
|
|
42762
42772
|
x: `${ec.x}px`,
|
|
42763
42773
|
y: `${ec.y}px`,
|
|
42764
42774
|
width: `${ec.width}px`,
|
|
42765
42775
|
height: `${ec.height}px`,
|
|
42766
42776
|
surroundStyle: ec.surroundStyle,
|
|
42767
|
-
children:
|
|
42777
|
+
children: oZ.jsx(i7, {
|
|
42768
42778
|
width: ec.width,
|
|
42769
42779
|
height: ec.height,
|
|
42770
42780
|
type: eV ? im : ig
|
|
42771
42781
|
})
|
|
42772
42782
|
}),
|
|
42773
|
-
!eC && en &&
|
|
42783
|
+
!eC && en && oZ.jsxs(ae, {
|
|
42774
42784
|
y: `${X}px`,
|
|
42775
42785
|
children: [
|
|
42776
|
-
|
|
42786
|
+
oZ.jsx("div", {
|
|
42777
42787
|
style: {
|
|
42778
42788
|
height: 56,
|
|
42779
42789
|
width: 56
|
|
42780
42790
|
}
|
|
42781
42791
|
}),
|
|
42782
|
-
|
|
42792
|
+
oZ.jsx(at, {
|
|
42783
42793
|
"data-testid": "id-instruction",
|
|
42784
42794
|
"data-error-code": ea,
|
|
42785
42795
|
children: hs.getStringWithLineBreak(en)
|
|
42786
42796
|
})
|
|
42787
42797
|
]
|
|
42788
42798
|
}),
|
|
42789
|
-
eL && eC &&
|
|
42799
|
+
eL && eC && oZ.jsxs(ae, {
|
|
42790
42800
|
y: `${X + 45}px`,
|
|
42791
42801
|
children: [
|
|
42792
|
-
|
|
42802
|
+
oZ.jsx(aU, {
|
|
42793
42803
|
duration: eT,
|
|
42794
42804
|
onCircleAnimationEnd: ()=>{
|
|
42795
42805
|
em(!0);
|
|
42796
42806
|
}
|
|
42797
42807
|
}),
|
|
42798
|
-
|
|
42808
|
+
oZ.jsx(at, {
|
|
42799
42809
|
$isDone: eh,
|
|
42800
42810
|
children: eh ? et("id_capture.instruction.capturing_done") : et("id_capture.instruction.hold_still", {
|
|
42801
42811
|
x: ez
|
|
@@ -42803,56 +42813,56 @@
|
|
|
42803
42813
|
})
|
|
42804
42814
|
]
|
|
42805
42815
|
}),
|
|
42806
|
-
eF &&
|
|
42816
|
+
eF && oZ.jsxs(i6, {
|
|
42807
42817
|
y: `${Q}px`,
|
|
42808
42818
|
children: [
|
|
42809
|
-
|
|
42819
|
+
oZ.jsx("span", {
|
|
42810
42820
|
children: et("toggle_id_capture_mode")
|
|
42811
42821
|
}),
|
|
42812
|
-
|
|
42822
|
+
oZ.jsx(aF, {
|
|
42813
42823
|
checked: eS,
|
|
42814
42824
|
disabled: eC || ey || T,
|
|
42815
42825
|
onChange: eE
|
|
42816
42826
|
})
|
|
42817
42827
|
]
|
|
42818
42828
|
}),
|
|
42819
|
-
(!eS || eA) &&
|
|
42829
|
+
(!eS || eA) && oZ.jsx(iY, {
|
|
42820
42830
|
onClick: eN,
|
|
42821
42831
|
y: `${q}px`,
|
|
42822
42832
|
disabled: B?.disableCaptureButtonIfAlert && en || eC || ey || T,
|
|
42823
|
-
children: en ?
|
|
42824
|
-
src: G,
|
|
42825
|
-
alt: "capture button disabled"
|
|
42826
|
-
}) : oG.jsx("img", {
|
|
42833
|
+
children: en ? oZ.jsx("img", {
|
|
42827
42834
|
src: Z,
|
|
42835
|
+
alt: "capture button disabled"
|
|
42836
|
+
}) : oZ.jsx("img", {
|
|
42837
|
+
src: G,
|
|
42828
42838
|
alt: "capture button enabled"
|
|
42829
42839
|
})
|
|
42830
42840
|
}),
|
|
42831
|
-
|
|
42841
|
+
oZ.jsx(i8, {
|
|
42832
42842
|
y: `${U}px`,
|
|
42833
42843
|
children: s
|
|
42834
42844
|
}),
|
|
42835
|
-
er &&
|
|
42845
|
+
er && oZ.jsxs(i9, {
|
|
42836
42846
|
y: `${H}px`,
|
|
42837
42847
|
children: [
|
|
42838
|
-
|
|
42848
|
+
oZ.jsx(aq, {
|
|
42839
42849
|
color: K
|
|
42840
42850
|
}),
|
|
42841
|
-
|
|
42851
|
+
oZ.jsx(i4, {
|
|
42842
42852
|
className: "message",
|
|
42843
42853
|
y: `${H}px`,
|
|
42844
42854
|
children: er
|
|
42845
42855
|
}, er)
|
|
42846
42856
|
]
|
|
42847
42857
|
}),
|
|
42848
|
-
|
|
42858
|
+
oZ.jsx(ip, {
|
|
42849
42859
|
open: eu,
|
|
42850
|
-
children: ep === ap &&
|
|
42860
|
+
children: ep === ap && oZ.jsx(ad, {
|
|
42851
42861
|
onOk: eO,
|
|
42852
42862
|
maxSessionTime: B?.idCardSessionTime
|
|
42853
42863
|
})
|
|
42854
42864
|
}),
|
|
42855
|
-
|
|
42865
|
+
oZ.jsx(se, {
|
|
42856
42866
|
uploadFromDevice: D,
|
|
42857
42867
|
uploadFlowAPI: F,
|
|
42858
42868
|
scanControl: eM,
|
|
@@ -54046,8 +54056,8 @@
|
|
|
54046
54056
|
});
|
|
54047
54057
|
}
|
|
54048
54058
|
function cl() {
|
|
54049
|
-
if (
|
|
54050
|
-
|
|
54059
|
+
if (rG) return rH;
|
|
54060
|
+
rG = 1;
|
|
54051
54061
|
var t = o8(), r = cc();
|
|
54052
54062
|
return rH = function(o) {
|
|
54053
54063
|
return null != o && r(o.length) && !t(o);
|
|
@@ -54256,10 +54266,10 @@
|
|
|
54256
54266
|
return "function" != typeof n.constructor || o(n) ? {} : t(r(n));
|
|
54257
54267
|
};
|
|
54258
54268
|
}(), a = cs(), s = oK(), c = function() {
|
|
54259
|
-
if (rK) return
|
|
54269
|
+
if (rK) return rZ;
|
|
54260
54270
|
rK = 1;
|
|
54261
54271
|
var t = cl(), r = o5();
|
|
54262
|
-
return
|
|
54272
|
+
return rZ = function(o) {
|
|
54263
54273
|
return r(o) && t(o);
|
|
54264
54274
|
};
|
|
54265
54275
|
}(), l = cu(), d = o8(), u = o1(), p = function() {
|
|
@@ -62374,7 +62384,7 @@
|
|
|
62374
62384
|
};
|
|
62375
62385
|
};
|
|
62376
62386
|
|
|
62377
|
-
const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk/5.38.
|
|
62387
|
+
const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk/5.38.6/assets";
|
|
62378
62388
|
class TVWebSDK extends gA {
|
|
62379
62389
|
constructor(props){
|
|
62380
62390
|
super({
|
|
@@ -67039,6 +67049,16 @@
|
|
|
67039
67049
|
position: absolute;
|
|
67040
67050
|
top: 0;
|
|
67041
67051
|
left: 0;
|
|
67052
|
+
/*
|
|
67053
|
+
* Size the frame with real CSS, not just the width/height HTML attributes.
|
|
67054
|
+
* Presentational attributes lose to a host's layered author CSS such as
|
|
67055
|
+
* Tailwind Preflight (@layer base img,video max-width:100% height:auto),
|
|
67056
|
+
* which would otherwise recompute the PNG height and desync it from the mask.
|
|
67057
|
+
* styled-components emits unlayered CSS, so this wins the cascade, no !important.
|
|
67058
|
+
*/
|
|
67059
|
+
width: ${(props)=>props.width}px;
|
|
67060
|
+
height: ${(props)=>props.height}px;
|
|
67061
|
+
max-width: none;
|
|
67042
67062
|
`;
|
|
67043
67063
|
const { animationDuration } = flipY;
|
|
67044
67064
|
const SplashAnimation = SplashAnimation$1;
|